refactor(tree-wide): misc improvements (#1547)
This commit is contained in:
1 parent
3e6ecfbf86
commit
6121f23d7c
126 files changed
+8047
-8021
No files matched your search
@@ -17,46 +17,46 @@
|
||||
|
||||
@-moz-document domain("ecosia.org") {
|
||||
:root.light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
|
||||
:root.dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@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];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
#catppuccin(@flavor) {
|
||||
@rosewater: @catppuccin[@@flavor][@rosewater];
|
||||
@flamingo: @catppuccin[@@flavor][@flamingo];
|
||||
@pink: @catppuccin[@@flavor][@pink];
|
||||
@mauve: @catppuccin[@@flavor][@mauve];
|
||||
@red: @catppuccin[@@flavor][@red];
|
||||
@maroon: @catppuccin[@@flavor][@maroon];
|
||||
@peach: @catppuccin[@@flavor][@peach];
|
||||
@yellow: @catppuccin[@@flavor][@yellow];
|
||||
@green: @catppuccin[@@flavor][@green];
|
||||
@teal: @catppuccin[@@flavor][@teal];
|
||||
@sky: @catppuccin[@@flavor][@sky];
|
||||
@sapphire: @catppuccin[@@flavor][@sapphire];
|
||||
@blue: @catppuccin[@@flavor][@blue];
|
||||
@lavender: @catppuccin[@@flavor][@lavender];
|
||||
@text: @catppuccin[@@flavor][@text];
|
||||
@subtext1: @catppuccin[@@flavor][@subtext1];
|
||||
@subtext0: @catppuccin[@@flavor][@subtext0];
|
||||
@overlay2: @catppuccin[@@flavor][@overlay2];
|
||||
@overlay1: @catppuccin[@@flavor][@overlay1];
|
||||
@overlay0: @catppuccin[@@flavor][@overlay0];
|
||||
@surface2: @catppuccin[@@flavor][@surface2];
|
||||
@surface1: @catppuccin[@@flavor][@surface1];
|
||||
@surface0: @catppuccin[@@flavor][@surface0];
|
||||
@base: @catppuccin[@@flavor][@base];
|
||||
@mantle: @catppuccin[@@flavor][@mantle];
|
||||
@crust: @catppuccin[@@flavor][@crust];
|
||||
@accent: @catppuccin[@@flavor][@@accentColor];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
color-scheme: if(@flavor = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
background-color: fade(@accent, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
@@ -66,20 +66,20 @@
|
||||
}
|
||||
}
|
||||
|
||||
--color-brand-primary: @accent-color !important;
|
||||
--color-brand-primary: @accent !important;
|
||||
--color-brand-secondary: @crust !important;
|
||||
--color-error: @red !important;
|
||||
--color-success: @green !important;
|
||||
--color-disabled: @overlay1 !important;
|
||||
--color-button-background-primary: @accent-color !important;
|
||||
--color-button-background-primary-active: @accent-color !important;
|
||||
--color-button-background-primary-hover: @accent-color;
|
||||
--color-button-background-primary: @accent !important;
|
||||
--color-button-background-primary-active: @accent !important;
|
||||
--color-button-background-primary-hover: @accent;
|
||||
--color-button-background-secondary: @surface0 !important;
|
||||
--color-button-background-secondary-active: @surface2 !important;
|
||||
--color-button-background-secondary-hover: @surface1 !important;
|
||||
--color-button-content-primary: @base !important;
|
||||
--color-button-content-secondary: @text !important;
|
||||
--color-button-content-tertiary: @accent-color !important;
|
||||
--color-button-content-tertiary: @accent !important;
|
||||
--color-button-border: @surface0 !important;
|
||||
--color-button-background-transparent-hover: @surface1;
|
||||
--color-button-background-transparent-active: @surface2;
|
||||
@@ -100,14 +100,14 @@
|
||||
--color-url: @sapphire !important;
|
||||
--color-link-results-default: @sapphire !important;
|
||||
--color-link-results-visited: @teal !important;
|
||||
--color-decorative-icon: @accent-color !important;
|
||||
--color-decorative-icon: @accent !important;
|
||||
--color-elevation-layer-1: @surface1;
|
||||
--color-elevation-layer-2: @surface2;
|
||||
--color-decorative-border-1: @surface1 !important;
|
||||
--color-focused: @accent-color !important;
|
||||
--color-focused: @accent !important;
|
||||
--color-form-border-default: @surface0 !important;
|
||||
--color-form-border-hover: @surface1 !important;
|
||||
--color-form-border-primary-active: @accent-color !important;
|
||||
--color-form-border-primary-active: @accent !important;
|
||||
--color-tripadvisor-rating: @subtext0 !important;
|
||||
--color-tree-counter-tree-tall: @yellow !important;
|
||||
--color-green-leaf-icon-color-top: @green !important;
|
||||
|
||||
Reference in new issue
Block a user