Skip to content

fix(sidebar): show the collapsed related videos bar on dark theme - #4475

Merged
ImprovedTube2 merged 1 commit into
code-charity:masterfrom
tridev-tej:fix-issue-4474
Nov 16, 2026
Merged

ImprovedTube2 merged 1 commit into
code-charity:masterfrom
tridev-tej:fix-issue-4474

Conversation

@tridev-tej

Copy link
Copy Markdown
Contributor

with related videos set to collapsed, the show more bar is black text on youtube's dark background, so the sidebar looks empty. --yt-spec-text-primary isn't defined for the watch page sidebar anymore, so the color drops to black. now it uses youtube's --yt-sys-color-baseline--text-primary when no extension theme sets the old variable. reproduced on dark theme in chrome; after the change the bar reads #f1f1f1 on dark and #0f0f0f on light.

Fixes #4474

--yt-spec-text-primary is not defined for the watch page sidebar anymore, so the show more bar inherited black text on the dark background and the sidebar looked empty. fall back to youtube's current text color when no theme sets the variable.
@ImprovedTube2
ImprovedTube2 merged commit 6afd009 into code-charity:master Nov 16, 2026
@ImprovedTube2

Copy link
Copy Markdown
Member

hi and thank you for the backup! @tridev-tej

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.

🐞 setting related videos to collapsed removes them completly

2 participants