refactor(tree-wide): add/update base styles (#767)
Co-authored-by: Isabel <[email protected]>
This commit is contained in:
1 parent
a81b5cfb08
commit
63ac4b191e
81 files changed
+2903
-1891
No files matched your search
@@ -17,6 +17,17 @@
|
||||
|
||||
@-moz-document regexp("^https?://(www\\.|images\\.)?google\\..*")
|
||||
{
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@@ -45,40 +56,56 @@
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
background: @base !important;
|
||||
--uv-styles-color-surface: @crust;
|
||||
--uv-styles-color-tertiary: @surface0;
|
||||
--uv-styles-color-secondary: fade(@blue, 25%);
|
||||
--uv-styles-color-text-primary: @blue;
|
||||
--uv-styles-color-icon-default: @text;
|
||||
--uv-styles-color-text-emphasis: @text;
|
||||
--uv-styles-color-icon-on-secondary: @subtext0;
|
||||
--uv-styles-color-on-tertiary: @text;
|
||||
--uv-styles-color-icon-on-tertiary: @text;
|
||||
--xhUGwc: @base;
|
||||
--bbQxAb: @text;
|
||||
--IXoxUe: @subtext0;
|
||||
--COEmY: @text;
|
||||
--YLNNHc: @text;
|
||||
--gS5jXb: @surface0;
|
||||
--EpFNW: @mantle;
|
||||
--tefdc5886c2f04483: @text;
|
||||
--te8f1ea4d4928be48: @text !important;
|
||||
--ta884a309a24f44f4: @subtext0 !important;
|
||||
--tdee01b39543f1cac: @base !important;
|
||||
--tcc8c9ef487836e2b: @surface0 !important;
|
||||
--ta83cba65577ef850: @blue !important;
|
||||
--t7d1a3050c2c1c0a5: @text !important;
|
||||
--t6a0469853a1a02c1: @text !important;
|
||||
--t5feec22832a0fdd6: @surface0 !important;
|
||||
--t342c96645d13ae13: @accent-color !important;
|
||||
--t6c7325fca9d536d4: @text !important;
|
||||
--tf7148cf5018d5074: @text !important;
|
||||
--t9ab8d922307d428d: @text;
|
||||
--t62e84c71989f1975: @red !important;
|
||||
--tc9db399ed82142e1: @green !important;
|
||||
--uv-styles-color-text-default: @subtext0 !important;
|
||||
--uv-styles-color-review-stars: @yellow !important;
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&,
|
||||
body {
|
||||
background: @base !important;
|
||||
--uv-styles-color-surface: @crust;
|
||||
--uv-styles-color-tertiary: @surface0;
|
||||
--uv-styles-color-secondary: fade(@blue, 25%);
|
||||
--uv-styles-color-text-primary: @blue;
|
||||
--uv-styles-color-icon-default: @text;
|
||||
--uv-styles-color-text-emphasis: @text;
|
||||
--uv-styles-color-icon-on-secondary: @subtext0;
|
||||
--uv-styles-color-on-tertiary: @text;
|
||||
--uv-styles-color-icon-on-tertiary: @text;
|
||||
--xhUGwc: @base;
|
||||
--bbQxAb: @text;
|
||||
--IXoxUe: @subtext0;
|
||||
--COEmY: @text;
|
||||
--YLNNHc: @text;
|
||||
--gS5jXb: @surface0;
|
||||
--EpFNW: @mantle;
|
||||
--tefdc5886c2f04483: @text;
|
||||
--te8f1ea4d4928be48: @text !important;
|
||||
--ta884a309a24f44f4: @subtext0 !important;
|
||||
--tdee01b39543f1cac: @base !important;
|
||||
--tcc8c9ef487836e2b: @surface0 !important;
|
||||
--ta83cba65577ef850: @blue !important;
|
||||
--t7d1a3050c2c1c0a5: @text !important;
|
||||
--t6a0469853a1a02c1: @text !important;
|
||||
--t5feec22832a0fdd6: @surface0 !important;
|
||||
--t342c96645d13ae13: @accent-color !important;
|
||||
--t6c7325fca9d536d4: @text !important;
|
||||
--tf7148cf5018d5074: @text !important;
|
||||
--t9ab8d922307d428d: @text;
|
||||
--t62e84c71989f1975: @red !important;
|
||||
--tc9db399ed82142e1: @green !important;
|
||||
--uv-styles-color-text-default: @subtext0 !important;
|
||||
--uv-styles-color-review-stars: @yellow !important;
|
||||
}
|
||||
|
||||
/* safe search toggle dropdown */
|
||||
.z4R3Z.yb2zA {
|
||||
@@ -1968,16 +1995,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
body {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-ignore */
|
||||
@@ -1987,3 +2004,5 @@
|
||||
@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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
Reference in new issue
Block a user