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
@@ -53,50 +53,48 @@
|
||||
domain("t.com.sb"),
|
||||
domain("xcancel.com"),
|
||||
domain("nitter.poast.org") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
:root {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#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,
|
||||
@@ -110,8 +108,8 @@
|
||||
--bg_color: @mantle;
|
||||
--fg_color: @text;
|
||||
--fg_faded: @subtext1;
|
||||
--fg_dark: @accent-color;
|
||||
--fg_nav: @accent-color;
|
||||
--fg_dark: @accent;
|
||||
--fg_nav: @accent;
|
||||
--bg_panel: @crust;
|
||||
--bg_elements: @base;
|
||||
--bg_overlays: @base;
|
||||
@@ -121,18 +119,18 @@
|
||||
--darker_grey: @base;
|
||||
--darkest_grey: @mantle;
|
||||
--border_grey: @base;
|
||||
--accent: @accent-color;
|
||||
--accent_light: lighten(@accent-color, 10%);
|
||||
--accent_dark: darken(@accent-color, 10%);
|
||||
--accent_border: darken(@accent-color, 10%);
|
||||
--play_button: @accent-color;
|
||||
--play_button_hover: @accent-color;
|
||||
--more_replies_dots: darken(@accent-color, 10%);
|
||||
--accent: @accent;
|
||||
--accent_light: lighten(@accent, 10%);
|
||||
--accent_dark: darken(@accent, 10%);
|
||||
--accent_border: darken(@accent, 10%);
|
||||
--play_button: @accent;
|
||||
--play_button_hover: @accent;
|
||||
--more_replies_dots: darken(@accent, 10%);
|
||||
--error_red: @red;
|
||||
--verified_blue: @blue;
|
||||
--icon_text: @text;
|
||||
--tab: @text;
|
||||
--tab_selected: @accent-color;
|
||||
--tab_selected: @accent;
|
||||
--profile_stat: @text;
|
||||
--verified_government: @subtext0;
|
||||
--verified_business: @yellow;
|
||||
@@ -145,7 +143,7 @@
|
||||
/* logo */
|
||||
img.site-logo {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" fill="none"><path stroke="@{accent-color}" stroke-linejoin="round" stroke-width="20" d="M145 41H81v418h78V183.5L355 459h64V41h-78v275.5z"/></svg>'
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" fill="none"><path stroke="@{accent}" stroke-linejoin="round" stroke-width="20" d="M145 41H81v418h78V183.5L355 459h64V41h-78v275.5z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
@@ -162,11 +160,11 @@
|
||||
h2,
|
||||
p,
|
||||
#status {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
[style="width:auto;margin:16px auto;border:1px solid #FF6C60;background-color:#1f1f1f;border-radius:3px 3px 3px 3px;padding:10px;"] {
|
||||
background: @base !important;
|
||||
border-color: @accent-color !important;
|
||||
border-color: @accent !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user