Google Marketing Platform DESIGN.md 设计系统与风格规范
B2B SoftwarePro 专属v1.0.0 (最新)Google's umbrella site for Campaign Manager 360, Display & Video 360, Search Ads 360, Analytics 360 and Tag Manager 360, built on Google's internal glue design system with a thin h-c-* brand-site component layer and a small gmp-* product layer.
当前可免费阅读 Google Marketing Platform 的完整设计叙述与最多 8 色主色板。升级 Pro 即可获取全部 166 个设计 Token、完整 DESIGN.md 源码下载及 1 个历史版本。
升级 DesignMD Pro,复制全部颜色的 :root CSS 变量、查看组件配色引用并下载完整源文件。
设计规范
Overview
Google Marketing Platform is Google's umbrella site for Campaign Manager 360, Display & Video 360, Search Ads 360, Analytics 360 and Tag Manager 360, plus the free Analytics and Tag Manager aimed at smaller businesses. The site is a product-marketing destination, not an application: it explains what each product does, points at sign-in and sales contacts, and funnels visitors into the products themselves.
The whole site is rendered by Google's internal glue design system. The captured pages load three stylesheets — a single minified application bundle (563 KB of the home page's index.min.css, split differently per inner page), a Google Fonts request for Roboto, Google Sans and Product Sans, and Google's cookie-notification bar. Two component layers sit on top of glue: an h-c-* brand-site library that supplies the headlines, copy, buttons, header, footer, tables and tiles used on the inner pages, and a thin gmp-* product layer that adds the green quote band, the circular product icons and the rich header dropdown.
The visual signature is extreme restraint. Across four pages and roughly 26,000 px of scrolled document, only five text colours are painted — #5f6368, #202124, #1a73e8, #414141 and #ffffff — against four backgrounds, #ffffff, #f8f9fa, #1a73e8 and #34a853, with a single border colour #dadce0. Colour is not decoration here; it marks exactly three things: the action, the link, and the one green quote band per page. Everything else is ink on paper.
Colors
The palette is Google's glue grey and brand scale, declared as CSS custom properties in the bundle's own :root. The site paints a deliberately tiny subset of it.
Grounds. #ffffff is the page and card ground. #f8f9fa is the sunken ground used by the footer, the sticky jump-link pill and the hover state of dropdown items. #f1f3f4 and #e8eaed are the interactive and focus grounds — the active nav item, the social-icon focus ring, the hover of a simple dropdown link's sibling. #dadce0 is the only painted border and the top hairline of the footer's link columns.
Ink. #202124 is the body and heading ink of the glue layer. #5f6368 is the muted ink and the single most-used text colour on the site — header links, footer links, lead paragraphs, table body copy. #414141 is the h-c-* layer's own text colour: it paints the headlines, the eyebrows and the section titles of every inner page, and is the reason the inner pages read slightly warmer than the home page. #80868b appears only as the uppercase column title inside the rich header dropdown.
Action. #1a73e8 is Google blue 600 and the only action colour. It fills every primary button, the Sign in to… pill, the right-hand header CTA and the blue hero panel of the rich dropdown; it is also the link colour and the hover colour of dropdown link labels. #185abc (blue 800) is the hover and pressed fill. #174ea6 (blue 900) is the focused skip-link text on #e8f0fe. #7b1fa2 is the one visited-link colour — a purple that exists in the stylesheet and is reachable only after a link has been clicked.
Signal. #34a853 is Google green 500 and has exactly one job on this site: the .gmp-quote band, a full-width green section that carries a customer quote in white. #ea4335 and #d93025 are the error pair; #fbbc04, #f9ab00 and #e37400 are the yellow family used only as SVG glyph fills inside the circular product icons; #7b1fa2 doubles as the tertiary.
The glue scale continues well past what the site paints — blue 50 through 900, green 50 through 900, red 50 through 900, yellow 50 through 900, purple 100 and 900, and grey 25 through 900. Only the values listed in the token block are reachable from the four captured pages; the rest is dormant palette.
Typography
Three Google families, loaded from fonts.gstatic.com with font-display: swap, plus Roboto as the requested fallback.
Google Sans (400 and 500) is the brand face. It sets every headline, every eyebrow, every nav link, every button, every link and every label. The home page's h1 renders at 60 px/400/72 px with -0.5px tracking; the inner pages' hero h1 uses the h-c-headline--display-one scale and lands at 96 px/500/112 px with -1px tracking above 1024 px, dropping to 60 px/400 below it. Section headlines are 56 px/400 with -0.5px tracking, sub-headlines 44 px/400. h3 is 36 px/300 on the home hero.
Google Sans Text (400, 500 and 700) is the body face of the glue layer: 16 px/400/24 px with 0.1px tracking on #202124. The h-c-* layer does not use it — its copy is Google Sans at 14 px/400/24 px with 0.25px tracking, and its lead copy is 18 px/400/26 px.
Product Sans (400) appears exactly once on the whole site: the 22 px "Google Marketing Platform" wordmark in the header. It is the only place the older Google brand face survives.
Roboto (100, 300, 400, 500, 700 requested) is the declared fallback in every h-c-* stack and the actual face of table header cells, which are set in Roboto 700 at 14 px/22 px with 0.25px tracking. On the home page the hero photograph's h3 and paragraph fall back to bare sans-serif because Google Sans Text never applies there.
Tracking is tight and consistent: -1px and -0.5px on the large display sizes, 0.25px on body copy, 0.75px on links and buttons, and a wide 1.25px on the 12 px uppercase eyebrows. Weights stop at 500 for Google Sans — the 300 of the dropdown hero title and the 700 of table headers are the only excursions, and the 300 is synthesised because Google Sans ships no light face.
Layout
The home page uses glue's 12-column grid: 49.33 px tracks with a 64 px column gap inside a 1296 px maximum. The inner pages use the h-c-* grid, a flexbox variant whose columns are percentage-based — a one-column span is 19.7 % wide with 2.65 % side margins, two columns 44.7 %, three 69.7 %, four 94.7 % — with --offset-1 through --offset-3 pushing content to 27.65 %, 52.65 % and 77.65 %.
The header is a single 64 px white bar, fixed, with the 24×74 px Google wordmark at the left, five nav links in Google Sans 14 px, and Partners / Support in blue at the right. Below it the inner pages add a second, product-specific tier: the product name in 22 px Product Sans-style grey plus Overview / Benefits / Features tabs, with the active tab carrying a 2 px blue underline, and the Sign in to… text link plus a blue rectangular CTA at the right. The bar casts 0 2px 6px 0 rgba(0,0,0,.12) with an inset -1px #dadce0 bottom hairline, and slides out of view on scroll with a 400 ms transform transition.
Other fixed measures: 1126 px for article prose, 840 px and 860 px for hero copy columns, 599 px, 620 px, 380 px and 1280 px for narrower modules, and 568 px plus 16 px padding for the narrowest h-c-page. The footer is #f8f9fa with a white sign-up band above it, separated by a 1 px #dadce0 rule. Document heights run 6,090 px (home), 7,420 px (small business), 6,345 px (analytics) and 7,243 px (Display & Video 360) at 1440 px wide.
Elevation & Depth
This is a flat design system. The inner pages paint exactly one shadow in the entire rendered document: the header bar's 0 2px 6px 0 rgba(0,0,0,.12) with its inset #dadce0 hairline. Cards, tiles, tables and buttons cast nothing at rest.
The two shadows that do exist live in the closed state. The rich header dropdown carries Material's elevation-3 pair, 0 1px 3px 0 rgba(32,33,36,.3), 0 4px 8px 3px rgba(32,33,36,.15), on a white panel with a 1 px #e8eaed border and an 8 px radius. Primary buttons gain elevation only on hover, taking the same rgba(60,64,67,.3) / rgba(60,64,67,.15) pair at elevation 1 and rising to elevation 2 when pressed.
Where other sites would reach for shadow, this one reaches for full-bleed photography. Every hero is a large office or workshop photograph running to the viewport edges with a white text panel overlapping its left third, and the photograph is cropped hard at the bottom edge with no fade. Depth comes from that overlap, not from layers.
Shapes
Almost nothing is rounded. The captured pages paint two radii only: 2px and 50%.
2px is the site's button radius, set by .h-c-button together with border:none, a 46 px height, 15px 24px padding and line-height:1. It applies to the rectangular header CTA, the hero Get started today and Talk to Sales buttons, and the outlined reversed button on the blue dropdown hero panel.
50% paints the 44 px circular social icon triggers in the footer and the 48 px circular product tiles, and is the only round shape on the site. The sticky jump-link bar and the home page's Sign in to Google Marketing Platform button are pills, but they are built with a fixed 48px radius rather than a percentage, so they stay pills at any width.
The 8 px radius of the rich dropdown panel and the 8 px top corners of the 64×64 product tiles are the only larger radii, and both are invisible in the captured screenshots because the dropdown is closed and the tiles are square images. Images are otherwise square-cornered: no photograph on the site carries a radius.
Motion & Micro-interaction
Motion is sparse, fast and functional.
Press feedback is the only motion a visitor triggers directly. .h-c-button runs color .15s linear, background-color .15s linear, so a primary button cross-fades to #185abc in 150 ms and gains its elevation shadow at the same moment. The simple dropdown's links run background-color .15s ease, color .15s ease and swap #5f6368 for #1a73e8 over #f8f9fa.
The header hides on scroll with transform .4s and background .4s, and the sticky jump-link bar re-anchors with top .3s ease as the header leaves.
Scroll reveal is the site's one piece of theatre, and it is opt-in. Elements marked data-bsp-animate-type=fade-in start at opacity:0 with transform:translateY(50%) and transition opacity, transform over 1 s ease-in-out when they scroll into view. A stagger ladder stretches that to 0.7 s, 0.8 s, 0.9 s and 1.0 s durations with delays climbing in 0.3 s increments up to 4.5 s, so a long section resolves in a slow cascade rather than all at once.
Two ambient animations exist and both are paused by default. The rotating headline cycles every 2.05 s with ease-in-out; the ticker-tape marquee is a 60 s linear infinite scroll with animation-play-state:paused until a play control is toggled.
The bundle ships a real prefers-reduced-motion block. Under it every fade-in collapses to transition-duration:0; opacity:1; transform:translate(0), the carousel list drops to 0s, and the image hover effects — rounding, zoom-in and zoom-out — are cancelled outright.
Voice & Content Strategy
The copy is short, concrete and product-first. Headlines are imperative and benefit-shaped — "Faster, smarter marketing", "Get essential customer insights.", "Take control of your campaigns." — and the paragraph beneath each one names the audience and the outcome in one or two sentences, ending on a business result ("improve marketing ROI", "from media planning and creative development to measurement and optimization").
Product names are always written out in full and never abbreviated: "Display & Video 360", "Campaign Manager 360", "Google Analytics". The header's sign-in control is spelled "Sign in to Google Marketing Platform" or "Sign in to Analytics" rather than a bare "Sign in", which keeps the destination unambiguous when the same chrome wraps five products.
Sentence case everywhere, including headings and buttons. There is no exclamation mark, no superlative and no urgency language anywhere on the site. The register is that of a very large company explaining its own tooling to marketing professionals: plain, unhurried, and willing to say "free of charge" in the middle of a paragraph rather than dressing it up.
Components
Buttons. .h-c-button is the base: border:none, border-radius:2px, height:46px, padding:15px 24px, line-height:1, Google Sans 14 px/500 with 0.75px tracking, and transition:color .15s linear, background-color .15s linear. --primary fills #1a73e8 with white text; --secondary is white with blue text and a blue border. The home page's Sign in to Google Marketing Platform is the pill variant — 50 px tall, padding:12px 12px 12px 16px, border-radius:48px, with a trailing arrow icon. The disabled state of a primary button is #f8f9fa with #9aa0a6 text and no shadow — a dormant colour, since no disabled control is painted on any of the captured pages. #9aa0a6 is also the muted ink used on inverse surfaces.
Eyebrows and headlines. .h-c-eyebrow is 12 px/500, 1.25px tracking, uppercase, #414141. .h-c-headline is Google Sans 400 in #414141 with hyphens:auto and optimizeLegibility smoothing; its --display-one / --display-two / --one / --two / --three variants step 96 → 60 → 56 → 44 → 38 px across breakpoints, and --display-* sizes tighten tracking to -1px / -0.75px.
Links. .h-c-link is Google Sans 14 px/500, 0.75px tracking, #1a73e8, display:inline-block, with overflow:hidden; its icon inherits fill:currentColor. :visited turns the whole link and its icon #7b1fa2. Footer links are the quieter .h-c-footer__link: 14 px/400, 0.25px tracking, #5f6368, darkening to #202124 on hover with a 10 px #e8eaed focus outline.
Header. .h-c-header__bar is white, fixed, 64 px, with the Material elevation pair described above. Nav links are Google Sans 14 px/400 #5f6368 at 48 px tall with 16 px side padding; the active item turns #000 on #f1f3f4. The product wordmark is .h-c-header__product-logo-text, Product Sans 22 px/400 #5f6368. A visually-hidden .h-c-header__jump-to-content skip link sits off-canvas and reveals itself on focus as #174ea6 on #f1f3f4 with a 2 px radius.
Rich dropdown. .custom-header-menu-list is the site's only floating surface: white, 1px solid #e8eaed, border-radius:8px, elevation 3, left:50% with translateX(-50%), opening from opacity:0 to opacity:1. The --rich variant pairs a 448 px-max blue hero panel (.gmp-dropdown__hero, #1a73e8, padding:45px 20px 45px 70px) holding a 36 px/300 white title, a 16 px/300 white paragraph and an outlined border:1px solid #fff; border-radius:4px; height:40px; padding:0 24px button that inverts on hover, against a content column whose 12 px/500 uppercase #80868b column titles sit above 16 px/500 #202124 link labels that turn #1a73e8 on hover. The --simple variant is a 220 px-minimum white list of 14 px/400 #5f6368 links at 12px 24px padding.
Cards and tiles. .glue-card carries border-radius:8px, min-height:96px, transform:translateZ(0) and transition:box-shadow .25s — the shadow it transitions to is 0 0 0 0 transparent at rest, so cards stay flat until hovered. .h-c-tile is a 270 px-wide, 380 px-minimum white block with padding:0 0 24px. Product tiles are 64×64 squares with border-radius:8px 8px 0 0 and a background-size:cover glyph layer whose SVG paths carry explicit brand fills — blue #4285f4 / #1a73e8 / #3b78e7, green #34a853 / #1e8e3e / #5bb974, red #ea4335 / #d23f31, yellow #f9ab00 / #fbbc04 / #fcc934, purple #8430ce / #b366f6.
Quote band. .gmp-quote is a full-width #34a853 section with white text, the only green surface on the site. .gmp-font simply forces #414141.
Jump links. .glue-jumplinks is a sticky pill bar, display:flex, top:16px, max-width:calc(100% - 32px), margin:16px auto, padding:0 10px, re-anchoring with top .3s ease.
Footer. .h-c-footer is #f8f9fa. Its link columns are separated by 1 px #dadce0 rules with 30px 0 20px padding; its links are the quiet 14 px/400 #5f6368 described above. Above it, .h-c-footer__signup is a white band with a #dadce0 top border and 60px 0 30px padding holding a flex sign-up form. Social icons are 44 px circular triggers at padding:10px, focusing to #f1f3f4.
Tables. .h-c-table sets border:1px solid #fff; border-width:0 1px and full width. Header cells are Roboto 700 at 14 px/22 px, 0.25px tracking, #202124, padding:12px 2.12%, text-align:left, vertical-align:bottom. --datatable rows are divided by 1 px #dadce0 with 20 px vertical cell padding, and the overflow container fades its edges with four stacked linear-gradient layers built from rgba(95,99,104,.15).
Do's and Don'ts
- Do use
#1a73e8for the single most important action on a screen and let every other control stay white with blue text. - Do keep
#5f6368as the default text colour for anything secondary — it is the most-painted ink on the site and it carries the whole muted tier. - Do write headings in sentence case with a period when they are a full statement, and leave them without one when they are a fragment.
- Don't add a second shadow. The site has exactly one painted shadow (the header) and one hover-only elevation pair; anything else reads as a different product.
- Don't round anything beyond 2 px on controls and 50 % on the circular social and product icons. Images stay square.
- Don't use Google green
#34a853for anything but the quote band, and don't put white text on it — the pair measures 3.06:1 and fails AA for normal text. The band is a genuine defect in the live site; if you need a green surface with legible text, use#188038on#e6f4ea(4.42:1) or#ffffffon#1e8e3e. - Don't set dropdown column titles in
#80868bon white — 3.68:1, below AA. Use#5f6368(6.05:1) for 12 px uppercase labels. - Don't reach for the yellow family as text.
#fbbc04,#f9ab00and#e37400exist only as SVG glyph fills inside the product tiles, where contrast rules do not apply. - Don't synthesise a light weight. Google Sans ships 400 and 500 only; the 300 of the dropdown hero title and the 700 of table headers are either a fallback face or a real second family.
- Do keep the scroll-reveal cascade and the ticker marquee behind their opt-in triggers, and do keep the
prefers-reduced-motionblock that neutralises them. - Don't introduce a second brand face. Product Sans appears exactly once, in the header wordmark, and Google Sans Text only in glue-layer body copy.
如何在 AI agent 里使用 Google Marketing Platform 的 DESIGN.md
获取 Google Marketing Platform 的 DESIGN.md
请求 https://www.designmdpro.app/websites/google-marketing-platform.md,或通过 DesignMD Pro MCP 服务器调用 get_design_md 工具(slug 为 "google-marketing-platform"),即可获取公开版本;完整 tokens 需要 Pro。
保存为项目根目录下的 DESIGN.md
把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。
让 agent 按它来写
例如:“按照 DESIGN.md 里的 Google Marketing Platform 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”
Google Marketing Platform 风格 AI Prompt
参照 Google Marketing Platform(marketingplatform.google.com)的 DESIGN.md 设计系统,用它的视觉风格构建一个响应式落地页。
## 配色
- ink: #414141
- error: #EA4335
- outline: #DADCE0
- primary: #1A73E8
- success: #34A853
- surface: #FFFFFF
- warning: #FBBC04
- on-error: #FFFFFF
## 字体
- body: ""Google Sans Text", "Google Sans", Roboto, Arial, Helvetica, sans-serif", 16px, weight 400, line-height 24px, letter-spacing 0.1px
- copy: ""Google Sans", Roboto, Arial, Helvetica, sans-serif", 14px, weight 400, line-height 24px, letter-spacing 0.25px
- wordmark: ""Product Sans", "Google Sans", Arial, Helvetica, sans-serif", 22px, weight 400, line-height 28px, letter-spacing 0px
- font-table: "Roboto, Arial, Helvetica, sans-serif", weight 700
## 圆角
- md: 4px
- sm: 8px
- xs: 2px
## 规则
- 背景、文字、边框和强调色只使用上面列出的颜色,不要自创新颜色。
- 所有文字都使用上面的字体样式,并保持它们的字号与字重层级。
- 圆角和间距取自上面的尺度,让各组件保持一致。
完整 DESIGN.md:https://www.designmdpro.app/websites/google-marketing-platform.md在 V0 Prompt 生成器中自定义 →常见问题
Google Marketing Platform 的主色是什么?
Google Marketing Platform 的品牌主色是蓝色(#1A73E8),其 DESIGN.md 共定义了 39 个颜色 token。
Google Marketing Platform 用的是什么字体?
Google Marketing Platform 的主要字体是 Google Sans Text 和 Google Sans。
如何在 Tailwind CSS 或 shadcn/ui 中使用 Google Marketing Platform 的设计 token?
本页公开了 Google Marketing Platform 的主色 #1A73E8。生成完整的 Tailwind 或 shadcn 主题需要完整的 DESIGN.md,可通过 DesignMD Pro 获取。
这份 Google Marketing Platform DESIGN.md 是官方的吗?
不是。这份文件由 DesignMD Pro 从 marketingplatform.google.com 的公开页面提取,与 Google Marketing Platform 无关联,也未获其认可。
Google Marketing Platform 的 DESIGN.md 最近一次更新是什么时候?
当前版本 1.0.0 提取于 2026年11月29日。
Google Marketing Platform 及其商标归各自所有者所有。DesignMD Pro 是独立项目,与 Google Marketing Platform 无任何关联,亦未获其认可;本 DESIGN.md 提取自其公开网站,仅供参考。