Skip to content

Style Guide

Color, typography, spacing, corner-radius, elevation, and motion standards used in the component set.

Color

Text uses primary, secondary, and tertiary. Actions and alerts use a ramp: default, hover, pressed, and a fade for backgrounds.

Blue

Default

--primary

Hover

--primary-hover

Pressed

--primary-pressed

Fade

--accent

Green

Default

--success

Hover

--success-hover

Pressed

--success-pressed

Fade

--success-subtle

Purple

Default

--live

Hover

--live-hover

Pressed

--live-pressed

Fade

--live-subtle

Orange

Default

--warning

Hover

--warning-hover

Pressed

--warning-pressed

Fade

--warning-subtle

Red

Default

--danger

Hover

--danger-hover

Pressed

--danger-pressed

Fade

--danger-subtle

Foundation

Card Background

#FFFFFF → #FAFCFF

Page Floor

--floor

Hover Highlight

--hover

Border

--border

Typography

Primary

--foreground

Secondary

--muted-foreground

Tertiary

--tertiary

Typography

Inter is the main font. Code snippets use Roboto Mono.

The quick brown fox jumps over the lazy dog.

18 Semi-Bold - 18px - weight 600

The quick brown fox jumps over the lazy dog.

16 Medium - 16px - weight 500

The quick brown fox jumps over the lazy dog.

14 Medium - 14px - weight 500

The quick brown fox jumps over the lazy dog.

14 Regular - 14px - weight 400

The quick brown fox jumps over the lazy dog.

12 Medium - 12px - weight 500

The quick brown fox jumps over the lazy dog.

12 Regular - 12px - weight 400

The quick brown fox jumps over the lazy dog.

10 Medium - 10px - weight 500

Spacing

Spacing tokens double in size at each level.

XS3px
S6px
M12px
L24px
XL48px

Corner Radius

Radius tokens double in size to start then increase in intervals of 4.

XS

2px

S

4px

M

8px

L

12px

Motion

Most state changes have a transition that uses a standard timing and easing.

Standard Timing

--duration-standard

Standard Easing

--ease-standard

Elevation

Cards are the lighter shadow. Menus and modals are the larger shadow. Tab tracks use an inner shadow.

Card

0 3px 9px #1f4266 0.12

Modal

0 6px 18px #1f4266 0.12

Tab Track

inset 0 2px 6px #1f4266 0.12