MongoDB
MongoDB 采用深青色英雄区与明亮品牌绿按钮,并在文档与产品内容中切换到纯白表面,通过双模式界面统一数据库品牌的生命力、专业度与技术清晰度。

primary
#00ED64
--color-primary
primary deep
#00B545
--color-primary-deep
primary pressed
#008C34
--color-primary-pressed
on primary
#001E2B
--color-on-primary
brand green
#00ED64
--color-brand-green
brand green dark
#00684A
--color-brand-green-dark
brand green mid
#00A35C
--color-brand-green-mid
brand green soft
#C3F0D2
--color-brand-green-soft
brand teal deep
#001E2B
--color-brand-teal-deep
brand teal
#003D4F
--color-brand-teal
brand teal mid
#00684A
--color-brand-teal-mid
accent purple
#7B3FF2
--color-accent-purple
accent orange
#FA6E39
--color-accent-orange
accent pink
#F06BB8
--color-accent-pink
accent blue
#3D4F9F
--color-accent-blue
semantic warning bg
#FFF8E0
--color-semantic-warning-bg
semantic warning text
#946F3F
--color-semantic-warning-text
canvas
#FFFFFF
--color-canvas
canvas dark
#001E2B
--color-canvas-dark
surface
#F9FBFA
--color-surface
surface soft
#F4F7F6
--color-surface-soft
surface feature
#E3FCEF
--color-surface-feature
hairline
#E1E5E8
--color-hairline
hairline soft
#ECEFF1
--color-hairline-soft
hairline strong
#C1CCD6
--color-hairline-strong
hairline dark
#1C2D38
--color-hairline-dark
ink
#001E2B
--color-ink
charcoal
#1C2D38
--color-charcoal
slate
#3D4F5B
--color-slate
steel
#5C6C7A
--color-steel
stone
#7C8C9A
--color-stone
muted
#A8B3BC
--color-muted
on dark
#FFFFFF
--color-on-dark
on dark muted
#A8B3BC
--color-on-dark-muted
字体家族
Euclid Circular A / Source Code Pro
字重
备注
2 个字体家族,完整字阶、行高和字距见 DESIGN.md
品牌设计系统的完整 Markdown 文档
MongoDB — Style Reference
> MongoDB carries a strong dual-mode visual identity — dark deep-teal hero bands with bright MongoDB green ({colors.brand-green}) CTAs paired with stark white documentation surfaces. The signature green pill button is unmistakable across product, pricing, learning, and AI use-case surfaces. The system uses Euclid Circular A as its display face, anchors a 3-tier pricing comparison (Free / Flex / Dedicated), and presents extensive course catalogs in card grids with colored category tags. Coverage spans homepage, Atlas product page, Community Edition, MongoDB University, AI use cases, and pricing.
**Theme:** light
**Source website:** [https://www.mongodb.com/](https://www.mongodb.com/)
Use the live official website to compare and validate this extracted snapshot. The current source website remains authoritative.
Tokens — Colors
| Name | Value | Token | Role |
|---|---|---|---|
| primary | `#00ed64` | `--color-primary` | primary role extracted from the source design |
| primary deep | `#00b545` | `--color-primary-deep` | primary deep role extracted from the source design |
| primary pressed | `#008c34` | `--color-primary-pressed` | primary pressed role extracted from the source design |
| on primary | `#001e2b` | `--color-on-primary` | on primary role extracted from the source design |
| brand green | `#00ed64` | `--color-brand-green` | brand green role extracted from the source design |
| brand green dark | `#00684a` | `--color-brand-green-dark` | brand green dark role extracted from the source design |
| brand green mid | `#00a35c` | `--color-brand-green-mid` | brand green mid role extracted from the source design |
| brand green soft | `#c3f0d2` | `--color-brand-green-soft` | brand green soft role extracted from the source design |
| brand teal deep | `#001e2b` | `--color-brand-teal-deep` | brand teal deep role extracted from the source design |
| brand teal | `#003d4f` | `--color-brand-teal` | brand teal role extracted from the source design |
| brand teal mid | `#00684a` | `--color-brand-teal-mid` | brand teal mid role extracted from the source design |
| accent purple | `#7b3ff2` | `--color-accent-purple` | accent purple role extracted from the source design |
| accent orange | `#fa6e39` | `--color-accent-orange` | accent orange role extracted from the source design |
| accent pink | `#f06bb8` | `--color-accent-pink` | accent pink role extracted from the source design |
| accent blue | `#3d4f9f` | `--color-accent-blue` | accent blue role extracted from the source design |
| semantic warning bg | `#fff8e0` | `--color-semantic-warning-bg` | semantic warning bg role extracted from the source design |
| semantic warning text | `#946f3f` | `--color-semantic-warning-text` | semantic warning text role extracted from the source design |
| canvas | `#ffffff` | `--color-canvas` | canvas role extracted from the source design |
| canvas dark | `#001e2b` | `--color-canvas-dark` | canvas dark role extracted from the source design |
| surface | `#f9fbfa` | `--color-surface` | surface role extracted from the source design |
| surface soft | `#f4f7f6` | `--color-surface-soft` | surface soft role extracted from the source design |
| surface feature | `#e3fcef` | `--color-surface-feature` | surface feature role extracted from the source design |
| hairline | `#e1e5e8` | `--color-hairline` | hairline role extracted from the source design |
| hairline soft | `#eceff1` | `--color-hairline-soft` | hairline soft role extracted from the source design |
| hairline strong | `#c1ccd6` | `--color-hairline-strong` | hairline strong role extracted from the source design |
| hairline dark | `#1c2d38` | `--color-hairline-dark` | hairline dark role extracted from the source design |
| ink | `#001e2b` | `--color-ink` | ink role extracted from the source design |
| charcoal | `#1c2d38` | `--color-charcoal` | charcoal role extracted from the source design |
| slate | `#3d4f5b` | `--color-slate` | slate role extracted from the source design |
| steel | `#5c6c7a` | `--color-steel` | steel role extracted from the source design |
| stone | `#7c8c9a` | `--color-stone` | stone role extracted from the source design |
| muted | `#a8b3bc` | `--color-muted` | muted role extracted from the source design |
| on dark | `#ffffff` | `--color-on-dark` | on dark role extracted from the source design |
| on dark muted | `#a8b3bc` | `--color-on-dark-muted` | on dark muted role extracted from the source design |
Tokens — Typography
Euclid Circular A · `--font-primary`
Source Code Pro · `--font-family-2`
Type Scale
| Role | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|
| hero-display | 72px | 1.1 | -1.5px | `--text-hero-display` |
| display-lg | 56px | 1.15 | -1px | `--text-display-lg` |
| heading-1 | 48px | 1.2 | -0.5px | `--text-heading-1` |
| heading-2 | 36px | 1.25 | -0.5px | `--text-heading-2` |
| heading-3 | 28px | 1.3 | 0 | `--text-heading-3` |
| heading-4 | 22px | 1.35 | 0 | `--text-heading-4` |
| heading-5 | 18px | 1.4 | 0 | `--text-heading-5` |
| subtitle | 18px | 1.5 | 0 | `--text-subtitle` |
| body-md | 16px | 1.55 | 0 | `--text-body-md` |
| body-md-medium | 16px | 1.55 | 0 | `--text-body-md-medium` |
| body-sm | 14px | 1.5 | 0 | `--text-body-sm` |
| body-sm-medium | 14px | 1.5 | 0 | `--text-body-sm-medium` |
| caption | 13px | 1.4 | 0 | `--text-caption` |
| caption-bold | 13px | 1.4 | 0 | `--text-caption-bold` |
| micro | 12px | 1.4 | 0 | `--text-micro` |
| micro-uppercase | 11px | 1.4 | 1px | `--text-micro-uppercase` |
| button-md | 14px | 1.3 | 0 | `--text-button-md` |
| code-md | 14px | 1.55 | 0 | `--text-code-md` |
Tokens — Spacing & Shapes
**Density:** comfortable
Spacing Scale
| Name | Value | Token |
|---|---|---|
| xxs | 4px | `--spacing-xxs` |
| xs | 8px | `--spacing-xs` |
| sm | 12px | `--spacing-sm` |
| md | 16px | `--spacing-md` |
| lg | 20px | `--spacing-lg` |
| xl | 24px | `--spacing-xl` |
| xxl | 32px | `--spacing-xxl` |
| xxxl | 40px | `--spacing-xxxl` |
| section-sm | 48px | `--spacing-section-sm` |
| section | 64px | `--spacing-section` |
| section-lg | 96px | `--spacing-section-lg` |
| hero | 120px | `--spacing-hero` |
Border Radius
| Name | Value | Token |
|---|---|---|
| xs | 4px | `--radius-xs` |
| sm | 6px | `--radius-sm` |
| md | 8px | `--radius-md` |
| lg | 12px | `--radius-lg` |
| xl | 16px | `--radius-xl` |
| xxl | 24px | `--radius-xxl` |
| full | 9999px | `--radius-full` |
Layout
Components
button primary
**Role:** button primary component
button primary pressed
**Role:** button primary pressed component
button primary disabled
**Role:** button primary disabled component
button secondary
**Role:** button secondary component
button on dark
**Role:** button on dark component
button secondary on dark
**Role:** button secondary on dark component
button ghost
**Role:** button ghost component
button link
**Role:** button link component
card base
**Role:** card base component
card feature
**Role:** card feature component
card product deploy
**Role:** card product deploy component
card feature dark
**Role:** card feature dark component
card course
**Role:** card course component
card cert
**Role:** card cert component
pricing card
**Role:** pricing card component
pricing card featured
**Role:** pricing card featured component
text input
**Role:** text input component
text input focused
**Role:** text input focused component
search pill
**Role:** search pill component
search pill large
**Role:** search pill large component
pill tab
**Role:** pill tab component
pill tab active
**Role:** pill tab active component
segmented tab
**Role:** segmented tab component
segmented tab active
**Role:** segmented tab active component
badge green
**Role:** badge green component
badge green soft
**Role:** badge green soft component
badge purple
**Role:** badge purple component
badge orange
**Role:** badge orange component
badge popular
**Role:** badge popular component
promo banner
**Role:** promo banner component
hero band dark
**Role:** hero band dark component
hero platform card
**Role:** hero platform card component
cta banner dark
**Role:** cta banner dark component
code block
**Role:** code block component
code mockup card
**Role:** code mockup card component
comparison table
**Role:** comparison table component
comparison row
**Role:** comparison row component
service tile
**Role:** service tile component
why card
**Role:** why card component
customer testimonial card
**Role:** customer testimonial card component
logo wall item
**Role:** logo wall item component
faq accordion item
**Role:** faq accordion item component
footer region
**Role:** footer region component
footer link
**Role:** footer link component
Do's and Don'ts
Do
Don't
Layout
Use the documented spacing scale and component geometry as the implementation baseline. Validate responsive composition and current page rhythm against [the live source](https://www.mongodb.com/).