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]
|
categories: [entertainment]
|
||||||
color: sapphire
|
color: sapphire
|
||||||
readme:
|
readme:
|
||||||
app-link: "https://7tv.app"
|
app-link: https://7tv.app
|
||||||
current-maintainers: [*mxgic1337]
|
current-maintainers: [*mxgic1337]
|
||||||
shinigami-eyes:
|
shinigami-eyes:
|
||||||
name: Shinigami Eyes
|
name: Shinigami Eyes
|
||||||
|
|||||||
@@ -17,57 +17,54 @@
|
|||||||
|
|
||||||
@-moz-document domain("7tv.app") {
|
@-moz-document domain("7tv.app") {
|
||||||
.light-theme {
|
.light-theme {
|
||||||
#catppuccin(@lightFlavor, @accentColor);
|
#catppuccin(@lightFlavor);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark-theme {
|
.dark-theme {
|
||||||
#catppuccin(@darkFlavor, @accentColor);
|
#catppuccin(@darkFlavor);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: light) {
|
.system-theme {
|
||||||
:root.system-theme {
|
@media (prefers-color-scheme: light) {
|
||||||
#catppuccin(@lightFlavor, @accentColor);
|
#catppuccin(@lightFlavor);
|
||||||
}
|
}
|
||||||
}
|
@media (prefers-color-scheme: dark) {
|
||||||
@media (prefers-color-scheme: dark) {
|
#catppuccin(@darkFlavor);
|
||||||
:root.system-theme {
|
|
||||||
#catppuccin(@darkFlavor, @accentColor);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#catppuccin(@lookup, @accent) {
|
#catppuccin(@flavor) {
|
||||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
@rosewater: @catppuccin[@@flavor][@rosewater];
|
||||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
@flamingo: @catppuccin[@@flavor][@flamingo];
|
||||||
@pink: @catppuccin[@@lookup][@pink];
|
@pink: @catppuccin[@@flavor][@pink];
|
||||||
@mauve: @catppuccin[@@lookup][@mauve];
|
@mauve: @catppuccin[@@flavor][@mauve];
|
||||||
@red: @catppuccin[@@lookup][@red];
|
@red: @catppuccin[@@flavor][@red];
|
||||||
@maroon: @catppuccin[@@lookup][@maroon];
|
@maroon: @catppuccin[@@flavor][@maroon];
|
||||||
@peach: @catppuccin[@@lookup][@peach];
|
@peach: @catppuccin[@@flavor][@peach];
|
||||||
@yellow: @catppuccin[@@lookup][@yellow];
|
@yellow: @catppuccin[@@flavor][@yellow];
|
||||||
@green: @catppuccin[@@lookup][@green];
|
@green: @catppuccin[@@flavor][@green];
|
||||||
@teal: @catppuccin[@@lookup][@teal];
|
@teal: @catppuccin[@@flavor][@teal];
|
||||||
@sky: @catppuccin[@@lookup][@sky];
|
@sky: @catppuccin[@@flavor][@sky];
|
||||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
@sapphire: @catppuccin[@@flavor][@sapphire];
|
||||||
@blue: @catppuccin[@@lookup][@blue];
|
@blue: @catppuccin[@@flavor][@blue];
|
||||||
@lavender: @catppuccin[@@lookup][@lavender];
|
@lavender: @catppuccin[@@flavor][@lavender];
|
||||||
@text: @catppuccin[@@lookup][@text];
|
@text: @catppuccin[@@flavor][@text];
|
||||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
@subtext1: @catppuccin[@@flavor][@subtext1];
|
||||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
@subtext0: @catppuccin[@@flavor][@subtext0];
|
||||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
@overlay2: @catppuccin[@@flavor][@overlay2];
|
||||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
@overlay1: @catppuccin[@@flavor][@overlay1];
|
||||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
@overlay0: @catppuccin[@@flavor][@overlay0];
|
||||||
@surface2: @catppuccin[@@lookup][@surface2];
|
@surface2: @catppuccin[@@flavor][@surface2];
|
||||||
@surface1: @catppuccin[@@lookup][@surface1];
|
@surface1: @catppuccin[@@flavor][@surface1];
|
||||||
@surface0: @catppuccin[@@lookup][@surface0];
|
@surface0: @catppuccin[@@flavor][@surface0];
|
||||||
@base: @catppuccin[@@lookup][@base];
|
@base: @catppuccin[@@flavor][@base];
|
||||||
@mantle: @catppuccin[@@lookup][@mantle];
|
@mantle: @catppuccin[@@flavor][@mantle];
|
||||||
@crust: @catppuccin[@@lookup][@crust];
|
@crust: @catppuccin[@@flavor][@crust];
|
||||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
@accent: @catppuccin[@@flavor][@@accentColor];
|
||||||
|
|
||||||
color-scheme: if(@lookup = latte, light, dark);
|
color-scheme: if(@flavor = latte, light, dark);
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
background-color: fade(@accent-color, 30%);
|
background-color: fade(@accent, 30%);
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
@@ -85,10 +82,10 @@
|
|||||||
--secondary-active: @surface0;
|
--secondary-active: @surface0;
|
||||||
--secondary-disabled: @crust;
|
--secondary-disabled: @crust;
|
||||||
--secondary-border: transparent;
|
--secondary-border: transparent;
|
||||||
--primary: @accent-color;
|
--primary: @accent;
|
||||||
--primary-text: @crust;
|
--primary-text: @crust;
|
||||||
--primary-hover: darken(@accent-color, 5%);
|
--primary-hover: darken(@accent, 5%);
|
||||||
--primary-active: darken(@accent-color, 5%);
|
--primary-active: darken(@accent, 5%);
|
||||||
--primary-disabled: @subtext0;
|
--primary-disabled: @subtext0;
|
||||||
--primary-border: transparent;
|
--primary-border: transparent;
|
||||||
--bg-dark: @crust;
|
--bg-dark: @crust;
|
||||||
@@ -115,8 +112,8 @@
|
|||||||
}
|
}
|
||||||
/* Emote is in selected emote set */
|
/* Emote is in selected emote set */
|
||||||
&[style*="#529bf5"] {
|
&[style*="#529bf5"] {
|
||||||
color: @accent-color !important;
|
color: @accent !important;
|
||||||
background-color: fade(@accent-color, 20%) !important;
|
background-color: fade(@accent, 20%) !important;
|
||||||
}
|
}
|
||||||
/* Emote is unlisted */
|
/* Emote is unlisted */
|
||||||
&[style*="#eb3d26"] {
|
&[style*="#eb3d26"] {
|
||||||
@@ -144,10 +141,10 @@
|
|||||||
.emote-set {
|
.emote-set {
|
||||||
/* Emote is in selected emote set */
|
/* Emote is in selected emote set */
|
||||||
&[style*="--highlight-active: #529bf5"] {
|
&[style*="--highlight-active: #529bf5"] {
|
||||||
--highlight: fade(@accent-color, 80%) !important;
|
--highlight: fade(@accent, 80%) !important;
|
||||||
--highlight-active: @accent-color !important;
|
--highlight-active: @accent !important;
|
||||||
&.emote-set .name {
|
&.emote-set .name {
|
||||||
color: @accent-color !important;
|
color: @accent !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -284,7 +281,7 @@
|
|||||||
|
|
||||||
.progress-circle {
|
.progress-circle {
|
||||||
lineargradient stop {
|
lineargradient stop {
|
||||||
stop-color: @accent-color;
|
stop-color: @accent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -387,7 +384,7 @@
|
|||||||
progress[value].bar {
|
progress[value].bar {
|
||||||
&::-webkit-progress-bar,
|
&::-webkit-progress-bar,
|
||||||
&::-moz-progress-bar {
|
&::-moz-progress-bar {
|
||||||
background: @accent-color !important;
|
background: @accent !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user