跳至主要內容
VS Code

VS Code DESIGN.md 設計系統與風格指南

Developer ToolsProv1.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 variables 與 DESIGN.md 原始碼

升級 DesignMD Pro,將所有色彩複製為 :root CSS variables、檢視元件 Token 引用關係,並下載完整原始檔。

設計指南

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 伺服器以 slug "vs-code" 呼叫 get_design_md 工具以取得公開版本。完整 token 集合需訂閱 Pro。

  2. 將其儲存為專案根目錄中的 DESIGN.md

    將檔案放在 AGENTS.md 或 CLAUDE.md 旁,讓 Claude Code、Cursor、Codex 與其他程式開發 Agent 能夠讀取。

  3. 請你的 Agent 遵循該規範

    例如:「請依照 DESIGN.md 中的 VS Code 設計系統建構設定頁面,使用其中的色彩、字型與間距 tokens。」

VS Code 風格 AI 提示詞

請依照 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 提示詞產生器中自訂 →

常見問題

VS Code 的主色是什麼?

VS Code 的品牌主色為 藍色(#0069CC),其 DESIGN.md 共定義了 8 個色彩 tokens。

VS Code 使用什麼字型?

VS Code 使用 SF Mono 作為主要字型。

SF Mono 有哪些免費替代字型?

SF Mono 為商用字型。Google Fonts 上相近的免費替代字型為 JetBrains Mono。

如何在 Tailwind CSS 或 shadcn/ui 中使用 VS Code 的 design tokens?

本頁已公開 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 擷取自公開網站,僅供參考。