跳至主要内容
Firebase

Firebase DESIGN.md 设计系统与风格规范

Developer ToolsPro 专属v1.0.0 (最新)
firebase.google.com•关联于 2026年11月29日 04:00•审核 Bestony

Firebase is Google's app-development platform, and its marketing site is a devsite documentation theme wearing a Firebase tenant skin. Two typefaces with strictly separated jobs - Google Sans for headings, labels, buttons and nav, Roboto for body - over a Material 3 palette whose saturated accent is blue #1A73E8. The signature is a full-bleed near-black #1E1E1E hero band, lit by an orange #F57C00 CTA that carries black text at 7.77:1, and by an amber #E88000 that only works on that dark band. Pricing splits into two flat plan cards, Spark #039BE5 and Blaze #2E3A4D, with no shared surface and no shadow on either.

Pro 专属网站

当前可免费阅读 Firebase 的完整设计叙述与最多 8 色主色板。升级 Pro 即可获取全部 211 个设计 Token、完整 DESIGN.md 源码下载及 1 个历史版本。

显示 8 / 33 个颜色
深色 (18%)
Aa 示例文字#1A73E8
primary
rgb(26, 115, 232)
深色 (2%)
Aa 示例文字#202124
ink
rgb(32, 33, 36)
深色 (7%)
Aa 示例文字#681DA8
beta
rgb(104, 29, 168)
深色 (12%)
Aa 示例文字#5F6368
grey
rgb(95, 99, 104)
深色 (11%)
Aa 示例文字#0B57D0
link
rgb(11, 87, 208)
浅色 (68%)
Aa 示例文字#CFD8DC
rule
rgb(207, 216, 220)
深色 (33%)
Aa 示例文字#E88000
amber
rgb(232, 128, 0)
深色 (4%)
Aa 示例文字#2E3A4D
blaze
rgb(46, 58, 77)
获取完整色板、CSS 变量与 DESIGN.md 源码

升级 DesignMD Pro,复制全部颜色的 :root CSS 变量、查看组件配色引用并下载完整源文件。

设计规范

Overview

Firebase is Google's mobile and web app development platform, and its marketing site is a Google devsite theme wearing a Firebase skin. The result is the most thoroughly systematised surface in this collection - a documentation-grade token layer, a Material 3 palette, and a handful of tenant overrides that give it a personality the stock devsite theme does not have.

The first structural fact is that there are two font families with strictly separated jobs. --devsite-headline-font-family is Google Sans and drives every heading, label, button and nav item. --devsite-primary-font-family is Roboto and drives body text. They are never swapped: a 44px pricing heading and a 16px paragraph are in different typefaces by design. Two monospace faces sit beside them - Roboto Mono for code, JetBrains Mono for the product-icon labels, which are the only monospace text on the marketing pages.

The second is that the marketing pages are near-black. .background--dark sets background-color: #1e1e1e and it owns every hero on the homepage, the products page and the pricing page. White on it is 16.7:1. Against that band the only saturated colour that appears is orange, and the orange is used in three distinct roles that never overlap: #F57C00 for CTA fills, #FF9100 for borders and selected tabs, #E88000 for the nav marker and the table-of-contents rule.

The third is that the orange CTA carries black text. .cta-button--orange sets font: 700 18px/24px "Google Sans", color: #000, background-color: #f57c00 - a 100px-radius pill with 7.77:1 ink. That is the opposite of the instinct for an orange button, and it is why the site's most prominent control is also one of its most legible.

The fourth is that pricing is two flat cards with nothing between them. The Spark plan is a solid #039BE5 block and the Blaze plan a solid #2E3A4D block, side by side at the same height, with the feature table hanging below both. There is no shared card surface and no shadow on either.

The personality is plain, declarative and technical. "Make your app the best it can be with Firebase and generative AI." No exclamation marks, no superlatives, no "ludicrous".

Colors

A Material 3 base, a devsite documentation layer, and a Firebase tenant layer on top.

