The open hub of machine learning — dense white directories, black pill CTAs, and a hugging emoji over per-Space generated gradients.
你目前以免費訪客身分檢視 — 僅顯示 Hugging Face 的基礎 6 色預覽。升級至 Pro 即可解鎖全部 123 個 design tokens、完整 DESIGN.md 原始檔下載與 1 個修訂版本的對比。
升級 DesignMD Pro 即可一鍵將所有色彩複製為 :root CSS variables,並檢視完整元件色彩引用與原始檔案。
Hugging Face 及其商標均歸各自所有者所有。DesignMD Pro 為獨立專案,與 Hugging Face 無任何關聯亦未獲其背書;此 DESIGN.md 擷取自公開網站,僅供參考。
Hugging Face is the open hub of machine learning, and its design system is a friendly utilitarian directory — the visual equivalent of a well-run public library. Pages are white, dense, and information-first: Source Sans Pro text in literal black, IBM Plex Mono for stats and code, 8px-radius cards separated by the faintest #F3F4F6 hairlines, and a single black pill as the universal primary action ("Sign Up", "Get Team").
What makes it unmistakably Hugging Face is the warmth layered onto the utility: the 🤗 emoji is the logo and section decoration, filter chips come in a dozen task colors, every Space card gets its own generated gradient cover (violet, teal, blue, pink — no two alike), the PRO tier glows with a soft 10%-alpha rainbow wash, and the homepage hero is a giant near-black (#0B0F19) billboard panel with 26px rounded corners. It is enterprise infrastructure wearing a smile.
#F6339A, teal #00BAA7, purple #8D54FF, green #00BB7F, red #FB2C36.#F9FAFB–#F3F4F6 card washes and chip fills; pricing cards sit at white/40 translucency over a 45.4deg rainbow wash (#F70059→#52FF00→#1400FF→#FF0000→#FFE600, all ≈10% alpha) — the signature "gradient-rainbow" backdrop.#000000 primary text (an unusually hard black), #4A5565/#6A7282 secondary, #99A1AF placeholders, hairlines at #E5E7EB and #F3F4F6.#0B0F19 near-black for the hero billboard, dark preview mockups, and GitHub-adjacent code surfaces, with white text.brand.indigo as the flat fallback; white overlay text throughout.display-hero 48px/700, display-lg 48px/700 −0.025em): white on the #0B0F19 panel vs gray-900 on pricing ("Leveling up AI collaboration and compute."); scales to 60px at 2xl breakpoints.headline-lg 30px/700, headline-md 24px/600, headline-sm 20px/600): section and card-group titles ("Spaces", "Community Blog & Articles").title-md 16px/600): model/dataset names — moonshotai/Kimi-K2.5 rendered semibold in black, keeping the org/name slug readable.body-md 16px, body-sm 14px): nav, descriptions, filter chips, plan features.code-md 14px, code-sm 12px): stats, prices, "PRO" tags, kbd hints (⌘K), and code — the engineering accent against the humanist sans.A 65px sticky header (logo + emoji, center search pill, icon-led nav, black "Sign Up") sits over a 1280px-centered page. The homepage opens with the dark billboard hero — hugging emoji, 48px headline, white outline pill CTA, and a live dark-mode preview of the Models directory — then flows into "Trending on 🤗 this week" card grids. Directory pages (Models/Datasets) split into a 224px filter sidebar (task chips, parameter sliders, library pickers) plus a list of 62px overview cards. Pricing uses a 3-column translucent-card layout over the rainbow wash; Spaces uses a 4-column cover grid under a 50px pill search bar ("Ask anything you want to do with AI"). Rhythm is a tight 4px base: 2px micro-gaps, 6–8px chip padding, 12px card spacing, 16px gutters, 24–32px section breaks.
Nearly flat — hairlines over shadows. Cards separate via 1px #F3F4F6–#E5E7EB borders; the default card shadow is a whisper (0 1px 2px black 5%). Inputs invert the depth: an inner 0 2px 4px 5% inset shadow makes fields feel debossed. The only real lift belongs to search-style surfaces (0 5px 5px/0 2px 2px/0 0 1px at 3%) and Space covers (0 1px 3px 10%). Focus rings are HF-blue tinted; hover states lift cards into a faint gray-50→white gradient.
Friendly rounding at every level, pills for actions. The working radius is 8px — cards, tabs, chips, dropdowns. Inputs stay at 8px in the header but inflate to a 50px full pill on Spaces. Primary CTAs, badges, and kbd chips go 9999px (the black "Sign Up" is a true capsule). Space covers round at 16px, the hero billboard at ~26px, and buttons inside plan cards at 12–14px. Nothing is sharp-cornered; even directory density stays soft.
150ms utility, with alive status indicators. All chrome transitions run 150ms cubic-bezier(0.4, 0, 0.2, 1); card hovers and transforms stretch to 300ms. "Running on ZERO" status chips pulse (2s cubic-bezier(0.4,0,0.6,1)), notifications ping (1s), and ambient marquee/orbit decorations run 6–13s loops. Hover micro-details abound: underline-offset animates, Space covers darken toward the corner, and the hero preview mockup is a live product capture, not a static render.
org/name lowercase slugs; plan names in title case ("PRO Account", "Team", "Enterprise").button-primary is the black 36px capsule — white 14px label, generous x-padding ("Sign Up", "Get Team", "Talk to sales"). button-outline is the white bordered pill second ("New Space", "Learn more"). button-hero inverts to a white-on-dark outline capsule inside the billboard ("Explore AI Apps"). button-pro is the rainbow-washed pill — ink text over the mint→pink→yellow PRO gradient with a sparkle icon ("Get PRO"). tab-active is a tiny black 8px rounded toggle ("Main") for tab bars.
card-model is the directory row: white (fading to gray-50 on hover), 1px #F3F4F6 border, 8px radius, avatar + semibold repo name + icon-stat metadata row. card-space is a 16px-radius cover tile with a per-app duotone gradient, white title/description, and status pills ("Running on ✱ ZERO", "♥ 223"). card-plan is a translucent white/40 pricing panel over the rainbow wash with mono price figures. chip-filter (gray-100, 28px, 8px radius, colored leading icon) fills sidebars; badge-pill (white, gray-200 border, 30px) labels sections like "🔥 Spaces of the week".
input-search is a 36px white field with #E5E7EB border, inset shadow, and a ⌘K kbd chip. input-hero is Spaces' 50px full-pill ask bar with a real drop shadow. nav-header is the 65px sticky bar — emoji logo + wordmark, icon+label links (Models/Datasets/Spaces/Buckets/Docs/Pricing), "Log In" ghost + black "Sign Up". meta-mono renders IBM Plex Mono stats in gray.
surface-hero is the #0B0F19 billboard (26px radius, white display type, embedded product mockup) — the homepage's anchor. Dark preview panels reuse it at smaller radii.
9999px for CTAs, badges, and kbd chips.org/name slug form and stats in IBM Plex Mono — never spell out "thousand" when "k" fits.prefers-reduced-motion — the pulse/ping status loops and marquee drifts are decorative, not critical.存取 https://www.designmdpro.app/websites/hugging-face.md 或透過 DesignMD Pro MCP 伺服器以 slug "hugging-face" 呼叫 get_design_md 工具以取得公開版本。完整 token 集合需訂閱 Pro。
將檔案放在 AGENTS.md 或 CLAUDE.md 旁,讓 Claude Code、Cursor、Codex 與其他程式開發 Agent 能夠讀取。
例如:「請依照 DESIGN.md 中的 Hugging Face 設計系統建構設定頁面,使用其中的色彩、字型與間距 tokens。」
請依照 Hugging Face(huggingface.co) 的 DESIGN.md 設計系統,以相同的視覺風格建構一個響應式到達頁。 ## 色彩 - primary: #3080FF - surface: #FFFFFF - tertiary: #FE6E00 - on-primary: #FFFFFF - on-surface: #000000 - on-tertiary: #FFFFFF - inverse-surface: #0B0F19 - surface-container: #F9FAFB ## 字型 - body-lg: "Source Sans Pro", 18px, weight 400, line-height 1.56, letter-spacing 0em - code-md: "IBM Plex Mono", 14px, weight 400, line-height 1.43, letter-spacing 0em - serif-body: "Charter", 17px, weight 400, line-height 1.65, letter-spacing 0em ## 圓角 - lg: 8px - md: 6px - sm: 4px ## 規則 - 背景、文字、邊框與強調色僅使用上述色彩,請勿自行發明新顏色。 - 所有文字皆套用上述字型樣式,並維持其字級與字重層級。 - 圓角與間距請取自上述比例尺,確保各元件外觀一致。 完整 DESIGN.md:https://www.designmdpro.app/websites/hugging-face.md在 v0 提示詞產生器中自訂 →
Hugging Face 的品牌主色為 藍色(#3080FF),其 DESIGN.md 共定義了 11 個色彩 tokens。
Hugging Face 的主要字型為 Source Sans Pro 與 IBM Plex Mono。
是的。Source Sans Pro 是免費開源字型,可在 Google Fonts 上取得。
本頁已公開 Hugging Face 的主色(#3080FF)。產生完整的 Tailwind 或 shadcn 主題需要完整的 DESIGN.md,可透過 DesignMD Pro 取得。
不是。此檔案由 DesignMD Pro 擷取自公開的 huggingface.co 網站,與 Hugging Face 無任何關聯亦未獲其背書。
版本 1.0.0 擷取於 2026年11月11日。
serif-body