fix(youtube): misc (#1308)

This commit is contained in:
uncenter authored and GitHub committed 2024-09-15 11:57:49 -04:00
1 parent d4e9d20b12
commit d8f93c896c
1 file changed
+28 -9
+28 -9
View File
@@ -2,7 +2,7 @@
@name YouTube Catppuccin
@namespace github.com/catppuccin/userstyles/styles/youtube
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/youtube
@version 4.2.8
@version 4.2.9
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/youtube/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ayoutube
@description Soothing pastel theme for YouTube
@@ -204,7 +204,7 @@
--yt-spec-general-background-b: @base !important;
--yt-spec-general-background-c: @crust !important;
--yt-spec-error-background: @base !important;
--yt-spec-10-percent-layer: @surface0 !important;
--yt-spec-10-percent-layer: @surface1 !important;
--yt-spec-snackbar-background: @mantle !important;
--yt-spec-snackbar-background-updated: @mantle !important;
--yt-spec-badge-chip-background: if(
@@ -453,6 +453,15 @@
--yt-button-payment-background-color: @accent-color !important;
}
yt-icon-button.yt-live-chat-item-list-renderer {
background-color: @accent-color;
color: @crust;
&:hover {
background-color: darken(@accent-color, 5%);
}
}
ytd-author-comment-badge-renderer:not(
[style*="--ytd-author-comment-badge-icon-background-color: transparent;"]
) {
@@ -590,6 +599,10 @@
path[d="M3,11h3v10H3V11z M18.77,11h-4.23l1.52-4.94C16.38,5.03,15.54,4,14.38,4c-0.58,0-1.14,0.24-1.52,0.65L7,11v10h10.43 c1.06,0,1.98-0.67,2.19-1.61l1.34-6C21.23,12.15,20.18,11,18.77,11z"] {
fill: @accent-color;
}
&:hover {
background-color: @surface1;
}
}
&.yt-spec-button-shape-next--filled {
@@ -725,13 +738,10 @@
#time-status:has([aria-label="LIVE"]),
.badge[aria-label="LIVE"],
.badge[aria-label="PREMIERE"],
.badge-shape-wiz--live.badge-shape-wiz--overlay {
--yt-spec-static-overlay-text-primary: @crust;
--yt-spec-static-overlay-icon-active-other: @crust;
}
.badge-shape-wiz--live.badge-shape-wiz--overlay {
background: var(--yt-spec-static-overlay-background-brand);
color: var(--yt-spec-static-overlay-text-primary);
.badge-shape-wiz--live.badge-shape-wiz--overlay,
.badge-shape-wiz--thumbnail-live {
background: @accent-color;
color: @crust;
}
#thumbnail [style="background-color: rgba(51, 51, 51, 0.8);"],
.YtInlinePlayerControlsTopRightControlsCircleButton,
@@ -881,6 +891,15 @@
color: @white;
}
.ytp-live-badge {
&[disabled]::before {
background: @accent-color;
}
&::before {
background: @overlay0;
}
}
.ytp-button,
.ytp-subtitles-button {
&[aria-pressed]::after {