Skip to content

Commit

Permalink
fix(go.dev): adjust dark/light application selectors (#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter authored Jul 1, 2024
1 parent 17cf764 commit f397e58
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions 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.1
@version 0.0.2
@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 All @@ -17,12 +17,14 @@

@-moz-document domain('go.dev') {
@media (prefers-color-scheme: light) {
:root[data-theme="auto"] {
:root[data-theme="auto"],
:root:not([data-theme]) {
#catppuccin(@lightFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
:root[data-theme="auto"] {
:root[data-theme="auto"],
:root:not([data-theme]) {
#catppuccin(@darkFlavor, @accentColor);
}
}
Expand Down Expand Up @@ -377,12 +379,14 @@

@-moz-document domain('pkg.go.dev') {
@media (prefers-color-scheme: light) {
:root[data-theme="auto"] {
:root[data-theme="auto"],
:root:not([data-theme]) {
#catppuccin(@lightFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
:root[data-theme="auto"] {
:root[data-theme="auto"],
:root:not([data-theme]) {
#catppuccin(@darkFlavor, @accentColor);
}
}
Expand Down Expand Up @@ -689,12 +693,14 @@
@-moz-document url-prefix("https://go.dev/tour")
{
@media (prefers-color-scheme: light) {
:root[data-theme="auto"] {
:root[data-theme="auto"],
:root:not([data-theme]) {
#catppuccin(@lightFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
:root[data-theme="auto"] {
:root[data-theme="auto"],
:root:not([data-theme]) {
#catppuccin(@darkFlavor, @accentColor);
}
}
Expand Down

0 comments on commit f397e58

Please sign in to comment.