@chrtco/sdk 0.10.24 → 0.10.26

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.
@@ -90,7 +90,7 @@ var S52_DAY = {
90
90
  SNDG1: "#7d898c",
91
91
  SNDG2: "#070707",
92
92
  DEPSC: "#525a5c",
93
- DEPCN: "#7d898c",
93
+ DEPCN: "#555555",
94
94
  // Utility / infrastructure
95
95
  UINFD: "#070707",
96
96
  UINFF: "#7d898c",
@@ -164,7 +164,7 @@ var S52_DUSK = {
164
164
  SNDG1: "#606060",
165
165
  SNDG2: "#b0b0b0",
166
166
  DEPSC: "#606060",
167
- DEPCN: "#606060",
167
+ DEPCN: "#2E2E2E",
168
168
  UINFD: "#b0b0b0",
169
169
  UINFF: "#606060",
170
170
  UINFR: "#b05060",
@@ -235,7 +235,24 @@ var S52_NIGHT = {
235
235
  SNDG1: "#383028",
236
236
  SNDG2: "#c8aa78",
237
237
  DEPSC: "#383028",
238
- DEPCN: "#383028",
238
+ // ⚠ DELIBERATE DEVIATION from the published S-52 NIGHT value (#1f2223),
239
+ // recorded here because `docs/validation/s52-spec-gap-matrix.json` tracks
240
+ // this token as `value-differs` and the CHRTstyles programme is bringing
241
+ // colours TO spec — this one moves further away, on purpose.
242
+ //
243
+ // Spec NIGHT DEPCN is near-black, which measures ~1.1:1 against this
244
+ // palette's own deep water (#051a28). S-52's NIGHT table assumes a
245
+ // dark-adapted eye in a darkened wheelhouse; on a phone or a laptop at
246
+ // anchor it is not dim, it is absent — reported as "can't see bottom
247
+ // contours in night mode only". A contour nobody can see fails the
248
+ // standard's intent while matching its number.
249
+ //
250
+ // The palette already makes this trade elsewhere and in the same
251
+ // direction: NIGHT's CHBLK/CSTLN/OUTLW are #c8aa78, light warm linework on
252
+ // dark water. This value is that family, dimmed to stay subordinate to the
253
+ // coastline. Revisit with the CHRTstyles programme, which owns the
254
+ // spec-vs-legibility call across all 63 tokens.
255
+ DEPCN: "#A68E84",
239
256
  UINFD: "#c8aa78",
240
257
  UINFF: "#383028",
241
258
  UINFR: "#682030",