sgoudham 8cfccfd837
feat: launch catppuccin/userstyles
Co-authored-by: rubyowo <perhaps-you-know@what-is.ml>
Co-authored-by: Andreas Grafen <andreas@grafen.info>
Co-authored-by: winston <hey@winston.sh>
Co-authored-by: Carsten Kragelund <carsten@kragelund.me>
Co-authored-by: Andreas Grafen <andreas@grafen.info>
Co-authored-by: Alaina <68250402+alaidriel@users.noreply.github.com>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
2023-07-20 19:43:01 +01:00

296 lines
8.6 KiB
CSS

/* ==UserStyle==
@name Brave Search Catppuccin
@namespace github.com/catppuccin/userstyles/styles/brave-search
@version 1.0.2
@description Soothing pastel theme for Brave Search
@author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/brave-search/catppuccin.user.css
@preprocessor less
@var select lightTheme "Light Theme" ["latte:Latte*", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkTheme "Dark Theme" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
==/UserStyle== */
@-moz-document domain("search.brave.com") {
:root.light {
#catppuccin(@lightTheme);
}
:root.dark {
#catppuccin(@darkTheme);
}
:root:not(.light):not(.dark) {
@media (prefers-color-scheme: light) {
#catppuccin(@lightTheme);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkTheme);
}
}
@catppuccin: {
@latte: {
@color-scheme: light;
@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: {
@color-scheme: dark;
@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: {
@color-scheme: dark;
@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: {
@color-scheme: dark;
@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) {
@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];
@color: @catppuccin[@@lookup][@color-scheme];
& {
color-scheme: @color;
--body-bg: @base;
--bg-glassy: @mantle;
--bg-1: @surface1;
--bg-2: @surface0;
--bg-02: @crust;
--bg-04: @mantle;
--bg-green: @green;
--bg-blue: @blue;
--bg-red: @red;
--bg-favicon: @surface1;
--bg-form-control-selected: @surface2;
--bg-form-control-unselected: @surface0;
--form-control-selected: @blue;
--form-control-hover: @lavender;
--form-control-focus: @text;
--settings-header-bg: @mantle;
--settings-header-text: @text;
--settings-header-icon: @blue;
--settings-widget-text: @subtext0;
--settings-item-text: @text;
--settings-item-icon: @blue;
--settings-item-border: @overlay0;
--settings-item-border-2: @overlay2;
--settings-btn-bg: @surface0;
--settings-btn-text: @text;
--settings-widget-outline: @overlay0;
--settings-independent-score: @blue;
--settings-global-score: @peach;
--brave-supporter-bg: @base;
--brave-supporter-text: @text;
--context-menu-header-border: @overlay0;
--color-primary: @text;
--color-primary-2: @subtext1;
--color-primary-3: @subtext0;
--color-white: @text;
--color-gray-2: @subtext1;
--color-gray-3: @subtext0;
--color-gray-4: @overlay2;
--color-gray-5: @overlay1;
--color-gray-6: @overlay0;
--color-green: @green;
--color-red: @red;
--color-blue: @blue;
--info-color: @blue;
--link-primary: @blue;
--link-secondary: @blue;
--link-visited: @mauve;
--snippet-url: @subtext0;
--separator-dot: @overlay0;
--theme-purple: @mauve;
--theme-yellow: @yellow;
--border-color: @overlay0;
--blurple-300: @lavender;
--text-01: @text;
--text-02: @subtext1;
--text-03: @subtext0;
--interactive-04: @blue;
--interactive-05: @blue;
--interactive-06: @blue;
--interactive-07: @blue;
--interactive-08: @blue;
--focus-border: @overlay2;
--divider-01: @overlay0;
--disabled: @overlay1;
--btn-filled-bg: @surface0;
--btn-filled-bg-hover: @surface1;
--btn-filled-text-active: @text;
--btn-filled-bg-active: @surface2;
--btn-filled-text-disabled: @overlay1;
--btn-outline-border: @overlay0;
--btn-outline-border-hover: @overlay1;
--btn-outline-text: @text;
--btn-outline-text-hover: @subtext1;
--btn-outline-text-active: @text;
--btn-outline-border-active: @overlay2;
--btn-outline-text-disabled: @overlay1;
--btn-icon-svg-hover: @subtext1;
--btn-icon-bg-hover: @surface1;
--btn-icon-svg-active: @text;
--code-bg-0: @base;
--code-border: @overlay0;
--code-color-1: @surface0;
--code-color-2: @text;
--code-color-3: @green;
--code-color-4: @blue;
--code-color-5: @pink;
--search-bgd-01: @overlay0;
--search-bgd-02: @base;
--search-bgd-03: @crust;
--search-bgd-04: @mantle;
--search-bgd-05: @base;
--search-bgd-06: @surface0;
--search-bgd-07: @mantle;
--search-bgd-08: @crust;
--search-line-01: @surface0;
--search-line-02: @subtext0;
--search-text-01: @text;
--search-text-02: @subtext1;
--search-text-03: @subtext0;
--search-text-04: @subtext0;
--search-text-05: @blue;
--search-text-06: @overlay0;
--search-text-09: @yellow;
--search-text-10: @peach;
--search-interactive-01: @blue;
--search-interactive-02: @mauve;
--search-interactive-03: @mauve;
--search-interactive-04: @sky;
--search-interactive-05: @mauve;
--gray-30: @base;
--gray-60: @surface0;
--gray-90: @overlay0;
--gray-110: @subtext0;
--gray-120: @text;
--secondary-90: @lavender;
}
}
}