# ASW Data-Attribute Vocabulary **Quick reference for all data-attributes in the Agentic Semantic Web framework.** ## Vault-Native Concepts | Attribute | Values | Purpose | Example | |-----------|--------|---------|---------| | `data-wikilink` | (none) | Mark as vault note reference | `Note Name` | | `data-unresolved` | (none) | Mark wikilink target doesn't exist | `Missing` | | `data-task` | `todo`, `done`, `blocked` | Task state | `
Finished
` | | `data-status` | `awake`, `sleeping`, `blocked`, `unknown` | System/service status | `Active` | | `data-callout` | `note`, `warning`, `error`, `tip` | Callout/admonition type | `
...
` | | `data-callout-title` | (none) | Title for callout | `Warning` | | `data-session` | (none) | Wrapper for session metadata | `
...
` | | `data-mode` | `autonomous`, `interactive` | Session type | `Auto` | | `data-session-meta` | (none) | Session timestamp/metadata | `2026-03-26` | | `data-hash` | (none) | Git commit hash | `a3f7b2c` | | `data-tag` | (none) | Vault tag | `architecture` | ## Text Utilities | Attribute | Values | Purpose | Example | |-----------|--------|---------|---------| | `data-text` | `mono` | Monospace font | `fixed-width` | | `data-text` | `dim` | Muted color | `secondary text` | | `data-text` | `accent` | Accent color | `highlighted` | | `data-text` | `mono dim` | Combined (space-separated) | `0x4A3F` | ## Layout Patterns | Attribute | Values | Purpose | Example | |-----------|--------|---------|---------| | `data-layout` | `grid-2` | Two-column grid (stacks on mobile) | `
Col1
Col2
` | | `data-layout` | `card-grid` | Responsive card wrap (2-col flex) | `
` | | `data-layout` | `stats` | Horizontal metrics bar | `
42things
` | | `data-layout` | `inline` | Inline definition list | `
Key
Value
` | ## Semantic Roles | Attribute | Values | Purpose | Example | |-----------|--------|---------|---------| | `data-role` | `command-box` | Terminal command display | `
$ls
` | | `data-role` | `status-card` | System status card | `

Status

...
` | | `data-role` | `timeline` | Chronological event list | `
Event 1
` | | `data-role` | `diff` | Code diff display | `
+ line
` | ## CSS Custom Properties (Design Tokens) The framework uses semantic design tokens that map to Pico's internal variables. For complete reference, see [design-tokens.md](design-tokens.md). ### Quick Reference (Key Tokens) **Colors:** ```css --accent: #22c55e; /* Primary accent (green) */ --accent-blue: #3b82f6; /* Links, wikilinks */ --accent-orange: #f59e0b; /* Warnings, todo */ --accent-red: #ef4444; /* Errors, blocked */ --bg-primary: #0a0a0a; /* Main background */ --text-primary: #e5e5e5; /* Main text */ ``` **Typography:** ```css --font-body: 'Inter', system-ui, sans-serif; --font-mono: 'JetBrains Mono', ui-monospace, monospace; ``` **See [design-tokens.md](design-tokens.md) for:** - Complete token reference (15+ tokens) - How to create custom themes - Light/dark switching patterns - Override best practices ## Pico CSS Requirements ASW builds on Pico CSS. The only class Pico uses: | Class | Element | Purpose | |-------|---------|---------| | `container` | `
` | Centered single-column layout (max-width, padding) | **Everything else is semantic HTML.** No classes needed. ## Semantic HTML Cheat Sheet Pico styles these automatically (incomplete list): **Structure:** `