View as Markdown

Design language · Dark

Carbon

Carbon studio surfaces and an emerald brand. Mono for tables, IDs and queries, one-pixel borders and almost no lift.

The Workflow builder template starts in it.

01Surfaces and ink

Canvas15.4:1 AAA#161616
Sidebar16.0:1 AAA#121212
Card14.5:1 AAA#1c1c1c
Subtle fill12.9:1 AAA#262626
HairlineNo text#2e2e2e
Accent8.6:1 AAA#3ecf8e
Ink15.4:1 AAA#ededed
Muted ink7.1:1 AAA#a3a3a3
Success#4ade80
Warning#fb923c
Danger#f87171
Info#60a5fa

02Typography

Inter VariableInterface
JetBrains Mono VariableIDs, keys and code
NewsreaderEditorial
  • DisplayShip the whole idea32 · 500 · 38 / -0.6
  • Page titleQuarterly planning22 · 500 · 28 / -0.3
  • SectionUpcoming work17 · 500 · 24
  • Card titleBilling and invoices14 · 500 · 20
  • BodyPlain words, short lines, a steady rhythm.14 · 400 · 20
  • ControlSave changes13 · 400 · 18
  • MetaUpdated 2 minutes ago12 · 400 · 16
  • Figure$1,284,920.4026 · 500 · 32 / -0.4
  • Codeinv_2Kx9 · 0x4f2a13 · 400 · 20
Regular 400
Medium 500
Semibold 600
Bold 700

03Signature

accounts.sqlCommand Return

Run the query to see its rows.

Not run yet

04Elevation and shadow

Controls0 0 0 0 rgb(0 0 0 / 0)
Cards0 0 0 1px rgb(255 255 255 / 0.07)
Floating0 0 0 1px rgb(255 255 255 / 0.09), 0 2px 6px rgb(0 0 0 / 0.3)
Menus0 0 0 1px rgb(255 255 255 / 0.09), 0 4px 12px rgb(0 0 0 / 0.3)
Modals0 0 0 1px rgb(255 255 255 / 0.1), 0 8px 24px rgb(0 0 0 / 0.4)

05Geometry and density

Tag 4
Control 6
Card 8
Popover 8
Modal 10
Pill ∞
xs
sm
md
lg
xl
xxl
Sidebar256px
Row34px
Control30px
Header48px
Content1280px
Prose720px
Hairline1px
Stroke1px

06Iconography

DatabaseTableSQLAuthStorageLogs

16px icons, 1.5px stroke

07Motion

cubic-bezier(0.16, 1, 0.3, 1)

  • Hover100ms
  • Menu140ms
  • Modal200ms
  • Drawer280ms

Use Carbon

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

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