feat(theme): implement accessible Technical-Light 1.0 contracts

This commit is contained in:
Joseph Doherty
2026-11-13 15:49:08 -05:00
parent 8969bee6a9
commit f8469aa837
63 changed files with 3695 additions and 120 deletions
+13
View File
@@ -36,3 +36,16 @@ Light is the shared supported scheme. Preserve ScadaBridge's existing supported
## Release gates
Implement and verify token, field, accent, busy, focus/motion and interaction contracts before packing. Commit reviewed source/version first; record exact revision, package and export hashes. Run Overview and ScadaBridge local canaries from that package. Publication and independent feed verification remain TH-09; this decision does not claim a package was built, published or deployed. Rollback is the exact prior per-consumer package/artifact, not an overwritten feed version.
## Accent text contrast refinement
Token math found the existing green `#2f855a` and teal `#1b7f8e` readable with white primary-button labels (4.54:1 and 4.69:1), but insufficient as small link text on paper (4.12:1 and 4.26:1). Preserve those product colors for primary surfaces/signals and use the authored deep accent for links/ghost text. This refines TH-04's minimum mapping to satisfy the shared contrast requirement without changing the existing brand colors. Actual browser selector/opacity verification remains required.
| Family | Accent | Deep / focus | Tint | Border |
|---|---|---|---|---|
| Default | `#2f5fd0` | `#1e3f99` | `#eef2fc` | `#cdd9f7` |
| Historian | `#2f855a` | `#1c6540` | `#edf5f0` | `#bddbc9` |
| BTDB | `#1b7f8e` | `#125764` | `#eaf5f6` | `#b7d9dd` |
| Overview | `#6d28d9` | `#4c1d95` | `#f2ecfc` | `#d7c5f2` |
These complete authored families are the candidate adoption values, pending canary computed-style acceptance. Focus uses the deep value in each family. Do not substitute branded color into semantic info.