Skip to content

ORBIT design system

Style guide

Every colour comes from one token file (src/app/globals.css). The panels below render the same components in both themes at once, and the values and contrast ratios are read from that file.

This page’s theme

Typography

Inter, self-hosted. 400 body, 500 labels, 600 headings, buttons and navigation, 700 hero.

Hero

48 / 700 / -0.02em / 1.1

Everything connected. One place.

Heading 1

32 / 600 / -0.02em / 1.2

Everything connected. One place.

Heading 2

24 / 600 / -0.015em / 1.2

Everything connected. One place.

Heading 3

18 / 600 / -0.01em / 1.2

Everything connected. One place.

Body

16 / 400 / 1.5

Everything connected. One place.

Body small

14 / 400 / 1.4

Everything connected. One place.

UI label

14 / 500

Everything connected. One place.

Button and nav

16 / 600 / no tracking

Everything connected. One place.

Colour

Both palettes, side by side. Ratios show text tokens against the background they are used on.

Light

Brand

  • primary#CC4410
  • primary-hover#B8380B
  • primary-pressed#A8330A
  • on-primary#FFFFFF
  • primary-text#B8380B
  • primary-surface#FCEDE6

Surfaces

  • bg#FFFFFF
  • surface#EFEFEF
  • surface-hover#E2E2E2
  • border#CDCDCD
  • overlayrgba(0, 0, 0, 0.2)
  • card-edgergba(0, 0, 0, 0.06)

Text

  • text#111111
  • text-secondary#5F5F5F
  • text-muted#767676

Status

  • error#CC0000
  • on-error#FFFFFF
  • error-surface#FDECEC
  • success#008753
  • success-text#00704A
  • success-surface#E6F4EE
  • warning#8A5A00
  • warning-surface#FDF4E3
  • focus#CC4410

Pin controls

  • save-bg#FFFFFF
  • save-text#111111

Contrast (AA needs 4.5)

  • text on bg18.88 AA
  • text on surface16.42 AA
  • text-secondary on bg6.39 AA
  • text-secondary on surface5.55 AA
  • text-muted on bg4.54 AA
  • on-primary on primary4.77 AA
  • on-primary on primary-hover5.82 AA
  • on-primary on primary-pressed6.68 AA
  • primary-text on bg5.82 AA
  • primary-text on primary-surface5.10 AA
  • error on bg5.89 AA
  • error on error-surface5.15 AA
  • on-error on error5.89 AA
  • success on bg4.57 AA
  • success-text on success-surface5.43 AA
  • warning on warning-surface5.43 AA
  • save-text on save-bg18.88 AA

Dark

Brand

  • primary#CC4410
  • primary-hover#C43D0C
  • primary-pressed#B8380B
  • on-primary#FFFFFF
  • primary-text#FF7A45
  • primary-surface#2E1C15

Surfaces

  • bg#111111
  • surface#1E1E1E
  • surface-hover#2C2C2C
  • border#3A3A3A
  • overlayrgba(0, 0, 0, 0.4)
  • card-edgergba(255, 255, 255, 0.08)

Text

  • text#FFFFFF
  • text-secondary#B8B8B8
  • text-muted#8A8A8A

Status

  • error#FF5C5C
  • on-error#111111
  • error-surface#331616
  • success#3FBF8F
  • success-text#3FBF8F
  • success-surface#12291F
  • warning#E8B54A
  • warning-surface#2E2410
  • focus#FF7A45

Pin controls

  • save-bg#1E1E1E
  • save-text#FFFFFF

Contrast (AA needs 4.5)

  • text on bg18.88 AA
  • text on surface16.67 AA
  • text-secondary on bg9.52 AA
  • text-secondary on surface8.40 AA
  • text-muted on bg5.47 AA
  • on-primary on primary4.77 AA
  • on-primary on primary-hover5.22 AA
  • on-primary on primary-pressed5.82 AA
  • primary-text on bg7.30 AA
  • primary-text on primary-surface6.28 AA
  • error on bg6.24 AA
  • error on error-surface5.47 AA
  • on-error on error6.24 AA
  • success on bg8.15 AA
  • success-text on success-surface6.65 AA
  • warning on warning-surface8.10 AA
  • save-text on save-bg16.67 AA

Buttons

Pills, 40 or 48 px tall, 16 px semibold labels. Hover and press take 150 ms.

Light theme

Dark theme

Inputs and feedback

Light theme

Hint text uses the secondary colour.

NeutralLiveNot publishedBlockedHighlighted
Saved. Your page has been updated.

Dark theme

Hint text uses the secondary colour.

NeutralLiveNot publishedBlockedHighlighted
Saved. Your page has been updated.

Cards

Image-first, no border, 16 px radius. On hover the image darkens with the overlay token and Save, Share and Open appear.

Light theme

Hover state

Resting state

Loading skeleton

Surface card

1,250

Page views

Dark theme

Hover state

Resting state

Loading skeleton

Surface card

1,250

Page views

Shape, space and elevation

Card radius

16 px

Sheet radius

32 px

Pill

9999 px

Floating shadow

Menus and pin controls only

8

16

24

32

40

48

64