Font stacks with CSS variables
summary
A tiny CSS ponyfill implements the new generic family system-ui by declaring a root variable like --system-ui and replacing it with an explicit local font stack for UI fonts plus a separate stack for emoji, wired together with unicode-range rules so emoji only use emoji fonts. The repo provides platform-specific names (Linux has six emoji fonts), falls back to sans-serif, avoids web-font downloads and runtime JS side effects, and works in the browsers the author cares about though some emoji quirks remain.
AI-written summary · about
chapters (4)
related talks
10mHow we internationalized our typography stack
33mVariable Fonts and the Future of Web Design
21mCreate expressive and readable typography with variable fonts
40mCSS Fonts 4
33mVariable Fonts: WTF?
20mDynamic Typographic Systems with Variable Fonts
36mVariable Fonts and Dynamic Typography with CSS
42mTypography for Frontends
