fix(secrets-ui): use canonical metadata ink in supported palettes
This commit is contained in:
@@ -11,11 +11,11 @@
|
|||||||
.zb-secrets-list .zb-secret-filter-controls input { flex: 1; min-width: 0; }
|
.zb-secrets-list .zb-secret-filter-controls input { flex: 1; min-width: 0; }
|
||||||
.zb-secrets-list .data-table { table-layout: fixed; min-width: 42rem; }
|
.zb-secrets-list .data-table { table-layout: fixed; min-width: 42rem; }
|
||||||
.zb-secrets-list .data-table tbody tr { cursor: default; }
|
.zb-secrets-list .data-table tbody tr { cursor: default; }
|
||||||
.zb-secrets-list caption { caption-side: top; text-align: left; color: var(--ink-muted, #626970); }
|
.zb-secrets-list caption { caption-side: top; text-align: left; color: var(--ink-faint); }
|
||||||
.zb-secrets-list .zb-secret-name, .zb-secrets-list .zb-secret-description { white-space: normal; overflow-wrap: anywhere; }
|
.zb-secrets-list .zb-secret-name, .zb-secrets-list .zb-secret-description { white-space: normal; overflow-wrap: anywhere; }
|
||||||
.zb-secrets-list .zb-secret-actions { display: flex; gap: .35rem; flex-wrap: wrap; align-items: start; }
|
.zb-secrets-list .zb-secret-actions { display: flex; gap: .35rem; flex-wrap: wrap; align-items: start; }
|
||||||
.zb-secrets-list .zb-secret-technical { margin-top: .5rem; font-weight: normal; }
|
.zb-secrets-list .zb-secret-technical { margin-top: .5rem; font-weight: normal; }
|
||||||
.zb-secrets-list .zb-secret-technical summary { cursor: pointer; color: var(--ink-muted, #626970); }
|
.zb-secrets-list .zb-secret-technical summary { cursor: pointer; color: var(--ink-faint); }
|
||||||
.zb-secrets-list .zb-secret-technical .zb-secret-tech-scroll { max-height: 16rem; overflow: auto; margin-top: .5rem; }
|
.zb-secrets-list .zb-secret-technical .zb-secret-tech-scroll { max-height: 16rem; overflow: auto; margin-top: .5rem; }
|
||||||
.zb-secrets-list .zb-secret-technical dl { margin: 0; }
|
.zb-secrets-list .zb-secret-technical dl { margin: 0; }
|
||||||
.zb-secrets-list .zb-secret-technical dt, .zb-secrets-list .zb-secret-technical dd { margin: 0; }
|
.zb-secrets-list .zb-secret-technical dt, .zb-secrets-list .zb-secret-technical dd { margin: 0; }
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<RootNamespace>ZB.MOM.WW.Secrets.Ui</RootNamespace>
|
<RootNamespace>ZB.MOM.WW.Secrets.Ui</RootNamespace>
|
||||||
<!-- UI-only release: shared contracts keep their existing 0.6.6 version; no backend release. -->
|
<!-- UI-only release: shared contracts keep their existing 0.6.6 version; no backend release. -->
|
||||||
<Version>1.0.0</Version>
|
<Version>1.0.1</Version>
|
||||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
<!-- Emit the XML doc file so missing-doc (CS1591) warnings on the public API
|
<!-- Emit the XML doc file so missing-doc (CS1591) warnings on the public API
|
||||||
surface under TreatWarningsAsErrors. Razor compiles each component to a
|
surface under TreatWarningsAsErrors. Razor compiles each component to a
|
||||||
|
|||||||
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user