Skip to content
Alea0.1
Pro
Design

Design with the pieces you ship

Color, type, space and icons as W3C design tokens, the guidelines behind them and a Figma kit made from the same source. What you draw is what gets built.

  • --alea-accent
  • --alea-surface
  • --alea-text
  • --alea-text-muted
  • --alea-border-strong
  • --alea-status-success

Invoice paid

Paid

The same component, three themes, zero overrides.

In this section

Foundations and guidelines

Principles

What every decision comes back to

Accessible first

Contrast, focus, targets and motion are decided in the tokens, so every screen starts from accessible defaults.

Tokens all the way

Primitives feed base tokens, base feeds semantic. Components only read semantic tokens, so a theme is one file.

Calm surfaces

Quiet backgrounds and warm accents. Color is for meaning and for the one action that matters.

Motion with meaning

Every animation says what changed. Nothing moves just to move, and nothing travels with reduced motion.

Contrast

Check any pair, in both themes

Pick a text token and a surface. The ratio is measured from the real colors, so you see what ships in dark and in light.

AaThe quick brown fox jumps over the lazy dog.
Dark-
AaThe quick brown fox jumps over the lazy dog.
Light-
color: var(--alea-text-muted); background: var(--alea-surface);

How tokens flow

Three layers, one direction

Change a primitive and every theme follows. Change a semantic token and only its meaning changes. Components never skip a layer.

  1. 1PrimitivesRaw scales--alea-purple-500
  2. 2BaseType, space, radius, motion--alea-space-4
  3. 3SemanticMeaning, per theme--alea-accent

Make it yours

Your brand, from three choices

Pick an accent, a radius and a density. brandVariables turns them into the tokens, and every component follows.

1
--alea-radius-xs--alea-radius-sm--alea-radius-field--alea-radius-md--alea-radius-lg--alea-radius-xl

Checkout

Ana Rivas · Team plan

Pro

Seats used

8 of 10

DesignMotionTokens

By paying you agree to the terms.

Questions

Good to know