Swiss Design System
A design system rooted in the Swiss International Style of the 1950s–60s: grotesque typography, rigorous grid, bold geometric forms, generous whitespace, and restrained color.
Six Principles
- Grid first. Every layout lives on a 12-column grid with an 8px base unit.
- Mobile first, always. Design for the smallest viewport first, then expand. Every layout must work at 320px and at 1440px. Use , , Tailwind prefixes systematically.
- Whitespace is structure. Generous padding and margins are not waste — they are the design.
- Opacity, not hue, creates hierarchy. Never introduce a second color to indicate text weight or importance. Use opacity.
- One accent. Each project gets exactly one accent color, used sparingly at multiple opacities.
- Narrow columns. Body text never exceeds . Wider columns hurt legibility.
Typography
Primary font: IBM Plex Sans (Google Fonts)
html
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap" rel="stylesheet">
Fallback chain (in order of preference):
| Font | Source | Character |
|---|
| IBM Plex Sans | Google Fonts | Primary. Rational, slightly condensed, 1960s systems rationalism |
| Hanken Grotesk | Google Fonts | Closest to Neue Haas Grotesk lineage |
| Barlow | Google Fonts | Condensed Swiss-grid proportions, strong vertical rhythm |
| Host Grotesk | Google Fonts | Warm grotesque, good at all sizes |
| DM Sans | Google Fonts | Clean neo-grotesque fallback |
| system-ui | Built-in | Last resort |
css
font-family: 'IBM Plex Sans', 'Hanken Grotesk', 'Barlow', 'Host Grotesk', 'DM Sans', system-ui, sans-serif;
Type scale:
| Role | Tailwind | Line height | Max width |
|---|
| Display | text-7xl font-light tracking-tight
| | unconstrained |
| H1 | text-5xl font-light tracking-tight
| | unconstrained |
| H2 | text-3xl font-light tracking-tight
| | unconstrained |
| H3 | | | unconstrained |
| Body | | | |
| Small | | | |
| Caption | text-xs font-normal tracking-wide uppercase
| | unconstrained |
| Mono | | | |
- Headings: (300) or (400). Never bold for headings.
- Emphasis within body: (500). Never (700).
- Letter spacing on display/h1: (-0.02em).
- Captions and labels:
tracking-wide uppercase text-xs
.
Color System
Stone palette (light mode → dark mode)
| Role | Light | Dark | Tailwind |
|---|
| Page background | | | bg-stone-50 dark:bg-stone-950
|
| Surface / card | | | bg-stone-100 dark:bg-stone-900
|
| Subtle surface | | | bg-stone-200 dark:bg-stone-800
|
| Border | | | border-stone-200 dark:border-stone-800
|
| Subtle border | | | border-stone-100 dark:border-stone-900
|
| Primary text | | | text-stone-900 dark:text-stone-50
|
| Secondary text | | | text-stone-900/70 dark:text-stone-50/70
|
| Tertiary text | | | text-stone-900/40 dark:text-stone-50/40
|
| Placeholder | | | text-stone-900/30 dark:text-stone-50/30
|
Opacity hierarchy (the core rule)
To make text less dominant, reduce opacity — never change the hue.
Full presence: text-stone-900 (primary)
Softer: text-stone-900/70 (secondary, labels)
Quiet: text-stone-900/40 (tertiary, captions)
Ghosted: text-stone-900/20 (disabled, placeholder)
Dark mode: replace
with
. The opacity values stay identical.
Accent color
Each project uses one accent color. Default is Swiss poster red.
| Name | Hex | Tailwind arbitrary |
|---|
| Swiss Red (default) | | |
| Cobalt | | |
| Golden | | |
| Forest | | |
Use accent at these opacities only:
Full: bg-[#C8102E] text-[#C8102E]
Muted: bg-[#C8102E]/60 text-[#C8102E]/60
Subtle: bg-[#C8102E]/20 (backgrounds, tints)
Ghost: bg-[#C8102E]/10 (very light tints)
Spacing & Grid
Base unit: 8px. All spacing is a multiple of 8.
| Token | Value | Usage |
|---|
| 8px | Tight inline gaps |
| 16px | Component internal |
| 32px | Between components |
| 64px | Between sections |
| 64px | Section padding (minimum) |
| 96px | Section padding (standard) |
| 128px | Section padding (generous) |
Grid:
html
<!-- 12-column grid — always mobile-first, columns collapse to full-width on small screens -->
<div class="grid grid-cols-12 gap-4 md:gap-8">
<div class="col-span-12 md:col-span-8">...</div>
<div class="col-span-12 md:col-span-4">...</div>
</div>
Max content width: or
with
.
Responsive Design
The Swiss grid adapts fluidly across viewports. Every layout decision must be made at two scales: mobile (single column, generous vertical rhythm) and desktop (multi-column, horizontal tension).
Breakpoint strategy:
| Prefix | Width | Use for |
|---|
| (none) | 0px+ | Mobile — single column, full width |
| 640px+ | Large phones, small tablets |
| 768px+ | Tablets, narrow desktop — introduce 2-col layouts |
| 1024px+ | Desktop — full 12-col grid, max content width |
Mobile layout rules:
- All grid columns collapse to
- Section padding reduces:
- Horizontal padding tightens:
- Display type scales down:
text-5xl md:text-7xl lg:text-8xl
- Multi-column nav collapses to hamburger or hidden
- Tables scroll horizontally: wrap in
- Side-by-side cards stack vertically:
grid-cols-1 md:grid-cols-2 lg:grid-cols-3
Fluid type pattern:
html
<!-- Scale display type fluidly across viewports -->
<h1 class="text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-normal tracking-tight leading-none">
Swiss International Style
</h1>
<!-- Or use clamp() for truly fluid scaling -->
<h1 class="text-[clamp(2rem,6vw,5rem)] font-normal tracking-tight leading-none">
Swiss International Style
</h1>
Responsive section pattern:
html
<section class="py-16 md:py-24 lg:py-32 border-b border-stone-200 dark:border-stone-800">
<div class="max-w-6xl mx-auto px-4 md:px-8">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
...
</div>
</div>
</section>
Touch targets: All interactive elements must be at least 44×44px on mobile. Use
min-h-[44px] min-w-[44px]
for buttons and nav links.
Navigation on mobile: Collapse to a minimal top bar. Hide secondary nav links below
. Never use hamburger menus with deeply nested hierarchies — the Swiss style favors flat, clear navigation.
Dark Mode
Use Tailwind's
strategy (respects system preference automatically):
js
// tailwind.config.js
darkMode: 'media'
Every color token has a
variant. See the stone palette table above. Never use
or
— always use stone scale.
Gotchas
- Never use a second color to signal hierarchy. Opacity only. , not .
- Never exceed for body text. Wider columns are illegible.
- Never or . Use / .
- IBM Plex Sans is not a system font. Always include the Google Fonts tag.
- One accent per project. Do not introduce a second accent color. Use opacity variations instead.
- Headings are light, not bold. for display and h1, for h2–h3.
- No border-radius on structural elements. Inputs, cards, and containers use or at most . The Swiss style is rectilinear.
- Section padding is generous. Minimum , standard . Never less.
- Every layout must work on mobile. Default (no prefix) classes are mobile. Always add and variants for larger viewports. Never build desktop-first and try to retrofit mobile.
- Tables on mobile need . Never let a wide table break mobile layout.
- Touch targets minimum 44px. Buttons, links, and nav items must be tappable on mobile.
- Fluid type, not fixed. Use responsive type classes () or — never a single fixed size that works only at one viewport.
When to read reference files
| Task | File |
|---|
| Full color token table, CSS custom properties, dark mode details | references/design-system.md
|
| Tailwind component patterns: buttons, cards, nav, forms, badges | |
| Paste-ready and CSS block | references/tailwind-config.md
|
| Applying this system to an existing page, audit checklist | |