fix(chatgpt): increase selector specificity to resist variable overrides (#2250)
Co-authored-by: uncenter <[email protected]>
This commit is contained in:
1 parent
1098257238
commit
435c5bea56
1 file changed
+6
-2
@@ -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;
|
||||||
@@ -80,6 +80,10 @@
|
|||||||
// chat input prompt border
|
// chat input prompt border
|
||||||
--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%);
|
||||||
|
|||||||
Reference in new issue
Block a user