fix(twitch): link color, usercard and privacy center fixes (#1444)
* fix(twitch): link color & usercard fixes * fix(twitch): unthemed privacy center parts * fix(twitch): unreadable leaderboard username highlight * fix(twitch): changed link colors & fixed leaderboard name highlight * fix(twitch): used root variables instead of autogenerated classnames * fix(twitch): themed privacy center * fix(twitch): changed selected color * refactor(twitch): combine selectors --------- Co-authored-by: uncenter <[email protected]>
This commit is contained in:
1 parent
7df463074f
commit
b5b4d91ed1
1 file changed
+65
-9
@@ -2,7 +2,7 @@
|
||||
@name Twitch Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/twitch
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/twitch
|
||||
@version 1.4.1
|
||||
@version 1.4.2
|
||||
@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
|
||||
@@ -247,14 +247,11 @@
|
||||
--color-text-button-disabled: @subtext0;
|
||||
}
|
||||
|
||||
&,
|
||||
[class*="ScTokenOverrideCSSVars"] {
|
||||
--color-text-link: @blue;
|
||||
--color-text-link-active: @sky;
|
||||
--color-text-link-focus: @sky;
|
||||
--color-text-link-hover: @sky;
|
||||
--color-text-link-visited: @lavender;
|
||||
}
|
||||
--color-text-link: @accent-color;
|
||||
--color-text-link-active: darken(@accent-color, 5%);
|
||||
--color-text-link-focus: darken(@accent-color, 5%);
|
||||
--color-text-link-hover: darken(@accent-color, 5%);
|
||||
--color-text-link-visited: @accent-color;
|
||||
|
||||
&,
|
||||
[class*="ScAccentRegionCssVars"] {
|
||||
@@ -463,6 +460,18 @@
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* Usercard mod log tabs */
|
||||
|
||||
.viewer-card-mod-drawer-tab--active {
|
||||
box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent-color inset !important;
|
||||
}
|
||||
|
||||
/* Usercard header */
|
||||
|
||||
.viewer-card-header__overlay {
|
||||
background-color: fade(@mantle, 60%) !important;
|
||||
}
|
||||
|
||||
/* PiP username */
|
||||
|
||||
div.mini-overlay__title span {
|
||||
@@ -680,6 +689,53 @@
|
||||
.modal__content {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Leaderboard highlighted username */
|
||||
.bits-leaderboard-expanded-top-three-entry__marquee-username,
|
||||
.channel-leaderboard-header-runner-up-entry__username,
|
||||
.bits-leaderboard-expanded-top-three-entry__username {
|
||||
div {
|
||||
color: @base !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Privacy center */
|
||||
|
||||
.privacy-center-root__number-item {
|
||||
background: @accent-color;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
.privacy-center-accordion {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
//ul[role="tablist"] li {
|
||||
// & > div div {
|
||||
// background: darken(, 10%) !important;
|
||||
// }
|
||||
// }
|
||||
|
||||
.privacy-center-home-tabs {
|
||||
color: @base !important;
|
||||
&[aria-selected="true"],
|
||||
&:hover {
|
||||
color: @surface1 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.home-page__title-container,
|
||||
.tw-responsive-wrapper {
|
||||
svg path {
|
||||
&[fill="#fff"],
|
||||
&[fill="#FFF"] {
|
||||
fill: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.home-page__title {
|
||||
color: @base !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user