fix(ui): match Mission Core form grouping without recessed canvases
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
"summary": "Canonical Mission Core theme foundation shared by React, DOM and body portals.",
|
||||
"rules": [
|
||||
"Colors belong to tokens/themes.css; applications select a preset and may provide an explicit user accent.",
|
||||
"ApplicationPanel → SettingsCard → GlassSurface tone=soft → field is the admitted nested form hierarchy. Never synthesize translucent app-local cards.",
|
||||
"ApplicationPanel → SettingsCard → fields matches Mission Core forms. Collection entries may use GlassSurface tone=group; never wrap field grids in recessed soft surfaces or add a card around a list of cards.",
|
||||
"No decorative outlines; keyboard focus, disabled states and semantic error/success indicators remain visible."
|
||||
],
|
||||
"documentation": "../docs/THEMING.md"
|
||||
@@ -134,7 +134,7 @@
|
||||
"The default Mission Core foundation supplies surfaces, avatars and dot statuses across portals without changing geometry.",
|
||||
"Compact rails of canonical round actions use the pill radius; consumers do not recreate it with a local border radius.",
|
||||
"A material rim is a glass highlight, not a hard product-colored border.",
|
||||
"Nested surfaces must use a softer tone to avoid card-inside-card noise.",
|
||||
"Form collections use tone=group, the same neutral material as SettingsCard. tone=soft is a recessed secondary canvas, never a form-grid background.",
|
||||
"GlassMaterialSurface supports modal/Inspector floating material and explicit context=scene telemetry overlays over rendered imagery; ordinary panels remain matte. Optional material and radiusPx apply appearance to one instance without changing the global theme.",
|
||||
"MapGlassSurface is restricted to overlays over Cesium/map imagery and must match the map Toolbar translucency.",
|
||||
"Theme edges=flat removes decorative rims and active outlines across portals; keyboard focus uses contrasting fill without changing geometry."
|
||||
@@ -950,7 +950,8 @@
|
||||
"Section and empty-state titles use the compact md token; descriptions use sm. Page/window title sizes and browser heading defaults are forbidden inside cards.",
|
||||
"Unclassed paragraphs in the body, including nested layout groups, share Description typography as a compatibility safeguard. New explanatory copy must use Description; headings and controls retain their own typography.",
|
||||
"Use Switch for compact visibility/enable states; use Checker for the Engine inspector treatment.",
|
||||
"Switch keeps its track width beside wrapped labels. The checked thumb uses on-accent contrast; the unchecked track follows theme text instead of a fixed white tint."
|
||||
"Switch keeps its track width beside wrapped labels. The checked thumb uses on-accent contrast; the unchecked track follows theme text instead of a fixed white tint.",
|
||||
"Fields sit directly in the card body, as in Mission Core. Layout grids are transparent; use at most one additional neutral group for a collection entry, not a card around the entire form."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user