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 变量、查看完整组件配色引用与源文件。
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 服务器调用 get_design_md 工具(slug 为 "hugging-face"),即可获取公开版本;完整 tokens 需要 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 Prompt 生成器中自定义 →
Hugging Face 的品牌主色是蓝色(#3080FF),其 DESIGN.md 共定义了 11 个颜色 token。
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