fix(secrets-ui): use canonical metadata ink in supported palettes

This commit is contained in:
Joseph Doherty
2026-11-13 19:07:34 -05:00
parent aeb89047d8
commit 596ba86232
4 changed files with 66 additions and 3 deletions
@@ -0,0 +1,22 @@
# Secrets UI 1.0.1 metadata ink correction
Actual integration of the published UI1.0.0 with the supported ScadaBridge dark
palette exposed two producer-owned references to an undefined `--ink-muted` token.
Both fell back to literal#626970 despite canonical `--ink-faint` resolving#a8b0bc.
Browser measurements against the nearest opaque card background produce2.6576:1;
see dark-before.json. The same light fallback had masked this alias mistake in the
two-host light acceptance matrix. Parent review records the missed references.
Publish compatible UI patch1.0.1. Replace only those caption/technical-summary color
references with canonical `--ink-faint`. Default light computes the same color;
supported host palettes now supply their own canonical ink. No per-consumer alias.
Theme stays1.0.1, Abstractions stays0.6.6; no Core/backend repack or release. The
published UI1.0.0 artifact and its historical proofs remain immutable.
Commit clean package inputs before packing with explicit revision metadata. Validate
81 source tests, exact UI-only package floor graph, module/source byte parity, actual
light/dark computed metadata contrast using supported ScadaCSS, and packaged-host
read-only runtime identity/assets. Review exact bytes, publish only that UI artifact,
then verify fresh official download and isolated official restore before delivery.
Existing66 legacy checks concern unchanged contracts/implementations and are retained
as bounded evidence rather than rerun merely for two CSS references/version metadata.
@@ -0,0 +1,41 @@
{
"origin": "http://127.0.0.1:64155",
"ui": "published1.0.0",
"scadaCss": "actual current ScadaBridge source applied to packaged synthetic host",
"measurements": [
{
"tag": "CAPTION",
"foreground": "rgb(98, 105, 112)",
"background": "rgb(37, 40, 45)",
"canonicalFaint": "#a8b0bc",
"unknownAlias": "",
"contrast": 2.6575656972001447
},
{
"tag": "SUMMARY",
"foreground": "rgb(98, 105, 112)",
"background": "rgb(37, 40, 45)",
"canonicalFaint": "#a8b0bc",
"unknownAlias": "",
"contrast": 2.6575656972001447
},
{
"tag": "SUMMARY",
"foreground": "rgb(98, 105, 112)",
"background": "rgb(37, 40, 45)",
"canonicalFaint": "#a8b0bc",
"unknownAlias": "",
"contrast": 2.6575656972001447
},
{
"tag": "SUMMARY",
"foreground": "rgb(98, 105, 112)",
"background": "rgb(37, 40, 45)",
"canonicalFaint": "#a8b0bc",
"unknownAlias": "",
"contrast": 2.6575656972001447
}
],
"scadaCssSha256": "e40dc7c5fd9ca6139192cd2698909910c9a4e1e0cab0849a8653aaf627835ca2",
"nearestOpaqueBackgroundResolved": true
}