This PR is a major update with breaking changes. It includes the following updates:
Removed
a11y.css
: There is no longer a "default" theme. This has been replaced with a range of offerings that include dark on dark, light on light, dark, and light offerings.- Sketch support.
Updated
- Windows High Contrast Mode has been replaced in favor of the web standards Forced Color Mode media query.
- Support for dark and light operating system display modes.
- Color declarations now use CSS Custom Properties.
- Colors values are normalized and all use
hsla
format. - Selectors are now in namespaced
@layer
. - Selectors are also grouped via
where()
. - Swatches:
- Adobe.
- Figma.
- JSON.
- macOS.
Added
- Dedicated themes for dark on dark, light on light, dark on light, light on dark treatments.
- Dedicated dark and light themes that are agnostic to OS color mode.