Media, Code & Independent Systems

LabDESIGN SYSTEMENexperiment

Bilingual Typography Tokens

CSS design tokens for mixed English and Simplified Chinese editorial reading across Light, Sepia, and Dark themes.

Most web typography systems treat Chinese and English as separate worlds—either tuning line heights solely for Latin ascenders and descenders, or forcing CJK text into cramped UI sans-serif stacks.

This experiment defines a single CSS token sheet (src/styles/tokens.css) shared across the entire site:

  • Measure & Rhythm: A strict 680px reading column paired with 1.85–2.0 line height and text-autospace: ideograph-alpha ideograph-numeric so mixed English technical terms breathe naturally inside Chinese prose.
  • Editorial Palette: Three curated reading surfaces—crisp paper white (Light), warm archival paper (Sepia), and low-glare ink (Dark)—using one restrained crimson accent exclusively for section kickers.
  • No-Flash Theme Boot: Theme state resolves inline in <head> before first paint so switching pages never flashes the wrong background.