跳至主要內容
NASA CODE

NASA CODE DESIGN.md 設計系統與風格指南

Developer ToolsProv1.0.0 (最新)
code.nasa.gov•關聯於 2026年12月2日 上午04:00•審核 Bestony

code.nasa.gov is NASA's portal for finding open source software projects.

Pro 網站

你可以免費閱讀 NASA CODE 的完整設計敘述與最多 8 色主色票。升級 Pro 即可取得全部 44 個設計 Token、完整 DESIGN.md 原始檔下載與 1 個歷史版本。

顯示 8 / 9 個色彩
淺色 (100%)
Aa 測試範例#FFFFFF
ink
rgb(255, 255, 255)
淺色 (100%)
Aa 測試範例#FFFFFF
on-dark
rgb(255, 255, 255)
淺色 (100%)
Aa 測試範例#FFFFFF
primary
rgb(255, 255, 255)
深色 (1%)
Aa 測試範例#0A121D
surface
rgb(10, 18, 29)
淺色 (72%)
Aa 測試範例#DDDDDD
ink-soft
rgb(221, 221, 221)
淺色 (56%)
Aa 測試範例#C1C6CC
ink-faint
rgb(193, 198, 204)
深色 (1%)
Aa 測試範例#0A121D
on-primary
rgb(10, 18, 29)
深色 (2%)
Aa 測試範例#212121
surface-alt
rgb(33, 33, 33)
取得完整色票、CSS variables 與 DESIGN.md 原始碼

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

設計指南

Overview

code.nasa.gov is NASA's open source software portal — "Find Open Source Software Projects from NASA". It's a dark government listing page: near-black #0a121d/#212121 surfaces, white #ffffff and gray #dddddd text, and the ArcaMajora3 NASA display family — Heavy for project headings (14px with 2px tracking), Bold for the logo with an extreme 28px letter-spacing "CODE.NASA.GOV". Body is plain sans-serif 14px. No radii, utilitarian layout.

Colors

  • ink/primary white #ffffff; ink-soft #dddddd; ink-faint #c1c6cc.
  • surface #0a121d/#212121 near-black dark pages; on-primary #0a121d.

Typography

  • ArcaMajora3 Bold 400 for the tracked uppercase logo; ArcaMajora3 Heavy 700 for headings.
  • sans-serif 400/700 for body and links — 12–14px.

Layout

778px container; long repository list (247k px page) of project rows.

Elevation & Depth

Flat dark page; no cards or shadows; no radii.

Shapes

4px minimal radii, circles.

Motion & Micro-interaction

150ms ease hovers.

Voice & Content Strategy

Government-technical voice: "CODE.NASA.GOV", project names "CODE-A Software Framework For Control and Observation In Distributed Environments", "Java Pathfinder (JPF)".

Components

  • button-primary/panel-dark/repo-row — white button, dark panels, repository rows.
  • heading-logo/heading-section/heading-item/body-text/ text-faint/link-bold — type roles.

Do's and Don'ts

  • Do keep ArcaMajora3 + sans-serif pairing.
  • Do keep the near-black dark surfaces.
  • Do keep the extreme tracked uppercase logo style.
  • Do keep the repository-list structure.
  • Do keep white/#dddddd text only.
  • Don't introduce color accents.
  • Don't use light backgrounds.
  • Don't add card shadows.
  • Don't use rounded corners.
  • Don't exceed the utilitarian government aesthetic.

如何在 AI Agent 中使用 NASA CODE 的 DESIGN.md

  1. 取得 NASA CODE 的 DESIGN.md

    存取 https://www.designmdpro.app/websites/nasa-code.md 或透過 DesignMD Pro MCP 伺服器以 slug "nasa-code" 呼叫 get_design_md 工具以取得公開版本。完整 token 集合需訂閱 Pro。

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

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

  3. 請你的 Agent 遵循該規範

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

NASA CODE 風格 AI 提示詞

請依照 NASA CODE(code.nasa.gov) 的 DESIGN.md 設計系統,以相同的視覺風格建構一個響應式到達頁。

## 色彩
- ink: #FFFFFF
- on-dark: #FFFFFF
- primary: #FFFFFF
- surface: #0A121D
- ink-soft: #DDDDDD
- ink-faint: #C1C6CC
- on-primary: #0A121D
- surface-alt: #212121

## 字型
- body-md: "sans-serif", 14px, weight 400, line-height 20px, letter-spacing 0px
- display-lg: "ArcaMajora3-Bold", 26.6px, weight 400, line-height 39.9px, letter-spacing 28px
- heading-md: "ArcaMajora3-Heavy", 18px, weight 700, line-height 20px, letter-spacing 2px

## 圓角
- sm: 4px
- circle: 9999px

## 規則
- 背景、文字、邊框與強調色僅使用上述色彩,請勿自行發明新顏色。
- 所有文字皆套用上述字型樣式,並維持其字級與字重層級。
- 圓角與間距請取自上述比例尺,確保各元件外觀一致。

完整 DESIGN.md:https://www.designmdpro.app/websites/nasa-code.md
在 v0 提示詞產生器中自訂 →

常見問題

NASA CODE 的主色是什麼?

NASA CODE 的品牌主色為 白色(#FFFFFF),其 DESIGN.md 共定義了 9 個色彩 tokens。

NASA CODE 使用什麼字型?

NASA CODE 的主要字型為 ArcaMajora3-Bold 與 ArcaMajora3-Heavy。

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

本頁已公開 NASA CODE 的主色(#FFFFFF)。產生完整的 Tailwind 或 shadcn 主題需要完整的 DESIGN.md,可透過 DesignMD Pro 取得。

這份 NASA CODE DESIGN.md 是官方發布的嗎?

不是。此檔案由 DesignMD Pro 擷取自公開的 code.nasa.gov 網站,與 NASA CODE 無任何關聯亦未獲其背書。

NASA CODE 的 DESIGN.md 最後一次更新是什麼時候?

版本 1.0.0 擷取於 2026年12月2日。

NASA CODE 及其商標均歸各自所有者所有。DesignMD Pro 為獨立專案,與 NASA CODE 無任何關聯亦未獲其背書;此 DESIGN.md 擷取自公開網站,僅供參考。