Re: [community-group] Native modes and theming support (#210)

Put another way, even if this spec defined a full set of what the allowed themes/modes were, and they were `light` and `dark`, a CSS code generator would *still* need to know how to map those themes to code. One project wants `@media (prefers-color-scheme: dark)`, another makes dark mode the default and uses `@media (prefers-color-scheme: light)`, and another uses `[theme-dark]` and switches attributes with JavaScript.

-- 
GitHub Notification of comment by TravisSpomer
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/210#issuecomment-1481618545 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 23 March 2023 17:42:33 UTC