asw/site/content/docs/reference/utilities.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

823 B

title description type weight date tags ai-disclosure ai-model ai-provider
Utilities Utility data-attributes in ASW for text variants, spacing, and display. docs 43 2026-04-11
reference
utilities
data-attributes
generated claude-sonnet-4-6 Anthropic

ASW provides a small set of utility attributes for inline adjustments. Rather than class names, these use data-* attributes to stay in the semantic-HTML spirit of the framework.

Inline Demo

data-text="mono" — monospace font

data-text="dim" — reduced opacity / muted

data-text="accent" — accent colour

data-text="small" — smaller font size