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
@@ -16,40 +16,49 @@
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("cinny.in") {
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@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];
|
||||
:root,
|
||||
.silver-theme {
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
.dark-theme,
|
||||
.butter-theme {
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
|
||||
#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(@flavor = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
background-color: fade(@accent, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
@@ -71,10 +80,10 @@
|
||||
--bg-surface-active: @surface1;
|
||||
--bg-overlay: fade(@crust, 60%);
|
||||
--bg-overlay-low: fade(@crust, 80%);
|
||||
--bg-primary: @accent-color;
|
||||
--bg-primary-hover: fade(@accent-color, 80%);
|
||||
--bg-primary-active: fade(@accent-color, 70%);
|
||||
--bg-primary-border: fade(@accent-color, 38%);
|
||||
--bg-primary: @accent;
|
||||
--bg-primary-hover: fade(@accent, 80%);
|
||||
--bg-primary-active: fade(@accent, 70%);
|
||||
--bg-primary-border: fade(@accent, 38%);
|
||||
--bg-tooltip: @surface0;
|
||||
--bg-badge: @lavender;
|
||||
--bg-positive: @green;
|
||||
@@ -165,10 +174,10 @@
|
||||
|
||||
--oq6d07j: @base;
|
||||
|
||||
--oq6d07k: fade(@accent-color, 50%);
|
||||
--oq6d07l: fade(@accent-color, 40%);
|
||||
--oq6d07m: fade(@accent-color, 30%);
|
||||
--oq6d07n: fade(@accent-color, 20%);
|
||||
--oq6d07k: fade(@accent, 50%);
|
||||
--oq6d07l: fade(@accent, 40%);
|
||||
--oq6d07m: fade(@accent, 30%);
|
||||
--oq6d07n: fade(@accent, 20%);
|
||||
|
||||
--oq6d07o: @text;
|
||||
--oq6d07p: @subtext1;
|
||||
@@ -239,7 +248,7 @@
|
||||
|
||||
/* Search results */
|
||||
._1m2qi7rn {
|
||||
background-color: @accent-color;
|
||||
background-color: @accent;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
@@ -259,16 +268,6 @@
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
:root,
|
||||
.silver-theme {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
.dark-theme,
|
||||
.butter-theme {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
|
||||
Reference in new issue
Block a user