Token reference
Typography
Open full example →On this page
Use the font, type-size, line-height, and tracking tokens to keep application text consistent across enterprise SaaS and corporate applications. Values below come from the framework CSS at build time.
Font stacks and weights
The default stacks use system fonts. Load a variable font in your application before changing its font-family and weight tokens.
| Token | Default value |
|---|---|
--pl-font-sans | system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif |
--pl-font-mono | ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace |
--pl-font-weight-normal | 400 |
--pl-font-weight-medium | 500 |
--pl-font-weight-semibold | 600 |
--pl-font-weight-bold | 700 |
--pl-font-weight-black | 900 |
--pl-font-feature-numeric | "tnum" 1, "lnum" 1, "zero" 1 |
--pl-font-feature-code | "zero" 1 |
Type scale
The fluid sizes use clamp() to scale between small and large viewports.
vi is one percent of the viewport’s inline size. The rem limits still
respect the reader’s root font size.
The micro tier --pl-text-2xs (~10.5px–11.5px) is engineered specifically for
high-density data tables, keyboard shortcuts, sparkline labels, and timeline metadata.
| Token | Default value |
|---|---|
--pl-text-2xs | clamp(0.65rem, 0.62rem + 0.08vi, 0.7188rem) |
--pl-text-xs | clamp(0.75rem, 0.72rem + 0.1vi, 0.8125rem) |
--pl-text-sm | clamp(0.875rem, 0.84rem + 0.1vi, 0.9375rem) |
--pl-text-md | 1rem |
--pl-text-lg | clamp(1.125rem, 1.05rem + 0.25vi, 1.25rem) |
--pl-text-xl | clamp(1.25rem, 1.1rem + 0.55vi, 1.625rem) |
--pl-text-2xl | clamp(1.5rem, 1.2rem + 1vi, 2rem) |
--pl-text-3xl | clamp(1.875rem, 1.4rem + 1.6vi, 2.75rem) |
--pl-text-display | clamp(2.5rem, 1.8rem + 3vi, 4.5rem) |
Line height
Use tighter line height for headings and labels, normal line height for body text, and loose line height for longer prose.
| Token | Default value |
|---|---|
--pl-leading-tight | 1.15 |
--pl-leading-snug | 1.3 |
--pl-leading-normal | 1.5 |
--pl-leading-loose | 1.7 |
Letter spacing (tracking)
Optical letter spacing tokens provide systematic optical tuning for display headlines, uppercase column labels, micro badges, and telemetry tags.
| Token | Default value |
|---|---|
--pl-tracking-tighter | -0.03em |
--pl-tracking-tight | -0.015em |
--pl-tracking-normal | 0em |
--pl-tracking-wide | 0.04em |
--pl-tracking-wider | 0.06em |
OpenType feature profiles
Enterprise SaaS applications require unambiguous character representation (distinguishing
0 from O, and 1 from l and I) and tabular numerals for ledgers and financial tables.
| Token | Default value |
|---|---|
--pl-font-feature-numeric | "tnum" 1, "lnum" 1, "zero" 1 |
--pl-font-feature-code | "zero" 1 |
Text wrapping
The base layer applies text-wrap: balance to headings and text-wrap: pretty
to paragraphs. These are element styles, not custom properties.