material-theme-builder
material-theme-builder copied to clipboard
High contrast
Could you generate colors with high contrast for accessibility?
CSS has prefers-contrast media feature for the colors. https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-contrast
The web needs the colors for light and dark theme.
You can add the colors to requested export https://github.com/material-foundation/material-theme-builder/issues/25
html.high-contrast {
}
html.dark.high-contrast {
}
- https://web.dev/building-a-color-scheme/
- demo https://unifyned.com/colors.html
Thanks for the feedback! Definitely want to support this feature but waiting on guidance for the values