DEV Community

Discussion on: Future of CSS: Color Scheme

Collapse
 
tomayac profile image
Thomas Steiner

Just discovered the dark theme in the misc settings, love it. One idea could be to initially respect prefers-color-scheme, but to also allow for manual overriding. The custom element <dark-mode-toggle> does exactly that, read more about it in the article.