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
@@ -19,58 +19,55 @@
|
||||
|
||||
/* Domains picked from https://searx.space/. */
|
||||
@-moz-document domain("search.bus-hit.me"), domain("search.inetol.net") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root.theme-auto {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
:root.theme-auto {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root.theme-auto {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
}
|
||||
|
||||
:root.theme-dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
:root.theme-light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
|
||||
#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,
|
||||
@@ -83,8 +80,8 @@
|
||||
--color-base-font: @text;
|
||||
--color-base-background: @base;
|
||||
--color-base-background-mobile: @base;
|
||||
--color-url-font: @accent-color;
|
||||
--color-url-visited-font: @accent-color;
|
||||
--color-url-font: @accent;
|
||||
--color-url-visited-font: @accent;
|
||||
--color-header-background: @mantle;
|
||||
--color-header-border: @mantle;
|
||||
--color-footer-background: @mantle;
|
||||
@@ -95,15 +92,15 @@
|
||||
--color-backtotop-font: @subtext1;
|
||||
--color-backtotop-border: @surface0;
|
||||
--color-backtotop-background: @surface0;
|
||||
--color-btn-background: @accent-color;
|
||||
--color-btn-background: @accent;
|
||||
--color-btn-font: @base;
|
||||
--color-show-btn-background: @accent-color;
|
||||
--color-show-btn-background: @accent;
|
||||
--color-show-btn-font: @base;
|
||||
--color-search-border: @surface0;
|
||||
--color-search-shadow: 0 2px 8px @crust;
|
||||
--color-search-background: @surface0;
|
||||
--color-search-font: @text;
|
||||
--color-search-background-hover: @accent-color;
|
||||
--color-search-background-hover: @accent;
|
||||
--color-error: @red;
|
||||
--color-error-background: @surface0;
|
||||
--color-warning: @yellow;
|
||||
@@ -111,7 +108,7 @@
|
||||
--color-success: @green;
|
||||
--color-success-background: @surface0;
|
||||
--color-categories-item-selected-font: @text;
|
||||
--color-categories-item-border-selected: @accent-color;
|
||||
--color-categories-item-border-selected: @accent;
|
||||
--color-autocomplete-font: @subtext1;
|
||||
--color-autocomplete-border: @surface0;
|
||||
--color-autocomplete-shadow: 0 2px 8px @crust;
|
||||
@@ -123,11 +120,11 @@
|
||||
--color-result-border: @base;
|
||||
--color-result-url-font: @subtext1;
|
||||
--color-result-vim-selected: @surface0;
|
||||
--color-result-vim-arrow: @accent-color;
|
||||
--color-result-vim-arrow: @accent;
|
||||
--color-result-description-highlight-font: @text;
|
||||
--color-result-link-font: @accent-color;
|
||||
--color-result-link-font-highlight: @accent-color;
|
||||
--color-result-link-visited-font: @accent-color;
|
||||
--color-result-link-font: @accent;
|
||||
--color-result-link-font-highlight: @accent;
|
||||
--color-result-link-visited-font: @accent;
|
||||
--color-result-publishdate-font: @surface2;
|
||||
--color-result-engines-font: @surface2;
|
||||
--color-result-search-url-border: @surface2;
|
||||
@@ -136,7 +133,7 @@
|
||||
--color-result-detail-label-font: @subtext0;
|
||||
--color-result-detail-background: @base;
|
||||
--color-result-detail-hr: @base;
|
||||
--color-result-detail-link: @accent-color;
|
||||
--color-result-detail-link: @accent;
|
||||
--color-result-detail-loader-border: rgba(255, 255, 255, 0.2);
|
||||
--color-result-detail-loader-borderleft: @crust;
|
||||
--color-result-image-span-font: @text;
|
||||
@@ -165,7 +162,7 @@
|
||||
--color-toolkit-checkbox-onoff-off-mark-color: @mantle;
|
||||
--color-toolkit-checkbox-label-background: @base;
|
||||
--color-toolkit-checkbox-label-border: @mantle;
|
||||
--color-toolkit-checkbox-input-border: @accent-color;
|
||||
--color-toolkit-checkbox-input-border: @accent;
|
||||
--color-toolkit-engine-tooltip-border: @surface0;
|
||||
--color-toolkit-engine-tooltip-background: @surface0;
|
||||
--color-toolkit-loader-border: rgba(255, 255, 255, 0.2);
|
||||
@@ -174,10 +171,10 @@
|
||||
--color-doc-code-background: @mantle;
|
||||
|
||||
#search_logo svg :not([fill="none"]) {
|
||||
fill: @accent-color;
|
||||
fill: @accent;
|
||||
}
|
||||
#search_logo svg :not([stroke="none"]) {
|
||||
stroke: @accent-color;
|
||||
stroke: @accent;
|
||||
}
|
||||
|
||||
& when (@additions = 1) {
|
||||
|
||||
Reference in new issue
Block a user