Add support of dark mode through prefers-color-scheme #9214
Replies: 6 comments
-
The detection is easy, but too slow to do in chart update: So I don't think we will be doing it in the core lib. |
Beta Was this translation helpful? Give feedback.
-
If JavaScript is slow - you can use CSS, for example
|
Beta Was this translation helpful? Give feedback.
-
For Dark Mode we can achieve using css variable. |
Beta Was this translation helpful? Give feedback.
-
Any update on this? Maybe not for |
Beta Was this translation helpful? Give feedback.
-
All browsers support such basic accessibility feature.
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
Beta Was this translation helpful? Give feedback.
All reactions