跳至主要内容
VS Code

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

Developer ToolsPro 专属v1.0.0 (最新)
code.visualstudio.com•关联于 2026年12月2日 04:00•审核 Bestony

Visual Studio Code landing page with dark editor aesthetic and Microsoft blue.

Pro 专属网站

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

显示 8 / 8 个颜色
深色 (14%)
Aa 示例文字#0069CC
primary
rgb(0, 105, 204)
浅色 (100%)
Aa 示例文字#FFFFFF
surface
rgb(255, 255, 255)
深色 (9%)
Aa 示例文字#545458
ink-body
rgb(84, 84, 88)
浅色 (63%)
Aa 示例文字#C9D1D9
ink-code
rgb(201, 209, 217)
浅色 (100%)
Aa 示例文字#FFFFFF
on-primary
rgb(255, 255, 255)
深色 (1%)
Aa 示例文字#191A1B
surface-dark
rgb(25, 26, 27)
浅色 (70%)
Aa 示例文字#FFD700
syntax-yellow
rgb(255, 215, 0)
深色 (2%)
Aa 示例文字#202122
surface-editor
rgb(32, 33, 34)
获取完整色板、CSS 变量与 DESIGN.md 源码

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

设计规范

Overview

code.visualstudio.com is the VS Code landing page with a developer-tool look: system-ui/SF Pro display type + SF Mono for code, dark editor palette (#191a1b/#202122/#262626), Microsoft blue #0069cc/#519aba/#0078d4 accents, syntax colors (#ffd700, #c586c0, #c9d1d9), 2–10px radii, and deep layered elevation shadows.

Colors

  • #0069cc / #519aba / #0078d4 — Microsoft blues.
  • #191a1b / #202122 / #262626 — dark editor surfaces.
  • #1b1b1d / #545458 / #8c8c8c — light-surface ink greys.
  • #c9d1d9 — code grey.
  • #ffd700 / #c586c0 — syntax yellow/purple.
  • #ffffff / #f0f0f0 — light surfaces.

Typography

  • system-ui / SF Pro Display — 36px/600 display with -0.95px tracking.
  • SF Mono — 13px code/terminal text.

Layout

Nav (Features, Release notes, Blog, Resources + Download for Mac), hero "Code with precision, collaborate with or orchestrate a team of agents", feature sections with editor screenshots. Developer marketing.

Elevation & Depth

Deep shadows rgba(0,0,0,0.55) 0 0 0 1px, rgba(0,0,0,0.42) 0 24px 56px -18px on dark panels; rgba(0,0,0,0.2) 0 3px 10px -2px on light cards.

Shapes

2–10px radii, pill elements.

Motion & Micro-interaction

0.15s link underline; 0.7s opacity reveal; 0.3s visibility transitions.

Voice & Content Strategy

Editor copy: "Build what comes next", "Code with precision", "Collaborate with agents", "Build alongside you".

Components

  • button-primary / button-dark — blue/dark CTAs.
  • editor-window / code-block — dark code surfaces.
  • card / card-dark — light/dark feature cards.
  • nav-item — plain nav.

Do's and Don'ts

  • Do keep the dark-editor + blue + mono-code developer look.
  • Don't soften into consumer-SaaS styling — the IDE aesthetic is the brand.

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

  1. 获取 VS Code 的 DESIGN.md

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

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

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

  3. 让 agent 按它来写

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

VS Code 风格 AI Prompt

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

## 配色
- primary: #0069CC
- surface: #FFFFFF
- ink-body: #545458
- ink-code: #C9D1D9
- on-primary: #FFFFFF
- surface-dark: #191A1B
- syntax-yellow: #FFD700
- surface-editor: #202122

## 字体
- body: "-apple-system", 16px, weight 400, line-height 24px
- mono: "SF Mono", 13px, weight 400, line-height 18px

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

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

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

常见问题

VS Code 的主色是什么?

VS Code 的品牌主色是蓝色(#0069CC),其 DESIGN.md 共定义了 8 个颜色 token。

VS Code 用的是什么字体?

VS Code 的主要字体是 SF Mono。

SF Mono 有什么免费替代字体?

SF Mono 是商用字体,Google Fonts 上的相近免费替代有 JetBrains Mono。

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

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

这份 VS Code DESIGN.md 是官方的吗?

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

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

当前版本 1.0.0 提取于 2026年12月2日。

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