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>
823 B
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 |
|
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