From bbb4949d7a28bf181c8e46f8fa1d3c78cb7eec9a Mon Sep 17 00:00:00 2001 From: mxgic1337 <60188749+mxgic1337@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:19:39 +0100 Subject: [PATCH 1/4] fix(twitch): dashboard fixes --- styles/twitch/catppuccin.user.less | 83 +++++++++++++++++++++++++++++- 1 file changed, 81 insertions(+), 2 deletions(-) diff --git a/styles/twitch/catppuccin.user.less b/styles/twitch/catppuccin.user.less index 1148ff4085..6c75753f8c 100644 --- a/styles/twitch/catppuccin.user.less +++ b/styles/twitch/catppuccin.user.less @@ -629,6 +629,7 @@ .channel-root, .channel-info-content, .chat-author__display-name, + .seventv-chat-user-username span, &[data-a-target="chat-message-username"], &.message-author__display-name { color: @text !important; @@ -1003,6 +1004,28 @@ background-color: fade(@red, 30%) !important; } } + + /* Activity feed icons */ + + .activity-feed-v2-event--follow { + color: @pink; + } + + .activity-feed-v2-event--subscription { + color: @blue; + } + + .activity-feed-v2-event--reward-request, .activity-feed-v2-event--raiding { + color: @yellow; + } + + .activity-feed-v2-event--multi-stage { + color: @teal; + } + + .activity-feed-v2-event--creator-goal { + color: @green; + } } } @@ -1183,8 +1206,11 @@ background: @crust; } - .clmgr-table__row:hover { - background: @surface0 !important; + .clmgr-table__row { + --color-text-overlay: @text !important; + &:hover { + background: @surface0 !important; + } } /* Announcements button */ @@ -1192,6 +1218,59 @@ .announcements-icon--green svg { fill: @green !important; } + + /* Achievements */ + + .ach-q-item { + &.ach-q-item--expanded { + box-shadow: 0 0 0 1px @accent; + } + + [data-test-selector="is-affiliate-banner"] { + a { + color: @base !important; + } + } + + .quest-progress-bars__incomplete { + background-color: @surface0 !important; + } + } + + [data-target="video-card"] { + background: @mantle !important; + } + + /* Stream Manager quick actions */ + + .quick-action, .quick-actions-store-card-layout--top { + color: @base; + + &.quick-action--purple, &.quick-actions-store-card-layout--purple { + background-color: @mauve; + } + + &.quick-action--blue, &.quick-actions-store-card-layout--blue { + background-color: @blue; + } + + &.quick-action--magenta, &.quick-actions-store-card-layout--magenta { + background-color: @pink; + } + + &.quick-action--green, &.quick-actions-store-card-layout--green { + background-color: @green; + } + + &.quick-action--red, &.quick-actions-store-card-layout--red { + background-color: @red; + } + + &.quick-action-layout--disabled { + color: @subtext0; + background-color: @surface0; + } + } } } From 818de059457e7c05d124a3f2655213ab5ae83541 Mon Sep 17 00:00:00 2001 From: mxgic1337 <60188749+mxgic1337@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:20:30 +0100 Subject: [PATCH 2/4] feat(twitch): chat message highlights --- styles/twitch/catppuccin.user.less | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/styles/twitch/catppuccin.user.less b/styles/twitch/catppuccin.user.less index 6c75753f8c..94ff35093c 100644 --- a/styles/twitch/catppuccin.user.less +++ b/styles/twitch/catppuccin.user.less @@ -1026,6 +1026,50 @@ .activity-feed-v2-event--creator-goal { color: @green; } + + /* Chat message highlights */ + + div[style*="border"] { + /* Suspicious user */ + &[style*="rgb(255, 130, 128)"] { + border-color: @red !important; + } + + /* First message */ + &[style*="rgb(255, 117, 230)"] { + border-color: @pink !important; + } + + /* Returning chatter */ + &[style*="rgb(0, 163, 163)"] { + border-color: @teal !important; + } + + /* Raider */ + &[style*="rgb(245, 245, 0)"] { + border-color: @yellow !important; + } + + /* Mention */ + &[style*="rgb(173, 173, 184)"] { + border-color: @text !important; + } + + /* Moderator */ + &[style*="rgb(0, 168, 101)"] { + border-color: @green !important; + } + + /* VIP */ + &[style*="rgb(219, 0, 179)"] { + border-color: @mauve !important; + } + + /* Subscriber */ + &[style*="rgb(82, 139, 255)"] { + border-color: @blue !important; + } + } } } From 0f00176c2f172a4a2623f5737d3131f4cc44d5f3 Mon Sep 17 00:00:00 2001 From: mxgic1337 <60188749+mxgic1337@users.noreply.github.com> Date: Mon, 6 Jan 2025 19:17:01 +0100 Subject: [PATCH 3/4] fix(twitch): account status banner --- styles/twitch/catppuccin.user.less | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/styles/twitch/catppuccin.user.less b/styles/twitch/catppuccin.user.less index 94ff35093c..0d5f5239a9 100644 --- a/styles/twitch/catppuccin.user.less +++ b/styles/twitch/catppuccin.user.less @@ -1070,6 +1070,13 @@ border-color: @blue !important; } } + + /* "Account suspended or deactivated" status banner */ + + .viewer-card-header__account-status-banner { + color: @text; + background-color: @mantle !important; + } } } From 9523e3b678f10219266b925c692dc0361398438b Mon Sep 17 00:00:00 2001 From: mxgic1337 <60188749+mxgic1337@users.noreply.github.com> Date: Wed, 8 Jan 2025 10:01:00 +0100 Subject: [PATCH 4/4] refactor(twitch): remove seventv fix --- styles/twitch/catppuccin.user.less | 1 - 1 file changed, 1 deletion(-) diff --git a/styles/twitch/catppuccin.user.less b/styles/twitch/catppuccin.user.less index 0d5f5239a9..6a3e146f61 100644 --- a/styles/twitch/catppuccin.user.less +++ b/styles/twitch/catppuccin.user.less @@ -629,7 +629,6 @@ .channel-root, .channel-info-content, .chat-author__display-name, - .seventv-chat-user-username span, &[data-a-target="chat-message-username"], &.message-author__display-name { color: @text !important;