风格手册

克制暗黑科技风

用中性黑曜石灰、锐利的 1px 微光边和精准字阶,为开发者工具与 SaaS 建立克制的暗色界面。

  • 克制暗黑
  • 微光细边
  • 开发者工具
  • 低眩光
全球 API 遥测演示数据
可用率

99.98%

p99 延迟

143 ms

健康

近期请求

  • GET/v1/health20043 ms
  • GET/v1/projects20092 ms
  • POST/v1/events201143 ms
API 遥测样例 · 全球可用率与 p99 延迟
适合的项目
开发者工具、API 与云基础设施、可观测性面板、AI 编程平台、项目管理和专业效率软件。
适配度较低的项目
长文阅读媒体、暖色生活品牌、亲子内容以及以打印为主的文档工具。

前后对比

同一份 API 可观测性简报的两种示例布局。两版使用相同的演示指标和请求追踪数据。

切换到「应用前」,查看同一简报下的初始布局。

RelayScope查看演示

看清每一次请求。

监控 API 可用率,定位慢请求,并沿调用链从边缘节点追到服务。

查看演示阅读文档
全球 API 遥测演示数据
可用率

99.98%

p99 延迟

143 ms

健康

近期请求

  • GET/v1/health20043 ms
  • GET/v1/projects20092 ms
  • POST/v1/events201143 ms
  • 监控延迟

    找出导致 p99 延迟变化的端点。

  • 跟踪调用链

    看一次请求把时间花在了哪里。

  • 检查请求

    结合调用链查看各环节返回的状态码。

  1. 三阶炭灰确定层级

    画布用 #0B0C0E,面板用 #15171B,上层区域提亮到 #1D2026。让每一层深浅都有用途。

  2. 用 1px 细线分界

    用 8% 白色边线分隔相邻面板,顶部增加极轻的内侧反光。

  3. 让主次信息保持单色

    以柔白区分操作,以等宽数字对齐指标。绿点只标示 99.98% 可用率旁的健康状态。

对比提示词

Build a dark-mode landing page hero and product telemetry preview for an API observability platform that tracks global uptime, p99 latency, and error traces in real time. Include a minimal navbar, concise hero with two CTAs, a live uptime/latency preview card (`99.98%`), and a 3-column feature grid.

风格特征

黑曜石灰阶与微光边线
用三阶中性炭灰区分画布、面板和浮层,辅以 1px 半透明白线。
低眩光排版与等宽数字
柔白标题使用 500–600 字重。延迟、可用率和快捷键使用等宽数字。
单色操作与语义状态
主按钮用柔白实色,绿色和琥珀色分别留给健康与告警。
克制圆角与紧凑布局
控件用 6px 圆角,面板用 8–10px。用请求日志和延迟图等产品信息组织功能区。
快速而安静的反馈
悬停时在 120–160ms 内提亮边线或底面,键盘聚焦时保留清晰轮廓。

设计变量

  • 黑曜石底色#0B0C0E

    网站主画布

  • 炭灰面板#15171B

    卡片、图表和代码面板

  • 提亮底色#1D2026

    菜单、悬停和上层面板

  • 细边线#272A30

    1px 面板边缘与分隔线

  • 柔白墨色#E5E7EB

    主标题、读数和主操作

  • 次级灰#8A8F98

    正文、图注和次级图标

  • 状态绿#22C55E

    健康与在线状态

  • 配色比例90 / 8 / 2

    黑曜石与墨色 · 边线与面板 · 语义状态色

Tailwind v4

@theme {
  /* Precision Dark SaaS palette */
  --color-canvas: #0B0C0E;
  --color-surface: #15171B;
  --color-surface-elevated: #1D2026;
  --color-border: #272A30;
  --color-ink: #E5E7EB;
  --color-ink-muted: #8A8F98;
  --color-signal: #22C55E;
  --color-border-strong: #3A3F47;

  /* Typography */
  --font-sans: "Inter", "Geist", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Geist Mono", ui-monospace, monospace;

  /* Panel geometry */
  --radius-control: 6px;
  --radius-panel: 8px;
}

.panel-specular {
  background-color: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.07);
}

