Hugging Face
Identity
AI & LLM
Bundled OpenDesign package for Hugging Face, derived from curated DESIGN.md, tokens.css, and components.html fixtures.
Typography
Ag
Ag
Ag
--text-4xl · 48pxThe quick brown fox--text-3xl · 40pxThe quick brown fox--text-2xl · 32pxThe quick brown fox--text-xl · 24pxThe quick brown fox--text-lg · 18pxThe quick brown fox--text-base · 15pxThe quick brown fox--text-sm · 13pxThe quick brown fox--text-xs · 12pxThe quick brown foxPalette
#fafafaPage background — defines the brand canvas.#ffffffCard / lifted container background.#fff4ccTertiary surface tier (kami warm-sand).#0d1117Primary text color.#374151Secondary text tier (kami dark-warm).#6b7280Subtext / captions.var(--muted)Tertiary FG / metadata tier (kami stone).#e5e7ebDefault border / card edge.#f3f4f6Inner row separator that should not visually compete.#ffd21eBrand accent. ≤2 visible uses per screen (lint enforced).#0d1117FG when --accent is the bg.#16a34aSuccess state.#f59e0bWarning state.#dc2626Danger state.Also named in DESIGN.md
#f9fafbText on dark surface.#2563ebText/NLP task badges.Imagery & layout
Radius
4px6px8px9999pxSpacing
--space-1 · 4px--space-2 · 8px--space-3 · 12px--space-4 · 16px--space-5 · 20px--space-6 · 24px--space-8 · 32px--space-12 · 48pxElevation
--elev-raisedLayout
Layout rules
- Base unit: 4px. Scale: 4, 8, 12, 16, 24, 32, 48, 64.
- Container: max 1280px, 24px gutter.
- Sidebar (model browser): 280px wide.
- Section rhythm: 64–96px vertical between major sections.