Speed.Style Design System v0.1.3
Web

Spacing & shape

The values that fix rhythm and geometry: one spacing scale, three radii, the constants of the page shell, and how long a state change takes.

Spacing scale

Padding, margin, and gap all come from this scale. The step name is its multiple of 0.25rem.

TokenCustom propertyValue
space.1--space-10.25rem
space.2--space-20.5rem
space.3--space-30.75rem
space.4--space-41rem
space.6--space-61.5rem
space.8--space-82rem
space.12--space-123rem

Radius

sm
md
round
TokenCustom propertyValueUse
radius.sm--radius-sm0.5remButtons, inputs, and tags.
radius.md--radius-md0.875remPanels and preview stages.
radius.round--radius-round999pxCircular indicators only.

Layout constants

Four values fix the page shell. Everything else is spacing.

TokenCustom propertyValueUse
size.content--size-content76remMaximum width of the page shell.
size.sidebar--size-sidebar15remWidth of the page navigation.
size.header--size-header4remHeight of the app bar.
size.line--size-line1pxEvery rule and border.

Motion

Motion confirms a state change. Under prefers-reduced-motion: reduce every transition collapses, and nothing depends on animation to become readable.

TokenCustom propertyValueUse
motion.fast--motion-fast160msHover and focus response.