czerkies / romanczerkies.31

GitHub repository of the romanczerkies.fr project Version 31
https://romanczerki.es
0 stars 1 forks source link

Reacting to the used `color-scheme` property with the `light-dark()` CSS function #165

Closed czerkies closed 3 months ago

czerkies commented 7 months ago

This function computes to the computed value of the first color, if the used color scheme is light or unknown, or to the computed value of the second color, if the used color scheme is dark.

light-dark(<color>, <color>);