/* ==UserStyle==
@name Brave Search Catppuccin
@namespace github.com/catppuccin/userstyles/styles/brave-search
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/brave-search
@version 2025.09.06
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/brave-search/catppuccin.user.less
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Abrave-search
@description Soothing pastel theme for Brave Search
@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== */
@import "https://userstyles.catppuccin.com/lib/lib.less";
@-moz-document domain("search.brave.com") {
:root.light {
#catppuccin(@lightFlavor);
}
:root.dark {
#catppuccin(@darkFlavor);
}
:root:not(.light, .dark) {
@media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
}
}
#catppuccin(@flavor) {
#lib.palette();
#lib.defaults();
&, .is-serp {
--color-page-background: @base;
--color-container-background: @crust;
--color-container-highlight: @mantle;
--color-serp-header-background: @crust;
--color-text-interactive: @accent;
--color-divider-subtle: @surface0;
--color-divider-interactive: @accent;
--color-text-primary: @text;
--color-serp-bar-bg: @mantle;
--color-serp-divider-subtle-container: @surface0;
--color-gray-30: @subtext0;
--color-gray-40: @overlay2;
--color-text-secondary: @subtext1;
--color-text-tertiary: @subtext0;
--color-icon-default: @overlay2;
--color-serp-snippet-background: @base;
--color-link-default: @blue;
--color-link-visited: @mauve;
--color-tabs-search-text-default: @accent;
--color-primary-50: @accent;
--color-primitive-primary-60: @accent;
--color-primitive-primary-70: darken(@accent, 5%);
--color-container-interactive: transparent;
--color-button-background: @accent;
--color-button-disabled: fade(@surface2, 30%);
--color-serp-settings-background: @mantle;
}
dialog {
color: @text;
&::backdrop {
background-color: fade(@crust, 30%);
}
}
#searchform::after {
outline-color: @surface0;
}
#searchform-actions::before {
background: none !important;
}
#submit-button, #submit-llm-button {
svg {
fill: @overlay2;
}
&:hover:not(:disabled) {
background: linear-gradient(
314deg,
@peach 8.49%,
@pink 43.72%,
@mauve 99.51%
);
svg {
fill: @base;
}
}
}
#clear-query-button svg {
fill: @overlay2;
}
#searchbox::placeholder {
color: @subtext0;
}
.button.type--filled.theme--default {
color: @base;
&:disabled {
color: fade(@text, 50%);
}
}
.button.type--outlined.theme--default:hover {
background-color: @accent;
border-color: @accent !important;
color: @base !important;
}
.tab-item.active .icon {
fill: @accent !important;
}
.tab-item.active ::after {
background: @accent !important;
}
.conversation-input-field.type--default {
background: @crust;
border-color: @crust;
color: @text;
}
.logo-img {
@svg: escape(
''
);
content: url("data:image/svg+xml,@{svg}");
}
.nav-logo .logo-large {
@svg: escape(
''
);
content: url("data:image/svg+xml,@{svg}");
}
.nav-logo .logo-small {
@svg: escape(
''
);
content: url("data:image/svg+xml,@{svg}");
}
.waves-bottom {
@svg: escape(
''
);
background-image: url("data:image/svg+xml,@{svg}");
}
.waves-top {
@svg: escape(
''
);
background-image: url("data:image/svg+xml,@{svg}");
}
input[type="radio"]:checked::after {
background-color: @accent;
}
.feedback-footer {
#logo {
@svg: escape(
''
);
content: url("data:image/svg+xml,@{svg}");
height: 48px;
}
}
}
}