View as Markdown

Design language · Light

Sunburst

Neo-brutal and playful. Cream and butter yellows, black ink, two-pixel strokes, hard ink offsets and a grotesk with its mono.

The Whiteboard template starts in it.

01Surfaces and ink

Canvas17.3:1 AAA#fff8e3
Sidebar15.8:1 AAA#ffeeb0
Card18.0:1 AAA#fffdf5
Subtle fill16.3:1 AAA#fff1c4
HairlineNo text#141414
Accent12.7:1 AAA#ffd21f
Ink17.3:1 AAA#141414
Muted ink9.2:1 AAA#4a4331
Success#b6f04a
Warning#ff9f43
Danger#ff7eb6
Info#62dbe8

02Typography

Space GroteskInterface
Space MonoIDs, keys and code
NewsreaderEditorial
  • DisplayShip the whole idea40 · 700 · 44 / -1.2
  • Page titleQuarterly planning26 · 700 · 32 / -0.6
  • SectionUpcoming work20 · 700 · 26 / -0.3
  • Card titleBilling and invoices16 · 700 · 22
  • BodyPlain words, short lines, a steady rhythm.14 · 400 · 20
  • ControlSave changes14 · 600 · 20
  • MetaUpdated 2 minutes ago12 · 400 · 16
  • Figure$1,284,920.4032 · 700 · 38 / -0.8
  • Codeinv_2Kx9 · 0x4f2a13 · 400 · 20
Regular 400
Medium 500
Semibold 600
Bold 700

03Signature

AgentResearchWaiting on you

Draft the spring launch brief

  • Read last quarter’s notes
  • Pull signups by week
  • Write the first draft
  • Send it to the launch channel

The agent wants to post the brief to #launch, where 14 people will see it.

04Elevation and shadow

Controls2px 2px 0 0 rgb(20 20 20 / 1)
Cards0 0 0 2px rgb(20 20 20 / 1), 2px 2px 0 2px rgb(20 20 20 / 1)
Floating0 0 0 2px rgb(20 20 20 / 1), 3px 3px 0 2px rgb(20 20 20 / 1)
Menus0 0 0 2px rgb(20 20 20 / 1), 4px 4px 0 2px rgb(20 20 20 / 1)
Modals0 0 0 2px rgb(20 20 20 / 1), 6px 6px 0 2px rgb(20 20 20 / 1)

05Geometry and density

Tag 4
Control 8
Card 10
Popover 12
Modal 12
Pill ∞
xs
sm
md
lg
xl
xxl
Sidebar240px
Row40px
Control36px
Header56px
Content1120px
Prose680px
Hairline2px
Stroke2px

06Iconography

AppAgentChatLanesRunShell

16px icons, 2.5px stroke

07Motion

cubic-bezier(0.3, 1.3, 0.5, 1)

  • Hover120ms
  • Menu180ms
  • Modal240ms
  • Drawer300ms

Use Sunburst

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

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