Skip to content

Why dark theme detector cannot detect dark theme on some websites? #12019

Answered by alexanderby
lumynou5 asked this question in Q&A
Discussion options

You must be logged in to vote

In order to detect the dark theme we have to disable all Dark Reader's styles, and then enable them again. When there are a lot of styles loaded, it can cause performance issues, especially if it is run with some interval. Another approach will be published soon, and the detection will be improved periodically.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumynou5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants