跳至主要內容
NASA Open Data Portal

NASA Open Data Portal DESIGN.md 設計系統與風格指南

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

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

設計指南

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 伺服器以 slug "nasa-open-data-portal" 呼叫 get_design_md 工具以取得公開版本。完整 token 集合需訂閱 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 提示詞

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

常見問題

NASA Open Data Portal 的主色是什麼?

NASA Open Data Portal 的品牌主色為 紅色(#D83933),其 DESIGN.md 共定義了 15 個色彩 tokens。

NASA Open Data Portal 使用什麼字型?

NASA Open Data Portal 的主要字型為 Public Sans Web 與 DB Mono。

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

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