跳至主要内容
NASA Open Data Portal

NASA Open Data Portal DESIGN.md 设计系统与风格规范

EducationPro 专属v1.0.0 (最新)
data.nasa.gov•关联于 2026年12月2日 04:00•审核 Bestony

NASA’s public dataset catalogue: a Bootstrap build in Public Sans and Inter with black navigation, a full-bleed orbital hero, and one red call to action.

Pro 专属网站

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

显示 8 / 15 个颜色
深色 (16%)
Aa 示例文字#6E6E6E
badge
rgb(110, 110, 110)
深色 (18%)
Aa 示例文字#D83933
primary
rgb(216, 57, 51)
浅色 (100%)
Aa 示例文字#FFFFFF
surface
rgb(255, 255, 255)
深色 (12%)
Aa 示例文字#206B82
secondary
rgb(32, 107, 130)
深色 (16%)
Aa 示例文字#2E759E
badge-info
rgb(46, 117, 158)
浅色 (100%)
Aa 示例文字#FFFFFF
on-inverse
rgb(255, 255, 255)
浅色 (100%)
Aa 示例文字#FFFFFF
on-primary
rgb(255, 255, 255)
深色 (3%)
Aa 示例文字#333333
on-surface
rgb(51, 51, 51)
获取完整色板、CSS 变量与 DESIGN.md 源码

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

设计规范

Overview

This is a federal open-data portal wearing a Nasa skin. The chassis is Bootstrap 5 with the US Web Design System's Public Sans, customised with a black navigation bar, a full-bleed orbital hero photograph, and exactly one red button. The personality is institutional and plain-spoken: it opens with the blunt question "Want NASA data?", answers it in one sentence, and then gets out of the way.

The page is split into two moods that share one grid. Above the fold is a dark, cinematic hero — Earth's limb and a spacecraft filling the viewport, white 72px display type over it — which exists to make the catalogue feel like a mission rather than a database. Below it the site switches to a light, utilitarian catalogue: white surfaces, #333333 body copy, hairline dividers, and a filter sidebar of grey tag pills. The transition is a hard cut, not a gradient, and it happens roughly 820px down the homepage.

Emotionally the register is confident and unhurried. There is no marketing copy, no testimonial, no pricing and no animation anywhere; the persuasion is entirely the photograph. That restraint is the design's main gesture, and it is what separates a government portal from a product landing page.

Colors

