@chrtco/sdk 0.10.40 → 0.10.42

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.
@@ -122,7 +122,12 @@ var S52_DUSK = {
122
122
  CHMGF: "#905090",
123
123
  CHWHT: "#90a0a0",
124
124
  CHCOR: "#a06030",
125
- SNDG1: "#606060",
125
+ // Deeper-than-safety soundings. Was #606060, which measured 2.39:1 on this
126
+ // palette's DEPMD (#7ba6b8). DUSK water is LIGHT, so the only way to 3:1 is
127
+ // darker: #505050 = 3.07:1 on DEPMD, 4.09:1 on DEPDW (spec: #292e2e). The
128
+ // shoaler SNDG2 stays the louder numeral through its UIBCK halo cut-out.
129
+ // Guarded with NIGHT's by `sounding-legibility.test.ts`; see S52_NIGHT.SNDG1.
130
+ SNDG1: "#505050",
126
131
  SNDG2: "#b0b0b0",
127
132
  DEPSC: "#606060",
128
133
  DEPCN: "#2E2E2E",
@@ -193,7 +198,24 @@ var S52_NIGHT = {
193
198
  CHMGF: "#482848",
194
199
  CHWHT: "#484840",
195
200
  CHCOR: "#683818",
196
- SNDG1: "#383028",
201
+ // ⚠ DELIBERATE DEVIATION from the published S-52 NIGHT value (#1f2223),
202
+ // for the reason DEPCN's below gives, on the deeper-than-safety soundings.
203
+ //
204
+ // Reported 2026-09-30 at night on CHRTdesktop (Raspberry Pi 4): "we mute
205
+ // out the ones that are 'deep' but I need to still be able to see them."
206
+ // The previous value, #383028, measured 1.37:1 on DEPDW and 1.08:1 on
207
+ // DEPMD: the muted soundings had disappeared entirely.
208
+ //
209
+ // #897350 is SNDG2 (#c8aa78) scaled to 43% of its linear light, so it keeps
210
+ // SNDG2's hue (the NIGHT table's warm linework family, kind to a
211
+ // dark-adapted eye and to red night). Against this palette's water it
212
+ // measures 3.10:1 on DEPMD and 3.91:1 on DEPDW, which clears the 3:1 floor.
213
+ // It is 0.49x SNDG2's contrast on any of them, so the eye still goes to
214
+ // the shoal soundings first. On the lighter DEPMS/DEPVS water the UIBCK
215
+ // halo carries it: fill against halo is 4.37:1.
216
+ // The window is narrow (luminance 0.175-0.187 meets both conditions), and
217
+ // `sounding-legibility.test.ts` pins both ends for every symbol family.
218
+ SNDG1: "#897350",
197
219
  SNDG2: "#c8aa78",
198
220
  DEPSC: "#383028",
199
221
  // ⚠ DELIBERATE DEVIATION from the published S-52 NIGHT value (#1f2223),