refactor(seventv): cleanup (#1548)
This commit is contained in:
1 parent
f6f07c4aeb
commit
d182f79c03
2 files changed
+48
-51
No files matched your search
@@ -927,7 +927,7 @@ userstyles:
|
||||
categories: [entertainment]
|
||||
color: sapphire
|
||||
readme:
|
||||
app-link: "https://7tv.app"
|
||||
app-link: https://7tv.app
|
||||
current-maintainers: [*mxgic1337]
|
||||
shinigami-eyes:
|
||||
name: Shinigami Eyes
|
||||
|
||||
@@ -17,57 +17,54 @@
|
||||
|
||||
@-moz-document domain("7tv.app") {
|
||||
.light-theme {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
|
||||
.dark-theme {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root.system-theme {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
.system-theme {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root.system-theme {
|
||||
#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,
|
||||
@@ -85,10 +82,10 @@
|
||||
--secondary-active: @surface0;
|
||||
--secondary-disabled: @crust;
|
||||
--secondary-border: transparent;
|
||||
--primary: @accent-color;
|
||||
--primary: @accent;
|
||||
--primary-text: @crust;
|
||||
--primary-hover: darken(@accent-color, 5%);
|
||||
--primary-active: darken(@accent-color, 5%);
|
||||
--primary-hover: darken(@accent, 5%);
|
||||
--primary-active: darken(@accent, 5%);
|
||||
--primary-disabled: @subtext0;
|
||||
--primary-border: transparent;
|
||||
--bg-dark: @crust;
|
||||
@@ -115,8 +112,8 @@
|
||||
}
|
||||
/* Emote is in selected emote set */
|
||||
&[style*="#529bf5"] {
|
||||
color: @accent-color !important;
|
||||
background-color: fade(@accent-color, 20%) !important;
|
||||
color: @accent !important;
|
||||
background-color: fade(@accent, 20%) !important;
|
||||
}
|
||||
/* Emote is unlisted */
|
||||
&[style*="#eb3d26"] {
|
||||
@@ -144,10 +141,10 @@
|
||||
.emote-set {
|
||||
/* Emote is in selected emote set */
|
||||
&[style*="--highlight-active: #529bf5"] {
|
||||
--highlight: fade(@accent-color, 80%) !important;
|
||||
--highlight-active: @accent-color !important;
|
||||
--highlight: fade(@accent, 80%) !important;
|
||||
--highlight-active: @accent !important;
|
||||
&.emote-set .name {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -284,7 +281,7 @@
|
||||
|
||||
.progress-circle {
|
||||
lineargradient stop {
|
||||
stop-color: @accent-color;
|
||||
stop-color: @accent;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -387,7 +384,7 @@
|
||||
progress[value].bar {
|
||||
&::-webkit-progress-bar,
|
||||
&::-moz-progress-bar {
|
||||
background: @accent-color !important;
|
||||
background: @accent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user