Skip to content

Commit

Permalink
fix(go.dev): info banner (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flapperoo authored Jul 12, 2024
1 parent 076a971 commit 7493180
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion styles/go.dev/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@name go.dev Catppuccin
@namespace github.com/catppuccin/userstyles/styles/go.dev
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/go.dev
@version 0.0.2
@version 0.0.3
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/go.dev/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ago.dev
@description Soothing pastel theme for go.dev
Expand Down Expand Up @@ -87,6 +87,7 @@
--color-background-banner: @mantle;
--color-background-card-footer: @crust;
--color-background-code: @surface0; // Code Snippets
--color-background-info: @surface1;
--color-background-inverted: @crust;
--color-background-logo: @text;
--color-background-playground-input: @mantle;
Expand Down Expand Up @@ -489,6 +490,14 @@
background-image: url("data:image/svg+xml,@{svg}");
}
}
// Info Icon
.go-Main-banner .go-Message .go-Icon {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"/></svg>'
);
content: url("data:image/svg+xml,@{svg}");
filter: none;
}
// Pkg.go Subheader
.go-Main-header {
background-color: @mantle;
Expand Down

0 comments on commit 7493180

Please sign in to comment.