Polyfill CSS `light-dark()` function to simplify theming
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 10.3k
- Forks
- 481
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 13
Description
### Describe the feature request
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark
We should look into how far we can polyfill this feature to help with simplifying how themes are defined without having to use media query wrappers in `defineVars` and `createTheme`
Contributor guide
Assessment
This issue has not been assessed yet.