Automatic and Accessible Dynamic Themes With OKLCH Color Space

At JSNation, in New York, United States
Cover for Automatic and Accessible Dynamic Themes With OKLCH Color Space

Topics

Share on

A few lines of code and UI theme will follow any color that you want. Do you want it? Explore the OKLCH color space for creating dynamic themes! This color model ensures better a11y, predictable color transformations and supports the wide-gamut P3 colors. When it comes to changing colors by code, RGB, HSL, or LCH can lead to low contrast and poor accessibility; but OKLCH is specifically designed to avoid unexpected results with color transformations. This talk will guide you on implementing dynamic themes using OKLCH in your JS project along with Tailwind CSS, helping you automatically generate accessible palettes with vibrant, accurate colors.

Attend the event

In the same orbit

Explore more events

Book a call

Irina Nazarova CEO at Evil Martians

Evil Martians is a developer tools consultancy founded in 2006. Creators of PostCSS, imgproxy, and 100+ open source projects with 25 billion downloads.