The palette is small, and every value in it has a job.

  • Primary (#D83933): NASA red, and it appears exactly once on the homepage — the Data Catalog button. It is the only saturated colour in the interface and the only red that is not the NASA logo, which is what makes it function as an action colour rather than as branding.
  • Secondary (#206B82): the Bootstrap primary, a desaturated teal used for links on light surfaces. It never appears as a fill, only as underlined text.
  • Surface (#FFFFFF) / Surface Muted (#F6F6F6): the catalogue pages. White for the page and cards, a barely-there grey for inset regions such as the organisation filter.
  • On Surface (#333333): all body and heading copy on light surfaces — Bootstrap's gray-900, and the only text colour the catalogue uses.
  • Inverse Surface (#000000): the navigation bar and the hero's search field. Pure black, not a dark grey, which is what gives the header its hard edge against the photograph.
  • Inverse Surface High (#17171B): the homepage's dark body band, a hair off pure black so the hero photograph still reads as the brightest thing on the page.
  • Inverse Surface Higher (#1C1C20): the footer, one more step up.
  • On Inverse (#FFFFFF) / On Inverse Muted (#B9B9BB): white for headings and primary copy on dark, a cool light grey for footer links and secondary lines. Hierarchy on dark surfaces is carried almost entirely by this two-step.
  • Badge (#6E6E6E): the fully-rounded tag pills in the catalogue sidebar (mars - 1321, nasa - 1086), grey with white counts.
  • Badge Info (#2E759E): the HTML format badge on dataset listings; the BIN badge beside it stays grey.
  • Neutral Action (#6C757D): Bootstrap's secondary grey, used for the catalogue's search submit button — deliberately quieter than the red CTA.

White on #D83933 measures 4.6:1 — it clears the 4.5:1 AA threshold, but only just, so the pairing should not be reused for smaller or lighter text.

Typography

Two families, split cleanly by role. Inter sets every heading and display string; Public Sans — the US Web Design System face — sets all body, label, navigation and input text. Both are served as real webfonts (Public Sans Regular and Bold, Inter as a variable split, plus DB Mono for code), so the system renders identically everywhere. Helvetica Neue sits in the fallback stack and Font Awesome 6 Solid supplies the icons.

  • Display (Inter 72px / 800, line-height 1.0): the hero headline, set tight and negatively tracked. It is the largest type on the site by a factor of two and appears once.
  • Heading Large (48px / 600) and Heading Medium (36px / 700): the catalogue and about-page section titles. Note the weight inversion — the smaller heading is bolder than the larger one, which keeps the 36px level from disappearing into body copy.
  • Heading Small (24px / 600) and Heading Extra Small (21px / 600): the dark-band section headings and the footer column titles.
  • Body Large (Public Sans 16px / 400, line-height 1.65): the hero paragraph and all long-form copy on light surfaces.
  • Body Medium (Public Sans 14px / 400, line-height 1.2): links, footer copy and dense list text.
  • Label Large (Public Sans 22px / 700): the CTA caption — bold, tightly led, and the only label set this large.
  • Label Medium (Public Sans 14px / 700, line-height 1.8): badges and the secondary button.
  • Navigation (Public Sans 18px / 600): the header links, loosely led at 1.8 so the bar breathes.
  • Input (Public Sans 15px / 400): both search fields.

The scale is rem-based and several computed sizes land on fractions (14.4px, 17.6px, 22.08px, 24.5px); the values above are the rounded design intent. Weights stop at three — 400 for body, 600 for navigation and mid headings, 700/800 for display and labels — and there is no italic anywhere.

Layout

A 1440px viewport with a 1400px outer container and a 1040px content column on the homepage; the catalogue widens to 1200px to fit its sidebar and results list. Everything sits on Bootstrap's 12-column grid with an 8px base spacing unit, and the values actually used cluster at 8, 12, 15, 16, 20, 24, 25 and 32px.

The homepage is three stacked bands: an 81px black header, a full-bleed hero running to roughly 820px, and a dark body band closing with the footer. The hero's text block is constrained to about 500px and hard-left-aligned at a 40px margin — the photograph occupies the right two-thirds entirely unoccluded, which is the composition's main decision.

The catalogue page inverts the proportion: a 344px filter sidebar on the left (organisations, groups, tags, formats — each a grey pill with a white count) and a results column on the right holding a search field, an Order by select, a result count, and a list of datasets separated by dotted hairlines. The About page is the simplest of the three: a single bordered white panel, 4px radius, holding a stack of section headings and bulleted lists.

Elevation & Depth

Almost completely flat. There are no drop shadows on any major surface — the only shadows in the entire capture are Bootstrap's default inset highlights on form controls (rgba(0,0,0,.075) at 1px) and a 4px focus ring. Depth is conveyed by three means, in order of importance:

  1. Hard colour edges — the black header against the photograph, the white catalogue against its grey insets.
  2. Hairline borders — #DDDDDD and #DEE2E6 1px rules separate list rows, panels and sidebar sections.
  3. Full-bleed photography — the hero image is the only thing on the site with any tonal depth, and it is content rather than chrome.

On the dark bands the layering is purely tonal: #000000 header, #17171B body, #1C1C20 footer, with #2E2E32 as the hover/overlay step above them.

Shapes

Corner radius is small and consistent, and it is the clearest signal of the Bootstrap chassis:

  • 10px — the largest radius in use, on the hero's inset elements and the catalogue's larger containers.
  • 5px — the red CTA, the one bespoke radius on the site.
  • 4px — the default Bootstrap step: panels, the secondary button, format badges, list insets.
  • 50% / fully rounded — the tag pills and avatars, the only circular shapes.
  • 0px — the header, the search inputs, and every full-bleed band.

There are no diagonal cuts, no blobs and no asymmetric shapes anywhere. Icons are Font Awesome glyphs with no container.

Motion & Micro-interaction

Motion is limited to two recipes, both short and both inherited from Bootstrap rather than designed:

  • State change (200ms, ease) — applied to twelve elements, covering hover and focus feedback on links, buttons and form controls. Fast enough to read as immediate.
  • Surface (400ms, ease) — applied to nine elements, used for the slower show/hide behaviour of dropdowns and collapsible filter groups.

Nothing loops, nothing parallaxes, and nothing animates on scroll. The hero photograph is static. Both durations are short enough that no prefers-reduced-motion handling is strictly necessary, though the 400ms recipe should be the one suppressed if it is added.

Voice & Content Strategy

  • Tone of voice: Plain, factual, and mildly wry. The hero asks a question (Want NASA data?) and answers it in one sentence without a single superlative. Marketing language is absent by design — this is a government portal, and the copy reads like documentation rather than advertising.
  • Capitalization: Sentence case throughout, including headings (What is Data.nasa.gov?, Who Benefits?, Want to submit a catalog entry?). Product names keep their canonical casing — Data.nasa.gov, NASA, KenKen-style proper nouns are not present, but Api.nasa.gov and Code.nasa.gov are written as the brands spell themselves.
  • Terminology: "Dataset" is the canonical unit, never "record", "file" or "entry". "Catalog" refers to the whole repository. Mirrors and alternates are not euphemised.
  • Button and action labels: Short verb phrases naming the destination — Data Catalog, Explore NASA Data, Take me to the visualization page. No generic Submit, Click here or Learn more.
  • Numbers, dates, and units: Counts are formatted with thousands separators (36,538 datasets found, 5.00 for the review average). Tag counts are bare integers inside pills. No dates or units appear in the interface copy.
  • Empty, loading, and error states: The catalogue has a real empty state — "There are no Groups that match this search" — which states the condition plainly and offers no apology or illustration.

Components

  • Header (header) — 81px, pure black, full width, flat. NASA meatball and the NASA Open Data Portal wordmark at left; Datasets and About as 18px/600 links with the current page underlined; a black search input with a #444447 hairline at right. No border, no shadow, no scroll behaviour.
  • Call to action (cta) — the site's only red element: #D83933, 5px radius, 16px/32px padding, 54px tall, roughly 168px wide, with a 22px/700 white Public Sans label. It appears exactly once on the homepage.
  • Link (link) — #206B82, underlined, 14px/400. Never used as a fill and never set in red.
  • Search input (search-input / search-input-light) — two variants of the same 32px control: black-filled with white text and a #444447 border in the header, white-filled with #333333 text and a #CED4DA border in the catalogue. Both are square-cornered with 8px of left padding.
  • Secondary button (button-secondary) — Bootstrap grey #6C757D, 4px radius, 36px tall, carrying the catalogue's search submit.
  • Tag pill (tag-pill) — #6E6E6E, fully rounded, white 14px/700 label with the count set in the same pill. The sidebar is a vertical stack of these, separated by hairlines.
  • Format badge (badge-format) — small 4px-radius chips marking each dataset's available formats; #2E759E for HTML, grey for BIN.
  • Panel (panel) — #F6F6F6 inset with a 1px #DDDDDD border and 4px radius; used for the organisation filter and the About page's content card.
  • Footer (footer, footer-heading, footer-link) — #1C1C20 band with white headings, #B9B9BB links, and the NASA meatball plus "Follow NASA" social row at the bottom.
  • Inverse body (inverse-body) — the #17171B band below the hero, carrying the homepage's dark section copy in white 16px/400.
  • Code (code) — DB Mono at 14px, used for API and endpoint references.

Do's and Don'ts

  • Do keep the red CTA unique. One #D83933 button per view is what makes it read as the page's primary action; a second red button destroys the hierarchy instantly.
  • Do let the hero photograph run full-bleed and unoccluded on the right — the empty two-thirds is doing the work.
  • Do use the two-step dark hierarchy (#000000 → #17171B → #1C1C20) rather than shadows or borders to separate the header, body and footer.
  • Do set headings in Inter and body copy in Public Sans. Mixing the two within one block breaks the system's clearest rule.
  • Do keep tag pills fully rounded with the count inside the same pill.
  • Don't add drop shadows to panels or cards — the design has none, and the first one added will look like a bug.
  • Don't use the teal #206B82 as a fill. It is a link colour only, and it is deliberately quieter than the red CTA.
  • Don't set body copy below 14px, and don't raise the hero display above 72px — the gap between those two sizes is the whole type hierarchy.
  • Don't round the search inputs or the header; both are square by intent.

如何在 AI agent 里使用 NASA Open Data Portal 的 DESIGN.md

  1. 获取 NASA Open Data Portal 的 DESIGN.md

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

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

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

  3. 让 agent 按它来写

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

NASA Open Data Portal 风格 AI Prompt

参照 NASA Open Data Portal(data.nasa.gov)的 DESIGN.md 设计系统,用它的视觉风格构建一个响应式落地页。

## 配色
- badge: #6E6E6E
- primary: #D83933
- surface: #FFFFFF
- secondary: #206B82
- badge-info: #2E759E
- on-inverse: #FFFFFF
- on-primary: #FFFFFF
- on-surface: #333333

## 字体
- nav: "Public Sans Web", 18px, weight 600, line-height 1.8
- code: "DB Mono", 14px, weight 400, line-height 1.5
- title: "Inter", 17px, weight 600, line-height 1.2

## 圆角
- lg: 10px
- md: 5px
- sm: 4px

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

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

常见问题

NASA Open Data Portal 的主色是什么?

NASA Open Data Portal 的品牌主色是红色(#D83933),其 DESIGN.md 共定义了 15 个颜色 token。

NASA Open Data Portal 用的是什么字体?

NASA Open Data Portal 的主要字体是 Public Sans Web 和 DB Mono。

如何在 Tailwind CSS 或 shadcn/ui 中使用 NASA Open Data Portal 的设计 token?

本页公开了 NASA Open Data Portal 的主色 #D83933。生成完整的 Tailwind 或 shadcn 主题需要完整的 DESIGN.md,可通过 DesignMD Pro 获取。

这份 NASA Open Data Portal DESIGN.md 是官方的吗?

不是。这份文件由 DesignMD Pro 从 data.nasa.gov 的公开页面提取,与 NASA Open Data Portal 无关联,也未获其认可。

NASA Open Data Portal 的 DESIGN.md 最近一次更新是什么时候?

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

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