Raw profile

This page exercises the profile — the package vocabulary — naked, before any presentation dresses it: the semantic colour roles, the type and space scales, radii and widths, the focus ring, and the accessibility floor.


Neutral roles

Chrome: backgrounds, surfaces, borders, the solid fill, and text. Radix's 12-step jobs, named.

background
background-subtle
surface
surface-hover
surface-active
border-subtle
border
border-hover
solid
solid-hover
Aa
on-solid

Text role: high-contrast body text (--color-text).

Text role: muted / low-contrast text (--color-text-muted).

Accent roles

Emphasis / brand, same shape as a status family.

accent-surface
accent-surface-hover
accent-border
accent-solid
accent-solid-hover
Aa
accent-on-solid

Text role: accent-coloured text (--color-accent-text).

Status roles

Convention (hue → meaning) — success, warning, danger, info. Never the sole signal; pair with an icon or word.

Success

success-surface
success-border
Aa
success-solid / on-solid
Aa
success-text

Warning

warning-surface
warning-border
Aa
warning-solid / on-solid
Aa
warning-text

Danger

danger-surface
danger-border
Aa
danger-solid / on-solid
Aa
danger-text

Info

info-surface
info-border
Aa
info-solid / on-solid
Aa
info-text

Type scale

The semantic size roles, largest to smallest. Each is one decision over the primitive scale (ratio 1.25).

Display --text-size-display

Title --text-size-title

Lede --text-size-lede

Body --text-size-body

Secondary --text-size-secondary

Muted --text-size-muted

Code 1234 --text-size-code

Space scale

The primitive rhythm (n = px ÷ 4). The inset / gap / flow roles map t-shirt sizes onto these.

space-1 · 4px
space-2 · 8px
space-3 · 12px
space-4 · 16px
space-5 · 20px
space-6 · 24px
space-7 · 28px
space-8 · 32px
space-12 · 48px
space-16 · 64px

Radii & widths

Radius roles

radius-void
radius-control
radius-card
radius-pill
radius-circle

Border widths

width-1 · 1px
width-2 · 2px
width-4 · 4px

Focus ring

Tab to a focusable element to see the ring (--focus-ring-width, --focus-ring-offset, --color-accent-border):

a focusable link, then a .

Accessibility floor

There is a screen-reader-only note right after this sentence — this text is visually hidden but announced by assistive tech (.sr-only). invisible on screen, present to a screen reader.

The skip-link behaviour ships in the profile; the visible focused state is the consumer's to style.

End of profile test.