|
1 | 1 | # Theme V2 Design System Gaps |
2 | 2 |
|
3 | | -PR: `PR_26152_032-theme-v2-direct-primitives` |
| 3 | +PR: `PR_26152_033-theme-v2-admin-consumption` |
4 | 4 |
|
5 | | -## Direct Theme V2 Primitives Added |
| 5 | +## Admin Consumption Result |
6 | 6 |
|
7 | | -These primitives were authored directly in Theme V2 using existing Theme V2 tokens. They do not use V1/legacy CSS as a source, target, or comparison baseline. |
| 7 | +No new Theme V2 CSS gaps were discovered while migrating the named Admin pages to consume existing Theme V2 CSS. |
8 | 8 |
|
9 | | -| Primitive area | Owning file | New selectors | Intended consumers | |
10 | | -| --- | --- | --- | --- | |
11 | | -| Page/content layout | `layout.css` | `.content-stack`, `.content-stack--compact`, `.content-cluster`, `.content-grid`, `.content-grid--three`, `.content-split` | Migrated Theme V2 pages that need reusable content stacking, clustering, two/three-column grids, or split content layouts. | |
12 | | -| Panel/card surfaces | `panels.css` | `.surface`, `.surface-header`, `.surface-body`, `.surface-footer`, `.card-header`, `.card-footer`, `.card-media`, `.card-media img` | Migrated Theme V2 pages that need reusable framed content, card sections, or media areas. | |
13 | | -| Buttons/actions | `buttons.css` | `.btn:disabled`, `.btn[aria-disabled=true]`, `.btn:focus-visible`, `.action-group`, `.action-group--end` | Migrated Theme V2 pages that need consistent action grouping, disabled affordance, and focus affordance. | |
14 | | -| Forms/inputs | `forms.css` | `.field-group`, `.field-row`, `.field-hint` | Migrated Theme V2 pages that need reusable label/input grouping, responsive paired fields, and helper text. | |
15 | | -| Accordions | `accordion.css` | `.accordion-group` | Migrated Theme V2 pages that need reusable spacing between existing `details.vertical-accordion` blocks. | |
16 | | -| Status/log surfaces | `status.css` | `.feedback`, `.feedback-title`, `.feedback-message`, `.event-log`, `.event-log-entry` | Migrated Theme V2 pages that need reusable message panels or structured textual logs. | |
17 | | -| Tables | `tables.css` | `.data-table`, `.data-table caption`, `.data-table th` | Migrated Theme V2 pages that need reusable data table presentation beyond the generic table baseline. | |
| 9 | +Admin pages validated successfully with the existing Theme V2 primitives: |
18 | 10 |
|
19 | | -## Remaining Gaps |
| 11 | +- Page layout: `.page-title`, `.section`, `.container`, `.account-panel`, `.admin-page-stack`, `.grid` |
| 12 | +- Navigation/panels: `.side-menu`, `.card`, `.card-body`, `.callout`, `.mini-stat` |
| 13 | +- Controls: `.controls-hero`, `.controls-hero-grid`, `.control-section`, `.control-lab`, `.control-card`, `.control-demo`, `.control-row`, `.choice`, `.switch` |
| 14 | +- Tables: `.table-wrapper`, `.data-table` |
| 15 | +- Accordions: `.vertical-accordion`, `.accordion-body` |
| 16 | +- Brand/color references: `.brand-color-code`, `.brand-color-swatch`, swatch classes, side accent classes, tool-group classes |
| 17 | + |
| 18 | +## Resolved In This PR |
| 19 | + |
| 20 | +| Gap | Resolution | |
| 21 | +| --- | --- | |
| 22 | +| Admin `branding.html` carried non-owned/dead classes for mascot cards and feature images. | Removed the dead classes and relied on existing Theme V2 `.card` and `.card img` styling. | |
| 23 | +| Admin `controls.html` carried non-owned/dead `controls-title` and `control-row--choice` classes. | Removed the dead classes and relied on existing Theme V2 heading and `.control-row` / `.choice` styling. | |
| 24 | +| Admin `design-system.html` still described legacy CSS ownership files. | Updated copy to describe Theme V2 ownership files. | |
| 25 | +| Admin `grouping-colors.html` table did not consume the available Theme V2 data table primitive. | Added existing `.data-table` to the table. | |
| 26 | +| Admin `grouping-colors.html` copy still referenced legacy grouping CSS import ownership. | Updated copy to reference Theme V2 group classes and `theme/v2/colors.css`. | |
| 27 | + |
| 28 | +## Remaining Gaps Outside This PR |
20 | 29 |
|
21 | 30 | | Gap | Reason Deferred | |
22 | 31 | | --- | --- | |
23 | | -| Tool-shell layout, tool columns, tool display mode, and focus behavior are still unresolved. | Tool-specific primitives are out of scope for this PR. They require separate approval and direct Theme V2 design. | |
24 | | -| Horizontal tool-panel accordion toggles are still unresolved. | This PR adds only generic accordion grouping; tool-specific toggles require separate approval. | |
25 | | -| Dialog/modals are still unresolved. | Dialog primitives were not requested in this PR and require separate approval. | |
26 | | -| Brand/background/meaning utility systems are still unresolved. | New color utility systems were not requested in this PR and require separate approval. | |
27 | | -| Badge/pill/role metadata variants are still unresolved. | This PR adds generic feedback/log primitives only; metadata variants require separate approval. | |
| 32 | +| Dialog/modal primitives remain unresolved. | No Admin page in this PR required dialog styling. | |
| 33 | +| Tool-shell layout, tool columns, display mode, and focus behavior remain unresolved. | Tool pages are explicitly out of scope. | |
| 34 | +| Horizontal tool-panel accordion toggles remain unresolved. | Tool pages are explicitly out of scope. | |
| 35 | +| Badge/pill/role metadata variants remain unresolved. | Admin pages in this PR did not require them. | |
28 | 36 |
|
29 | 37 | ## Guardrails |
30 | 38 |
|
|
0 commit comments