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>
This commit is contained in:
Ludo 2026-04-11 18:53:59 +02:00
parent 414ede2957
commit fe8ddd6153
Signed by: ludo
GPG key ID: F6E479DEFAB84D6E
17 changed files with 32 additions and 20 deletions

View file

@ -14,7 +14,7 @@ Headings `h1` through `h6` are sized using a fluid scale derived from the token
## Inline Demo
<div style="border:1px solid var(--border,#ccc);padding:1.5rem;border-radius:4px">
<div data-demo>
<h1>Heading level 1</h1>
<h2>Heading level 2</h2>
<h3>Heading level 3</h3>