light-dark()

TIL: light-dark() CSS color function exists to help making color schemes for websites and applications much faster. It has Baseline availability since May 2024, allowing use on most of new websites. MDN documentation shows how the feature can be used to improve websites. (While there are embedded devices devices with old/ancient web browsers, most of the desktop and mobile platforms have auto-updating enabled for the browsers.)

Today I Learned Web development