feat(seventv): twitch extension (#1552)
This commit is contained in:
1 parent
39a87db7e3
commit
c2841b957c
2 files changed
+182
-5
No files matched your search
@@ -930,7 +930,7 @@ userstyles:
|
|||||||
current-maintainers: [*sekki21956, *ryanccn]
|
current-maintainers: [*sekki21956, *ryanccn]
|
||||||
seventv:
|
seventv:
|
||||||
name: 7TV
|
name: 7TV
|
||||||
categories: [entertainment]
|
categories: [entertainment, browser_extension]
|
||||||
color: sapphire
|
color: sapphire
|
||||||
readme:
|
readme:
|
||||||
app-link: https://7tv.app
|
app-link: https://7tv.app
|
||||||
|
|||||||
@@ -118,14 +118,23 @@
|
|||||||
/* Emote is unlisted */
|
/* Emote is unlisted */
|
||||||
&[style*="#eb3d26"] {
|
&[style*="#eb3d26"] {
|
||||||
color: @red !important;
|
color: @red !important;
|
||||||
|
&[style*="background-color"] {
|
||||||
|
background-color: fade(@red, 20%) !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* Emote is trending */
|
/* Emote is trending */
|
||||||
&[style*="#e0823d"] {
|
&[style*="#e0823d"] {
|
||||||
color: @peach !important;
|
color: @peach !important;
|
||||||
|
&[style*="background-color"] {
|
||||||
|
background-color: fade(@peach, 20%) !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* Emote is overlaying */
|
/* Emote is overlaying */
|
||||||
&[style*="#fc8dc7"] {
|
&[style*="#fc8dc7"] {
|
||||||
color: @pink !important;
|
color: @pink !important;
|
||||||
|
&[style*="background-color"] {
|
||||||
|
background-color: fade(@pink, 20%) !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* Personal emote set */
|
/* Personal emote set */
|
||||||
&[style*="#b083f0"] {
|
&[style*="#b083f0"] {
|
||||||
@@ -175,7 +184,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Emote set is a event emote set */
|
/* Emote set is a special emote set */
|
||||||
&.emote-set[style*="--highlight-active: #fcc200"] {
|
&.emote-set[style*="--highlight-active: #fcc200"] {
|
||||||
--highlight: fade(@yellow, 80%) !important;
|
--highlight: fade(@yellow, 80%) !important;
|
||||||
--highlight-active: @yellow !important;
|
--highlight-active: @yellow !important;
|
||||||
@@ -189,8 +198,9 @@
|
|||||||
img.image,
|
img.image,
|
||||||
.profile-picture,
|
.profile-picture,
|
||||||
.profile-name .name,
|
.profile-name .name,
|
||||||
.user .name,
|
.user,
|
||||||
.user-link,
|
.user-link,
|
||||||
|
.username .name,
|
||||||
.role > span,
|
.role > span,
|
||||||
.side-bar .name,
|
.side-bar .name,
|
||||||
.roles > span {
|
.roles > span {
|
||||||
@@ -280,8 +290,8 @@
|
|||||||
/* Sub progress bar */
|
/* Sub progress bar */
|
||||||
|
|
||||||
.progress-circle {
|
.progress-circle {
|
||||||
lineargradient stop {
|
#progress {
|
||||||
stop-color: @accent;
|
stroke: @accent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -389,6 +399,173 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@-moz-document domain("twitch.tv") {
|
||||||
|
.tw-root--theme-dark {
|
||||||
|
#catppuccin(@darkFlavor);
|
||||||
|
}
|
||||||
|
.tw-root--theme-light {
|
||||||
|
#catppuccin(@lightFlavor);
|
||||||
|
}
|
||||||
|
|
||||||
|
#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];
|
||||||
|
|
||||||
|
--seventv-text-color-normal: @text;
|
||||||
|
--seventv-text-color-secondary: @subtext0;
|
||||||
|
|
||||||
|
--seventv-border-transparent-1: @surface0;
|
||||||
|
--seventv-background-shade-1: @base;
|
||||||
|
--seventv-background-shade-2: @mantle;
|
||||||
|
--seventv-background-shade-3: @crust;
|
||||||
|
--seventv-background-transparent-1: @base;
|
||||||
|
--seventv-background-transparent-2: @mantle;
|
||||||
|
--seventv-background-transparent-3: @mantle;
|
||||||
|
--seventv-highlight-neutral-1: @surface0;
|
||||||
|
--seventv-input-background: @mantle;
|
||||||
|
--seventv-input-border: @surface0;
|
||||||
|
--seventv-subscriber-color: @yellow;
|
||||||
|
|
||||||
|
--seventv-highlight-color: @accent;
|
||||||
|
--seventv-highlight-dim-color: fade(@accent, 20%);
|
||||||
|
|
||||||
|
--seventv-primary: @accent;
|
||||||
|
--seventv-accent: @green;
|
||||||
|
--seventv-warning: @peach;
|
||||||
|
--seventv-muted: @subtext0;
|
||||||
|
|
||||||
|
.seventv-transparent {
|
||||||
|
--seventv-border-transparent-1: fade(@surface0, 77%);
|
||||||
|
--seventv-background-transparent-1: fade(@base, 77%);
|
||||||
|
--seventv-background-transparent-2: fade(@mantle, 59%);
|
||||||
|
--seventv-background-transparent-3: fade(@mantle, 71%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.seventv-announce-message-container {
|
||||||
|
.announce-header {
|
||||||
|
background-color: @crust;
|
||||||
|
}
|
||||||
|
.announce-message {
|
||||||
|
background-color: @base;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.grabbable-inner, .grabbable-outer {
|
||||||
|
--color-border-input: @subtext0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.seventv-user-message {
|
||||||
|
/* First time chatter */
|
||||||
|
&[style*="--seventv-highlight-color: #c832c8"] {
|
||||||
|
--seventv-highlight-color: @mauve !important;
|
||||||
|
--seventv-highlight-dim-color: fade(@mauve, 10%) !important;
|
||||||
|
}
|
||||||
|
/* Mention */
|
||||||
|
&[style*="--seventv-highlight-color: #e13232"] {
|
||||||
|
--seventv-highlight-color: @red !important;
|
||||||
|
--seventv-highlight-dim-color: fade(@red, 10%) !important;
|
||||||
|
}
|
||||||
|
/* Blocked */
|
||||||
|
&[style*="--seventv-highlight-color: #9488855A"] {
|
||||||
|
--seventv-highlight-color: @surface0 !important;
|
||||||
|
}
|
||||||
|
/* Raider */
|
||||||
|
&[style*="--seventv-highlight-color: #6dd126"] {
|
||||||
|
--seventv-highlight-color: @green !important;
|
||||||
|
--seventv-highlight-dim-color: fade(@green, 10%) !important;
|
||||||
|
}
|
||||||
|
/* Returning chatter */
|
||||||
|
&[style*="--seventv-highlight-color: #3296e6"] {
|
||||||
|
--seventv-highlight-color: @blue !important;
|
||||||
|
--seventv-highlight-dim-color: fade(@blue, 10%) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.seventv-chat-message-container:hover .seventv-chat-message-background {
|
||||||
|
background-color: @surface0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.seventv-sub-message-container {
|
||||||
|
background-color: @base;
|
||||||
|
}
|
||||||
|
|
||||||
|
.seventv-settings-category {
|
||||||
|
.seventv-settings-category-dropdown .seventv-settings-subcategory {
|
||||||
|
&:hover {
|
||||||
|
background-color: @base !important;
|
||||||
|
}
|
||||||
|
&.intersect {
|
||||||
|
background-color: @surface0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-category-header {
|
||||||
|
&:hover, &:focus-within {
|
||||||
|
background-color: @base;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.seventv-settings-category[in-view="true"] > .settings-category-header {
|
||||||
|
background-color: @surface0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paint-tool-home {
|
||||||
|
h6[style="color: red;"] {
|
||||||
|
color: @peach !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
section[timeline-id="LIVE"] {
|
||||||
|
label, div[selector="date-boundary"] {
|
||||||
|
color: @red;
|
||||||
|
border-color: @red;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.seventv-emote-container[zero-width="true"] {
|
||||||
|
border-color: @yellow;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scope-labels {
|
||||||
|
.label-global {
|
||||||
|
color: @green;
|
||||||
|
}
|
||||||
|
.label-sub-feature {
|
||||||
|
color: @yellow;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[style*="rgb(255, 255, 255)"] .seventv-chat-user-username span {
|
||||||
|
color: @text !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* deno-fmt-ignore */
|
/* deno-fmt-ignore */
|
||||||
@catppuccin: {
|
@catppuccin: {
|
||||||
|
|||||||
Reference in new issue
Block a user