fix(go.dev): adjust dark/light application selectors (#1035)
This commit is contained in:
1 parent
17cf7645fc
commit
f397e58c85
1 file changed
+13
-7
@@ -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
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user