typography #
h1
paragraph
h2
paragraph
h3
paragraph
h4
paragraph
h5
paragraph
h6
paragraphs
paragraphs
paragraphs
p with some small text
p sub p sup p
show code
Font families #
Font sizes #
Font weights #
Font weight values can be any integer from 1 to 1000.
There are no variables for font-weight but there are utility classes.
Text colors #
The text scale (text_00 through text_100) provides tinted neutral
colors optimized for text legibility. The scale uses "prominence" semantics for light and dark
modes: low numbers are subtle, high numbers are strong. This matches the shade scale pattern.
text_00- surface-side endpoint: essentially invisible on surfacetext_10-text_30- very subtle/faint text: watermarks, hintstext_50- disabled text:text_disabledtext_80- default body text:--text_colortext_90-text_100- high emphasis/headingstext_min/text_max- knockout text (pure white/black without tint)
The text scale is separate from the shade scale because text and backgrounds have different
contrast requirements. Use text_* for text colors and shade_* for
backgrounds. For colored text, use color_a_50 etc.
Line heights #
Icon sizes #
18px32px48px80px128px192px256pxWith .compact #
.compactThe .compact composite class makes sizing tighter
with smaller fonts, inputs, padding, border radii, and flow margins. Apply on a container to cascade
to children.
<div class="compact">
<h3>compact heading</h3>
<p>compact paragraph</p>
<p>compact paragraph</p>
</div> compact
Paragraph in a compact container with tighter flow margins between elements.
Another paragraph showing the reduced spacing.
- list item one
- list item two
normal
Paragraph in a normal container with default flow margins between elements.
Another paragraph showing the default spacing.
- list item one
- list item two