Skip to content

fix: resolve black font color on Show more/less in YouTube Dark theme#3833

Open
Muzzu8421 wants to merge 1 commit intocode-charity:masterfrom
Muzzu8421:fix/dark-theme-show-more-color
Open

fix: resolve black font color on Show more/less in YouTube Dark theme#3833
Muzzu8421 wants to merge 1 commit intocode-charity:masterfrom
Muzzu8421:fix/dark-theme-show-more-color

Conversation

@Muzzu8421
Copy link
Copy Markdown

Fixes #3828

Problem:
The "Show more" / "Show less" text in collapsed comments
was appearing in black on the YouTube Dark theme, making
it unreadable.

Solution:
Added a CSS override targeting html[dark] and
html[data-theme='dark'] selectors that sets
color: var(--yt-spec-text-primary, #ffffff) ensuring
the text is always visible on dark backgrounds while
keeping the original rule intact for light theme users.

Tested on:

  • YouTube Dark theme ✅
  • YouTube Light theme ✅
Screenshot 2026-05-03 164828 Screenshot 2026-05-03 164927

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.

🐞 Collapsed Comments: "Show more" font is black on "YouTube Dark" Theme

1 participant