Layout
Status cap
A verdict on the reading inside a panel, tile or stat, said once across its head in the status ink. Declared as an attribute; the top edge follows.
Put data-status="ok|warn|danger|meta" on an .axi-panel, an
.axi-panel--tile or an .axi-stat and its top edge takes the status ink at
the weight the element already has. Rule 5 says why it is the head and not the
left edge: a full-height stripe reads as the box's frame, and a row of them
reads as a row of coloured frames.
There is no accent value. The accent means the thing you picked, and a verdict
is the data's, not the reader's. A card that wants to say which category it
belongs to uses .axi-card--strip, which is a different claim.
Three readings, each capped with its verdict
Tiles; the cap is the control weight because the tile isStability uptime
94%Cleanses / min
38Deaths on tag
11<div class="axi-grid" style="--axi-grid-min: 150px;">
<div class="axi-panel axi-panel--tile" data-status="ok"><p class="axi-eyebrow">Stability uptime</p><b class="axi-stat__n">94%</b></div>
<div class="axi-panel axi-panel--tile" data-status="warn"><p class="axi-eyebrow">Cleanses / min</p><b class="axi-stat__n">38</b></div>
<div class="axi-panel axi-panel--tile" data-status="danger"><p class="axi-eyebrow">Deaths on tag</p><b class="axi-stat__n">11</b></div>
</div>
A stat with a cap
4Needs re-parse
<div class="axi-stat" data-status="meta" style="max-width: 180px"><b class="axi-stat__n">4</b><span class="axi-stat__k">Needs re-parse</span></div>