asw/site/content/docs/typography/headings.md
Ludo fe8ddd6153
feat: add [data-demo] attribute, purge all inline CSS from docs
New data-demo attribute for demo blocks in documentation.
Replaced 16 files worth of inline style="" wrappers with <div data-demo>.
Only remaining style= is charts --size data injection (legitimate).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:53:59 +02:00

617 B

title description type weight date tags ai-disclosure ai-model ai-provider
Headings ASW styles all six heading levels with a consistent typographic scale. docs 16 2026-04-11
typography
headings
generated claude-sonnet-4-6 Anthropic

Headings h1 through h6 are sized using a fluid scale derived from the token system. No classes are needed — the element name is the selector.

Inline Demo

Heading level 1

Heading level 2

Heading level 3

Heading level 4

Heading level 5
Heading level 6