xPulse
πŸ‡¬πŸ‡§ EN

5. Typography

xPulse uses two font families:

Live Demo

Heading H1

Heading H2

Heading H3

xpulse-type__display
xpulse-type__lead β€” short explanations and lead text directly below a heading.

Body paragraph. Bold text, italic text and a normal link.

xpulse-type__meta β€” timestamps, technical metadata

inline code and --xpulse-text in the flow.

<h1>Heading H1</h1>
<div class="xpulse-type__display">Display Text</div>
<div class="xpulse-type__lead">Lead text</div>
<p>Body text with <strong>bold</strong> and <em>italic</em>.</p>
<small class="xpulse-type__meta">Meta info</small>

Font Size Tokens

Token Value
--xpulse-font-size-display clamp(34px, 5vw, 56px)
--xpulse-font-size-h2 clamp(24px, 3vw, 34px)
--xpulse-font-size-lead 19px
--xpulse-font-size-body 16px
--xpulse-font-size-meta 12px

Text Utilities: Colour

.xpulse-text--default β€” explicitly set to base colour

.xpulse-text--muted β€” meta info, secondary labels

.xpulse-text--info β€” positive feedback, success

.xpulse-text--warning β€” warnings, pending states

.xpulse-text--danger β€” errors and critical hints

.xpulse-text--accent β€” highlighted text in the reading flow

.xpulse-text-link β€” text link with underline and hover colour change

<span class="xpulse-text--muted">Meta copy</span>
<span class="xpulse-text--info">Connected</span>
<span class="xpulse-text--warning">Pending</span>
<span class="xpulse-text--danger">Error</span>
<span class="xpulse-text--accent">Highlighted</span>
<a class="xpulse-text-link" href="#">Link</a>

Text Utilities: Alignment & Transformation

.xpulse-text-left β€” left-aligned

.xpulse-text-center β€” centred

.xpulse-text-right β€” right-aligned

.xpulse-text-uppercase β€” uppercase for labels and breadcrumbs

.xpulse-text-lowercase β€” FORCE LOWERCASE

.xpulse-text-capitalize β€” capitalise every word

<p class="xpulse-text-center xpulse-text-uppercase">Centred Label</p>
<p class="xpulse-text-capitalize">capitalised label</p>
en/styleguide/06-typography.md 2026-04-17