CSS light-dark function


Now you can define different colors for light and dark themes directly in CSS. No more checking for color preferences in JavaScript! Discover the power of the CSS light-dark function for effortlessly switching color schemes.

Resources:
Baseline → https://goo.gle/baseline-webdev
Light-dark function → https://goo.gle/lightdark

Watch more This is Baseline → https://goo.gle/TiB
Subscribe to Chrome for Developers → https://goo.gle/ChromeDevs

#ChromeForDevelopers #Chrome

Products Mentioned: Baseline, Baseline APIs, Chrome