Establish Mission Core as the shared theme foundation
This commit is contained in:
@@ -1,6 +1,28 @@
|
||||
{
|
||||
"schemaVersion": "1.0.0",
|
||||
"components": [
|
||||
{
|
||||
"id": "mission-theme",
|
||||
"status": "baseline",
|
||||
"package": "@nodedc/ui-core",
|
||||
"exports": [
|
||||
"applyNodedcTheme",
|
||||
"missionDarkTheme",
|
||||
"missionLightTheme"
|
||||
],
|
||||
"domContract": [
|
||||
"data-nodedc-theme",
|
||||
"data-nodedc-appearance",
|
||||
"data-nodedc-edges"
|
||||
],
|
||||
"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.",
|
||||
"No decorative outlines; keyboard focus, disabled states and semantic error/success indicators remain visible."
|
||||
],
|
||||
"documentation": "../docs/THEMING.md"
|
||||
},
|
||||
{
|
||||
"id": "progress-button",
|
||||
"status": "baseline",
|
||||
@@ -109,7 +131,7 @@
|
||||
],
|
||||
"rules": [
|
||||
"Geometry is invariant across application themes.",
|
||||
"Opt-in appearance=mission applies the qualified Mission Core operator surfaces, avatars and dot statuses across portals without changing geometry.",
|
||||
"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.",
|
||||
|
||||
Reference in New Issue
Block a user