The blues

  • Primary (#1A73E8): --firebase-button-bg-color, the standard button fill, and --devsite-button-primary-background. White on it is 4.51:1 - it passes AA for normal text by a hair, and every button on the site is 14px/500 or larger so it is used correctly.
  • Primary-deep (#1967D2): the hover, at 5.37:1. #1A73E8 to #1967D2 to #185ABC is a clean three-step ladder and the only place the site darkens on hover.
  • Link (#0B57D0): --devsite-link-color, the Material 3 link blue used across the documentation, at 6.39:1 on white. On the #E8F0FE hover chip it is 5.57:1.
  • #1E88E5 is --firebase-link-color and the single most-used link colour on the pricing page, at 49 occurrences. It is deliberately not issued as a token: it is 3.68:1 on white and fails AA, and the documentation blue #0B57D0 at 6.39:1 is sitting right next to it in the same stylesheet and is the correct choice. It is recorded here rather than in the token block because a token is a recommendation.

The oranges

Four values, four jobs, never interchangeable:

Design system specification
ValueRoleWhereRatio
#F57C00CTA fill.cta-button--orange, product iconsblack 7.77:1 / white 2.70:1
#FFA000CTA hover.cta-button--orange:hoverblack 10.28:1
#FF9100Line and selected tab--firebase-cta-orange, promo-card border, code-picker tabs#202124 7.13:1
#E88000Nav marker and TOC rule--devsite-upper-tab-active, --devsite-toc-border5.97:1 on #1E1E1E

#E88000 is the one that only works on the dark band. On white it is 2.79:1, and the documentation sub-navigation does place it there - the orange "Fundamentals" tab and the orange "Documentation" eyebrow on the guides page are both light-background uses of a dark-background colour.

The inks

An alpha ladder rather than a grey scale, and every step is a different job:

  • Ink (#202124): --devsite-header-foreground-lower and the docs heading colour, at 16.1:1 on white.
  • Ink-strong (#191919): #000000 at 90% alpha, --devsite-primary-text-color, the paragraph and heading colour on the marketing pages. 17.6:1 on white.
  • Ink-body (#545454): #000000 at 67% alpha, --firebase-body-color, the secondary paragraph. 7.57:1 on white and 7.18:1 on #F8F9FA.
  • Ink-quiet (#666666): #000000 at 60% alpha, --devsite-secondary-text-color, the nav and tertiary text. 5.74:1 on white.
  • Ink-faint (#63748E): #041E49 at 62% alpha, --devsite-tertiary-text-color - a blue grey, not a neutral one, and the only ink in the palette with hue. 4.75:1 on white.
  • Grey (#5F6368): the Google grey, used for the product-icon labels and the icon colour. 6.05:1 on white and 4.61:1 as #757575 on the product-icon names.

Surfaces and rules

  • Paper (#FFFFFF) is --devsite-background-1, surface (#F8F9FA) is the alternating section band, and surface-alt (#F1F3F4) is the docs sidebar and the secondary panel.
  • Band-dark (#1E1E1E) is the marketing hero. .firebase__bg--grey and .background--dark both set it, and the Firebase dark theme replaces it with a deep navy #112537 instead.
  • Border (#DADCE0), border-strong (#BDC1C6) and rule (#CFD8DC) are the three greys used for hairlines, in descending frequency. #CFD8DC is --firebase-hr-color and appears only on the pricing page.

The pricing pair

  • Spark (#039BE5): --firebase-spark-color, the No-cost plan card. White on it is 3.08:1 - the card's own heading fails, which is why the token is emitted without a text colour. #202124 on the same blue is 5.23:1 and would fix it.
  • Blaze (#2E3A4D): --firebase-blaze-color, the Pay-as-you-go card, at 11.48:1 with white. The two plans are eight ratio points apart and it is visible.

Status and notices

  • Success (#02BFA6) and danger (#F92953) are the pricing table's check and cross glyphs - icons, not text. 2.33:1 and 3.84:1 on white: the red clears the 3:1 non-text threshold, the teal clears neither.
  • Beta (#681DA8) on beta-bg (#F3E8FD) is the "BETA" chip, at 7.63:1 - the most legible small text on the site, on a 9px/500 label.
  • Banner-amber (#FFE9CD) with banner-amber-ink (#9E5700) is the devsite banner, at 4.66:1. Cyan-tint (#E1F3FC) is the CTA-link hover and the summit banner; with #0288D1 ink it is 3.38:1 and fails, so it is emitted without a text colour.
  • Hover (#E8F0FE) is the universal interaction tint - link hovers, chip selection, nav actives, and the dark theme's --devsite-link-background-active alike.
  • Code-bg (#0C2D48) is the code block. White on it is 14.2:1.

Dark theme

The devsite theme ships a full .color-scheme--dark re-tune, and the Firebase layer re-declares every tenant token against it:

  • --firebase-bg-color #1A73E8 to #112537 - the page becomes a deep navy.
  • --firebase-header-color #000 to #FFF, and --firebase-body-color rgba(0,0,0,.67) to rgba(255,255,255,.67).
  • --firebase-button-bg-color #1A73E8 to #FFF with --firebase-button-text-color #FFF to #112537 - the primary button inverts to a white pill with navy text, and its hover becomes a pale blue #92CCEB.
  • --firebase-link-color #1E88E5 to #92CCEB, --firebase-card-bg-color #FFF to #1B3A57, --firebase-border-color #DADCE0 to rgba(255,255,255,.2).
  • --firebase-spark-color #039BE5 to #0E4C97 and --firebase-blaze-color #2E3A4D to #0C1A28 - both plan cards go dark, and Spark goes darker than Blaze, reversing the light-mode relationship.
  • The three button fills and the orange CTA are the only values that do not change.

There is also a paired asset swap rather than a filter trick: .firesite-lightmode-image and .firesite-darkmode-image are complementary display pairs, so every illustration ships twice.

Documented failures

  • #1E88E5 on white is 3.68:1 - 49 links on the pricing page.
  • #E88000 on white is 2.79:1 - the documentation sub-nav's active tab and eyebrow.
  • White on #039BE5 is 3.08:1 - the Spark plan card's own heading.
  • #02BFA6 on white is 2.33:1 - the pricing table's check glyphs.
  • #0288D1 on #E1F3FC is 3.38:1 - the summit banner.

Typography

Two families, two jobs, never swapped. Google Sans is the brand face and owns every heading, label, button, nav item and the wordmark. Roboto is the plain face and owns body text. Both are declared once on :root as --devsite-headline-font-family / --devsite-primary-font-family with the full Noto fallback chain for CJK, Arabic, Thai, Hebrew and Bengali, and both load at weights 400, 500 and 700 only.

The scale is 75 / 66 / 52 / 44 / 40 / 36 / 35 / 34 / 30 / 28 / 24 / 22 / 20 / 18 / 17.6 / 16 / 14 / 13 / 12 / 9px, with line-heights in absolute pixels throughout - 100 / 74 / 60 / 54 / 48 / 46 / 45 / 44 / 36 / 32 / 30 / 28 / 24 / 21 / 20 / 16 / 15 / 14px.

  • The homepage h1 is 75px/700 at line-height: 100px - the largest size on the site at the heaviest weight, in white on #1E1E1E. The only comparable number is the docs hero's --devsite-h1-font: 700 66px/74px "Google Sans".
  • The pricing h1 and the products-page h1 are both 52px/500 - a mid weight at a display size. Google Sans at 500 is the house display weight; 700 is reserved for the homepage hero and the buttons.
  • The pricing h2 is 44px/500 and its h3 is 44px/600 - one step of weight between two heading levels at the same size, the most subtle hierarchy step in the system.
  • h3 is 35px/700 on the homepage, 34px/700 for the card headings, and 20px/500 for the docs section headings. Three different h3s across three templates.
  • h4 is 28px/500 and appears 23 times on the pricing page - it is the pricing table's row label, and the most repeated heading size on the site.
  • Body is 16px/400 at line-height: 24px, and the homepage lead is 22px/400 at line-height: 30px in white.
  • Buttons are 18px/700 (.cta-button--orange, the homepage hero) and 14px/500 at line-height: 36px (the devsite standard). The devsite button token is a single font: shorthand - 500 14px/36px - with padding: 0 24px and text-transform: none.
  • The nav is 14px/500 at line-height: 20px, and the docs sidebar's headings are 16px/500.
  • The BETA eyebrow is 9px/500 - by far the smallest text on the site, in #681DA8 on #F3E8FD at 7.63:1, so it is legible despite the size.
  • Letter-spacing is normal almost everywhere. The only values set anywhere are 0.25px on the devsite button, 0.5px on one --devsite-h1-letter-spacing, and 0.15px on one pricing button. Tracking is simply not part of this system.
  • JetBrains Mono at 14px/400 with line-height: 15px is the product-icon label - the only place a monospace face is used for a UI label rather than code, and the reason the products page reads as a developer surface rather than a marketing one.
  • Material Icons loads alongside Google Sans for the glyph set, at 24px.

Layout

A 1488px container with a 856px measure for the documentation body, a 1072px secondary column, and a 680px measure on pricing. The header is a fixed 64px bar with a 250px search field.

  • Header: a single 64px row - flame wordmark, six dropdown nav items (Build, Run, Solutions, Pricing, Docs, More), a search field with a / keyboard hint, a theme toggle, a language selector, and Blog / Go to console / Sign in on the right. Every nav item is a dropdown, and the two primary ones are styled as full-width black panels with 36px/64px section padding and 40px/700 titles.
  • Hero: a full-bleed #1E1E1E band with a 75px/700 h1 that breaks around an inline emoji pair, a 22px/400 lead in a 560px measure, and the orange CTA. The promo card inside it is a 20px-radius panel with a 2px #FF9100 border and a 5px/20px pill - the only place on the site where a border is the accent rather than a fill.
  • Products page: the same dark band, but the h1 is 52px/500 and the last word is a linear-gradient(90deg,#ffc400,#ff9200) fill. Below it, a two-column grid of product rows, each a 52px #F57C00 circle with a 4px gap and a JetBrains Mono label, plus a 50px-wide inline SVG arrow that animates on 250ms all ease.
  • Pricing: a dark hero, then two flat plan cards side by side, then the full feature table. The card headers are the only place a solid colour fills a large area.
  • Documentation: a three-column shell - a #F1F3F4 sidebar with 14px/500 nav items, an 856px content column, and a right-hand "On this page" rail whose rule is #E88000. The sub-nav is a light #E8EAED band with the active tab in orange.
  • Spacing is dominated by 8px at 528 uses on pricing and 24px at 472 - the two values that carry the entire grid - then 16px, 12px, 6px, 32px, 7px, 20px, 80px, 18px, 10px, 30px, 90px, 40px and 5px. The marketing pages run 12px/32px/6px/8px/10px instead, which is the same system at a different density.
  • scroll-margin-top is set on every anchor target so the fixed header never covers a jump link.

Elevation & Depth

One shadow family, and it is Material's own two-layer recipe. rgba(60,64,67,0.3) 0 1px 2px 0, rgba(60,64,67,0.15) 0 1px 3px 1px - a 30% key shadow at a 1px offset and a 15% ambient shadow at a 1px offset with a 3px blur. It appears on the docs search field, the table cells and the quiz controls. A second, larger variant (0 2px 6px 2px) is the pressed state.

The marketing pages use a completely different and much older recipe: rgba(0,0,0,0.15) 0 4px 12px 0 - a 15% black, zero offset, 4px down, 12px blur - on the hero stage and the product cards. It appears 10 times on the products page and four times on the homepage.

Beyond that, depth is flat:

  • The dark band is the primary device. #1E1E1E against white is a 16.7:1 plane change that needs no shadow at all.
  • --devsite-page-box-shadow: none and --devsite-card-box-shadow: none - the documentation cards are explicitly shadowless, separated by a 1px --devsite-card-border instead.
  • Gradients do the work shadows usually do: the products page's linear-gradient(90deg,#ffc400,#ff9200) word, the AI banner's five-stop linear-gradient(315deg,#d3e3fd,#d7f6ff,#a8c7fa,#a7edff,...), and the linear-gradient(bottom,#fff 50%,hsla(0,0%,100%,.5)) card fade.

Shapes

A four-step ladder plus a circle, and it is the same four steps everywhere:

  • 4px - buttons, inputs, search, tabs, selects, dropdowns, snackbars and skeletons. The default control radius, and the most-used value in the documentation theme.
  • 8px - cards, notices, banners, chips and tooltips. --devsite-card-border-radius, --devsite-notice-border-radius, --devsite-border-radius.
  • 2px - the dropdown list, and one 0 0 2px 2px corner.
  • 20px - the promo card and the concierge search input (--devsite-input-border-radius: 20px).
  • 100px - every pill: the CTA buttons, the beta chip, the hover chips.
  • 52px - the product icons, which are circles by height rather than by percentage. Expressed as a circle: 999px token here because the schema only accepts absolute units.

What is absent is as characteristic: no 12px, no 16px and no 24px container radius, and no large-radius card anywhere. The marketing hero's own corners are square.

Motion & Micro-interaction

Three durations, and 200ms is almost the only one.

  • background-color, border, box-shadow 0.2s ease - the devsite button's stock transition, declared as three separate 200ms durations on three properties. It is on 13 elements on the homepage and 5 on pricing.
  • all 0.25s ease - the products page's scroll-reveal and the product-icon arrow, 24 uses. One instance is 250ms all ease on the inline SVG arrow.
  • color 0.2s ease - links, 7 uses.
  • opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) - the Material standard easing, on the hero scenes and the dropdowns.
  • background-color 0.15s linear - the orange CTA, notably linear rather than eased, and the only place a non-standard easing appears.
  • margin-inline-end 0.1s cubic-bezier(0, 0, 0.2, 1) and inset-inline-start 0.1s - the search field's expand and collapse, at 100ms.

Everything is a hover colour change. There is no entrance animation on the marketing pages beyond the products page's reveal, no page transition, no parallax and no scroll-linked motion.

Two motion-adjacent rules are worth noting:

  • @media (prefers-reduced-motion: reduce) sets transition: none !important and animation: none !important globally.
  • The search field expands on focus - --devsite-search-form-position: absolute with a 100ms slide - and shows a / key hint in a bordered box, which is the site's only keyboard-affordance flourish.

Voice & Content Strategy

  • Tone of voice: plain, technical and declarative. "Make your app the best it can be with Firebase and generative AI." "Firebase is a platform of services to help you and AI agents build and run intelligent apps with more speed, security, and scalability." No exclamation marks, no superlatives.
  • Capitalization: sentence case for headings and body. Title case only for the navigation's product names and the marketing section labels ("Key Features", "Pricing plans", "Get to market quickly").
  • Terminology: the product is always "Firebase", never "the platform" or "our backend". The repeated nouns are "app", "project", "AI agent", "SDK" and "scale". Products are always their registered names - "Cloud Functions", "App Check", "Firestore" - never shortened.
  • The pitch is capability, not benefit. "Build AI-powered experiences into your apps and accelerate your development with fully managed infrastructure, powered by Google Cloud, so you can focus on what matters most." The benefit clause is one subordinate clause at the end of a capability sentence.
  • Pricing is a credit offer, not a discount. "Explore pricing plans, and if eligible, get $300 in free credit." "No-cost (Spark plan)" and "Pay as you go (Blaze plan)" are the two plan names, and the word "free" is qualified every single time it appears.
  • The hero emoji pair is inline in the h1 and is the only decorative element in the entire marketing surface.
  • Documentation copy is written for scanning - every docs page opens with a one-line summary and an "On this page" rail, and the section headings are noun phrases ("Learn Firebase fundamentals", "Jump into Firebase on your platform", "Learn Firebase concepts").

Components

  • Header: fixed 64px with a 1px bottom border, holding the flame wordmark, six dropdown nav items, a 250px search field with a / hint, a theme toggle, a language selector and three right-hand links. The active nav item is #E88000.
  • Nav dropdown: the two primary ones render as full-width black panels (--devsite-dropdown-column-background: #000) with 36px 64px section padding, 700 40px "Google Sans" titles and white links that turn black on hover.
  • Orange CTA: font: 700 18px/24px "Google Sans", color: #000, background-color: #f57c00, border: 0, border-radius: 100px, padding: 10px 20px, text-decoration: none !important, hover to #ffa000 with box-shadow: none.
  • Blue CTA: .cta-button--blue-deep { background-color: #1a73e8; color: #fff } with a hover to rgba(25,103,210,.85) - a translucent hover rather than a solid one.
  • Promo card: a #1E1E1E panel, border-radius: 20px, border: 2px solid var(--firebase-cta-orange), padding: 5px 20px on its pill, holding a 22px title, a 14px lead and the orange CTA. It is the only bordered accent on the site.
  • Product row: a 52px #F57C00 circle (border-radius: 52px), a 4px gap, a 20px right margin, a 14px/400 JetBrains Mono label and a 50px inline SVG arrow that transitions on 250ms all ease. Eight per page in a two-column grid.
  • Spark card: a solid #039BE5 block with a white heading, a 24px radius-8 body and a white pill button. 3.08:1 on its own heading.
  • Blaze card: a solid #2E3A4D block, same geometry, white text at 11.48:1, with a "Calculate pricing for apps at scale" link beneath.
  • Pricing table: a full-width grid with #DADCE0 row rules, #02BFA6 check glyphs, #F92953 cross glyphs and #000000 at 67% alpha cell text at 8px/24px padding.
  • Beta chip: background: #f3e8fd, border: 1px solid #f3e8fd, color: #681da8, 9px/500, in the AI concierge panel's header.
  • Docs sidebar: background: #f1f3f4, 14px/500 nav items at 20px line-height, with a #E88000 active state and #DADCE0 section rules.
  • "On this page" rail: a right-hand column with a 3px #E88000 left rule (--devsite-toc-border) and 14px/500 links.
  • AI concierge panel: a right-hand drawer with an #E8F0FE header, a chat surface, a BETA chip and a Sign in button - the only component that is a product surface rather than documentation.
  • Skip link: position: fixed; top: 4px; left: 12px; padding: 10px, slid off-screen and restored on :focus.
  • Focus ring: outline: 3px solid var(--focus); outline-offset: 4px, where --focus is #1D6DA7 in light and #91CEFF in dark.

Do's and Don'ts

  • Do keep the two-typeface split. Google Sans for headings, labels, buttons and nav; Roboto for body. Swapping them is the fastest way to make the site look like a generic devsite theme again.
  • Do keep black text on the orange CTA. #000 on #F57C00 is 7.77:1 and white is 2.70:1. It is the single most counter-intuitive decision in the palette and it is correct.
  • Do keep the dark hero band. #1E1E1E at 16.7:1 with white is what makes the orange read as an accent rather than a warning, and it is on every marketing page.
  • Do keep the three oranges apart. #F57C00 fills, #FF9100 lines and selected tabs, #E88000 nav markers. Collapsing them into one loses the whole hierarchy.
  • Do keep the ink alpha ladder. #000 at 90% / 67% / 60% alpha and #041E49 at 62% are four distinct text roles, and the blue-grey #63748E is the only ink in the system with hue in it.
  • Do keep the two-layer Material shadow. rgba(60,64,67,.3) 0 1px 2px plus rgba(60,64,67,.15) 0 1px 3px 1px is the whole elevation vocabulary on the documentation pages, and --devsite-card-box-shadow: none keeps the cards flat.
  • Do swap the pricing links to #0B57D0. #1E88E5 is 3.68:1 across 49 links and the 6.39:1 documentation blue is already in the same stylesheet.
  • Do put #202124 on the Spark card. White on #039BE5 is 3.08:1 and #202124 on the same blue is 5.23:1 - one value change fixes the pricing page's most visible failure.
  • Do darken the docs sub-nav's active orange or move it onto the dark band. #E88000 is 5.97:1 on #1E1E1E and 2.79:1 on white, and the guides page uses it on white.
  • Don't add a third font family. There are exactly two sans faces and two mono faces, and every one of them has a declared job.
  • Don't add letter-spacing. Three values exist in the entire stylesheet, at 0.15px, 0.25px and 0.5px. Google Sans does not need it.
  • Don't add a container radius above 20px. The ladder is 2 / 4 / 8 / 20 / 100 and the hero's own corners are square.
  • Don't add a shadow to a card. The documentation cards are explicitly box-shadow: none and separated by a 1px border; the pricing cards are flat colour.
  • Don't use the orange as text on a light background. 2.70:1 as #F57C00, 2.79:1 as #E88000. It is a fill and a line colour, never a text colour, except on #1E1E1E.
  • Don't drop the full Noto fallback chain. Both font tokens carry Noto Sans, Noto Sans JP, Noto Sans KR, Noto Naskh Arabic, Noto Sans Thai, Noto Sans Hebrew and Noto Sans Bengali, and the language selector is a first-class header control.

如何在 AI agent 里使用 Firebase 的 DESIGN.md

  1. 获取 Firebase 的 DESIGN.md

    请求 https://www.designmdpro.app/websites/firebase.md,或通过 DesignMD Pro MCP 服务器调用 get_design_md 工具(slug 为 "firebase"),即可获取公开版本;完整 tokens 需要 Pro。

  2. 保存为项目根目录下的 DESIGN.md

    把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。

  3. 让 agent 按它来写

    例如:“按照 DESIGN.md 里的 Firebase 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”

Firebase 风格 AI Prompt

参照 Firebase(firebase.google.com)的 DESIGN.md 设计系统,用它的视觉风格构建一个响应式落地页。

## 配色
- primary: #1A73E8
- ink: #202124
- beta: #681DA8
- grey: #5F6368
- link: #0B57D0
- rule: #CFD8DC
- amber: #E88000
- blaze: #2E3A4D

## 字体
- body: "Roboto", 16px, weight 400, line-height 1.5, letter-spacing 0.2px
- code: "Roboto Mono", 14px, weight 400, line-height 1.43, letter-spacing 0px
- mono: "JetBrains Mono", 14px, weight 400, line-height 1.07, letter-spacing 0px
- brand: "Google Sans", 22px, weight 400, line-height 1.45, letter-spacing 0px

## 圆角
- lg: 12px
- md: 8px
- sm: 4px

## 规则
- 背景、文字、边框和强调色只使用上面列出的颜色,不要自创新颜色。
- 所有文字都使用上面的字体样式,并保持它们的字号与字重层级。
- 圆角和间距取自上面的尺度,让各组件保持一致。

完整 DESIGN.md:https://www.designmdpro.app/websites/firebase.md
在 V0 Prompt 生成器中自定义 →

常见问题

Firebase 的主色是什么?

Firebase 的品牌主色是蓝色(#1A73E8),其 DESIGN.md 共定义了 33 个颜色 token。

Firebase 用的是什么字体?

Firebase 的主要字体是 Roboto 和 Roboto Mono。

Roboto 是免费字体吗?

是的。Roboto 是免费开源字体,可在 Google Fonts 获取。

如何在 Tailwind CSS 或 shadcn/ui 中使用 Firebase 的设计 token?

本页公开了 Firebase 的主色 #1A73E8。生成完整的 Tailwind 或 shadcn 主题需要完整的 DESIGN.md,可通过 DesignMD Pro 获取。

这份 Firebase DESIGN.md 是官方的吗?

不是。这份文件由 DesignMD Pro 从 firebase.google.com 的公开页面提取,与 Firebase 无关联,也未获其认可。

Firebase 的 DESIGN.md 最近一次更新是什么时候?

当前版本 1.0.0 提取于 2026年11月29日。

Firebase 及其商标归各自所有者所有。DesignMD Pro 是独立项目,与 Firebase 无任何关联,亦未获其认可;本 DESIGN.md 提取自其公开网站,仅供参考。