I am a UX'er interested in Development. I've built frontend apps for National Geographic, FMCG in US & a Casino company in Oxford, England. I enjoy performance hacking, Enduro/MTB, Lego & ice baths!๐ฅถ
Exactly! Using var(--color-bg, inherit) uses the browser's fallback value. Perhaps one day, browsers will simply have a algo to do this themselves, such as Luma: css-tricks.com/switch-font-color-f...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Interesting approach! Except I'm viewing it in dark mode which shows white text on a grey background โย which I can't read ๐
Exactly! Using
var(--color-bg, inherit)
uses the browser's fallback value. Perhaps one day, browsers will simply have a algo to do this themselves, such as Luma: css-tricks.com/switch-font-color-f...