NASA CODE DESIGN.md 设计系统与风格规范
Developer ToolsPro 专属v1.0.0 (最新)code.nasa.gov is NASA's portal for finding open source software projects.
当前可免费阅读 NASA CODE 的完整设计叙述与最多 8 色主色板。升级 Pro 即可获取全部 44 个设计 Token、完整 DESIGN.md 源码下载及 1 个历史版本。
升级 DesignMD Pro,复制全部颜色的 :root CSS 变量、查看组件配色引用并下载完整源文件。
设计规范
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/primarywhite#ffffff;ink-soft#dddddd;ink-faint#c1c6cc.surface#0a121d/#212121near-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/
#ddddddtext 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
获取 NASA CODE 的 DESIGN.md
请求 https://www.designmdpro.app/websites/nasa-code.md,或通过 DesignMD Pro MCP 服务器调用 get_design_md 工具(slug 为 "nasa-code"),即可获取公开版本;完整 tokens 需要 Pro。
保存为项目根目录下的 DESIGN.md
把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。
让 agent 按它来写
例如:“按照 DESIGN.md 里的 NASA CODE 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”
NASA CODE 风格 AI Prompt
参照 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 Prompt 生成器中自定义 →常见问题
NASA CODE 的主色是什么?
NASA CODE 的品牌主色是白色(#FFFFFF),其 DESIGN.md 共定义了 9 个颜色 token。
NASA CODE 用的是什么字体?
NASA CODE 的主要字体是 ArcaMajora3-Bold 和 ArcaMajora3-Heavy。
如何在 Tailwind CSS 或 shadcn/ui 中使用 NASA CODE 的设计 token?
本页公开了 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 提取自其公开网站,仅供参考。