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.",
|
||||
|
||||
+14
-2
@@ -66,11 +66,23 @@
|
||||
"mapSubjectDetailProfileRegistry": "map-subject-detail-profiles.json",
|
||||
"operatingRule": "Check this registry before creating a NODE.DC interface element. Reuse or extend the canonical export instead of creating an application-local copy.",
|
||||
"appearanceProfiles": {
|
||||
"default": "Existing theme/material behavior",
|
||||
"mission": "Opt-in operator appearance, qualified against live Mission Core 2026-09-30; shared modal/floating surfaces, neutral avatars and dot statuses"
|
||||
"default": "Explicit legacy component presentation; no application-local overrides.",
|
||||
"mission": "Canonical Mission Core foundation, audited on 2026-11-05: complete dark palette, surface hierarchy, neutral actions, portal materials, semantic dots and flat edges. Default for new applications."
|
||||
},
|
||||
"surfaceEdgeProfiles": {
|
||||
"default": "Existing surface edges",
|
||||
"flat": "No decorative borders or rims; contrasting keyboard focus fill"
|
||||
},
|
||||
"themePresets": {
|
||||
"missionDarkTheme": {
|
||||
"theme": "dark",
|
||||
"appearance": "mission",
|
||||
"edges": "flat"
|
||||
},
|
||||
"missionLightTheme": {
|
||||
"theme": "light",
|
||||
"appearance": "mission",
|
||||
"edges": "flat"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,6 +108,21 @@
|
||||
"docs/ARCHITECTURE.md"
|
||||
],
|
||||
"policy": "architecture-context"
|
||||
},
|
||||
{
|
||||
"id": "mission-core",
|
||||
"repository": "https://git.dcserve.ru/SILVER/NODEDC_MISSION_CORE.git",
|
||||
"auditedRevision": "b0332fa",
|
||||
"role": "Owner-approved canonical dark theme and shared operator presentation, 2026-11-05; source and running canonical localhost:8000 audited.",
|
||||
"approvedPaths": [
|
||||
"apps/control-station/src/styles/base.css",
|
||||
"apps/control-station/src/main.tsx"
|
||||
],
|
||||
"policy": "reference",
|
||||
"excludedPaths": [
|
||||
"domain scene renderers",
|
||||
"uncommitted simulation work"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user