1049 lines
28 KiB
CSS
1049 lines
28 KiB
CSS
/* ==UserStyle==
|
|
@name ChatGPT Catppuccin
|
|
@namespace github.com/catppuccin/userstyles/styles/chatgpt
|
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chatgpt
|
|
@version 0.2.5
|
|
@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
|
|
@author Catppuccin
|
|
@license MIT
|
|
|
|
@preprocessor less
|
|
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
|
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
|
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire*", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
|
==/UserStyle== */
|
|
|
|
@-moz-document domain("chat.openai.com") {
|
|
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin.variables.css");
|
|
|
|
:root.light {
|
|
#catppuccin(@lightFlavor, @accentColor);
|
|
}
|
|
|
|
:root.dark {
|
|
#catppuccin(@darkFlavor, @accentColor);
|
|
}
|
|
|
|
/* prettier-ignore */
|
|
@catppuccin: {
|
|
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
|
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
|
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
|
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
|
}
|
|
|
|
#catppuccin(@lookup, @accent) {
|
|
@rosewater: @catppuccin[@@lookup][@rosewater];
|
|
@flamingo: @catppuccin[@@lookup][@flamingo];
|
|
@pink: @catppuccin[@@lookup][@pink];
|
|
@mauve: @catppuccin[@@lookup][@mauve];
|
|
@red: @catppuccin[@@lookup][@red];
|
|
@maroon: @catppuccin[@@lookup][@maroon];
|
|
@peach: @catppuccin[@@lookup][@peach];
|
|
@yellow: @catppuccin[@@lookup][@yellow];
|
|
@green: @catppuccin[@@lookup][@green];
|
|
@teal: @catppuccin[@@lookup][@teal];
|
|
@sky: @catppuccin[@@lookup][@sky];
|
|
@sapphire: @catppuccin[@@lookup][@sapphire];
|
|
@blue: @catppuccin[@@lookup][@blue];
|
|
@lavender: @catppuccin[@@lookup][@lavender];
|
|
@text: @catppuccin[@@lookup][@text];
|
|
@subtext1: @catppuccin[@@lookup][@subtext1];
|
|
@subtext0: @catppuccin[@@lookup][@subtext0];
|
|
@overlay2: @catppuccin[@@lookup][@overlay2];
|
|
@overlay1: @catppuccin[@@lookup][@overlay1];
|
|
@overlay0: @catppuccin[@@lookup][@overlay0];
|
|
@surface2: @catppuccin[@@lookup][@surface2];
|
|
@surface1: @catppuccin[@@lookup][@surface1];
|
|
@surface0: @catppuccin[@@lookup][@surface0];
|
|
@base: @catppuccin[@@lookup][@base];
|
|
@mantle: @catppuccin[@@lookup][@mantle];
|
|
@crust: @catppuccin[@@lookup][@crust];
|
|
@accent-color: @catppuccin[@@lookup][@@accent];
|
|
|
|
color-scheme: if(@lookup=latte, light, dark);
|
|
|
|
/* Syntax highlighting */
|
|
@color: white;
|
|
#rgbify(@color) {
|
|
@rgb-raw: red(@color), green(@color), blue(@color);
|
|
}
|
|
--ctp-rosewater: #rgbify(@rosewater) [];
|
|
--ctp-flamingo: #rgbify(@flamingo) [];
|
|
--ctp-pink: #rgbify(@pink) [];
|
|
--ctp-mauve: #rgbify(@mauve) [];
|
|
--ctp-red: #rgbify(@red) [];
|
|
--ctp-maroon: #rgbify(@maroon) [];
|
|
--ctp-peach: #rgbify(@peach) [];
|
|
--ctp-yellow: #rgbify(@yellow) [];
|
|
--ctp-green: #rgbify(@green) [];
|
|
--ctp-teal: #rgbify(@teal) [];
|
|
--ctp-sky: #rgbify(@sky) [];
|
|
--ctp-sapphire: #rgbify(@sapphire) [];
|
|
--ctp-blue: #rgbify(@blue) [];
|
|
--ctp-lavender: #rgbify(@lavender) [];
|
|
--ctp-text: #rgbify(@text) [];
|
|
--ctp-subtext1: #rgbify(@subtext1) [];
|
|
--ctp-subtext0: #rgbify(@subtext0) [];
|
|
--ctp-overlay2: #rgbify(@overlay2) [];
|
|
--ctp-overlay1: #rgbify(@overlay1) [];
|
|
--ctp-overlay0: #rgbify(@overlay0) [];
|
|
--ctp-surface2: #rgbify(@surface2) [];
|
|
--ctp-surface1: #rgbify(@surface1) [];
|
|
--ctp-surface0: #rgbify(@surface0) [];
|
|
--ctp-base: #rgbify(@crust) [];
|
|
--ctp-mantle: #rgbify(@mantle) [];
|
|
--ctp-crust: #rgbify(@crust) [];
|
|
code.hljs {
|
|
background: none;
|
|
}
|
|
pre {
|
|
.bg-token-main-surface-secondary {
|
|
background-color: @surface0;
|
|
}
|
|
.bg-gray-950 {
|
|
background-color: @crust;
|
|
}
|
|
.text-token-text-secondary {
|
|
color: @subtext0;
|
|
}
|
|
}
|
|
|
|
color: @text;
|
|
|
|
@white: lighten(if(@lookup=latte, @base, @text), 5%);
|
|
@black: darken(if(@lookup=latte, @text, @base), 5%);
|
|
--white: @white;
|
|
--black: @black;
|
|
|
|
& when not (@lookup = latte) {
|
|
--gray-50: lighten(mix(@text, @subtext0), 5%);
|
|
--gray-100: @text;
|
|
--gray-200: @subtext0;
|
|
--gray-300: @subtext1;
|
|
--gray-400: @overlay0;
|
|
--gray-500: @surface2;
|
|
--gray-600: @surface1;
|
|
--gray-700: @surface0;
|
|
--gray-800: @base;
|
|
--gray-900: @mantle;
|
|
--gray-950: @crust;
|
|
--brand-purple: @accent-color;
|
|
--text-primary: var(--gray-100);
|
|
--text-secondary: var(--gray-300);
|
|
--text-tertiary: var(--gray-400);
|
|
--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: @crust;
|
|
--gray-100: @mantle;
|
|
--gray-200: @base;
|
|
--gray-300: @surface0;
|
|
--gray-400: @surface1;
|
|
--gray-500: @surface2;
|
|
--gray-600: @overlay0;
|
|
--gray-700: @overlay1;
|
|
--gray-800: @subtext0;
|
|
--gray-900: @subtext1;
|
|
--gray-950: @text;
|
|
--brand-purple: @accent-color;
|
|
--text-primary: var(--gray-950);
|
|
--text-secondary: var(--gray-600);
|
|
--text-tertiary: var(--gray-400);
|
|
--text-quaternary: var(--gray-300);
|
|
--main-surface-primary: var(--gray-200);
|
|
--main-surface-secondary: var(--gray-100);
|
|
--main-surface-tertiary: var(--gray-50);
|
|
--sidebar-surface-primary: var(--gray-100);
|
|
--sidebar-surface-secondary: var(--gray-200);
|
|
--sidebar-surface-tertiary: var(--gray-300);
|
|
.popover,
|
|
.dark .popover,
|
|
.dark.popover,
|
|
.popover .dark {
|
|
--main-surface-primary: var(--gray-200) !important;
|
|
--main-surface-secondary: var(--gray-100) !important;
|
|
--main-surface-tertiary: var(--gray-50) !important;
|
|
--text-primary: var(--gray-950) !important;
|
|
--text-secondary: var(--gray-600) !important;
|
|
--text-tertiary: var(--gray-500) !important;
|
|
}
|
|
}
|
|
|
|
--border-light: fade(@text, 10%);
|
|
--border-medium: fade(@text, 15%);
|
|
--border-heavy: fade(@text, 20%);
|
|
--border-xheavy: fade(@text, 25%);
|
|
--link: @accent-color;
|
|
--link-hover: if(
|
|
@lookup=latte,
|
|
lighten(@accent-color, 10%),
|
|
darken(@accent-color, 10%)
|
|
);
|
|
|
|
*:focus {
|
|
--tw-ring-offset-color: @base;
|
|
--tw-ring-color: @accent-color;
|
|
}
|
|
|
|
/* ChatGPT logo */
|
|
[style*="background-color: rgb(25, 195, 125);"] {
|
|
background-color: @green !important;
|
|
color: @base !important;
|
|
}
|
|
|
|
/* Input */
|
|
|
|
input::placeholder,
|
|
textarea::placeholder {
|
|
color: @overlay2 !important;
|
|
}
|
|
|
|
select {
|
|
@svg: escape(
|
|
"<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'><path stroke='@{overlay2}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/></svg>"
|
|
);
|
|
background-image: url("data:image/svg+xml;@{svg}");
|
|
}
|
|
|
|
[multiple],
|
|
[type="date"],
|
|
[type="datetime-local"],
|
|
[type="email"],
|
|
[type="month"],
|
|
[type="number"],
|
|
[type="password"],
|
|
[type="search"],
|
|
[type="tel"],
|
|
[type="text"],
|
|
[type="time"],
|
|
[type="url"],
|
|
[type="week"],
|
|
select,
|
|
textarea {
|
|
background-color: @base;
|
|
border-color: @overlay2;
|
|
}
|
|
|
|
[type="checkbox"],
|
|
[type="radio"] {
|
|
background-color: @base;
|
|
border-color: @overlay2;
|
|
color: @accent-color;
|
|
}
|
|
|
|
.form-input,
|
|
.form-multiselect,
|
|
.form-select,
|
|
.form-textarea {
|
|
background-color: @base;
|
|
border-color: @overlay2;
|
|
}
|
|
|
|
.form-input:focus,
|
|
.form-multiselect:focus,
|
|
.form-select:focus,
|
|
.form-textarea:focus {
|
|
border-color: @accent-color;
|
|
}
|
|
|
|
.form-input::placeholder,
|
|
.form-textarea::placeholder {
|
|
color: @overlay2;
|
|
}
|
|
|
|
/* Buttons */
|
|
|
|
.btn-primary {
|
|
background-color: @green;
|
|
color: @base;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: darken(@green, 10%);
|
|
}
|
|
|
|
.btn-primary.focus-visible {
|
|
--tw-ring-color: lighten(@green, 10%) !important;
|
|
}
|
|
|
|
.btn-primary:focus-visible {
|
|
--tw-ring-color: lighten(@green, 10%) !important;
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: @red;
|
|
color: @base;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: darken(@red, 10%);
|
|
}
|
|
|
|
.btn-danger.focus-visible {
|
|
--tw-ring-color: lighten(@red, 10%) !important;
|
|
}
|
|
|
|
.btn-danger:focus-visible {
|
|
--tw-ring-color: lighten(@red, 10%) !important;
|
|
}
|
|
|
|
.btn-danger:disabled:hover {
|
|
background-color: @red;
|
|
}
|
|
|
|
.btn-danger-outline {
|
|
border-color: @red;
|
|
color: @red;
|
|
}
|
|
|
|
.btn-danger-outline.focus-visible {
|
|
--tw-ring-color: lighten(@red, 10%) !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 {
|
|
background-color: @surface0;
|
|
border-color: @overlay0;
|
|
color: @text;
|
|
}
|
|
|
|
.btn-dark:hover {
|
|
background-color: @surface1;
|
|
}
|
|
|
|
.btn-light {
|
|
background-color: @text;
|
|
color: @black;
|
|
}
|
|
|
|
.btn-light:hover {
|
|
background-color: @base;
|
|
}
|
|
|
|
.btn-disabled,
|
|
.btn-disabled:hover {
|
|
background-color: @text;
|
|
}
|
|
|
|
/* Borders */
|
|
|
|
.border-black,
|
|
.border-black\/10,
|
|
.border-black\/20,
|
|
.border-black\/30,
|
|
.border-black\/5 {
|
|
border-color: var(--border-light);
|
|
}
|
|
|
|
.border-gray-100 {
|
|
border-color: var(--gray-100);
|
|
}
|
|
|
|
.border-gray-200 {
|
|
border-color: var(--gray-200);
|
|
}
|
|
|
|
.border-gray-300 {
|
|
border-color: var(--gray-300);
|
|
}
|
|
|
|
.border-gray-400 {
|
|
border-color: var(--gray-400);
|
|
}
|
|
|
|
.border-gray-500 {
|
|
border-color: var(--gray-500);
|
|
}
|
|
|
|
.border-gray-700 {
|
|
border-color: var(--gray-700);
|
|
}
|
|
|
|
.border-gray-950 {
|
|
border-color: var(--gray-950);
|
|
}
|
|
|
|
.border-green-500 {
|
|
border-color: lighten(@green, 10%);
|
|
}
|
|
|
|
.border-green-600 {
|
|
border-color: @green;
|
|
}
|
|
|
|
.border-orange-400 {
|
|
border-color: lighten(mix(@red, @yellow), 10%);
|
|
}
|
|
|
|
.border-orange-500 {
|
|
border-color: mix(@red, @yellow);
|
|
}
|
|
|
|
.border-red-500 {
|
|
border-color: darken(@red, 10%);
|
|
}
|
|
|
|
.border-white {
|
|
border-color: @white;
|
|
}
|
|
|
|
.border-white\/20 {
|
|
border-color: fade(@white, 20%);
|
|
}
|
|
|
|
.border-t-[\#0077FF] {
|
|
border-top-color: @blue;
|
|
}
|
|
|
|
/* Backgrounds */
|
|
.bg-token-main-surface-primary {
|
|
background-color: var(--main-surface-primary);
|
|
}
|
|
|
|
.\!bg-brand-purple {
|
|
background-color: @accent-color !important;
|
|
}
|
|
|
|
.\!bg-gray-200 {
|
|
background-color: var(--gray-200) !important;
|
|
}
|
|
|
|
.bg-[\#0077FF],
|
|
.bg-\[\#3C46FF\] {
|
|
background-color: @blue;
|
|
}
|
|
|
|
.hover\:bg-\[\#0000FF\]:hover {
|
|
background-color: darken(@blue, 10%);
|
|
}
|
|
|
|
.bg-[\#10A37F] {
|
|
background-color: @green;
|
|
}
|
|
|
|
.bg-[\#3C46FF] {
|
|
background-color: @blue;
|
|
}
|
|
|
|
.bg-[\#4046EC] {
|
|
background-color: @blue;
|
|
}
|
|
|
|
.bg-[\#B161FD] {
|
|
background-color: @accent-color;
|
|
}
|
|
|
|
.bg-[\#F8CA27] {
|
|
background-color: @yellow;
|
|
}
|
|
|
|
.bg-[\#FF5588] {
|
|
background-color: mix(@red, @pink);
|
|
}
|
|
|
|
.bg-[\#FF6E3C] {
|
|
background-color: saturate(mix(@red, @yellow), 10%);
|
|
}
|
|
.dark\:radix-highlighted\:bg-\[\#2E2F33\][data-highlighted] {
|
|
background-color: @surface0;
|
|
}
|
|
|
|
.bg-black {
|
|
background-color: @black;
|
|
}
|
|
|
|
.bg-black\/20 {
|
|
background-color: fade(@black, 20%);
|
|
}
|
|
|
|
.bg-black\/5 {
|
|
background-color: fade(@black, 5%);
|
|
}
|
|
|
|
.bg-black\/50 {
|
|
background-color: fade(@black, 50%);
|
|
}
|
|
|
|
.bg-black\/90 {
|
|
background-color: fade(@black, 90%);
|
|
}
|
|
|
|
.bg-black\/\[\.04\] {
|
|
background-color: fade(@black, 4%);
|
|
}
|
|
|
|
.bg-black\/\[\.08\] {
|
|
background-color: fade(@black, 8%);
|
|
}
|
|
|
|
.bg-black\/\[\.12\] {
|
|
background-color: fade(@black, 12%);
|
|
}
|
|
|
|
.bg-blue-100 {
|
|
background-color: lighten(@blue, 30%);
|
|
}
|
|
|
|
.bg-blue-200 {
|
|
background-color: lighten(@blue, 20%);
|
|
}
|
|
|
|
.bg-blue-300 {
|
|
background-color: lighten(@blue, 10%);
|
|
}
|
|
|
|
.bg-blue-400 {
|
|
background-color: @blue;
|
|
}
|
|
|
|
.bg-blue-500 {
|
|
background-color: darken(@blue, 5%);
|
|
}
|
|
|
|
.bg-blue-700 {
|
|
background-color: darken(@blue, 10%);
|
|
}
|
|
|
|
.bg-brand-blue-800 {
|
|
background-color: darken(@blue, 20%);
|
|
}
|
|
|
|
.bg-blue-950 {
|
|
background-color: darken(@blue, 30%);
|
|
}
|
|
|
|
.checked\:bg-blue-600:checked {
|
|
background-color: @accent-color;
|
|
}
|
|
|
|
.bg-brand-green {
|
|
background-color: lighten(@green, 10%);
|
|
}
|
|
|
|
.bg-brand-green\/20 {
|
|
background-color: fade(lighten(@green, 10%), 20%);
|
|
}
|
|
|
|
.bg-brand-green\/40 {
|
|
background-color: fade(lighten(@green, 10%), 40%);
|
|
}
|
|
|
|
.bg-brand-purple {
|
|
background-color: @accent-color;
|
|
}
|
|
|
|
.bg-gray-100 {
|
|
background-color: var(--gray-100);
|
|
}
|
|
|
|
.bg-gray-200 {
|
|
background-color: var(--gray-200);
|
|
}
|
|
|
|
.bg-gray-300 {
|
|
background-color: var(--gray-300);
|
|
}
|
|
|
|
.bg-gray-400 {
|
|
background-color: var(--gray-400);
|
|
}
|
|
|
|
.bg-gray-50 {
|
|
background-color: var(--gray-50);
|
|
}
|
|
|
|
.bg-gray-500 {
|
|
background-color: var(--gray-500);
|
|
}
|
|
|
|
.bg-gray-600 {
|
|
background-color: var(--gray-600);
|
|
}
|
|
|
|
.bg-gray-700 {
|
|
background-color: var(--gray-700);
|
|
}
|
|
|
|
.bg-gray-900 {
|
|
background-color: var(--gray-900);
|
|
}
|
|
|
|
.bg-gray-950 {
|
|
background-color: var(--gray-950);
|
|
}
|
|
|
|
.bg-green-100 {
|
|
background-color: lighten(@green, 30%);
|
|
}
|
|
|
|
.bg-green-200 {
|
|
background-color: lighten(@green, 20%);
|
|
}
|
|
|
|
.bg-green-500 {
|
|
background-color: lighten(@green, 10%);
|
|
}
|
|
|
|
.bg-green-500\/10 {
|
|
background-color: fade(lighten(@green, 10%), 10%);
|
|
}
|
|
|
|
.bg-green-600 {
|
|
background-color: @green;
|
|
}
|
|
|
|
.bg-orange-500 {
|
|
background-color: mix(@yellow, @red);
|
|
}
|
|
|
|
.bg-orange-500\/10 {
|
|
background-color: fade(mix(@yellow, @red), 10%);
|
|
}
|
|
|
|
.bg-red-100 {
|
|
background-color: fade(lighten(@red, 10%), 30%);
|
|
}
|
|
|
|
.bg-red-200 {
|
|
background-color: lighten(@red, 20%);
|
|
}
|
|
|
|
.bg-red-500 {
|
|
background-color: @red;
|
|
}
|
|
|
|
.bg-red-500\/10 {
|
|
background-color: fade(@red, 10%);
|
|
}
|
|
|
|
.bg-red-600 {
|
|
background-color: lighten(@red, 10%);
|
|
}
|
|
|
|
.bg-white {
|
|
background-color: @white;
|
|
}
|
|
|
|
.bg-white\/20 {
|
|
background-color: fade(@white, 20%);
|
|
}
|
|
|
|
.bg-white\/25 {
|
|
background-color: fade(@white, 25%);
|
|
}
|
|
|
|
.bg-yellow-100 {
|
|
background-color: lighten(@yellow, 20%);
|
|
}
|
|
|
|
.bg-yellow-200 {
|
|
background-color: lighten(@yellow, 10%);
|
|
}
|
|
|
|
.bg-yellow-400 {
|
|
background-color: @yellow;
|
|
}
|
|
|
|
.bg-yellow-500 {
|
|
background-color: darken(@yellow, 10%);
|
|
}
|
|
|
|
.radix-state-checked\:bg-green-600[data-state="checked"] {
|
|
background-color: darken(@green, 10%);
|
|
}
|
|
|
|
.hover\:bg-blue-700:hover {
|
|
background-color: darken(@blue, 25%);
|
|
}
|
|
|
|
[class*="bg-transparent"] {
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* Gradients */
|
|
|
|
.from-white {
|
|
--tw-gradient-from: @white var(--tw-gradient-from-position);
|
|
}
|
|
|
|
/* Fill/stroke */
|
|
|
|
.fill-yellow-500 {
|
|
fill: @yellow;
|
|
}
|
|
|
|
.stroke-black {
|
|
stroke: @black;
|
|
}
|
|
|
|
.stroke-brand-purple\/25 {
|
|
stroke: fade(@accent-color, 25%);
|
|
}
|
|
|
|
.stroke-gray-400 {
|
|
stroke: @subtext0;
|
|
}
|
|
|
|
/* Text */
|
|
|
|
.\!text-black {
|
|
color: @black !important;
|
|
}
|
|
|
|
.text-\[\#FE7600\] {
|
|
color: mix(@yellow, @red);
|
|
}
|
|
|
|
.text-\[\#fff\] {
|
|
color: @base;
|
|
}
|
|
|
|
.text-black {
|
|
color: @black;
|
|
}
|
|
|
|
.text-black\/60 {
|
|
color: fade(@black, 60%);
|
|
}
|
|
|
|
.text-black\/70 {
|
|
color: fade(@black, 70%);
|
|
}
|
|
|
|
.text-blue-500 {
|
|
color: lighten(@blue, 10%);
|
|
}
|
|
|
|
.text-blue-600 {
|
|
color: @blue;
|
|
}
|
|
|
|
.text-brand-blue-800 {
|
|
color: @blue;
|
|
}
|
|
|
|
.text-brand-purple {
|
|
color: @accent-color;
|
|
}
|
|
|
|
.text-gray-100 {
|
|
color: var(--gray-100);
|
|
}
|
|
|
|
.text-gray-300 {
|
|
color: var(--gray-300);
|
|
}
|
|
|
|
.text-gray-400 {
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.text-gray-500 {
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.text-gray-600 {
|
|
color: var(--gray-600);
|
|
}
|
|
|
|
.text-gray-700 {
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.text-gray-800 {
|
|
color: var(--gray-800);
|
|
}
|
|
|
|
.text-gray-900 {
|
|
color: var(--gray-900);
|
|
}
|
|
|
|
.text-green-500 {
|
|
color: lighten(@green, 10%);
|
|
}
|
|
|
|
.text-green-600 {
|
|
color: @green;
|
|
}
|
|
|
|
.text-green-700 {
|
|
color: darken(@green, 10%);
|
|
}
|
|
|
|
.text-green-800 {
|
|
color: darken(@green, 20%);
|
|
}
|
|
|
|
.text-green-900 {
|
|
color: darken(@green, 30%);
|
|
}
|
|
|
|
.text-orange-300 {
|
|
color: lighten(mix(@yellow, @red), 15%);
|
|
}
|
|
|
|
.text-orange-400 {
|
|
color: lighten(mix(@yellow, @red), 10%);
|
|
}
|
|
|
|
.text-orange-500 {
|
|
color: mix(@yellow, @red);
|
|
}
|
|
|
|
.text-red-500 {
|
|
color: @red;
|
|
}
|
|
|
|
.text-red-600 {
|
|
color: lighten(@red, 10%);
|
|
}
|
|
|
|
.text-red-700 {
|
|
color: @red;
|
|
}
|
|
|
|
.text-red-800 {
|
|
color: darken(@red, 10%);
|
|
}
|
|
|
|
.text-white {
|
|
color: @white;
|
|
}
|
|
|
|
.text-white\/25 {
|
|
color: fade(@white, 25%);
|
|
}
|
|
|
|
.text-white\/50 {
|
|
color: fade(@white, 50%);
|
|
}
|
|
|
|
.text-white\/80 {
|
|
color: fade(@white, 80%);
|
|
}
|
|
|
|
.text-yellow-500 {
|
|
color: @yellow;
|
|
}
|
|
|
|
.text-yellow-700 {
|
|
color: darken(@yellow, 10%);
|
|
}
|
|
|
|
.text-yellow-800 {
|
|
color: darken(@yellow, 20%);
|
|
}
|
|
|
|
.text-yellow-900 {
|
|
color: darken(@yellow, 30%);
|
|
}
|
|
|
|
/* Dark mode overrides */
|
|
/* stylelint-disable-next-line no-duplicate-selectors */
|
|
& when not (@lookup = latte) {
|
|
.dark\:bg-black {
|
|
background-color: @black;
|
|
}
|
|
|
|
.dark\:bg-white {
|
|
background-color: @white;
|
|
}
|
|
|
|
/* "Was this response better or worse" dialog button hover */
|
|
.dark\:hover\:bg-gray-800:hover {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.dark\:text-white {
|
|
color: @white;
|
|
}
|
|
|
|
.dark\:text-black {
|
|
color: @black;
|
|
}
|
|
|
|
.dark\:text-\[\#D292FF\] {
|
|
color: @mauve;
|
|
}
|
|
|
|
.dark\:focus\:border-white:focus {
|
|
border-color: @text;
|
|
}
|
|
|
|
.dark\:border-gray-700 {
|
|
border-color: var(--gray-700);
|
|
}
|
|
}
|
|
|
|
/* Other */
|
|
|
|
.ring-black {
|
|
--tw-ring-color: @black;
|
|
}
|
|
|
|
.ring-black\/10 {
|
|
--tw-ring-color: fade(@black, 10%);
|
|
}
|
|
|
|
.ring-white {
|
|
--tw-ring-color: @base;
|
|
}
|
|
|
|
.ring-offset-black {
|
|
--tw-ring-offset-color: @base;
|
|
}
|
|
|
|
.katex-error {
|
|
color: @red !important;
|
|
}
|
|
|
|
[style="background-color: rgb(0, 0, 46);"],
|
|
[style="background-color: rgb(255, 255, 219);"] {
|
|
background-color: @crust !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Sign-in page */
|
|
@-moz-document domain("auth0.openai.com") {
|
|
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
#catppuccin(@lightFlavor, @accentColor);
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
#catppuccin(@darkFlavor, @accentColor);
|
|
}
|
|
}
|
|
|
|
/* prettier-ignore */
|
|
@catppuccin: {
|
|
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
|
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
|
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
|
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
|
}
|
|
|
|
#catppuccin(@lookup, @accent) {
|
|
@rosewater: @catppuccin[@@lookup][@rosewater];
|
|
@flamingo: @catppuccin[@@lookup][@flamingo];
|
|
@pink: @catppuccin[@@lookup][@pink];
|
|
@mauve: @catppuccin[@@lookup][@mauve];
|
|
@red: @catppuccin[@@lookup][@red];
|
|
@maroon: @catppuccin[@@lookup][@maroon];
|
|
@peach: @catppuccin[@@lookup][@peach];
|
|
@yellow: @catppuccin[@@lookup][@yellow];
|
|
@green: @catppuccin[@@lookup][@green];
|
|
@teal: @catppuccin[@@lookup][@teal];
|
|
@sky: @catppuccin[@@lookup][@sky];
|
|
@sapphire: @catppuccin[@@lookup][@sapphire];
|
|
@blue: @catppuccin[@@lookup][@blue];
|
|
@lavender: @catppuccin[@@lookup][@lavender];
|
|
@text: @catppuccin[@@lookup][@text];
|
|
@subtext1: @catppuccin[@@lookup][@subtext1];
|
|
@subtext0: @catppuccin[@@lookup][@subtext0];
|
|
@overlay2: @catppuccin[@@lookup][@overlay2];
|
|
@overlay1: @catppuccin[@@lookup][@overlay1];
|
|
@overlay0: @catppuccin[@@lookup][@overlay0];
|
|
@surface2: @catppuccin[@@lookup][@surface2];
|
|
@surface1: @catppuccin[@@lookup][@surface1];
|
|
@surface0: @catppuccin[@@lookup][@surface0];
|
|
@base: @catppuccin[@@lookup][@base];
|
|
@mantle: @catppuccin[@@lookup][@mantle];
|
|
@crust: @catppuccin[@@lookup][@crust];
|
|
@accent-color: @catppuccin[@@lookup][@@accent];
|
|
|
|
--primary-color: @accent-color;
|
|
--primary-color-no-override: @accent-color;
|
|
--action-primary-color: @accent-color;
|
|
--link-color: @accent-color;
|
|
--page-background-color: @base;
|
|
--info-color: @blue;
|
|
--success-color: @green;
|
|
--error-color: @red;
|
|
--error-text-color: @text;
|
|
--warning-color: @yellow;
|
|
--button-font-color: @text;
|
|
--widget-background-color: @base;
|
|
--presentational-content-color: @overlay2;
|
|
--gray-lightest: @base;
|
|
--gray-light: @crust;
|
|
--gray-mid: @surface0;
|
|
--gray-dark: @overlay2;
|
|
--gray-darkest: @text;
|
|
|
|
.c4ca43590 {
|
|
background-color: @accent-color;
|
|
color: @base;
|
|
}
|
|
|
|
.password-icon-tooltip {
|
|
background-color: @text;
|
|
|
|
&::before {
|
|
border-top-color: @text;
|
|
}
|
|
}
|
|
|
|
.oai-header svg {
|
|
fill: @text;
|
|
}
|
|
|
|
@orange: mix(@red, @yellow);
|
|
|
|
.c7e427425[data-provider^="google"] {
|
|
@svg: escape(
|
|
"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 48 48'><defs><path id='a' d='M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z'/></defs><clipPath id='b'><use xlink:href='#a' overflow='visible'/></clipPath><path clip-path='url(#b)' fill='@{orange}' d='M0 37V11l17 13z'/><path clip-path='url(#b)' fill='@{red}' d='M0 11l17 13 7-6.1L48 14V0H0z'/><path clip-path='url(#b)' fill='@{green}' d='M0 37l30-23 7.9 1L48 0v48H0z'/><path clip-path='url(#b)' fill='@{blue}' d='M48 48L17 24l-4-3 35-10z'/></svg>"
|
|
);
|
|
background-image: url("data:image/svg+xml;charset=utf-8,@{svg}");
|
|
}
|
|
.c7e427425[data-provider^="windowslive"] {
|
|
@svg: escape(
|
|
"<svg xmlns='http://www.w3.org/2000/svg' width='21' height='21'><path fill='@{orange}' d='M1 1h9v9H1z'/><path fill='@{sapphire}' d='M1 11h9v9H1z'/><path fill='@{green}' d='M11 1h9v9h-9z'/><path fill='@{yellow}' d='M11 11h9v9h-9z'/></svg>"
|
|
);
|
|
background-image: url("data:image/svg+xml;charset=utf-8,@{svg}");
|
|
}
|
|
.c7e427425[data-provider^="apple"] {
|
|
@svg: escape(
|
|
"<svg width='170' xmlns='http://www.w3.org/2000/svg' height='170'><path fill='@{text}' d='M150.37 130.25c-2.45 5.66-5.35 10.87-8.71 15.66-4.58 6.53-8.33 11.05-11.22 13.56-4.48 4.12-9.28 6.23-14.42 6.35-3.69 0-8.14-1.05-13.32-3.18-5.197-2.12-9.973-3.17-14.34-3.17-4.58 0-9.492 1.05-14.746 3.17-5.262 2.13-9.501 3.24-12.742 3.35-4.929.21-9.842-1.96-14.746-6.52-3.13-2.73-7.045-7.41-11.735-14.04-5.032-7.08-9.169-15.29-12.41-24.65-3.471-10.11-5.211-19.9-5.211-29.378 0-10.857 2.346-20.221 7.045-28.068 3.693-6.303 8.606-11.275 14.755-14.925s12.793-5.51 19.948-5.629c3.915 0 9.049 1.211 15.429 3.591 6.362 2.388 10.447 3.599 12.238 3.599 1.339 0 5.877-1.416 13.57-4.239 7.275-2.618 13.415-3.702 18.445-3.275 13.63 1.1 23.87 6.473 30.68 16.153-12.19 7.386-18.22 17.731-18.1 31.002.11 10.337 3.86 18.939 11.23 25.769 3.34 3.17 7.07 5.62 11.22 7.36-.9 2.61-1.85 5.11-2.86 7.51zM119.11 7.24c0 8.102-2.96 15.667-8.86 22.669-7.12 8.324-15.732 13.134-25.071 12.375a25.222 25.222 0 0 1-.188-3.07c0-7.778 3.386-16.102 9.399-22.908 3.002-3.446 6.82-6.311 11.45-8.597 4.62-2.252 8.99-3.497 13.1-3.71.12 1.083.17 2.166.17 3.24z'/></svg>"
|
|
);
|
|
background-image: url("data:image/svg+xml;charset=utf-8,@{svg}");
|
|
}
|
|
}
|
|
}
|
|
|
|
// vim:ft=less
|