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,11 +17,11 @@
|
||||
|
||||
@-moz-document domain("app.raindrop.io") {
|
||||
[data-theme="night"] {
|
||||
#catppuccin(@darkFlavor, @accentColor) !important;
|
||||
#catppuccin(@darkFlavor) !important;
|
||||
}
|
||||
[data-theme="day"],
|
||||
[data-theme="sunset"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
|
||||
// theme selector previews
|
||||
@@ -29,47 +29,47 @@
|
||||
&[data-index="0"],
|
||||
&[data-index="2"] > [class^="main-"],
|
||||
&[data-index="3"] {
|
||||
#catppuccin(@lightFlavor, @accentColor) !important;
|
||||
#catppuccin(@lightFlavor) !important;
|
||||
}
|
||||
&[data-index="1"],
|
||||
&[data-index="2"] > [class^="sidebar-"] {
|
||||
#catppuccin(@darkFlavor, @accentColor) !important;
|
||||
#catppuccin(@darkFlavor) !important;
|
||||
}
|
||||
}
|
||||
|
||||
#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,
|
||||
@@ -84,7 +84,7 @@
|
||||
--background-color: @base;
|
||||
--disable-background-color: @crust;
|
||||
--disable-text-color: @overlay1;
|
||||
--accent-color: @accent-color;
|
||||
--accent-color: @accent;
|
||||
--alternative-background-color: @mantle;
|
||||
--sidebar-background-color: @mantle;
|
||||
--hover-background-color: fade(@overlay0, 20%);
|
||||
@@ -111,7 +111,7 @@
|
||||
--filter-color: @subtext0;
|
||||
|
||||
[data-variant="active"] {
|
||||
background: fade(@accent-color, 10%) !important;
|
||||
background: fade(@accent, 10%) !important;
|
||||
}
|
||||
// bookmark edit page header
|
||||
[class^="header-"][data-fancy="true"] {
|
||||
@@ -123,7 +123,7 @@
|
||||
}
|
||||
// bookmark edit page cover selector
|
||||
[class^="cover-"] > [class^="more-"] {
|
||||
background: fade(@accent-color, 85%);
|
||||
background: fade(@accent, 85%);
|
||||
}
|
||||
// add bookmark button text color
|
||||
[title="Add Bookmark"] {
|
||||
@@ -138,7 +138,7 @@
|
||||
}
|
||||
// dropping bookmark to collection color overlay
|
||||
[class*="isDropping-"] {
|
||||
background-color: fade(@accent-color, 10%);
|
||||
background-color: fade(@accent, 10%);
|
||||
}
|
||||
// sidebar background color
|
||||
.svSidebar {
|
||||
|
||||
Reference in new issue
Block a user