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

Looking at the postcss plugin, I'd expect this to be possible, with the added `mode()` extension. The mapping could be done in postcss config as well, similar to the `is` option

```css
@design-tokens url('./figma-ui-colors.json') format('style-dictionary3') mode('light');
@design-tokens url('./figma-ui-colors.json') when('brand-2') format('style-dictionary3') mode('dark');

.foo {
  color: design-token('fg.brand');
}
```

-- 
GitHub Notification of comment by connorjsmith
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/210#issuecomment-1481518536 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 16:36:59 UTC