Skip to content

Fix text color on dark backgrounds#3342

Merged
ImprovedTube merged 1 commit intocode-charity:masterfrom
dnicolson:patch-2
Nov 19, 2025
Merged

Fix text color on dark backgrounds#3342
ImprovedTube merged 1 commit intocode-charity:masterfrom
dnicolson:patch-2

Conversation

@dnicolson
Copy link
Contributor

This fixes the text color for regular playlists, which are different from the watch later playlist. Previously, the text was dark on a background with a dark gradient.

Before After
PixelSnap 2025-11-06 at 10 42 07@2x PixelSnap 2025-11-06 at 10 42 21@2x

@ImprovedTube
Copy link
Member

it guess it depends if you changed Youtube's Colors and could refer to our color / theme variables instead of white always..?

@dnicolson
Copy link
Contributor Author

It's possible to use a variable like var(--yt-spec-text-primary), but the text would not be readable with the light appearance.

YouTube actually hardcodes white or rgba(255,255,255,0.7) for the text in the sidebar.

Dark with light Dark with dark Light with dark Light with light

@ImprovedTube ImprovedTube merged commit a8886c0 into code-charity:master Nov 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants