Using light-dark() without getting caught out

How this page changed

https://css-tricks.com/using-light-dark-without-getting-caught-out/

Its history has not been looked up yet.