question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dark mode doesn't work on YouTube

See original GitHub issue

Today, i found darkreader doesn’t work on YouTube. i don’t know why. But i fix it by replacing the default settings in darkreader. If you don’t want to fix it yourself, you can use my solution. Or maybe you can take some time to fix it. It may be a bit lengthy, but it’s a temporary solution.

Code below:

youtube.com

INVERT
#checkmark
.ytp-volume-slider-handle
.toggle-bar.style-scope.paper-toggle-button
.align-by-text.style-scope.ytd-comment-replies-renderer
g#youtube-red-paths
#like-bar
.yt-simple-endpoint.style-scope.ytd-grid-video-renderer
.title.style-scope.ytd-guide-entry-renderer
.style-scope.ytd-guide-signin-promo-renderer
#video-title.style-scope.ytd-compact-video-renderer
.more-button.style-scope.ytd-comment-renderer
#submenu.menu-container.style-scope.ytd-multi-page-menu-renderer
#content.style-scope.ytd-expander
#author-text.yt-simple-endpoint.style-scope.ytd-comment-renderer
#simplebox-placeholder
#upload-info

CSS
#textarea, paper-button {
    color: ${black} !important;
}

.style-scope.ytd-page-manager, 
.style-scope.ytd-masthead, 
.style-scope.ytd-guide-renderer, 
#header.style-scope.ytd-app, 
#columns.style-scope.ytd-watch-flexy, 
.style-scope.ytd-popup-container,
.style-scope.ytd-searchbox,
#label.style-scope.ytd-toggle-theme-compact-link-renderer,
#label.style-scope.ytd-compact-link-renderer,
#subtitle.style-scope.ytd-compact-link-renderer,
#video-title.style-scope.ytd-compact-playlist-renderer,
#video-title.style-scope.ytd-compact-radio-renderer{
    background-color: black !important;   
    color: ${black} !important;   
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mvastolacommented, Sep 15, 2019

FYI, with the latest version the issue with the YouTube volume slider is still present. I’m about to make a pull request to fix this. neb6

0reactions
Gustedcommented, Jul 24, 2020

F i x e d

Read more comments on GitHub >

github_iconTop Results From Across the Web

YouTube aware of Dark Mode issue on web version, fix ...
According to most reports, the Dark Mode theme on the web version of YouTube simply does not remain. Opening YouTube on another tab...
Read more >
Youtube won't stay on Dark mode how do I fix this? - Reddit
This is a YouTube bug, and I found that you can work around it by deleting a duplicate PREF cookie. Details here:.
Read more >
Youtube Dark Theme Not Working, How To Fix ... - Latest News
1. First, you have to open the web browser on your device and then open the official website of the YouTube app. 2....
Read more >
Watch YouTube in Dark theme - Android - Google Support
Watch YouTube in Dark theme · Select your profile picture "" . · Tap Settings "" . · Tap General. · Turn on...
Read more >
How to Enable Dark Mode in YouTube - How-To Geek
To enable dark mode on the YouTube website, click your profile picture, then select Appearance > Dark Mode. On an iPhone or iPad,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found