fix(lobste.rs): match changed applicators & variables (#1612)
This commit is contained in:
1 parent
b7e2afb21e
commit
fef3d3b5b8
1 file changed
+8
-9
@@ -16,7 +16,7 @@
|
|||||||
==/UserStyle== */
|
==/UserStyle== */
|
||||||
|
|
||||||
@-moz-document domain("lobste.rs") {
|
@-moz-document domain("lobste.rs") {
|
||||||
html.color-scheme-system {
|
html:has(head > link[rel="stylesheet"][href^="/assets/system-"]) {
|
||||||
@media (prefers-color-scheme: light) {
|
@media (prefers-color-scheme: light) {
|
||||||
#catppuccin(@lightFlavor);
|
#catppuccin(@lightFlavor);
|
||||||
}
|
}
|
||||||
@@ -25,11 +25,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
html.color-scheme-light {
|
html:has(head > link[rel="stylesheet"][href^="/assets/light-"]) {
|
||||||
#catppuccin(@lightFlavor);
|
#catppuccin(@lightFlavor);
|
||||||
}
|
}
|
||||||
|
|
||||||
html.color-scheme-dark {
|
html:has(head > link[rel="stylesheet"][href^="/assets/dark-"]) {
|
||||||
#catppuccin(@darkFlavor);
|
#catppuccin(@darkFlavor);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -75,10 +75,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
background-color: @base;
|
--color-bg: @base;
|
||||||
|
|
||||||
--palette-bg: @base;
|
|
||||||
--palette-fg: @text;
|
|
||||||
|
|
||||||
--color-fg: @text;
|
--color-fg: @text;
|
||||||
--color-fg-shape: @surface2;
|
--color-fg-shape: @surface2;
|
||||||
@@ -102,13 +99,15 @@
|
|||||||
--color-fg-author: @blue;
|
--color-fg-author: @blue;
|
||||||
|
|
||||||
--color-fg-contrast-7-5: @blue;
|
--color-fg-contrast-7-5: @blue;
|
||||||
--color-fg-contrast-4-5: @subtext0;
|
|
||||||
--color-fg-contrast-6: @subtext1;
|
|
||||||
|
|
||||||
--color-fg-link: @blue;
|
--color-fg-link: @blue;
|
||||||
--color-fg-link-visited: @lavender;
|
--color-fg-link-visited: @lavender;
|
||||||
|
|
||||||
|
--color-fg-contrast-4-5: @subtext0;
|
||||||
|
--color-fg-contrast-5: @subtext1;
|
||||||
|
--color-fg-contrast-6: @subtext1;
|
||||||
--color-fg-contrast-10: @text;
|
--color-fg-contrast-10: @text;
|
||||||
|
--color-fg-contrast-13: @text;
|
||||||
|
|
||||||
--color-box-bg: @mantle;
|
--color-box-bg: @mantle;
|
||||||
--color-button-bg: @mantle;
|
--color-button-bg: @mantle;
|
||||||
|
|||||||
Reference in new issue
Block a user