Myles C. Maxfield on the WebKit Weblog revealed a nifty how-to for colour fonts. It comes on the heels of what Ollie wrote up right here on CSS-Tips the opposite day, and whereas they cowl a whole lot of widespread floor, there’s some good nuggets within the WebKit publish that make them each value studying.
Working example: there’s somewhat progressive enhancement in there utilizing @helps
for older browsers missing assist the font-palette
property. Then the publish will get into a technique that exhibits the property’s gentle
and darkish
values at play to make the font extra legible in sure contexts. There’s additionally a intelligent thought about how creating a number of @font-palette-values
blocks with the identical identify can be utilized for fallbacks.