区块蓝图

  1. 实景面板首屏

    左侧放核心陈述与黑白操作,右侧是带微光细边的遥测面板,导航下沿用 1px 分割线。

    查看区块提示词

    Build a dark SaaS hero on #0B0C0E with a 56px header, a 1px white/8 divider, a #E5E7EB medium-weight H1, and #8A8F98 supporting copy. Add a solid gray-white CTA with dark text and a #15171B telemetry panel with a subtle 1px inset top edge, 99.98% sample uptime, and monochrome latency bars.

  2. 遥测功能网格

    用 12–16px 间距组织三列面板,每项以迷你图表、调用追踪或日志展示功能。

    查看区块提示词

    Create a three-column telemetry grid of #15171B panels with an 8px radius, 1px low-opacity borders, and a restrained inset top edge. Place a small working-style chart, short CLI snippet, or latency table over each title and description. Keep charts and controls monochrome.

  3. 单色定价对比

    用 1px 线分隔档位,推荐项用稍亮的炭灰底和一枚柔白实色按钮建立层级。

    查看区块提示词

    Design a three-tier dark pricing matrix with 1px dividers and tabular prices. Highlight the recommended tier with a #1B1E24 fill, a slightly stronger border, and a solid #E5E7EB button. Keep the layout flat and stable.

常见问题与修正

常见做法推荐做法
紫蓝光团和渐变标题叠在一起。用纯平黑曜石画布与柔白实色标题。
偏蓝的深灰底配荧光蓝按钮。用中性炭灰底和黑白主操作。
纯黑底上铺超粗纯白字。在 #0B0C0E 上使用 #E5E7EB 的 500–600 字重。
叠加大面积毛玻璃模糊面板。用实色灰阶、1px 细线与顶部微光分层。
每个功能都配上彩色发光图标。用单色读数、图表或细线图标说明功能。

获取设计 Skill

复制或下载这套规则,再把你的页面需求交给编程助手。

---
name: precision-dark-saas-ui
description: Design and build restrained, high-craft dark-mode SaaS and developer interfaces using neutral obsidian surface steps, 1px specular hairline borders, low-glare off-white typography, and monochrome primary controls. Use for developer tools, API platforms, observability dashboards, and prosumer productivity apps while strictly eliminating neon glows and purple AI gradients.
---

# Precision Dark SaaS UI Design System

Craft calm, high-precision dark interfaces inspired by modern developer tools and native desktop software. Depth is communicated through subtle neutral charcoal surface steps and crisp 1px translucent specular borders—never through purple/cyan gradients, neon glows, or blurry glassmorphism.

## 1. Neutral Obsidian Surface Hierarchy
- **Avoid Pure Black & Bluish Slate:** Never use `#000000` as the main canvas and avoid bluish `slate-900/950` tints. Use neutral carbon/zinc dark grays:
  - Canvas Background: `#0B0C0E`
  - Primary Panel / Card Surface: `#15171B`
  - Elevated / Hover / Popover Surface: `#1D2026`
- **1px Specular Hairline Borders:** Because outer drop shadows disappear on dark canvases, define edges using `1px solid rgba(255, 255, 255, 0.08)` (or `#272A30`) paired with a subtle top catch-light (`box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.07)`).
- **Tight Engineered Geometry:** Keep `border-radius` restrained at `6px` for controls (buttons, inputs, badges) and `8px` to `10px` for content panels and UI frames. Avoid puffy `rounded-2xl` or `rounded-3xl` cards.

## 2. Low-Glare Typography & Tabular Data
- **Font Pairing:** Use a crisp geometric/neo-grotesque sans-serif (`Inter` or `Geist`) for UI copy and headings, paired strictly with monospace (`JetBrains Mono` or `Geist Mono`) for telemetry numbers, API snippets, status codes, and keyboard shortcuts (`⌘K`).
- **Controlled Weight & Brightness (Prevent OLED Halation):**
  - Primary Ink: `#E5E7EB` (off-white—avoid blinding `#FFFFFF` across large text blocks).
  - Secondary / Muted Ink: `#8A8F98`.
  - Subtle / Placeholder Ink: `#5A606A`.
  - Hero H1: `44px` to `60px` on desktop, `font-weight: 500` or `600` (never `800` extra-bold), `line-height: 1.04`, `letter-spacing: -0.03em`.
  - Section H2: `28px` to `36px`, `font-weight: 500`, `line-height: 1.15`, `letter-spacing: -0.025em`.
  - Body Copy: `14px` to `15px`, `line-height: 1.6`, max width `58ch`, ink `#8A8F98`.
- **Tabular Numerals:** Apply `font-variant-numeric: tabular-nums` on every metric, uptime percentage, latency readout, and pricing table.

