HAX UI: Admin Surfaces Layer of DDD
RULES.md
Admin surfaces (anything only a signed-in editor sees whose job is to change settings or data: site admin and its sections, outline-designer, revisions, reports, system admin, and editor chrome as it is updated) use HAX UI, the admin layer of DDD, not DDD's content scale. Spread `HaxUiAdminTokens` and `HaxUiAdminPrimitives` from `@haxtheweb/hax-body/lib/hax-ui-styles.js` and style with `--hax-ui-*` only (14px text, 32px rows, one accent; every value maps to a DDD primitive). Site and system admin sections render inside the one admin dialog and never draw their own titlebar or Save button: the shell's action bar stages saves, lights Save when there are changes and asks before leaving with unsaved changes. Authored content, themes and anything a visitor sees stay on DDD. Missing values go into `HaxUiAdminTokens` (mapped to DDD) before use; proposed tokens are documentation until adopted. Guide: `elements/d-d-d/design-system/source/hax-ui-admin.md` in haxtheweb/webcomponents; audit with `hax-pattern-library-audit` (`contract-admin-*`). outline-designer is the reference implementation. In PRAW RULES.md (scope: design-system). Nothing enforces this yet.
Status: gap
Connects to
- Design System Standards includes this
- Serves Accessible
- Serves Efficient
- Applies to DDD
- Applies to HAXcms