Design systemFoundations
Typography
Instrument Sans for Latin text, Noto Sans JP for Japanese, and Geist Mono for code and figures.
Sourcesrc/styles/app.css
Instrument Sans
Latin text
Noto Sans JP
Japanese text
Geist Mono
Code and figures
display-1clamp(2.9rem, 7.2vw, 6.5rem) / 600Ideas become work through code.
display-2clamp(2.2rem, 4.8vw, 4.25rem) / 600Ideas become work through code.
heading1.5rem / 600Ideas become work through code.
lead1.125rem / 2rem / 400Ideas become work through code.
body1rem / 1.75rem / 400Ideas become work through code.
small0.875rem / 500Ideas become work through code.
monoGeist Mono / 0.875remIdeas become work through code.
Guidelines
Do
- Use display-1 for one main headline per page.
- Keep paragraphs around 36rem wide and use text-pretty.
Don't
- Set subheadings in all caps.
- Apply tight tracking to Japanese text.
Accessibility
- Sizes use rem, so they follow the browser's font size setting.
- Heading levels never skip: h1, then h2, then h3.