refactor(tree-wide): consistent metadata (#557)
* ci(lint): quick fix * refactor(tree-wide): consistent metadata * refactor: more * refactor: accent-color * fix: accentColor issues * fix: logger line numbers * fix: svg colors * fix(google): add accent-color line --------- Co-authored-by: Isabel <[email protected]>
This commit is contained in:
1 parent
74eaa37e19
commit
ded7419d5c
71 files changed
+798
-753
No files matched your search
@@ -10,10 +10,11 @@
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappe", "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"]
|
||||
@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("startpage.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
@@ -27,7 +28,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent-color) {
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@@ -54,11 +55,11 @@
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent: @catppuccin[@@lookup][@@accent-color];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
&,
|
||||
body {
|
||||
--sx-accent: @accent;
|
||||
--sx-accent: @accent-color;
|
||||
--sx-background: @base;
|
||||
--sx-border: @surface0;
|
||||
--sx-tabLinkHover: @teal;
|
||||
@@ -69,7 +70,7 @@
|
||||
--sx-popupForeground: @text;
|
||||
--sx-popupForegroundEm: @text;
|
||||
--sx-popupUrl: @blue;
|
||||
--sx-buttonHighlight: @accent;
|
||||
--sx-buttonHighlight: @accent-color;
|
||||
--sx-loadingBars: @mantle;
|
||||
--sx-darkIcons: @crust;
|
||||
--sx-arrowButtonBackground: @text;
|
||||
@@ -77,8 +78,8 @@
|
||||
}
|
||||
|
||||
.css-nguon6 button {
|
||||
color: @accent;
|
||||
border-color: @accent;
|
||||
color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
.css-fg9wif,
|
||||
@@ -129,7 +130,7 @@
|
||||
}
|
||||
|
||||
.w-gl__result-url {
|
||||
color: @accent !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.wp-qi-sb__expand-text,
|
||||
|
||||
Reference in new issue
Block a user