Table
thead gets a 3px underline, tfoot a 2px top border with bold text, and .stripped derives odd-row stripes in oklch.
Semantic tables are styled directly: full width, zero border-spacing, thin bottom borders from $color-gray-highlight, a 3px underline for thead and a 2px top border with bold text for tfoot. The .stripped class zebra-stripes odd rows, deriving the tone from the same gray in oklch.
Cell padding, borders and tones derive from the module's custom properties, so a table retints with the rest of the page at runtime.
Basic table
Paste semantic markup and it looks right: zero classes for the base table, and the tfoot row reads as totals automatically.
| Plan | Projects | Price |
|---|---|---|
| Free | 1 | 0 € |
| Pro | 10 | 9 € |
| Total | 9 € |
<table>
<thead>
<tr><th>Plan</th><th>Projects</th><th>Price</th></tr>
</thead>
<tbody>
<tr><td>Free</td><td>1</td><td>0 €</td></tr>
<tr><td>Pro</td><td>10</td><td>9 €</td></tr>
</tbody>
<tfoot>
<tr><th>Total</th><th></th><th>9 €</th></tr>
</tfoot>
</table>Stripped table
A single .stripped class zebra-stripes odd rows for better readability of dense data; the stripe tone derives from the same gray as the borders.
| Product | Status |
|---|---|
| forma-cms | Stable |
| forma-css | Stable |
| forma site | In progress |
| Docs | In progress |
<table class="stripped">
<thead>
<tr><th>Product</th><th>Status</th></tr>
</thead>
<tbody>
<tr><td>forma-cms</td><td>Stable</td></tr>
<tr><td>forma-css</td><td>Stable</td></tr>
<tr><td>forma site</td><td>In progress</td></tr>
<tr><td>Docs</td><td>In progress</td></tr>
</tbody>
</table>