跳到正文
UIGrammer
EN 中文

风格 · 05

深色界面

深色界面 = 用炭灰而非藏蓝;说清是暖黑还是冷黑,才不会沦为糟糕的反色。

炭黑,不是海军蓝。写明暖黑还是冷黑。

整页 整体
卡片
按钮
顶栏
标签

深色界面是什么?

深色界面是光照选择。点名炭黑还是蓝黑、描边对比,以及数据上的强调色。

元素

  • 炭黑底
  • 低对比描边
  • 强调落在数据上

把这个词写进 Prompt。

典型色

  • #1D1D1F
  • #F5F5F7
  • #00C2B3

用在

  • 仪表盘
  • 开发工具
  • 聊天
Prompt 配方

[组件] + 深色界面 + 炭黑 + 发丝线 + 强调色

BUILD - Build a complete Dark UI product dashboard homepage. Not a marketing landing, not a card, not an isolated navbar, not tabs. - Domain from Use on: Dashboards first. Devtools and Chat live inside the shell (Usage, Chat in the rail), not as extra marketing pages. STYLE - Dark UI: charcoal ground, low-contrast hairlines, accent on data - Shell #1D1D1F (charcoal, never navy or slate-900). Rail #161618. Tiles #2C2C2E - Type #F5F5F7, mute #A1A1A6, hairline rgba(255,255,255,0.08) - Data and New query use #00C2B3; query button type #0A0A0A. Plus Jakarta Sans + IBM Plex Mono for KPI and status. No Inter LAYOUT - Full-bleed app shell, not a 1120px marketing container - Left sidebar ~72px: North, Overview, Usage, Chat - Main column: workspace top bar with search + New query, four KPI tiles, a chart well, a three-row request table, status bar - Nav is chrome of the dashboard, not a floating bar SECTIONS 1. KPI row: Tokens 12.4m, Latency 410ms, Cost $1.2k, Errors 0.4% — teal numbers on #2C2C2E tiles 2. Chart well for throughput 3. Three-row request table (north-api / chat-prod / usage) 4. Status bar, not a marketing footer: Connected · us-east · v2.4 INTERACTION - Hover: hairline teal #00C2B3. No lift, no blur, no glow blobs TECHNICAL - React, Tailwind CSS, restyle shadcn/ui — not default shadcn. One homepage route (the dashboard home). DON'Ts - No purple, violet, indigo, fuchsia. No Inter. No emoji icons - No navy, no Tailwind slate as the night. No "Start free" hero. Do not output a headline plus two empty marketing cells - Do not treat this as a landing page with a sidebar sticker MOTION - Hover: brightness lift over 140ms ease-out. Glow spreads at 200ms. - Avoid large travel in dark UI; motion reads twice as loud against black. - Panel enter: fade with a 4px offset, 180ms. - prefers-reduced-motion: opacity only.