fix(chatgpt): increase selector specificity to resist variable overrides (#2250)

Co-authored-by: uncenter <[email protected]>
This commit is contained in:
Philippanduncenter authored and GitHub committed 2026-05-20 07:33:27 -05:00
1 parent 1098257238
commit 435c5bea56
1 file changed
+6 -2
+6 -2
View File
@@ -24,7 +24,7 @@
#catppuccin(@lightFlavor); #catppuccin(@lightFlavor);
} }
.dark, .dark[data-oled] { .dark {
#catppuccin(@darkFlavor); #catppuccin(@darkFlavor);
} }
@@ -32,7 +32,7 @@
#lib.palette(); #lib.palette();
#lib.defaults(); #lib.defaults();
&, .popover { * {
--text-primary: @text; --text-primary: @text;
--text-secondary: @subtext1; --text-secondary: @subtext1;
--text-tertiary: @subtext0; --text-tertiary: @subtext0;
@@ -81,6 +81,10 @@
--shadow-color-1: fade(@mantle, 50%); --shadow-color-1: fade(@mantle, 50%);
--shadow-color-2: fade(@text, 80%); --shadow-color-2: fade(@text, 80%);
.__menu-item[data-sidebar-item] {
--menu-item-highlighted: @surface0;
}
.__menu-item[data-color="danger"] { .__menu-item[data-color="danger"] {
--menu-item-highlighted: fade(@red, 20%); --menu-item-highlighted: fade(@red, 20%);
--menu-item-active: fade(@red, 30%); --menu-item-active: fade(@red, 30%);