Should the CSS light-dark() Function Support More Than Light and Dark Values?
2 Articles
2 Articles
Should the CSS light-dark() Function Support More Than Light and Dark Values?
One of the newer CSS features that has piqued my interest: the function. And I’ve been closely following it ever since it became Baseline back in May 2024. If you don’t know, the function takes two color arguments: one for light mode and one for dark mode. Hence, the name . It toggles between the two light and dark values based on a user’s preferences. Sara Joy has a wonderful article… Source
Should the CSS light-dark() Function Support More Than Light and Dark Values? | CSS-Tricks
One of the newer CSS features that has piqued my interest: the light-dark() function. And I’ve been closely following it ever since it became Baseline back in May 2024. The light-dark() function, briefly If you don’t know, the light-dark() function takes two color arguments: one for light mode and one for dark mode. Hence, the name light-dark(). It toggles between the two light and dark values based on a user’s preferences. Sara Joy has a wonder…
Coverage Details
Bias Distribution
- There is no tracked Bias information for the sources covering this story.
Factuality
To view factuality data please Upgrade to Premium