Design system

Beat the Chill

Tokens and components used by the game UI. Colors and sizes below are read live from tokens/tokens.json.

Play the game

Color

Primitive palette. Click a swatch to copy its variable.

Semantic roles

Aliases components should reach for first.

Typography

Inter, 400–800. One family, contrast through weight and size.

.title-xl · 800
Beat the Chill
#timer-value · 700 / 24
01:23.4
#total-count · 700 / 20
9 / 14
.subtitle · 400 / 16
After a grizzly shredded Jack's clothes, he must race the setting sun.
.steps · 400 / 15
  1. Sprint across the curved earth.
  2. Swing your axe.
.eyebrow · 500 / 12
All wood collected

Panels & root ornaments

Every .panel gets four corner roots from ornaments.js. Size variants come from the ornament-* token groups.

Default
66 × 62
.panel
Small
44 × 41
.panel.small-roots
HUD
34 × 32
.panel.hud-roots

Buttons

The CTA thickens its stroke and grows a curl in the top-left corner on hover and focus; it turns pine green while pressed.

Rest
Hover / focus
Pressed
Pad · rest
Pad · hover
Pad · pressed

Feedback

In-world feedback sits on the night scene, so it is previewed on --scene-bg.

GO!
Countdown
+1
Wood pickup
Loading bar

Image assets

Root corner ornament
--root-img
Button corner curl
--curl-img