View as Markdown

Design language · Light

Paper

Warm off-white paper, umber-tinted rings, a calm blue and a narrow page made for writing. Headings can switch to a serif.

The Company brain template starts in it.

01Surfaces and ink

Canvas13.7:1 AAA#fbfaf7
Sidebar13.2:1 AAA#f7f6f2
Card14.3:1 AAA#ffffff
Subtle fill12.4:1 AAA#f1efea
HairlineNo text#ebe8e1
Accent5.9:1 AA#1c64b5
Ink13.7:1 AAA#2c2a25
Muted ink5.5:1 AA#69655c
Success#13723a
Warning#a34a0b
Danger#c4302b
Info#1d4ed8

02Typography

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

03Signature

Launch notes for the spring release. Add a table of what shipped:

  • TextPlain writing
  • HeadingA section title
  • To-do listTrack tasks
  • TableRows and columns
  • CalloutMake it stand out
  • PageNest a page

↑↓ to move, ↵ to pick

04Elevation and shadow

Controls0 1px 2px rgb(84 72 49 / 0.06)
Cards0 0 0 1px rgb(84 72 49 / 0.08), 0 1px 2px rgb(84 72 49 / 0.06)
Floating0 0 0 1px rgb(84 72 49 / 0.09), 0 3px 8px rgb(84 72 49 / 0.1)
Menus0 0 0 1px rgb(84 72 49 / 0.1), 0 3px 6px rgb(84 72 49 / 0.08), 0 9px 24px rgb(84 72 49 / 0.14)
Modals0 0 0 1px rgb(84 72 49 / 0.1), 0 5px 10px rgb(84 72 49 / 0.1), 0 15px 40px rgb(84 72 49 / 0.2)

05Geometry and density

Tag 4
Control 6
Card 8
Popover 10
Modal 12
Pill ∞
xs
sm
md
lg
xl
xxl
Sidebar240px
Row30px
Control28px
Header44px
Content900px
Prose708px
Hairline1px
Stroke1px

06Iconography

PageHeadingListQuoteTableImage

16px icons, 1.5px stroke

07Motion

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

  • Hover120ms
  • Menu180ms
  • Modal240ms
  • Drawer320ms

Use Paper

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

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