fix: account iframe themed correctly (#874)
This commit is contained in:
1 parent
4f308716ee
commit
0539f287b5
1 file changed
+14
-1
@@ -2,7 +2,7 @@
|
|||||||
@name Google Catppuccin
|
@name Google Catppuccin
|
||||||
@namespace github.com/catppuccin/userstyles/styles/google
|
@namespace github.com/catppuccin/userstyles/styles/google
|
||||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google
|
||||||
@version 0.2.2
|
@version 0.2.3
|
||||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google/catppuccin.user.css
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google/catppuccin.user.css
|
||||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle
|
||||||
@description Soothing pastel theme for Google
|
@description Soothing pastel theme for Google
|
||||||
@@ -57,6 +57,9 @@
|
|||||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||||
|
|
||||||
color-scheme: if(@lookup = latte, light, dark);
|
color-scheme: if(@lookup = latte, light, dark);
|
||||||
|
iframe {
|
||||||
|
color-scheme: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
background-color: fade(@accent-color, 30%);
|
background-color: fade(@accent-color, 30%);
|
||||||
@@ -1852,6 +1855,16 @@
|
|||||||
|
|
||||||
@-moz-document regexp("^https?://(ogs\\.)?google\\..*")
|
@-moz-document regexp("^https?://(ogs\\.)?google\\..*")
|
||||||
{
|
{
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
body {
|
||||||
|
#catppuccin(@lightFlavor, @accentColor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
#catppuccin(@darkFlavor, @accentColor);
|
||||||
|
}
|
||||||
|
}
|
||||||
#catppuccin(@lookup, @accent) {
|
#catppuccin(@lookup, @accent) {
|
||||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||||
@pink: @catppuccin[@@lookup][@pink];
|
@pink: @catppuccin[@@lookup][@pink];
|
||||||
|
|||||||
Reference in new issue
Block a user