refactor(tree-wide): misc improvements (#1547)

This commit is contained in:
uncenter authored and GitHub committed 2024-12-31 17:52:08 -05:00
1 parent 3e6ecfbf86
commit 6121f23d7c
126 files changed
+8047 -8021

No files matched your search

+45 -45
View File
@@ -17,46 +17,46 @@
@-moz-document domain("perplexity.ai") {
:root:not([data-color-scheme="dark"]) {
#catppuccin(@lightFlavor, @accentColor);
#catppuccin(@lightFlavor);
}
:root,
:root:not([data-color-scheme="light"]) {
#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,
@@ -94,7 +94,7 @@
}
.bg-background-super-alt {
background-color: @accent-color !important;
background-color: @accent !important;
}
.bg-backgroundDark {
@@ -144,11 +144,11 @@
.bg-superDark,
.bg-superDark\/100,
.bg-super\/100 {
background-color: @accent-color !important;
background-color: @accent !important;
}
.bg-super\/10,
.bg-superDark\/10 {
background-color: fade(@accent-color, 10%) !important;
background-color: fade(@accent, 10%) !important;
}
.bg-textMain {
@@ -196,7 +196,7 @@
.text-superAlt,
.text-superDark,
.text-superDuper {
color: @accent-color !important;
color: @accent !important;
}
.text-textMain {
@@ -239,7 +239,7 @@
.stroke-super,
.stroke-superAlt,
.stroke-superDark {
stroke: @accent-color !important;
stroke: @accent !important;
}
.stroke-textMain {
@@ -262,7 +262,7 @@
.fill-super,
.fill-superAlt,
.fill-superDark {
fill: @accent-color !important;
fill: @accent !important;
}
.fill-textMain,
@@ -309,7 +309,7 @@
.border-super,
.border-super\/10,
.border-super\/100 {
border-color: @accent-color !important;
border-color: @accent !important;
}
.border-textMain\/0 {
@@ -328,11 +328,11 @@
border-bottom-color: @subtext0 !important;
}
.group:hover [class*="group-hover:text-superDark"] {
color: @accent-color !important;
color: @accent !important;
}
[class*="hover:!bg-superAlt/20"]:hover {
background-color: @accent-color !important;
background-color: @accent !important;
}
[class*="hover:bg-offset"]:hover {
@@ -344,12 +344,12 @@
}
[class*="hover:bg-super"]:hover {
background-color: @accent-color !important;
background-color: @accent !important;
}
[class*="hover:text-super"]:hover,
[class*="hover:text-superAlt"]:hover {
color: @accent-color !important;
color: @accent !important;
}
[class*="hover:text-textMain"]:hover {
@@ -383,7 +383,7 @@
}
.focus\:text-super:focus {
color: @accent-color !important;
color: @accent !important;
}
*[class*="ring"] {
@@ -399,7 +399,7 @@
}
/* switch knob in settings */
.data-\[state\=checked\]\:before\:\!bg-super[data-state="checked"]::before {
background-color: @accent-color !important;
background-color: @accent !important;
}
/* switch in main input */
#copilot-toggle > div::before {