|
1 | 1 | # Theme V2 Design System Gaps |
2 | 2 |
|
3 | | -PR: `PR_26152_031-remove-bad-v2-css-migration` |
| 3 | +PR: `PR_26152_032-theme-v2-direct-primitives` |
4 | 4 |
|
5 | | -## Removed Migration-Invalid CSS |
| 5 | +## Direct Theme V2 Primitives Added |
6 | 6 |
|
7 | | -The following Theme V2 CSS was removed because the prior audit classified it as moved, copied, mirrored, or propagated from V1/legacy styling rather than authored directly as approved reusable Theme V2 design-system styling. |
| 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. |
8 | 8 |
|
9 | | -| Removed area | Removed from | Current status | |
10 | | -| --- | --- | --- | |
11 | | -| Horizontal accordion toggles and tool-column accordion overrides | `accordion.css` | Design-system gap. Requires approval and direct Theme V2 design before reimplementation. | |
12 | | -| Tool display mode summary arrows | `accordion.css` | Design-system gap. Requires approval and direct Theme V2 design before reimplementation. | |
13 | | -| Meaning color utilities, brand background utilities, extra side accents, and tool-column header color variants | `colors.css` | Design-system gap. Requires approval before adding any new Theme V2 utility or color system. | |
14 | | -| Button row helpers, inline row helpers, button hover/disabled normalization, and return-to-top meaning-variable hooks | `buttons.css` | Design-system gap. Requires approval and direct Theme V2 design before reimplementation. | |
15 | | -| Dialog baseline and dialog sample styling | `dialogs.css` | Design-system gap. Requires approval and direct Theme V2 design before reimplementation. | |
16 | | -| Form row, field stack, and control fieldset helpers | `forms.css` | Design-system gap. Requires approval and direct Theme V2 design before reimplementation. | |
17 | | -| Tool workspace, tool grid, tool display layout, and focus-mode layout system | `layout.css` | Design-system gap. Requires approval and direct Theme V2 design before reimplementation. | |
18 | | -| Tool cards, tool columns, tool center panel, tool display body, and tool-card image sizing | `panels.css` | Design-system gap. Requires approval and direct Theme V2 design before reimplementation. | |
19 | | -| Tool-shell size, focus, dialog, card image, and grid tokens | `spacing.css` | Design-system gap. Requires approval before adding any new Theme V2 layout token system. | |
20 | | -| Status, log, pill, role, tool-group label, and tool-group swatch styling | `status.css` | Design-system gap. Requires approval and direct Theme V2 design before reimplementation. | |
21 | | -| `.table` class styling | `tables.css` | Design-system gap. Generic table baseline remains; class-specific table styling requires approval before reimplementation. | |
| 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. | |
22 | 18 |
|
23 | | -## Preserved Theme V2 Styling |
| 19 | +## Remaining Gaps |
24 | 20 |
|
25 | | -The removal preserved already-approved Theme V2 files and rules that existed before the invalid foundation migration, including: |
26 | | - |
27 | | -- Theme V2 import ownership through `theme.css`. |
28 | | -- Base color tokens and existing approved Theme V2 color/group classes. |
29 | | -- Base spacing, typography, layout, panel, form, control, accordion, table, button, dialog, and status files. |
30 | | -- Existing generic table baseline including `.table-wrapper`, `table`, `caption`, `th`, and `td`. |
31 | | - |
32 | | -## Open Gaps |
33 | | - |
34 | | -| Gap | Required next step | |
| 21 | +| Gap | Reason Deferred | |
35 | 22 | | --- | --- | |
36 | | -| Tool shell layout, columns, display mode, and focus behavior need a direct Theme V2 design if tools are migrated. | Document the affected tool family, request approval, then implement reusable Theme V2 styling directly. | |
37 | | -| Horizontal accordion toggles need a direct Theme V2 component design if required by migrated tools. | Request approval before adding the component back. | |
38 | | -| Status/log/pill/role patterns need direct Theme V2 ownership decisions. | Request approval before adding reusable status primitives. | |
39 | | -| Dialog styling needs a direct Theme V2 primitive. | Request approval before adding dialog styles. | |
40 | | -| Brand/background/meaning utilities need a direct Theme V2 color-system decision. | Request approval before adding any new utility system. | |
41 | | -| Form row, field stack, control fieldset, and table class helpers need direct Theme V2 design approval. | Request approval before adding these helpers back. | |
| 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. | |
42 | 28 |
|
43 | | -## Notes |
| 29 | +## Guardrails |
44 | 30 |
|
45 | | -- Do not use V1/legacy CSS as the source for any replacement. |
| 31 | +- Do not use V1/legacy CSS as the source for any future replacement. |
46 | 32 | - Do not compare new Theme V2 work to V1/legacy CSS as the desired target. |
47 | 33 | - Do not restore removed selectors through aliases, wrapper selectors, duplicate compatibility classes, or fallback imports. |
48 | 34 | - Not-yet-migrated page families may continue to retain their existing legacy references until their own migration PR, but migrated Theme V2 pages must not depend on V1/legacy CSS. |
0 commit comments