feat(youtube): optional sponsorblock recoloring (#1735)

Co-authored-by: uncenter <[email protected]>
This commit is contained in:
enderprismanduncenter authored and GitHub committed 2025-05-02 21:39:19 +01:00
1 parent 44faeb3688
commit 139d356263
1 file changed
+13 -10
+13 -10
View File
@@ -16,6 +16,7 @@
@var checkbox logo "Enable YouTube logo" 1
@var checkbox oled "Enable black bars" 0
@var checkbox sponsorBlock "Enable SponsorBlock segments" 1
==/UserStyle== */
@-moz-document domain("youtube.com") {
@@ -349,16 +350,18 @@
--sb-grey-fg-color: @subtext0 !important;
--sb-red-bg-color: @accent !important;
--sb-category-sponsor: @green;
--sb-category-selfpromo: @yellow;
--sb-category-exclusive_access: @teal;
--sb-category-interaction: @mauve;
--sb-category-poi_highlight: @pink;
--sb-category-intro: @sky;
--sb-category-outro: @blue;
--sb-category-preview: @sapphire;
--sb-category-filler: @lavender;
--sb-category-music_offtopic: @peach;
& when (@sponsorBlock = 1) {
--sb-category-sponsor: @green;
--sb-category-selfpromo: @yellow;
--sb-category-exclusive_access: @teal;
--sb-category-interaction: @mauve;
--sb-category-poi_highlight: @pink;
--sb-category-intro: @sky;
--sb-category-outro: @blue;
--sb-category-preview: @sapphire;
--sb-category-filler: @lavender;
--sb-category-music_offtopic: @peach;
}
}
&:not(.style-scope) {