## 3. Monochrome Controls & Semantic Color Discipline
- **90%+ Achromatic Interface:** Keep layout surfaces, headlines, icons, and navigation strictly monochrome.
- **High-Contrast Monochrome Primary CTA:** Style the primary button as solid `#E5E7EB` background with `#0B0C0E` dark ink (`font-weight: 500`, `rounded-[6px]`), transitioning to `#FFFFFF` on hover. Style secondary buttons with `#15171B` surface, `1px solid rgba(255, 255, 255, 0.12)` border, and `#E5E7EB` text.
- **Semantic Color Only (<2% Area):** Reserve accent colors strictly for live functional signals—such as `#22C55E` for healthy/online status dots, `#F59E0B` for degraded latency, or `#EF4444` for errors. Never color hero headlines, decorative icons, or card outlines with neon accents.

## 4. Product-Forward Component Patterns
- **Real UI Artifacts Over Generic Icons:** In hero and feature Bento cards, showcase crisp miniature product visuals (monochrome bar charts, compact log streams, CLI snippets, latency readouts) instead of abstract 3D art or pastel icon circles.
- **Icon Discipline:** Use thin `1.5px` stroke monochrome icons (`16px` to `18px`) colored `#8A8F98`, stepping up to `#E5E7EB` only on active or hover states.
- **Compact Information Density:** Maintain disciplined spacing (`12px–16px` grid gaps, `20px–24px` panel padding) so the interface feels engineered and high-density without visual clutter.

## 5. Snappy Native-App Motion
- Keep transitions crisp and understated (`120ms–160ms`, `ease-out`).
- Communicate hover states by subtly stepping up border opacity (`rgba(255,255,255,0.08)` to `rgba(255,255,255,0.18)`) or surface tone (`#15171B` to `#1D2026`).
- Never use mouse-following neon spotlight overlays, pulsing glow shadows, bouncy spring animations, or floating idle loops.

## 6. Hard Bans (Anti-Slop Guardrails)
Do NOT generate any of the following:
- Purple, violet, pink, or cyan radial glow blobs behind hero sections or cards.
- Gradient-filled text (`bg-clip-text text-transparent`) on headlines or metrics.
- Glowing colored borders or colored drop shadows (`shadow-indigo-500/30`, `shadow-cyan-500/20`).
- Heavy frosted glassmorphism (`backdrop-blur-xl` over colorful meshes).
- Rainbow or neon icon circles inside feature cards.
- Rounded pill-shaped primary CTAs with sparkle emojis.

## 7. Pre-Output Verification Checklist
Before finishing the code, inspect and fix these 5 checks:
1. **Glow & Gradient Audit:** Search for `bg-gradient-`, `from-purple`, `from-indigo`, `blur-3xl`, and colored `shadow-`. Remove every instance.
2. **Surface Contrast Audit:** Confirm canvas (`#0B0C0E`), panels (`#15171B`), and hairlines (`rgba(255,255,255,0.08)`) form clear, quiet separation without using pure `#000000`.
3. **Typography Halation Audit:** Verify headings use `#E5E7EB` with `font-medium` or `font-semibold` rather than bloated `font-extrabold` `#FFFFFF`.
4. **CTA Restraint Audit:** Confirm the primary CTA is crisp monochrome off-white (`#E5E7EB` bg / `#0B0C0E` text) and chromatic accents appear only on functional status indicators.
5. **Mobile Density Audit:** Check that telemetry Bento cards and pricing columns stack cleanly below `768px` with consistent `1px` borders and zero horizontal chart overflow.

保存到项目中的 Skill 目录。.claude/skills/precision-dark-saas-ui/SKILL.md.cursor/skills/precision-dark-saas-ui/SKILL.md.agents/skills/precision-dark-saas-ui/SKILL.md

参考资料与延伸阅读

  • Refero

    观察仪表盘与开发者工具的产品界面。

  • Lapa Ninja

    对照深色 SaaS 的首屏结构与产品展示。

  • Landing Love

    看产品预览如何用短促动效表达状态变化。

  • Siteinspire

    寻找使用深色中性底面的克制技术产品网站。

相关风格手册

  • 建筑制图网格风

    以 1px 测绘细线、十字准星与等宽标注,组织技术产品的复杂信息。

  • 瑞士网格排版

    用鲜明的字号落差、左对齐的 12 列网格和黑白红对比组织版面。