Hugging Face — design system & UI screens
Hero beside a dense dark model-and-dataset browser with search and provider filters.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/website/hugging-face.
Decoded design system
Hugging Face's decoded design system: background #FFFFFF, text #000000, accent #E5E7EB, link #6A7282, primary #101828; type scale h1 60px / h2 20px / body 18px; 8px spacing base; 0px base radius. The single interactive/action color is #E5E7EB — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #EFEFEF |
| border | #D8D8D8 |
| text | #000000 |
| text_muted | #606060 |
| primary | #101828 |
| accent | #E5E7EB |
| link | #6A7282 |
| secondary | #141C2E |
| button_bg | #E5E7EB |
| button_text | #101828 |
Using these colors
- Action color
#E5E7EB— the single interactive color; only on things you click or must notice, never large fills. primary#101828,secondary#141C2Eare visually the same color (Δ14) — treat as one role (the action color).accent,button_bgare all#E5E7EB— one role, not several (the action color).- accent
#E5E7EB— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - link
#6A7282— reads as a neutral UI color, not a link accent — verify against the reference (action = #E5E7EB).
Typography
- Heading: Source Sans Pro
- Body: Source Sans Pro
- Mono: IBM Plex Mono
- h1: 60px
- h2: 20px
- body: 18px
Spacing
- base unit: 8px
- scale: 2px, 4px, 6px, 8px, 10px, 12px, 14px, 16px, 24px, 32px
Radii
- base: 0px
- button: 8px
Motion
Micro-interactions run at 150ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 150ms · 200ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·ease - animated properties: transform, translate, scale, rotate
Native design tokens
| Token | Value |
|---|---|
--d2h-ins-label-color | #399839 |
--color-slate-200 | oklch(92.9% .013 255.508) |
--color-sky-500 | oklch(68.5% .169 237.323) |
--color-pink-500 | oklch(65.6% .241 354.308) |
--color-orange-600 | oklch(64.6% .222 41.116) |
--color-violet-600 | oklch(54.1% .281 293.009) |
--color-red-900 | oklch(39.6% .141 25.723) |
--color-orange-800 | oklch(47% .157 37.304) |
--color-neutral-600 | oklch(43.9% 0 0) |
--d2h-dark-change-del-color | #d2992233 |
…and 110 more measured on the page.
Button states (measured)
- primary focus: outline
1px auto rgb(16, 16, 16)
Layout (measured)
- container max-width:
1250px - nav: 65px
- common grid: 2 columns
Motion choreography (measured)
Load order: svg.w-full → svg.absolute×5
Input (measured)
height 36px · radius 8px · focus ring rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgb(255, 255, 255) 0px 0px 0px 0px inset, oklch(0.87 0.065 274.039) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.1) 0px 8px 10px -6px
Themes
dark counterpart: background #0B0F19, text oklch(0.928 0.006 264.531).
Responsive (measured)
- mobile (390px): hero 36px · nav hamburger
Full design system, per-section tokens & DESIGN.md / Tailwind / CSS exports →