diff --git a/styles/twitch/catppuccin.user.less b/styles/twitch/catppuccin.user.less index 3ad2d45c..7bdf184f 100644 --- a/styles/twitch/catppuccin.user.less +++ b/styles/twitch/catppuccin.user.less @@ -74,7 +74,7 @@ &, .tw-dialog-layer { --color-background-input-focus: @crust; - --color-background-interactable-hover: @surface0; + --color-background-interactable-hover: fade(@surface0, 48%); --color-background-interactable-alpha-hover: @surface0; --color-background-interactable-active: @surface1; --color-background-button-secondary-active: @surface1; @@ -87,17 +87,21 @@ --color-border-tab: @surface0; --color-text-button-primary: @crust; --color-text-overlay: @base; + --color-text-overlay-alt: @subtext0; + --color-text-overlay-link-hover: @subtext0; --color-text-base: @subtext1; --color-text-alt: @text; - --color-text-alt-2: @text; + --color-text-alt-2: @subtext0; --color-text-interactable-selected: @crust; + --color-text-interactable-inverted: @base; --color-background-alt-2: @crust; - --color-text-tag: @text; + --color-text-tag: @subtext0; --color-background-button-secondary-default: @crust; + --color-background-button-primary-hover: darken(@accent, 5%); --color-background-button-secondary-hover: @surface0; --color-background-button-overlay-secondary-default: fade(@text, 13%); - --color-background-tag-default: @mantle; - --color-background-tag-hover: @crust; + --color-background-tag-default: @surface0; + --color-background-tag-hover: @surface1; --color-background-float: @mantle; --color-background-body: @base; --color-background-base: @mantle; @@ -202,6 +206,7 @@ --color-blue-9: @blue; --color-blue-10: @sky; --color-blue-11: @sky; + --color-blue-12: @sky; --color-blue-14: @sky; --color-magenta-5: @flamingo; --color-magenta-6: @flamingo; @@ -218,7 +223,7 @@ --color-red-7: @accent; --color-red-8: @accent; --color-red-9: @accent; - --color-red-10: @accent; + --color-red-10: @red; --color-red-11: @peach; --color-red-12: @peach; --color-red-14: @peach; @@ -248,6 +253,9 @@ --color-text-tooltip: @base !important; --color-background-tooltip: @text !important; --color-hinted-grey-2: @surface0; + --color-hinted-grey-5: @surface0; + --color-hinted-grey-8: @subtext0; + --color-hinted-grey-12: @subtext0; --color-hinted-grey-15: @text; --color-background-overlay-alt: fade(@mantle, 60%); --color-background-button-overlay-primary-hover: @subtext1; @@ -261,6 +269,19 @@ --color-border-toggle-hover: @text; --color-background-toggle-checked: @mantle; --color-background-input-checkbox-checked-background: @crust; + --color-border-balloon-overlay: @surface0; + --color-opac-gd-1: fade(@surface0, 35%); + + & when (@flavor = latte) { + --color-white: @base; + --color-black: @text; + --color-hinted-grey-12: @mantle; + --color-text-pill: @base; + --color-text-overlay-link-hover: @surface0; + --color-background-overlay-alt: fade(@text, 60%); + --color-text-button-destructive: @base; + --color-text-button-overlay: @base !important; + } } --color-text-link: @accent; @@ -278,13 +299,6 @@ color: @accent !important; } - /* Full screened video player title & description */ - - p[data-test-selector="stream-info-card-component__subtitle"], - p[data-test-selector="stream-info-card-component__description"] { - color: @text !important; - } - /* `Pinned message` popup */ div.pinned-chat__pinned-by svg { @@ -393,26 +407,8 @@ /* VOD metadata */ - div.tw-media-card-stat { - color: @text; - } - - /* DMCA warning */ - - div.muted-segments-alert__content p { - color: @text; - } - - /* VOD time labels */ - - div.vod-seekbar-time-labels p { - color: @text !important; - } - - /* VOD timestamp */ - - div.vod-seekbar-preview-overlay__wrapper p { - color: @text !important; + div.tw-media-card-stat when not(@flavor = latte) { + --color-text-overlay: @text; } /* Seekbar segment */ @@ -477,10 +473,10 @@ color: @text; } - /* Following usercard */ + /* Followers list usercard */ - div[data-a-target="user-card-modal"] p { - color: @text !important; + div[data-a-target="user-card-modal"] p when not(@flavor = latte) { + --color-text-overlay: @text; } /* Usercard mod log tabs */ @@ -563,7 +559,8 @@ .chat-scrollable-area__message-container { background-color: @mantle; } - .side-nav-card__link:hover { + .side-nav-card__link:hover, + .side-nav-card__link:focus { background: @surface0 !important; } .footer { @@ -650,10 +647,6 @@ /* FrankerFaceZ uptime timer */ .ffz-il-tooltip__container { - .tw-c-text-overlay { - background-color: var(--color-background-overlay-alt) !important; - } - p, figure.ffz-i-flag { color: @text; @@ -661,7 +654,6 @@ } [data-a-target="preview-card-image-link"] when (@flavor = latte) { - --color-background-overlay-alt: fade(@text, 80%); .tw-media-card-stat, p, figure.ffz-i-flag { @@ -820,6 +812,11 @@ .reward-icon__cost { color: @text !important; background: fade(@mantle, 60%) !important; + + & when (@flavor = latte) { + color: @base !important; + background: fade(@text, 60%) !important; + } } /* Directory banner */ @@ -830,8 +827,8 @@ linear-gradient(90deg, @base, fade(@mantle, 25%)); } - .home-video * { - color: @text !important; + .home-video when not(@flavor = latte) { + --color-text-overlay: @text; } /* Cookies and Advertising Choices */ @@ -839,7 +836,8 @@ .top-bar--pointer-enabled .consent-banner__content--gdpr-v2, .consent-banner { a, - button { + button, + p { color: @base !important; } @@ -920,15 +918,6 @@ color: @subtext0 !important; } - /* Clips timestamp */ - - .player-controls, - .clips-player-seekbar-container { - .tw-balloon p { - color: @text !important; - } - } - .sunlight-modal__content { color: @text !important; } @@ -937,16 +926,9 @@ color: @text; } - .player-overlay-background { - div, - div p { - color: @text !important; - } - & when (@flavor = latte) { - div, - div p { - color: @base !important; - } + .video-player__container, .clips-root__main { + & when not(@flavor = latte) { + --color-text-overlay: @text; } } @@ -966,7 +948,7 @@ div.tw-progress-bar { background: fade(@base, 10%); } - button .tw-svg { + button .tw-svg, svg { fill: @base; } } @@ -1001,14 +983,16 @@ } } + /* AutoMod caught message */ + .chat-line__message--alert { border-color: @red !important; background-color: @base !important; + } - .text-fragment--moderated-highlight { - color: @text !important; - background-color: fade(@red, 30%) !important; - } + .text-fragment--moderated-highlight { + color: @text !important; + background-color: fade(@red, 30%) !important; } /* Activity feed icons */ @@ -1096,6 +1080,177 @@ background-color: @text; } } + + /* Clips sharing buttons */ + + .converter(@bg, @fg: @base) { + color: @fg !important; + background-color: @bg; + + &:not([disabled]):hover { + background-color: darken(@bg, 5%); + } + } + + .converter-youtube-button button { + .converter(@red); + } + + .converter-instagram-button button { + .converter(@mauve); + } + + .share-tiktok-button { + background-image: linear-gradient(135deg, @sky, @red); + + button { + color: @text !important; + background-color: @mantle; + + &:not([disabled]):hover { + background-color: @surface0; + } + } + } + + .clips-root__main .seekbar-bar { + background-color: @surface0 !important; + } + + /* Clips editor timeline */ + + .draggable-slider__overlay--purple { + border-color: @accent; + background-color: fade(@accent, 30%); + } + + .draggable-slider-handle--purple { + background-color: @accent; + --color-white: @base; + } + + .clip-editor-timeline-background { + background-color: @base; + } + + .clip-editor-slider-popover { + color: @base; + background-color: @text; + } + + /* Pinned message shadow */ + .pinned-chat__scrollable-area__gradient { + background-image: linear-gradient(180deg, transparent 60%, @mantle); + } + + /* What's new mod view icon */ + .whats-new-button--has-new-posts { + color: @green; + } + + /* Guest star thumbnail border */ + .guest-star-live-card-border { + background-image: linear-gradient(180deg, @mauve 0, @teal 61.98%, @blue); + } + + /* Guest Star circle buttons */ + + .guest-star-circle-button:not( + .guest-star-circle-button--inverted, + .guest-star-circle-button--alert + ), + .guest-star-circle-button__dropdown:not( + .guest-star-circle-button__dropdown--inverted, + .guest-star-circle-button__dropdown--alert + ) { + background-color: @mantle; + &:hover { + background-color: var(--color-hinted-grey-5); + } + + & when (@flavor = latte) { + --color-hinted-grey-5: @subtext0; + color: @base; + background-color: @text; + &:hover { + background-color: var(--color-hinted-grey-5); + } + } + } + + .guest-star-circle-button--inverted, + .guest-star-circle-button__dropdown--inverted { + color: @base; + border-color: @base; + & when (@flavor = latte) { + color: @text; + border-color: @text; + } + } + + /* End Stream Together button */ + .guest-star-circle-button--alert { + color: @base; + } + + /* Guest Star What's new icon */ + .notification-icon--green svg { + fill: @green; + } + + .video-player__overlay when (@flavor = latte) { + --color-text-pill: @base; + } + + /* Polls */ + .community-highlight-stack__card { + .container--default { + background-color: @base; + } + + .container--winner p { + color: @base !important; + } + + .choice-progress__fill--default { + background-color: @surface0; + } + + .top-poll-community-points-contributor { + color: @green; + } + } + + /* Channel points rewards - Learn more */ + [class*="rewardsLearnMoreHeadersDark"], + [class*="rewardsLearnMoreExpandedView"] { + background-color: @base; + } + + .footer__link, .footer__link:hover { + color: @text; + } + + .footer__glitch + path[d="m18 17 4-4V2H6v15h4v4l4-4h4zM12 6h2v6h-2V6zm7 0h-2v6h2V6z"] { + fill: @text; + } + + .bits-leaderboard-expanded__collapse { + svg { + fill: @surface0; + } + } + + .tw-channel-status-text-indicator { + color: @base; + } + + .player-captions-container { + .player-captions-container__caption-line[style*="; color: rgb(255, 255, 255)"] { + color: if(@flavor = latte, @base, @text) !important; + } + } } } @@ -1136,6 +1291,10 @@ @crust: @catppuccin[@@flavor][@crust]; @accent: @catppuccin[@@flavor][@@accentColor]; + .edit-video-properties-modal__content { + --color-background-float: @base; + } + article button { --color-fill-current: @base !important; --color-background-button-overlay: @base !important; @@ -1217,6 +1376,7 @@ /* Autohost / managed channels list */ .dashboard-centered-page { + --color-background-alt: @base; .simplebar-scroll-content, .simplebar-content { background: transparent !important; @@ -1277,7 +1437,6 @@ } .clmgr-table__row { - --color-text-overlay: @text !important; &:hover { background: @surface0 !important; } @@ -1297,6 +1456,7 @@ } [data-test-selector="is-affiliate-banner"] { + span, a { color: @base !important; } @@ -1347,6 +1507,15 @@ background-color: @surface0; } } + + /* Stream Manager statistics */ + .sunlight-tile { + background-color: @crust; + } + + .creator-home-card__icon-background--yellow { + background-color: @yellow; + } } } @@ -1565,6 +1734,7 @@ p { color: @subtext0; } + background-color: @base !important; } blockquote {