feat(chatgpt): update for new ui (#891)
This commit is contained in:
1 parent
fbc4aaaa9b
commit
6d22089961
1 file changed
+82
-64
@@ -2,7 +2,7 @@
|
|||||||
@name ChatGPT Catppuccin
|
@name ChatGPT Catppuccin
|
||||||
@namespace github.com/catppuccin/userstyles/styles/chatgpt
|
@namespace github.com/catppuccin/userstyles/styles/chatgpt
|
||||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chatgpt
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chatgpt
|
||||||
@version 0.2.11
|
@version 0.3.0
|
||||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chatgpt/catppuccin.user.css
|
@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
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Achatgpt
|
||||||
@description Soothing pastel theme for ChatGPT
|
@description Soothing pastel theme for ChatGPT
|
||||||
@@ -112,8 +112,8 @@
|
|||||||
|
|
||||||
color: @text;
|
color: @text;
|
||||||
|
|
||||||
@white: lighten(if(@lookup=latte, @base, @text), 5%);
|
@white: if(@lookup=latte, @crust, @text);
|
||||||
@black: darken(if(@lookup=latte, @text, @base), 5%);
|
@black: if(@lookup=latte, @text, @crust);
|
||||||
--white: @white;
|
--white: @white;
|
||||||
--black: @black;
|
--black: @black;
|
||||||
|
|
||||||
@@ -130,13 +130,13 @@
|
|||||||
--gray-900: @mantle;
|
--gray-900: @mantle;
|
||||||
--gray-950: @crust;
|
--gray-950: @crust;
|
||||||
--brand-purple: @accent-color;
|
--brand-purple: @accent-color;
|
||||||
--text-primary: var(--gray-100);
|
--text-primary: var(--gray-100) !important;
|
||||||
--text-secondary: var(--gray-300);
|
--text-secondary: var(--gray-200) !important;
|
||||||
--text-tertiary: var(--gray-400);
|
--text-tertiary: var(--gray-300) !important;
|
||||||
--text-quaternary: var(--gray-700);
|
--text-quaternary: var(--gray-500) !important;
|
||||||
--main-surface-primary: var(--gray-800);
|
--main-surface-primary: var(--gray-800) !important;
|
||||||
--main-surface-secondary: var(--gray-700);
|
--main-surface-secondary: var(--gray-700) !important;
|
||||||
--main-surface-tertiary: var(--gray-600);
|
--main-surface-tertiary: var(--gray-600) !important;
|
||||||
--sidebar-surface-primary: var(--gray-900);
|
--sidebar-surface-primary: var(--gray-900);
|
||||||
--sidebar-surface-secondary: var(--gray-800);
|
--sidebar-surface-secondary: var(--gray-800);
|
||||||
--sidebar-surface-tertiary: var(--gray-700);
|
--sidebar-surface-tertiary: var(--gray-700);
|
||||||
@@ -267,82 +267,68 @@
|
|||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary,
|
||||||
background-color: @green;
|
.btn-green {
|
||||||
|
background-color: @accent-color;
|
||||||
color: @base;
|
color: @base;
|
||||||
}
|
|
||||||
|
|
||||||
.btn-primary:hover {
|
&:hover {
|
||||||
background-color: darken(@green, 10%);
|
background-color: darken(@accent-color, 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary.focus-visible {
|
&:focus-visible {
|
||||||
--tw-ring-color: lighten(@green, 10%) !important;
|
--tw-ring-color: darken(@accent-color, 10%) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary:focus-visible {
|
|
||||||
--tw-ring-color: lighten(@green, 10%) !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger {
|
.btn-danger {
|
||||||
background-color: @red;
|
background-color: @red;
|
||||||
color: @base;
|
color: @base;
|
||||||
}
|
|
||||||
|
|
||||||
.btn-danger:hover {
|
&:hover:not(:disabled) {
|
||||||
background-color: darken(@red, 10%);
|
background-color: darken(@red, 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger.focus-visible {
|
&.focus-visible,
|
||||||
--tw-ring-color: lighten(@red, 10%) !important;
|
&:focus-visible {
|
||||||
}
|
--tw-ring-color: darken(@red, 10%) !important;
|
||||||
|
}
|
||||||
.btn-danger:focus-visible {
|
|
||||||
--tw-ring-color: lighten(@red, 10%) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-danger:disabled:hover {
|
|
||||||
background-color: @red;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger-outline {
|
.btn-danger-outline {
|
||||||
border-color: @red;
|
border-color: @red;
|
||||||
color: @red;
|
color: @red;
|
||||||
|
|
||||||
|
&.focus-visible,
|
||||||
|
&:focus-visible {
|
||||||
|
--tw-ring-color: lighten(@red, 10%) !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger-outline.focus-visible {
|
.btn-neutral {
|
||||||
--tw-ring-color: lighten(@red, 10%) !important;
|
&.focus-visible,
|
||||||
}
|
&:focus-visible {
|
||||||
|
--tw-ring-color: @overlay0 !important;
|
||||||
.btn-danger-outline:focus-visible {
|
}
|
||||||
--tw-ring-color: lighten(@red, 10%) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-neutral.focus-visible {
|
|
||||||
--tw-ring-color: @overlay0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-neutral:focus-visible {
|
|
||||||
--tw-ring-color: @overlay0 !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-dark {
|
.btn-dark {
|
||||||
background-color: @surface0;
|
background-color: @surface0;
|
||||||
border-color: @overlay0;
|
border-color: @overlay0;
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
|
||||||
|
|
||||||
.btn-dark:hover {
|
&:hover {
|
||||||
background-color: @surface1;
|
background-color: @surface1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-light {
|
.btn-light {
|
||||||
background-color: @text;
|
background-color: @overlay1;
|
||||||
color: @black;
|
color: @black;
|
||||||
}
|
|
||||||
|
|
||||||
.btn-light:hover {
|
&:hover {
|
||||||
background-color: @base;
|
background-color: @overlay0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-disabled,
|
.btn-disabled,
|
||||||
@@ -529,8 +515,12 @@
|
|||||||
background-color: darken(@blue, 10%);
|
background-color: darken(@blue, 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hover\:bg-blue-700:hover {
|
||||||
|
background-color: darken(@blue, 15%);
|
||||||
|
}
|
||||||
|
|
||||||
.bg-brand-blue-800 {
|
.bg-brand-blue-800 {
|
||||||
background-color: darken(@blue, 20%);
|
background-color: darken(@blue, 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-blue-950 {
|
.bg-blue-950 {
|
||||||
@@ -683,10 +673,6 @@
|
|||||||
border-color: @accent-color;
|
border-color: @accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hover\:bg-blue-700:hover {
|
|
||||||
background-color: darken(@blue, 25%);
|
|
||||||
}
|
|
||||||
|
|
||||||
[class*="bg-transparent"] {
|
[class*="bg-transparent"] {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
@@ -694,7 +680,7 @@
|
|||||||
/* Gradients */
|
/* Gradients */
|
||||||
|
|
||||||
.from-white {
|
.from-white {
|
||||||
--tw-gradient-from: @white var(--tw-gradient-from-position);
|
--tw-gradient-from: @base var(--tw-gradient-from-position);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fill/stroke */
|
/* Fill/stroke */
|
||||||
@@ -837,6 +823,10 @@
|
|||||||
color: darken(@red, 10%);
|
color: darken(@red, 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-token-text-error {
|
||||||
|
--text-error: @red;
|
||||||
|
}
|
||||||
|
|
||||||
.text-white {
|
.text-white {
|
||||||
color: @white;
|
color: @white;
|
||||||
}
|
}
|
||||||
@@ -897,6 +887,11 @@
|
|||||||
color: @black;
|
color: @black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Chat suggestions on new chat page */
|
||||||
|
.dark\:text-gray-500 {
|
||||||
|
color: var(--gray-300);
|
||||||
|
}
|
||||||
|
|
||||||
.dark\:text-\[\#D292FF\] {
|
.dark\:text-\[\#D292FF\] {
|
||||||
color: @mauve;
|
color: @mauve;
|
||||||
}
|
}
|
||||||
@@ -908,6 +903,14 @@
|
|||||||
.dark\:border-gray-700 {
|
.dark\:border-gray-700 {
|
||||||
border-color: var(--gray-700);
|
border-color: var(--gray-700);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Up arrow send message button */
|
||||||
|
.disabled\:dark\:bg-token-text-quaternary:is(.dark *):disabled {
|
||||||
|
background-color: var(--text-quaternary);
|
||||||
|
}
|
||||||
|
.dark\:disabled\:text-token-main-surface-secondary:disabled:is(.dark *) {
|
||||||
|
color: var(--main-surface-secondary);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Other */
|
/* Other */
|
||||||
@@ -941,6 +944,20 @@
|
|||||||
[style="background-color: rgb(255, 255, 219);"] {
|
[style="background-color: rgb(255, 255, 219);"] {
|
||||||
background-color: @crust !important;
|
background-color: @crust !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Icon colors for chat suggestion icons on new chat page */
|
||||||
|
svg[style="color: rgb(203, 139, 208);"] {
|
||||||
|
color: @pink !important;
|
||||||
|
}
|
||||||
|
svg[style="color: rgb(226, 197, 65);"] {
|
||||||
|
color: @yellow !important;
|
||||||
|
}
|
||||||
|
svg[style="color: rgb(118, 208, 235);"] {
|
||||||
|
color: @teal !important;
|
||||||
|
}
|
||||||
|
svg[style="color: rgb(237, 98, 98);"] {
|
||||||
|
color: @red !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1149,7 +1166,8 @@
|
|||||||
--gray-darkest: @text;
|
--gray-darkest: @text;
|
||||||
--gray-social-border: @surface0;
|
--gray-social-border: @surface0;
|
||||||
|
|
||||||
._button-login-password {
|
._button-login-password,
|
||||||
|
._button-login-id {
|
||||||
background-color: @accent-color;
|
background-color: @accent-color;
|
||||||
color: @base;
|
color: @base;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user