View as Markdown

Design language · Dark

Ink

Pure black and white. One-pixel rings instead of shadows, a single blue for focus and action, wide pages and a tall header.

The Agent studio template starts in it.

01Surfaces and ink

Canvas17.9:1 AAA#000000
Sidebar17.9:1 AAA#000000
Card16.9:1 AAA#0a0a0a
Subtle fill14.8:1 AAA#1a1a1a
HairlineNo text#1f1f1f
Accent7.2:1 AAA#5197ff
Ink17.9:1 AAA#ededed
Muted ink8.1:1 AAA#a1a1a1
Success#4ade80
Warning#fb923c
Danger#f87171
Info#60a5fa

02Typography

Inter VariableInterface
JetBrains Mono VariableIDs, keys and code
NewsreaderEditorial
  • DisplayShip the whole idea40 · 600 · 48 / -2
  • Page titleQuarterly planning24 · 600 · 32 / -0.96
  • SectionUpcoming work20 · 600 · 28 / -0.4
  • Card titleBilling and invoices16 · 600 · 24 / -0.2
  • BodyPlain words, short lines, a steady rhythm.14 · 400 · 20
  • ControlSave changes14 · 500 · 20
  • MetaUpdated 2 minutes ago12 · 400 · 16
  • Figure$1,284,920.4032 · 600 · 40 / -1.2
  • Codeinv_2Kx9 · 0x4f2a13 · 400 · 20
Regular 400
Medium 500
Semibold 600
Bold 700

03Signature

ReadyTighten cache headers on assetsmain · 9f2c1ab2m ago
BuildingAdd usage alerts to billingbilling-alerts · 41d0e7c5m ago
ErrorMove sessions to the edge storeedge-sessions · c83b55f1h ago

04Elevation and shadow

Controls0 0 0 0 rgb(0 0 0 / 0)
Cards0 0 0 1px rgb(255 255 255 / 0.14)
Floating0 0 0 1px rgb(255 255 255 / 0.14), 0 4px 12px rgb(0 0 0 / 0.5)
Menus0 0 0 1px rgb(255 255 255 / 0.16), 0 8px 24px rgb(0 0 0 / 0.6)
Modals0 0 0 1px rgb(255 255 255 / 0.18), 0 24px 64px rgb(0 0 0 / 0.8)

05Geometry and density

Tag 4
Control 6
Card 8
Popover 12
Modal 12
Pill ∞
xs
sm
md
lg
xl
xxl
Sidebar240px
Row40px
Control32px
Header64px
Content1200px
Prose720px
Hairline1px
Stroke1px

06Iconography

DeploymentBranchCommitDomainLogsRollback

16px icons, 1.5px stroke

07Motion

cubic-bezier(0.2, 0.8, 0.2, 1)

  • Hover120ms
  • Menu160ms
  • Modal220ms
  • Drawer300ms

Use Ink

Apply the StyleX themes to your app’s root, or copy the roles as CSS variables or JSON for anything else.

import { ink, inkScheme } from "./ui/uicontext/components/themes.stylex.ts"// every group ink sets, and the scheme it starts inh.div.attrs(sx(...ink, inkScheme)).children(app)