refactor(tree-wide): consistent metadata (#557)

* ci(lint): quick fix

* refactor(tree-wide): consistent metadata

* refactor: more

* refactor: accent-color

* fix: accentColor issues

* fix: logger line numbers

* fix: svg colors

* fix(google): add accent-color line

---------

Co-authored-by: Isabel <[email protected]>
This commit is contained in:
uncenterandIsabel authored and GitHub committed 2024-02-25 16:50:10 +00:00
1 parent 74eaa37e19
commit ded7419d5c
71 files changed
+798 -753

No files matched your search

+30 -29
View File
@@ -3,17 +3,18 @@
@namespace github.com/catppuccin/userstyles/styles/twitch
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/twitch
@version 1.1.15
@description Soothing pastel theme for Twitch
@author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/twitch/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Atwitch
@description Soothing pastel theme for Twitch
@author Catppuccin
@license MIT
@preprocessor less
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red*", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire*", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
@-moz-document domain("twitch.tv") {
.tw-root--theme-dark {
#catppuccin(@darkFlavor, @accentColor);
@@ -49,7 +50,7 @@
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-Color: @catppuccin[@@lookup][@@accent];
@accent-color: @catppuccin[@@lookup][@@accent];
& body {
background-color: @base;
@@ -63,7 +64,7 @@
}
a[data-a-target="player-info-game-name"] {
color: @accent-Color;
color: @accent-color;
}
/* `Pinned message` popup */
@@ -77,7 +78,7 @@
}
p.pinned-chat__message a {
color: @accent-Color;
color: @accent-color;
}
/* `Intended for certain audiences` label */
@@ -96,7 +97,7 @@
}
div.hype-train-progress-bar-info-view__progress-value span {
color: @accent-Color;
color: @accent-color;
}
/* `Is video buffering?` warning */
@@ -135,7 +136,7 @@
div[data-test-selector="header-content"] span,
div[data-test-selector="community-prediction-highlight-body__outcome-points"]
span {
color: @accent-Color;
color: @accent-color;
}
button[data-test-selector="community-prediction-highlight-header__how-to-play"],
@@ -170,7 +171,7 @@
/* Gifting sub popup */
div.mystery-gift-chat-banner span {
color: @accent-Color;
color: @accent-color;
}
div.mystery-gift-chat-banner p {
@@ -205,7 +206,7 @@
div[data-test-selector="seekbar-interaction-area__interactionArea"]
span[data-test-selector="seekbar-segment__segment"] {
background: @accent-Color !important;
background: @accent-color !important;
}
/* Seekbar DMCA muted segment */
@@ -278,7 +279,7 @@
/* Viewercard username */
div.viewer-card-header__display-name h4 {
color: @accent-Color !important;
color: @accent-color !important;
}
/* Viewercard metadata */
@@ -320,9 +321,9 @@
background: @crust;
}
.chat-line__message-body--highlighted {
background-color: @accent-Color;
background-color: @accent-color;
color: @crust;
border-color: @accent-Color;
border-color: @accent-color;
}
.chat-scrollable-area__message-container {
background-color: @mantle;
@@ -342,7 +343,7 @@
.gZxBHd {
color: @subtext0;
&:hover {
color: @accent-Color;
color: @accent-color;
}
}
.eBmJxH {
@@ -370,7 +371,7 @@
color: #fff !important;
}
.navigation-link__active-indicator {
background-color: @accent-Color !important;
background-color: @accent-color !important;
}
.footer {
background: @crust;
@@ -391,7 +392,7 @@
.navigation-link {
color: @text;
&:hover {
color: @accent-Color;
color: @accent-color;
}
}
.chat-room {
@@ -494,17 +495,17 @@
--color-warn: @yellow;
--color-success: @green;
--color-info: @blue;
--color-accent: @accent-Color;
--color-twitch-purple: @accent-Color;
--color-twitch-purple-4: @accent-Color;
--color-twitch-purple-5: @accent-Color;
--color-twitch-purple-6: @accent-Color;
--color-twitch-purple-7: @accent-Color;
--color-twitch-purple-8: @accent-Color;
--color-twitch-purple-9: @accent-Color;
--color-twitch-purple-10: @accent-Color;
--color-twitch-purple-11: @accent-Color;
--color-twitch-purple-12: @accent-Color;
--color-accent: @accent-color;
--color-twitch-purple: @accent-color;
--color-twitch-purple-4: @accent-color;
--color-twitch-purple-5: @accent-color;
--color-twitch-purple-6: @accent-color;
--color-twitch-purple-7: @accent-color;
--color-twitch-purple-8: @accent-color;
--color-twitch-purple-9: @accent-color;
--color-twitch-purple-10: @accent-color;
--color-twitch-purple-11: @accent-color;
--color-twitch-purple-12: @accent-color;
--color-orange-7: @yellow;
--color-orange-8: @yellow;
--color-orange-9: @yellow;