26-01-2023 15:00 via smashingmagazine.com

Creating A High-Contrast Design System With CSS Custom Properties

Design should never be a trade-off when it comes to creating an accessible web. There are many features coming to the web that will make creating contrast a lot easier. But even though CSS functions such as color-contrast() are only available in Safari behind a flag, we can already do a lot to create contrast in an easy way by using custom properties.
Good Design For Accessibility Shouldn’t Be Hard
When we design, we think about creating something beautiful that enables emotion and can pro
Read more »