Design Tokens#
The foundation of the design system. Use these values only — do not invent colors, widths or spacing outside this set.
Themes (background bands)#
A block group is painted by a .blocks-group-wrapper whose theme sets these CSS
custom properties inline; they cascade into the blocks. Two themes exist.
Theme |
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
.blocks-group-wrapper { background: var(--theme-color); color: var(--theme-foreground-color); }
Cards inside a band use --theme-high-contrast-color so they stand out from the
band (white cards on grey, light-grey cards on white).
Base colors#
Token |
Value |
|---|---|
Black (text/borders) |
|
White |
|
Grey band / card |
|
Low-contrast text |
|
Highlight block description colors#
The highlight block has its own palette (--descriptionColor /
--descriptionColor-foreground):
Name |
Background |
Foreground |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Container widths#
Blocks center at one of these widths (margin: auto), inside the full-width band.
Token |
CSS variable |
Value |
|---|---|---|
narrow |
|
|
default |
|
|
layout |
|
|
full |
— |
edge to edge (100%) |
A block's width is set by its has--block-width--<name> class and/or the
#page-document .blocks-group-wrapper > * rule (defaults to layout width, then
per-block rules narrow it — e.g. text/teaser → default).
Spacing scale#
Token |
Value |
|---|---|
small |
|
medium |
|
large |
|
xlarge |
|
Vertical space between color bands:
80px(xlarge).Horizontal gutter on small screens:
20px.
Typography#
Font family:
Inter, with a system-ui fallback stack.Base:
18px/24pxline-height.
Font-size scale:
Name |
Size |
Line-height |
|---|---|---|
2xs |
12px |
16px |
xs |
14px |
18px |
s |
18px |
18px |
m |
21px |
24px |
l |
24px |
30px |
xl |
30px |
33px |
2xl |
33px |
36px |
3xl |
36px |
42px |
4xl |
42px |
48px |
5xl |
48px |
56px |
Font weights: thin 100, extra-light 200, light 300, regular 400, medium 500, semi-bold 600, bold 700, extra-bold 800, bolder 900.
Notable roles:
Introduction / lead text: size
l(24px), weightlight(300).Body: base 18px.
Headings: the heading block renders
h2from thexl–3xlrange.
Breakpoints (reference)#
Largest mobile screen and computer/large-monitor breakpoints drive the container-query switches (e.g. teasers stack, carousels reduce columns). Design desktop-first at the layout width, then let content reflow.