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

> That kind of link can, however, be supplied to the code generator as configuration. Every code generator tool is going to require some amount of configuration to make the output fit well with your codebase; a per-output-platform mapping of mode names to "the native thing" could be part of that configuration.
> 
> ```json
> {
>   "light": "",
>   "dark": "@media (prefers-color-scheme: dark)"
> }
> ```

I like this, though this also feels like something that might belong more in `$extensions` rather than the core format, though I'm curious what others think here. IMO the core format should be apathetic to the output format.  

-- 
GitHub Notification of comment by jjcm
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/210#issuecomment-1481857911 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 20:33:26 UTC