Google 及其商标归各自所有者所有。DesignMD Pro 是独立项目,与 Google 无任何关联,亦未获其认可;本 DESIGN.md 提取自其公开网站,仅供参考。
Google's design language is the most disciplined exercise in restraint on the web: a brand so confident it can afford a nearly empty page. The homepage is a ritual, not a layout — a quad-color wordmark, one pill-shaped search box, two quiet buttons, and hundreds of pixels of white space. Everything exists to serve the single action of searching, and nothing competes with it.
The personality is utilitarian, instant, and quietly friendly. Color is spent almost exclusively on the brand mark and on action: the Material 3 primary blue (#0b57d0, exposed in the site's own CSS as --gm3-sys-color-primary) fills the Sign-in pill, while the classic "Google Blue" (#1a73e8) drives calls-to-action and "Learn more" links on marketing surfaces. Depth is minimal — hairline #dadce0 borders and a single soft shadow on the search box do all the work that drop shadows and gradients do elsewhere. On content pages (like "How Search works"), the system relaxes into Google's "glue" marketing framework: generous Google Sans headlines, flat white cards with 8px corners, pastel full-bleed banners, and flat illustration in soft blues. Full dark-mode support exists on google.com itself, where the canvas drops to #22242a and primary actions invert to light blue #c2e7ff.
The palette is a white canvas, a family of blues for action, and grays for everything else. The quad-color brand mark (blue #4285f4, red, yellow #fbbc04, green) appears only as the logo image — those hues never leak into the UI chrome.
#0b57d0): The Material 3 primary. Fills the Sign-in button and the highest-emphasis product action. In dark mode it inverts to Sky Blue (#c2e7ff) with dark navy text (#001d35).#1a73e8): The classic CTA blue used on marketing surfaces ("Discover our approach", "Take a look") and for "Learn more" text buttons.#1967d2): Text links inside content pages. The legacy result-link blue (#1a0dab) still appears on google.com chrome.#5f6368): Secondary text, icons, nav links, and the border on outlined buttons.#202124, strong #16171a): Near-black text. The product chrome uses the slightly warmer #16171a; marketing pages use #202124.#f8f9fa): The quiet gray of secondary buttons, the footer, and hover fills. Never used for large regions on the homepage — the canvas stays pure white.#dadce0): The only border color that matters — search box, footer columns, expansion panels.Three families, each with a strict job. Google Sans (fallback Arial/Helvetica) owns display type, buttons, nav, and the search input. Google Sans Text owns body copy, card titles, and compact labels. Roboto (with Arial for the smallest footer text) survives in the google.com utility chrome.
Two layout philosophies coexist. The homepage is an unconstrained centered canvas: the search column is capped at 688px and everything else floats in whitespace — there is no grid to find. Marketing pages switch to a fixed-max-width grid: a 1296px container, an 8px spacing base with 24px as the dominant rhythm (paddings, gaps, card internals), and section breathing room of 60–120px. Cards align in 3–4 column rows with 24px gutters; the marketing framework's breakpoints are 600px, 1024px, and 1440px.
Near-flat. The interface is drawn with hairlines and tone, not shadow. The search box is the only routinely elevated element — a 1px #dadce0 border plus a soft rgba(31,31,31,0.08) 0 3px 10px shadow that lifts it as the page's focal point. Cards are completely flat: white on white, no border, no shadow, separated by spacing and an image well. Hover elevation is reserved for primary actions — the Sign-in pill gains the Material level-1 shadow (rgba(0,0,0,0.3) 0 1px 2px + rgba(0,0,0,0.15) 0 1px 3px 1px), and quiet buttons pick up a 1px shadow and #dadce0 border.
Pills are the signature. Every committed action is fully rounded: Sign-in (100px radius), marketing CTAs (48px), the AI Mode chip, and the 26px search box — softened from the older 24px. Content containment is much squarer: cards and the "Google Search"/"I'm Feeling Lucky" buttons use 8px, and small utility elements 4px. The rule is simple: the rounder the shape, the more interactive the element.
Quick and invisible. State changes (hover, focus, color and background shifts) run at 200ms ease — the most common transition on the site. Surfaces entering the screen (carousels, panels) slow to 300–400ms with a decelerating cubic-bezier(0.2, 0, 0, 1) curve; exits and box-shadow fades sit around 250ms ease. Nothing loops, nothing bounces, and the search box never animates for decoration.
button-primary): pill, #0b57d0 fill, white Google Sans Text 14/18 medium label, 40px min height, 10px 12px padding. Hover adds the level-1 shadow described in Elevation; dark mode swaps to #c2e7ff/#001d35.button-cta): same pill language at a larger scale — #1a73e8 fill, white Google Sans 16/24 medium label with +0.5px tracking, 12px vertical / 24px horizontal padding, ~50px tall.button-secondary): white fill, #1a73e8 label, 1px #5f6368 border, same pill metrics as the CTA ("Dive into our history", "Watch video").button-quiet): #f8f9fa fill with matching border, #3c4043 Google Sans 14px label, 8px radius, 0/16px padding, 36px tall. Hover darkens text to #202124, adds a #dadce0 border and a 1px shadow. In dark mode: #4d5156 fill, #303134 border, #e8eaed text.#ffffff); gray is for chrome (footer, quiet buttons), never page backgrounds.#dadce0 borders instead of shadows for separation; only the search box and hovered primary buttons may cast a shadow.#1967d2 and never share text color with headings.#22242a and primary actions invert to light blue #c2e7ff.在本页下载,或请求 https://www.designmdpro.app/websites/google.md,或通过 DesignMD Pro MCP 服务器调用 get_design_md 工具(slug 为 "google")。
把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。
例如:“按照 DESIGN.md 里的 Google 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”
参照 Google(google.com)的 DESIGN.md 设计系统,用它的视觉风格构建一个响应式落地页。
## 配色
- link: #1967D2
- neutral: #5F6368
- outline: #DADCE0
- primary: #0B57D0
- tertiary: #FBBC04
- secondary: #1A73E8
- on-primary: #FFFFFF
- link-legacy: #1A0DAB
- on-secondary: #FFFFFF
- on-surface-variant: #3C4043
- secondary-container: #D3E3FD
## 字体
- body-lg: "Google Sans", 20px, weight 400, line-height 1.4
- body-md: "Google Sans Text", 16px, weight 400, line-height 1.5, letter-spacing 0.006em
- body-sm: "Roboto", 14px, weight 400, line-height 1.43
- label-sm: "Arial", 13px, weight 400, line-height 1.85
## 圆角
- lg: 26px
- md: 8px
- sm: 4px
- xl: 34px
- xxl: 48px
- full: 9999px
## 间距
- lg: 24px
- md: 16px
- sm: 8px
- xl: 32px
- xs: 4px
- 3xl: 60px
- 4xl: 80px
- 5xl: 120px
## 组件
- card: padding 24px, rounded 8px, textColor {colors.light.on-surface}, typography Google Sans Text 16px, backgroundColor {colors.light.surface}
- footer: padding 24px, textColor #5F6368, typography Arial 13px, backgroundColor {colors.light.surface-container}
- nav-link: height 48px, padding 12px, rounded 4px, textColor #5F6368, typography Google Sans 16px, backgroundColor {colors.light.surface}
- button-cta: height 50px, padding 12px, rounded 9999px, textColor #FFFFFF, typography Google Sans 16px, backgroundColor #1A73E8
- search-box: width 688px, height 52px, rounded 26px, textColor {colors.light.on-surface-strong}, typography Google Sans 16px, backgroundColor {colors.light.surface}
- chip-assist: height 36px, padding 8px, rounded 9999px, textColor {colors.light.on-surface-strong}, typography Roboto 14px, backgroundColor {colors.light.surface}
## 规则
- 背景、文字、边框和强调色只使用上面列出的颜色,不要自创新颜色。
- 所有文字都使用上面的字体样式,并保持它们的字号与字重层级。
- 圆角和间距取自上面的尺度,让各组件保持一致。
完整 DESIGN.md:https://www.designmdpro.app/websites/google.md在 V0 Prompt 生成器中自定义 →Google 的品牌主色是蓝色(#0B57D0),其 DESIGN.md 共定义了 11 个颜色 token。
Google 的主要字体是 Google Sans 和 Google Sans Text。
下载这份 DESIGN.md,粘贴到 Tailwind 主题生成器或 shadcn 主题生成器,即可得到包含 Google 主色 #0B57D0 及其余 token 的可用主题。
不是。这份文件由 DesignMD Pro 从 google.com 的公开页面提取,与 Google 无关联,也未获其认可。
当前版本 1.0.0 提取于 2026年11月20日。
#fef7e0, the "Search Through Time" spotlight) and Ice Blue (#e8f0fe, the safety banner), with #d3e3fd as a deeper blue container.search-box): the hero component — white pill, 1px #dadce0 border, 26px radius, 52px tall, capped at 688px wide, with the soft shadow above. Inside: leading "+" affordance, Google Sans 16/22 input, and trailing voice/lens icon buttons plus a white "AI Mode" chip (100px radius, hairline border). Dark mode: #363840 fill, #4d5156 border, shadow removed.card): flat white, 8px radius, no border, no shadow. Anatomy: Google Sans Text 16/24 medium title, optional 16/24 body in #5f6368, and a blue "Learn more" text action; media sits in a flush right or top well.#5f6368; the active tab turns #202124 with a small blue underline indicator. On google.com, the nav shrinks to Roboto 14px links plus an icon-only apps-grid button.#fef7e0 or #e8f0fe section with an inline illustration, headline, and one button — the only place large areas of non-white color appear.#f8f9fa band on both product and marketing pages; bare-noun links in Arial 13px (product) or Google Sans Text (marketing), separated by hairline #dadce0 column rules on mobile.