Note - Posted on

I just read Dave Rupert’s post on Inverted themes with light-dark(). It’s great.

I wish light-dark() accepted any value and not just colors. I have a use case where I use lighter font weights in dark mode.

Bramus wrote about a custom --light-dark() function using @function, if() and color-scheme() that would solve this in the future.

Posted on

← Back to the previous page