fix(chatgpt): light flavor on dark theme and vice versa (#527)
Co-authored-by: Gen <[email protected]>
This commit is contained in:
1 parent
287cf97d8d
commit
95930a816e
1 file changed
+45
-3
@@ -2,7 +2,7 @@
|
||||
@name ChatGPT Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/chatgpt
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chatgpt
|
||||
@version 0.2.1
|
||||
@version 0.2.2
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chatgpt/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Achatgpt
|
||||
@description Soothing pastel theme for ChatGPT
|
||||
@@ -112,8 +112,8 @@
|
||||
|
||||
color: @text;
|
||||
|
||||
@white: lighten(if(@lookup=latte, @base, @text), 10%);
|
||||
@black: darken(if(@lookup=latte, @text, @base), 10%);
|
||||
@white: lighten(if(@lookup=latte, @base, @text), 5%);
|
||||
@black: darken(if(@lookup=latte, @text, @base), 5%);
|
||||
--white: @white;
|
||||
--black: @black;
|
||||
|
||||
@@ -130,6 +130,27 @@
|
||||
--gray-900: @surface0;
|
||||
--gray-950: @base;
|
||||
--brand-purple: @accent-color;
|
||||
--text-primary: var(--gray-100);
|
||||
--text-secondary: var(--gray-300);
|
||||
--text-tertiary: var(--gray-500);
|
||||
--text-quaternary: var(--gray-700);
|
||||
--main-surface-primary: var(--gray-800);
|
||||
--main-surface-secondary: var(--gray-700);
|
||||
--main-surface-tertiary: var(--gray-600);
|
||||
--sidebar-surface-primary: var(--gray-900);
|
||||
--sidebar-surface-secondary: var(--gray-800);
|
||||
--sidebar-surface-tertiary: var(--gray-700);
|
||||
.popover,
|
||||
.dark .popover,
|
||||
.dark.popover,
|
||||
.popover .dark {
|
||||
--main-surface-primary: var(--gray-700) !important;
|
||||
--main-surface-secondary: var(--gray-600) !important;
|
||||
--main-surface-tertiary: var(--gray-500) !important;
|
||||
--text-primary: var(--white) !important;
|
||||
--text-secondary: var(--gray-200) !important;
|
||||
--text-tertiary: var(--gray-300) !important;
|
||||
}
|
||||
}
|
||||
& when (@lookup = latte) {
|
||||
--gray-50: @mantle;
|
||||
@@ -144,6 +165,27 @@
|
||||
--gray-900: @subtext1;
|
||||
--gray-950: @text;
|
||||
--brand-purple: @accent-color;
|
||||
--text-primary: var(--gray-950);
|
||||
--text-secondary: var(--gray-600);
|
||||
--text-tertiary: var(--gray-500);
|
||||
--text-quaternary: var(--gray-300);
|
||||
--main-surface-primary: var(--white);
|
||||
--main-surface-secondary: var(--gray-50);
|
||||
--main-surface-tertiary: var(--gray-100);
|
||||
--sidebar-surface-primary: var(--gray-50);
|
||||
--sidebar-surface-secondary: var(--gray-100);
|
||||
--sidebar-surface-tertiary: var(--gray-100);
|
||||
.popover,
|
||||
.dark .popover,
|
||||
.dark.popover,
|
||||
.popover .dark {
|
||||
--main-surface-primary: var(--white) !important;
|
||||
--main-surface-secondary: var(--gray-100) !important;
|
||||
--main-surface-tertiary: var(--gray-200) !important;
|
||||
--text-primary: var(--gray-950) !important;
|
||||
--text-secondary: var(--gray-600) !important;
|
||||
--text-tertiary: var(--gray-500) !important;
|
||||
}
|
||||
}
|
||||
|
||||
--border-light: fade(@text, 10%);
|
||||
|
||||
Reference in new issue
Block a user