Why dark theme detector cannot detect dark theme on some websites? #12019
-
I noticed that the implementation calculates lightnesses via the background colors of
If it's correct, I wonder why. Because manually filling the list is inefficient and results a bad experience before the list is updated, is it possible to detect for a longer time to deal with this case? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.