asw-v01: archive deferred content (packs, site, lab, legacy examples)
- 2.1: packs/ -> archive/packs/ - 2.2: site/ -> archive/site/ - 2.3: src/lab/ -> archive/lab/ - 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
This commit is contained in:
parent
416fe2f180
commit
e47a9f4401
173 changed files with 11 additions and 5 deletions
22
archive/site/content/docs/reference/utilities.md
Normal file
22
archive/site/content/docs/reference/utilities.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
title: "Utilities"
|
||||
description: "Utility data-attributes in ASW for text variants, spacing, and display."
|
||||
type: docs
|
||||
weight: 43
|
||||
date: 2026-04-11
|
||||
tags: ["reference", "utilities", "data-attributes"]
|
||||
ai-disclosure: "generated"
|
||||
ai-model: "claude-sonnet-4-6"
|
||||
ai-provider: "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
|
||||
|
||||
<div data-demo>
|
||||
<p><span data-text="mono">data-text="mono"</span> — monospace font</p>
|
||||
<p><span data-text="dim">data-text="dim"</span> — reduced opacity / muted</p>
|
||||
<p><span data-text="accent">data-text="accent"</span> — accent colour</p>
|
||||
<p><span data-text="small">data-text="small"</span> — smaller font size</p>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue