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,45 +17,45 @@
|
||||
|
||||
@-moz-document domain("tabnews.com.br") {
|
||||
:root:has(div[data-color-mode="dark"]) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
:root:has(div[data-color-mode="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,
|
||||
@@ -69,21 +69,21 @@
|
||||
--bgColor-emphasis: @crust;
|
||||
--fgColor-default: @text;
|
||||
--bgColor-neutral-emphasis: @subtext0;
|
||||
--bgColor-accent-emphasis: @accent-color;
|
||||
--fgColor-accent: @accent-color;
|
||||
--bgColor-accent-emphasis: @accent;
|
||||
--fgColor-accent: @accent;
|
||||
--fgColor-onEmphasis: @text;
|
||||
--color-accent-fg: @accent-color;
|
||||
--color-accent-fg: @accent;
|
||||
--fgColor-muted: @overlay0;
|
||||
--borderColor-default: @surface0;
|
||||
--button-default-bgColor-rest: @base;
|
||||
--button-default-bgColor-hover: @crust;
|
||||
--button-default-fgColor-rest: @text;
|
||||
--button-default-fgColor-hover: @text;
|
||||
--button-primary-bgColor-rest: @accent-color;
|
||||
--button-primary-bgColor-disabled: fadeout(@accent-color, 15%);
|
||||
--button-primary-bgColor-rest: @accent;
|
||||
--button-primary-bgColor-disabled: fade(@accent, 85%);
|
||||
--button-primary-fgColor-disabled: @text;
|
||||
--button-primary-fgColor-rest: @surface0;
|
||||
--button-primary-bgColor-hover: darken(@accent-color, 5%);
|
||||
--button-primary-bgColor-hover: darken(@accent, 5%);
|
||||
--button-primary-fgColor-hover: @surface0;
|
||||
--button-default-bgColor-active: @base;
|
||||
--controlKnob-bgColor-rest: @crust;
|
||||
@@ -120,7 +120,7 @@
|
||||
--color-prettylights-syntax-markup-list: @text;
|
||||
|
||||
#nprogress .bar {
|
||||
background: @accent-color;
|
||||
background: @accent;
|
||||
}
|
||||
|
||||
/* Style the button to change theme when light theme is on */
|
||||
@@ -145,7 +145,7 @@
|
||||
}
|
||||
|
||||
path.recharts-rectangle {
|
||||
fill: @accent-color;
|
||||
fill: @accent;
|
||||
}
|
||||
|
||||
path.recharts-rectangle.recharts-tooltip-cursor {
|
||||
@@ -157,7 +157,7 @@
|
||||
}
|
||||
|
||||
li.recharts-tooltip-item {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
div[overflow="hidden"] {
|
||||
@@ -215,7 +215,7 @@
|
||||
.gsc-refinementhInactive {
|
||||
color: @text;
|
||||
background: @base;
|
||||
border-color: @accent-color;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
.gsc-option-menu-container {
|
||||
@@ -250,7 +250,7 @@
|
||||
border-color: transparent;
|
||||
background: @base;
|
||||
.gsc-url-top > * {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user