The admin's styling was rebuilt on a design-token system. This page used to catalogue utility classes and components by hand; that role now belongs to two better sources:
- The component catalogue β every
component, in every state, rendered live on the real CSS at
/admin/_catalog(dev environment only). It cannot drift from what the admin actually looks like, which a hand-written list always eventually does. - Theming β how to recolour and restyle the admin by overriding
--aro-*tokens. This is the supported customization path.
Use the same building blocks the admin uses:
- Cards β
.cardwith.card-header/.card-body;.card-primaryfor a teal top accent. The primary content surface. - Buttons β
.btnwith.btn-cta(coral, one per screen),.btn-primary(teal),.btn-secondary(slate),.btn-default,.btn-outline,.btn-danger. Sizes.btn-small,.btn-xs. - Everything else β see the catalogue.
For spacing and layout, use Bootstrap 5 utilities (mt-3, me-2, d-flex, row /
col-*). The bundle is built on Bootstrap 5.
If you are upgrading and referenced these in your own templates, they are gone:
| Removed | Use instead |
|---|---|
.ts-xs β¦ .ts-5 (font-size scale) |
Bootstrap .fs-*, or the --aro-text-* tokens |
.tw-300 β¦ .tw-700 (font-weight) |
Bootstrap .fw-light / .fw-medium / .fw-semibold / .fw-bold |
.m-t-* / .m-r-* / .no-margin (5px-step spacing) |
Bootstrap .mt-* / .me-* / .m-0 β the maison utilities were all migrated to Bootstrap and removed |
.w-20px β¦ .w-100px, .h-*px sizing |
inline style or a Bootstrap sizing utility |
FontAwesome <i class="fas fa-β¦"> |
{{ ux_icon('lucide:β¦') }} β see Icons |
A full old-major β v3 migration guide lives in Upgrading to v3.