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);
|
||||
}
|
||||
|
||||
.dark, .dark[data-oled] {
|
||||
.dark {
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#lib.palette();
|
||||
#lib.defaults();
|
||||
|
||||
&, .popover {
|
||||
* {
|
||||
--text-primary: @text;
|
||||
--text-secondary: @subtext1;
|
||||
--text-tertiary: @subtext0;
|
||||
@@ -80,6 +80,10 @@
|
||||
// chat input prompt border
|
||||
--shadow-color-1: fade(@mantle, 50%);
|
||||
--shadow-color-2: fade(@text, 80%);
|
||||
|
||||
.__menu-item[data-sidebar-item] {
|
||||
--menu-item-highlighted: @surface0;
|
||||
}
|
||||
|
||||
.__menu-item[data-color="danger"] {
|
||||
--menu-item-highlighted: fade(@red, 20%);
|
||||
|
||||
Reference in new issue
Block a user