fix(brave-search): add variables to .is-serp class (#1611)

This commit is contained in:
mxgic1337_ authored and GitHub committed 2025-01-31 21:18:23 -05:00
1 parent 9acc6c9863
commit cc19e8936d
1 file changed
+14 -4
+14 -4
View File
@@ -73,6 +73,7 @@
} }
} }
&, .is-serp {
--color-page-background: @base; --color-page-background: @base;
--color-container-background: @crust; --color-container-background: @crust;
--color-container-highlight: @mantle; --color-container-highlight: @mantle;
@@ -99,7 +100,7 @@
--color-button-background: @accent; --color-button-background: @accent;
--color-button-disabled: fade(@surface2, 30%); --color-button-disabled: fade(@surface2, 30%);
--color-serp-settings-background: @mantle; --color-serp-settings-background: @mantle;
}
dialog { dialog {
color: @text; color: @text;
@@ -114,7 +115,11 @@
#searchform-actions::before { #searchform-actions::before {
background: none !important; background: none !important;
} }
#submit-button { #submit-button, #submit-llm-button {
svg {
fill: @overlay2;
}
&:hover:not(:disabled) { &:hover:not(:disabled) {
background: linear-gradient( background: linear-gradient(
314deg, 314deg,
@@ -122,12 +127,17 @@
@pink 43.72%, @pink 43.72%,
@mauve 99.51% @mauve 99.51%
); );
}
svg { svg {
fill: @base;
}
}
}
#clear-query-button svg {
fill: @overlay2; fill: @overlay2;
} }
}
#searchbox::placeholder { #searchbox::placeholder {
color: @subtext0; color: @subtext0;
} }