@chrtco/sdk 0.10.23 → 0.10.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,7 +51,7 @@ var S52_DAY = {
51
51
  SNDG1: "#7d898c",
52
52
  SNDG2: "#070707",
53
53
  DEPSC: "#525a5c",
54
- DEPCN: "#7d898c",
54
+ DEPCN: "#555555",
55
55
  // Utility / infrastructure
56
56
  UINFD: "#070707",
57
57
  UINFF: "#7d898c",
@@ -125,7 +125,7 @@ var S52_DUSK = {
125
125
  SNDG1: "#606060",
126
126
  SNDG2: "#b0b0b0",
127
127
  DEPSC: "#606060",
128
- DEPCN: "#606060",
128
+ DEPCN: "#2E2E2E",
129
129
  UINFD: "#b0b0b0",
130
130
  UINFF: "#606060",
131
131
  UINFR: "#b05060",
@@ -196,7 +196,24 @@ var S52_NIGHT = {
196
196
  SNDG1: "#383028",
197
197
  SNDG2: "#c8aa78",
198
198
  DEPSC: "#383028",
199
- DEPCN: "#383028",
199
+ // ⚠ DELIBERATE DEVIATION from the published S-52 NIGHT value (#1f2223),
200
+ // recorded here because `docs/validation/s52-spec-gap-matrix.json` tracks
201
+ // this token as `value-differs` and the CHRTstyles programme is bringing
202
+ // colours TO spec — this one moves further away, on purpose.
203
+ //
204
+ // Spec NIGHT DEPCN is near-black, which measures ~1.1:1 against this
205
+ // palette's own deep water (#051a28). S-52's NIGHT table assumes a
206
+ // dark-adapted eye in a darkened wheelhouse; on a phone or a laptop at
207
+ // anchor it is not dim, it is absent — reported as "can't see bottom
208
+ // contours in night mode only". A contour nobody can see fails the
209
+ // standard's intent while matching its number.
210
+ //
211
+ // The palette already makes this trade elsewhere and in the same
212
+ // direction: NIGHT's CHBLK/CSTLN/OUTLW are #c8aa78, light warm linework on
213
+ // dark water. This value is that family, dimmed to stay subordinate to the
214
+ // coastline. Revisit with the CHRTstyles programme, which owns the
215
+ // spec-vs-legibility call across all 63 tokens.
216
+ DEPCN: "#A68E84",
200
217
  UINFD: "#c8aa78",
201
218
  UINFF: "#383028",
202
219
  UINFR: "#682030",