Codex

深色底色,聚焦实时加密数据A precise dark canvas for live crypto data

深色主题加密 / Web3crypto data API homepage深色技术感简约网格布局高对比原网页 codex.io ↗ · 2026-10-12 采集 · 1440×900 桌面端
Codex 首屏

Codex以近黑色界面呈现加密数据API,用醒目的荧光黄绿按钮和克制的绿色数据强调重点。细边框、紧凑标签与实时感产品面板,让丰富的技术能力显得清晰易读。

North star · Keep the dark canvas quiet and let clear grids, readable data, and lime actions establish hierarchy.

The page is anchored by a near-black canvas (#181818), which keeps attention on bright white and soft gray typography, fine gray dividers, and product interface previews. The primary action uses vivid lime (#e5ff5d) with dark text, while mint green appears sparingly in market data and status cues; amber and other accents are secondary details rather than core brand surfaces. Geist carries the headline, navigation, labels, and body copy, with tight display tracking and frequent uppercase micro-labels. Satoshi adds a softer supporting voice in some feature headings and data cards, while JetBrains Mono makes code samples legible as code. The layout alternates centered hero content with left-aligned section introductions and dense, sharply divided grids. Product screenshots, charts, token marks, and code panels provide the visual evidence; they sit inside dark frames instead of competing with the brand palette. Spacing is comfortable around major sections but compact within dashboards and tables.

配色

点色块复制色值。用途说明来自对页面的实测位置(背景、文字、描边、按钮)与截图判读。

品牌色
强调色
表层色
中性色
功能色
页面底色 · Codex Black表层 · Graphite Line表层 2 · Panel Charcoal主文字 · Paper White次要文字 · Soft Silver弱文字 · Quiet Gray描边 · Graphite Line强调 · Market Mint强调 2 · Pale Mint强调 3 · Data Amber
文字背景对比度WCAG
#ffffff Paper White#181818 Codex Black17.76:1AAA
#ffffff Paper White#3d4045 Graphite Line10.41:1AAA
#ffffff Paper White#1f1f1f Panel Charcoal16.48:1AAA
#d1d1d1 Soft Silver#181818 Codex Black11.63:1AAA
#d1d1d1 Soft Silver#3d4045 Graphite Line6.82:1AA
#d1d1d1 Soft Silver#1f1f1f Panel Charcoal10.79:1AAA

字体

字号阶梯:Perfect Fourth(比例约 1.347,正文 14px)。示例用免费替代字体渲染,数值为实测。

Aa 设计

Geist

网络字体 · 字重 400 / 500 · 占比 62%
免费替代:Inter

Primary display, navigation, body copy, labels, and buttons

Aa 设计

Manrope

网络字体 · 字重 400 · 占比 21%
免费替代:Manrope

Supporting sans-serif text in secondary interface areas

Aa 设计

satoshi

网络字体 · 字重 500 / 400 · 占比 9%
免费替代:Manrope

Some feature headings and wallet/data card text

Aa 设计

JetBrains Mono

网络字体 · 字重 400 · 占比 8%
免费替代:JetBrains Mono

Code examples and API response snippets

角色示例字号字重行高字距
特大标题
Oversized hero statement and prominent page-level display copy.
Codex
62px5000.92-0.04em
一级标题
Primary hero heading.
Codex
56px5000.92-0.04em
二级标题
Major section headings across the long landing page.
Codex
48px5001-0.04em
三级标题
Feature headings and product panel titles.
Codex
32px5001.40
四级标题
Secondary card headings and nested feature titles.
Codex
28px5001.50
正文
Supporting descriptions, feature copy, and standard interface text.
The quick brown fox 敏捷的狐狸
14px4001.4-0.02em
辅助文字
Uppercase micro-labels, badges, and compact metadata.
The quick brown fox 敏捷的狐狸
12px5001.33-0.02em
按钮
Compact action labels, typically uppercase.
The quick brown fox 敏捷的狐狸
10px4001-0.02em
导航
Uppercase primary navigation labels.
The quick brown fox 敏捷的狐狸
12px5001.33-0.02em
代码
Monospace API queries and structured response examples.
const style = 1;
11.5px4001.750

间距与布局

基准单位 4px · 密度:适中

64px版块间距
12px元素间距
20px卡片内边距
1278px内容最大宽度
1px
4px
6px
8px
10px
11px
12px
13px
15px
16px
17px
20px
24px
26px
32px
56px

The content sits within a broad centered frame, measured at a 1278px maximum width, with a fine outer boundary visible in the screenshots. The hero centers its message over atmospheric media; subsequent sections use left-aligned introductions, paired feature panels, and multi-column grids. Dividers define the transitions between modules more than contrasting section backgrounds do. The measured rhythm uses generous gaps between sections and tighter spacing inside cards and dense data displays. Content density varies deliberately: open headline areas lead into compact, information-rich product demonstrations.

圆角与层次

按钮 · 4px
卡片 · 20px
图片 · 50%
徽标 · 4px
导航 · 4px
链接 · 4px
lg · card
xl · card

The design is mostly flat: fine borders and hairlines establish card edges, section divisions, and table structure. Dark panels separate content subtly from the canvas instead of relying on conspicuous shadows. The pricing area introduces a brighter featured card against darker neighboring plans; shadows are restrained and used to distinguish layered cards where needed.

组件

下面的预览按实测的按钮、输入框、徽标、卡片样式重建(字体用替代字体)。

Primary CTA

Lime-filled button with dark text, uppercase Geist label, compact padding, and a small icon on prominent start-building actions.

Section introduction

Large left-aligned heading paired with a short muted description, often with the title wrapping across two lines.

Feature grid

Dark feature panels divided by thin borders, with compact headings, short copy, and small lime navigation markers.

Data showcase

Framed chart, wallet, or token interface previews on dark surfaces, mixing muted labels with mint market indicators.

Code panel

Dark API example panel with JetBrains Mono query and response text plus restrained syntax color.

Pricing cards

Three-column pricing comparison with dark side cards and a visually emphasized light central plan.

Navigation

Compact uppercase labels on a dark bar, Codex wordmark at left, and a bright lime Get Started action at right.

Imagery · The hero uses a subdued, dark, globe-like digital asset visual behind centered copy, faded so the headline and lime CTA remain dominant. Product illustrations are primarily interface captures or rendered mockups: token lists, charts, wallet balances, code, and data visualizations. Token logos and partner marks add color within those demonstrations, not as defining brand colors. Imagery is framed in dark panels and cropped to support the grid.

页面版块

共 14 个版块,按页面从上到下排列,每个都标了类型、布局和交互套路。

该做与不该做

✓ 该做

  • Use #181818 as the dominant page canvas.
  • Reserve #e5ff5d for primary actions and small emphasis.
  • Use thin borders to organize grids and panels.
  • Keep headings crisp, compact, and high contrast.
  • Treat charts and interface previews as dark product evidence.
  • Use monospace only for code and API responses.

✕ 不该做

  • Do not turn the page into a bright, light-themed layout.
  • Do not use lime as a large background band.
  • Do not add heavy shadows to every card.
  • Do not let mockup colors redefine the brand palette.
  • Do not make section layouts overly spacious or sparse.
  • Do not use decorative display type in place of the measured sans-serif system.

给 AI 的提示词

想快速出一个同风格的新页面,把这段话连同 DESIGN.md 一起发给 AI。

Build a new Codex-style page as a dark, technical interface with a #181818 Codex Black canvas and compact, deliberate hierarchy. Use #e5ff5d Signal Lime for the primary CTA and restrained interface emphasis; use #3d4045 Graphite Line for fine dividers, #1f1f1f Panel Charcoal for subtle card surfaces, and #e8e8e8 Mist White for readable copy. Use Geist or Inter for headings, navigation, and body text, with tightly tracked display headings and uppercase micro-labels. Use JetBrains Mono for code examples. Structure content in a centered wide frame, alternating concise section introductions with bordered grids, product previews, and code panels. Keep market greens inside data details. Favor flat surfaces and hairline borders; use imagery as dark, framed product evidence rather than decoration.

相似风格

Codex 设计系统 — 配色、字体与 DESIGN.md | Design DNA