@dataimago/tokens 0.1.0-alpha.30 → 0.1.0-alpha.32

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.
package/dist/tokens.scss CHANGED
@@ -63,6 +63,16 @@
63
63
  --transition-standard: 0.25s ease-in-out;
64
64
  --transition-smooth: 0.35s ease;
65
65
  --transition-logo: 0.3s;
66
+ --gradient-video-poster: linear-gradient(135deg, #2b3a4a, #1f2a1f 60%, #3b2f1c);
67
+ --motion-enter: 200ms;
68
+ --motion-exit: 120ms;
69
+ --motion-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
70
+ --motion-ease-in: cubic-bezier(0.55, 0.085, 0.68, 0.53);
71
+ --motion-duration-120: 120ms;
72
+ --motion-duration-160: 160ms;
73
+ --motion-duration-200: 200ms;
74
+ --motion-duration-250: 250ms;
75
+ --motion-duration-300: 300ms;
66
76
  --font-family-sans: Noto Sans, Noto Sans Math, system-ui, sans-serif;
67
77
  --font-family-mono: Noto Sans Mono, SF Mono, Monaco, Inconsolata, monospace;
68
78
  --font-family-display: var(--font-family-display-editorial);
@@ -154,6 +164,14 @@
154
164
  --color-surface-navbar-scrolled: color(display-p3 0.9294 0.9294 0.9223);
155
165
  --color-surface-code: #f7f7f6;
156
166
  --color-surface-code: color(display-p3 0.9686 0.9686 0.9651);
167
+ --color-surface-scrim: rgba(20, 20, 16, 0.85);
168
+ --color-surface-scrim: color(display-p3 0.0784 0.0784 0.0643 / 0.85);
169
+ --color-surface-scrim-solid: rgba(20, 20, 16, 0.92);
170
+ --color-surface-scrim-solid: color(display-p3 0.0784 0.0784 0.0643 / 0.92);
171
+ --color-surface-print: #f7f7f6;
172
+ --color-surface-print: color(display-p3 0.9686 0.9686 0.9651);
173
+ --color-surface-play-disc: rgba(247, 247, 246, 0.92);
174
+ --color-surface-play-disc: color(display-p3 0.9686 0.9686 0.9651 / 0.92);
157
175
  --color-border-subtle: rgba(12, 10, 9, 0.45);
158
176
  --color-border-subtle: color(display-p3 0.0457 0.0395 0.0358 / 0.45);
159
177
  --color-border-moderate: rgba(12, 10, 9, 0.60);
@@ -166,6 +184,8 @@
166
184
  --color-border-figure-frame: color(display-p3 0.4157 0.4157 0.4157);
167
185
  --color-border-code: #d6d3d1;
168
186
  --color-border-code: color(display-p3 0.8371 0.8278 0.8205);
187
+ --color-border-on-scrim-focus: #3498db;
188
+ --color-border-on-scrim-focus: color(display-p3 0.3208 0.588 0.8369);
169
189
  --color-content-primary: #14140f;
170
190
  --color-content-primary: color(display-p3 0.0784 0.0784 0.0608);
171
191
  --color-content-secondary: #6a6a6a;
@@ -174,6 +194,10 @@
174
194
  --color-content-muted: color(display-p3 0.4345 0.4127 0.3945);
175
195
  --color-content-inverse: #fdf9f2;
176
196
  --color-content-inverse: color(display-p3 0.9894 0.977 0.9518);
197
+ --color-content-on-scrim: #f7f7f6;
198
+ --color-content-on-scrim: color(display-p3 0.9686 0.9686 0.9651);
199
+ --color-content-on-print: #14140f;
200
+ --color-content-on-print: color(display-p3 0.0784 0.0784 0.0608);
177
201
  --color-interactive-primary: #434739;
178
202
  --color-interactive-primary: color(display-p3 0.2656 0.2779 0.2287);
179
203
  --color-interactive-hover: #363a2e;
@@ -209,6 +233,12 @@
209
233
  --shadow-subtle: 0 1px 2px 0 rgb(20 20 16 / 0.05);
210
234
  --shadow-moderate: 0 4px 6px -1px rgb(20 20 16 / 0.1);
211
235
  --shadow-prominent: 0 10px 15px -3px rgb(20 20 16 / 0.1);
236
+ --shadow-figure-plate-hover: 0 10px 15px -3px rgb(20 20 16 / 0.1);
237
+ --shadow-figure-plate-active: 0 4px 6px -1px rgb(20 20 16 / 0.1);
238
+ --shadow-lift: 0 -8px 24px rgb(20 20 16 / 0.07);
239
+ --shadow-sheet: 0 -8px 24px rgb(0 0 0 / 0.18);
240
+ --shadow-float: 0 1px 2px rgb(20 20 16 / 0.06), 0 4px 14px rgb(20 20 16 / 0.08);
241
+ --shadow-print: 0 1px 3px rgb(0 0 0 / 0.25);
212
242
  --border-subtle: rgba(20, 20, 16, 0.47);
213
243
  --border-moderate: rgba(20, 20, 16, 0.63);
214
244
  --border-focus: #3498DB;
@@ -219,6 +249,7 @@
219
249
  --color-dataviz-uncertainty-outer: #D6D6D6;
220
250
  --color-dataviz-uncertainty-union: #9E9E9E;
221
251
  --color-dataviz-uncertainty-inner: #333333;
252
+ --color-dataviz-map-ocean: #808fa7;
222
253
  }
223
254
 
224
255
  [data-bs-theme="dark"] {
@@ -238,6 +269,14 @@
238
269
  --color-surface-navbar-scrolled: color(display-p3 0.0784 0.0784 0.0643);
239
270
  --color-surface-code: #1c1917;
240
271
  --color-surface-code: color(display-p3 0.1078 0.0985 0.0911);
272
+ --color-surface-scrim: rgba(20, 20, 16, 0.85);
273
+ --color-surface-scrim: color(display-p3 0.0784 0.0784 0.0643 / 0.85);
274
+ --color-surface-scrim-solid: rgba(20, 20, 16, 0.92);
275
+ --color-surface-scrim-solid: color(display-p3 0.0784 0.0784 0.0643 / 0.92);
276
+ --color-surface-print: #f7f7f6;
277
+ --color-surface-print: color(display-p3 0.9686 0.9686 0.9651);
278
+ --color-surface-play-disc: rgba(247, 247, 246, 0.92);
279
+ --color-surface-play-disc: color(display-p3 0.9686 0.9686 0.9651 / 0.92);
241
280
  --color-border-subtle: rgba(253, 249, 242, 0.45);
242
281
  --color-border-subtle: color(display-p3 0.9894 0.977 0.9518 / 0.45);
243
282
  --color-border-moderate: rgba(253, 249, 242, 0.60);
@@ -250,6 +289,8 @@
250
289
  --color-border-figure-frame: color(display-p3 0.4157 0.4157 0.4157);
251
290
  --color-border-code: #292524;
252
291
  --color-border-code: color(display-p3 0.1581 0.1456 0.1418);
292
+ --color-border-on-scrim-focus: #3498db;
293
+ --color-border-on-scrim-focus: color(display-p3 0.3208 0.588 0.8369);
253
294
  --color-content-primary: #fdf9f2;
254
295
  --color-content-primary: color(display-p3 0.9894 0.977 0.9518);
255
296
  --color-content-secondary: #a8a29e;
@@ -258,6 +299,10 @@
258
299
  --color-content-muted: color(display-p3 0.5325 0.5107 0.4925);
259
300
  --color-content-inverse: #0c0a09;
260
301
  --color-content-inverse: color(display-p3 0.0457 0.0395 0.0358);
302
+ --color-content-on-scrim: #f7f7f6;
303
+ --color-content-on-scrim: color(display-p3 0.9686 0.9686 0.9651);
304
+ --color-content-on-print: #14140f;
305
+ --color-content-on-print: color(display-p3 0.0784 0.0784 0.0608);
261
306
  --color-interactive-primary: #98a384;
262
307
  --color-interactive-primary: color(display-p3 0.604 0.6378 0.5291);
263
308
  --color-interactive-hover: #7e8a6b;
@@ -293,6 +338,12 @@
293
338
  --shadow-subtle: 0 1px 2px 0 rgb(237 237 235 / 0.03);
294
339
  --shadow-moderate: 0 4px 6px -1px rgb(237 237 235 / 0.05);
295
340
  --shadow-prominent: 0 10px 15px -3px rgb(237 237 235 / 0.4);
341
+ --shadow-figure-plate-hover: 0 4px 12px rgb(0 0 0 / 0.5);
342
+ --shadow-figure-plate-active: 0 2px 8px rgb(0 0 0 / 0.35);
343
+ --shadow-lift: 0 -8px 24px rgb(0 0 0 / 0.30);
344
+ --shadow-sheet: 0 -8px 24px rgb(0 0 0 / 0.18);
345
+ --shadow-float: 0 1px 2px rgb(0 0 0 / 0.40), 0 4px 14px rgb(0 0 0 / 0.35);
346
+ --shadow-print: 0 1px 3px rgb(0 0 0 / 0.25);
296
347
  --border-subtle: rgba(237, 237, 235, 0.47);
297
348
  --border-moderate: rgba(237, 237, 235, 0.63);
298
349
  --border-focus: #4FC3F7;
@@ -303,6 +354,7 @@
303
354
  --color-dataviz-uncertainty-outer: #333333;
304
355
  --color-dataviz-uncertainty-union: #6B6B6B;
305
356
  --color-dataviz-uncertainty-inner: #D6D6D6;
357
+ --color-dataviz-map-ocean: #042438;
306
358
  }
307
359
 
308
360
  @media (prefers-color-scheme: dark) {
@@ -323,6 +375,14 @@
323
375
  --color-surface-navbar-scrolled: color(display-p3 0.0784 0.0784 0.0643);
324
376
  --color-surface-code: #1c1917;
325
377
  --color-surface-code: color(display-p3 0.1078 0.0985 0.0911);
378
+ --color-surface-scrim: rgba(20, 20, 16, 0.85);
379
+ --color-surface-scrim: color(display-p3 0.0784 0.0784 0.0643 / 0.85);
380
+ --color-surface-scrim-solid: rgba(20, 20, 16, 0.92);
381
+ --color-surface-scrim-solid: color(display-p3 0.0784 0.0784 0.0643 / 0.92);
382
+ --color-surface-print: #f7f7f6;
383
+ --color-surface-print: color(display-p3 0.9686 0.9686 0.9651);
384
+ --color-surface-play-disc: rgba(247, 247, 246, 0.92);
385
+ --color-surface-play-disc: color(display-p3 0.9686 0.9686 0.9651 / 0.92);
326
386
  --color-border-subtle: rgba(253, 249, 242, 0.45);
327
387
  --color-border-subtle: color(display-p3 0.9894 0.977 0.9518 / 0.45);
328
388
  --color-border-moderate: rgba(253, 249, 242, 0.60);
@@ -335,6 +395,8 @@
335
395
  --color-border-figure-frame: color(display-p3 0.4157 0.4157 0.4157);
336
396
  --color-border-code: #292524;
337
397
  --color-border-code: color(display-p3 0.1581 0.1456 0.1418);
398
+ --color-border-on-scrim-focus: #3498db;
399
+ --color-border-on-scrim-focus: color(display-p3 0.3208 0.588 0.8369);
338
400
  --color-content-primary: #fdf9f2;
339
401
  --color-content-primary: color(display-p3 0.9894 0.977 0.9518);
340
402
  --color-content-secondary: #a8a29e;
@@ -343,6 +405,10 @@
343
405
  --color-content-muted: color(display-p3 0.5325 0.5107 0.4925);
344
406
  --color-content-inverse: #0c0a09;
345
407
  --color-content-inverse: color(display-p3 0.0457 0.0395 0.0358);
408
+ --color-content-on-scrim: #f7f7f6;
409
+ --color-content-on-scrim: color(display-p3 0.9686 0.9686 0.9651);
410
+ --color-content-on-print: #14140f;
411
+ --color-content-on-print: color(display-p3 0.0784 0.0784 0.0608);
346
412
  --color-interactive-primary: #98a384;
347
413
  --color-interactive-primary: color(display-p3 0.604 0.6378 0.5291);
348
414
  --color-interactive-hover: #7e8a6b;
@@ -378,6 +444,12 @@
378
444
  --shadow-subtle: 0 1px 2px 0 rgb(237 237 235 / 0.03);
379
445
  --shadow-moderate: 0 4px 6px -1px rgb(237 237 235 / 0.05);
380
446
  --shadow-prominent: 0 10px 15px -3px rgb(237 237 235 / 0.4);
447
+ --shadow-figure-plate-hover: 0 4px 12px rgb(0 0 0 / 0.5);
448
+ --shadow-figure-plate-active: 0 2px 8px rgb(0 0 0 / 0.35);
449
+ --shadow-lift: 0 -8px 24px rgb(0 0 0 / 0.30);
450
+ --shadow-sheet: 0 -8px 24px rgb(0 0 0 / 0.18);
451
+ --shadow-float: 0 1px 2px rgb(0 0 0 / 0.40), 0 4px 14px rgb(0 0 0 / 0.35);
452
+ --shadow-print: 0 1px 3px rgb(0 0 0 / 0.25);
381
453
  --border-subtle: rgba(237, 237, 235, 0.47);
382
454
  --border-moderate: rgba(237, 237, 235, 0.63);
383
455
  --border-focus: #4FC3F7;
@@ -388,5 +460,6 @@
388
460
  --color-dataviz-uncertainty-outer: #333333;
389
461
  --color-dataviz-uncertainty-union: #6B6B6B;
390
462
  --color-dataviz-uncertainty-inner: #D6D6D6;
463
+ --color-dataviz-map-ocean: #042438;
391
464
  }
392
465
  }
@@ -33,6 +33,22 @@
33
33
  "code": {
34
34
  "value": "#f7f7f6",
35
35
  "type": "color"
36
+ },
37
+ "scrim": {
38
+ "value": "rgba(20, 20, 16, 0.85)",
39
+ "type": "color"
40
+ },
41
+ "scrim-solid": {
42
+ "value": "rgba(20, 20, 16, 0.92)",
43
+ "type": "color"
44
+ },
45
+ "print": {
46
+ "value": "#f7f7f6",
47
+ "type": "color"
48
+ },
49
+ "play-disc": {
50
+ "value": "rgba(247, 247, 246, 0.92)",
51
+ "type": "color"
36
52
  }
37
53
  },
38
54
  "border": {
@@ -59,6 +75,10 @@
59
75
  "code": {
60
76
  "value": "#d6d3d1",
61
77
  "type": "color"
78
+ },
79
+ "on-scrim-focus": {
80
+ "value": "#3498DB",
81
+ "type": "color"
62
82
  }
63
83
  },
64
84
  "content": {
@@ -77,6 +97,14 @@
77
97
  "inverse": {
78
98
  "value": "#fdf9f2",
79
99
  "type": "color"
100
+ },
101
+ "on-scrim": {
102
+ "value": "#f7f7f6",
103
+ "type": "color"
104
+ },
105
+ "on-print": {
106
+ "value": "#14140f",
107
+ "type": "color"
80
108
  }
81
109
  },
82
110
  "interactive": {
@@ -257,6 +285,12 @@
257
285
  "value": "#0072B2",
258
286
  "type": "color"
259
287
  }
288
+ },
289
+ "map": {
290
+ "ocean": {
291
+ "value": "#808fa7",
292
+ "type": "color"
293
+ }
260
294
  }
261
295
  }
262
296
  },
@@ -310,6 +344,46 @@
310
344
  "type": "duration"
311
345
  }
312
346
  },
347
+ "motion": {
348
+ "enter": {
349
+ "value": "200ms",
350
+ "type": "duration"
351
+ },
352
+ "exit": {
353
+ "value": "120ms",
354
+ "type": "duration"
355
+ },
356
+ "ease-out": {
357
+ "value": "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
358
+ "type": "other"
359
+ },
360
+ "ease-in": {
361
+ "value": "cubic-bezier(0.55, 0.085, 0.68, 0.53)",
362
+ "type": "other"
363
+ },
364
+ "duration": {
365
+ "120": {
366
+ "value": "120ms",
367
+ "type": "duration"
368
+ },
369
+ "160": {
370
+ "value": "160ms",
371
+ "type": "duration"
372
+ },
373
+ "200": {
374
+ "value": "200ms",
375
+ "type": "duration"
376
+ },
377
+ "250": {
378
+ "value": "250ms",
379
+ "type": "duration"
380
+ },
381
+ "300": {
382
+ "value": "300ms",
383
+ "type": "duration"
384
+ }
385
+ }
386
+ },
313
387
  "font": {
314
388
  "family": {
315
389
  "sans": {
@@ -569,6 +643,22 @@
569
643
  "code": {
570
644
  "value": "#1c1917",
571
645
  "type": "color"
646
+ },
647
+ "scrim": {
648
+ "value": "rgba(20, 20, 16, 0.85)",
649
+ "type": "color"
650
+ },
651
+ "scrim-solid": {
652
+ "value": "rgba(20, 20, 16, 0.92)",
653
+ "type": "color"
654
+ },
655
+ "print": {
656
+ "value": "#f7f7f6",
657
+ "type": "color"
658
+ },
659
+ "play-disc": {
660
+ "value": "rgba(247, 247, 246, 0.92)",
661
+ "type": "color"
572
662
  }
573
663
  },
574
664
  "border": {
@@ -595,6 +685,10 @@
595
685
  "code": {
596
686
  "value": "#292524",
597
687
  "type": "color"
688
+ },
689
+ "on-scrim-focus": {
690
+ "value": "#3498DB",
691
+ "type": "color"
598
692
  }
599
693
  },
600
694
  "content": {
@@ -613,6 +707,14 @@
613
707
  "inverse": {
614
708
  "value": "#0c0a09",
615
709
  "type": "color"
710
+ },
711
+ "on-scrim": {
712
+ "value": "#f7f7f6",
713
+ "type": "color"
714
+ },
715
+ "on-print": {
716
+ "value": "#14140f",
717
+ "type": "color"
616
718
  }
617
719
  },
618
720
  "interactive": {
@@ -707,6 +809,12 @@
707
809
  "value": "#D6D6D6",
708
810
  "type": "color"
709
811
  }
812
+ },
813
+ "map": {
814
+ "ocean": {
815
+ "value": "#042438",
816
+ "type": "color"
817
+ }
710
818
  }
711
819
  }
712
820
  },
@@ -80,6 +80,46 @@
80
80
  }
81
81
  },
82
82
  "$description": "Code block and inline code background: the card colour (surface.elevated) in both modes, so code reads as a card on the page (2026-11-02; light mode was the warm paper-200 #faf2e3)"
83
+ },
84
+ "scrim": {
85
+ "$value": "rgba(20, 20, 16, 0.85)",
86
+ "$type": "color",
87
+ "$extensions": {
88
+ "com.dataimago.theme": {
89
+ "dark": "rgba(20, 20, 16, 0.85)"
90
+ }
91
+ },
92
+ "$description": "Figure viewer backdrop. Mode-invariant: the scrim is dark in both modes, so light and dark carry the same value (the color.border.figure-frame precedent). Ink-900-ish at 0.85, drawn under a 3px blur; measured composited over the page, on-scrim text is 11.5:1 on the light page and 17.2:1 on the dark (gated by tools/contrast-check.mjs, 2026-11-03)."
93
+ },
94
+ "scrim-solid": {
95
+ "$value": "rgba(20, 20, 16, 0.92)",
96
+ "$type": "color",
97
+ "$extensions": {
98
+ "com.dataimago.theme": {
99
+ "dark": "rgba(20, 20, 16, 0.92)"
100
+ }
101
+ },
102
+ "$description": "Figure viewer backdrop where backdrop blur is unavailable (prefers-reduced-transparency, prefers-contrast: more and browsers without backdrop blur): the same ink at 0.92. Mode-invariant: the scrim is dark in both modes, so light and dark carry the same value (the color.border.figure-frame precedent). Gated by tools/contrast-check.mjs."
103
+ },
104
+ "print": {
105
+ "$value": "#f7f7f6",
106
+ "$type": "color",
107
+ "$extensions": {
108
+ "com.dataimago.theme": {
109
+ "dark": "#f7f7f6"
110
+ }
111
+ },
112
+ "$description": "Printed paper: the paper-cover thumbnail, the light slide, the face of a video-play disc. It depicts a physical object (a printed page, a slide), so it is theme-invariant: light and dark carry the same value, and the paper does not darken with the page (the color.border.figure-frame precedent). stone-50, the card colour; the SGPc apps' own #f6f4ee is not a house colour and was mapped onto this step (maintainer decision 2026-11-03). Ink on it is content.on-print, held to 7:1 by tools/contrast-check.mjs."
113
+ },
114
+ "play-disc": {
115
+ "$value": "rgba(247, 247, 246, 0.92)",
116
+ "$type": "color",
117
+ "$extensions": {
118
+ "com.dataimago.theme": {
119
+ "dark": "rgba(247, 247, 246, 0.92)"
120
+ }
121
+ },
122
+ "$description": "The video-play disc: surface.print at 0.92 alpha, over a poster frame or poster placeholder. It depicts a physical object, so it is theme-invariant: light and dark carry the same value. Its glyph is content.on-print (no separate token), held to 4.5:1 on the disc composited over each mode's page by tools/contrast-check.mjs, so the disc stays legible in dark mode."
83
123
  }
84
124
  },
85
125
  "border": {
@@ -142,6 +182,16 @@
142
182
  }
143
183
  },
144
184
  "$description": "Code block border"
185
+ },
186
+ "on-scrim-focus": {
187
+ "$value": "#3498DB",
188
+ "$type": "color",
189
+ "$extensions": {
190
+ "com.dataimago.theme": {
191
+ "dark": "#3498DB"
192
+ }
193
+ },
194
+ "$description": "Focus ring on the figure viewer scrim. Mode-invariant: the scrim is dark in both modes, so light and dark carry the same value (the color.border.figure-frame precedent). The slate accent's dark-mode value in both modes, because the scrim is dark in both. Held to 3:1 (WCAG 1.4.11) over both scrims and both page modes by tools/contrast-check.mjs."
145
195
  }
146
196
  },
147
197
  "content": {
@@ -184,6 +234,26 @@
184
234
  }
185
235
  },
186
236
  "$description": "Inverse text — for contrasting backgrounds"
237
+ },
238
+ "on-scrim": {
239
+ "$value": "#f7f7f6",
240
+ "$type": "color",
241
+ "$extensions": {
242
+ "com.dataimago.theme": {
243
+ "dark": "#f7f7f6"
244
+ }
245
+ },
246
+ "$description": "Text and controls on the figure viewer scrim (stone-50). Mode-invariant: the scrim is dark in both modes, so light and dark carry the same value (the color.border.figure-frame precedent). Held to 7:1 over both scrims and both page modes by tools/contrast-check.mjs."
247
+ },
248
+ "on-print": {
249
+ "$value": "#14140f",
250
+ "$type": "color",
251
+ "$extensions": {
252
+ "com.dataimago.theme": {
253
+ "dark": "#14140f"
254
+ }
255
+ },
256
+ "$description": "Ink on surface.print, and the glyph on surface.play-disc (the play triangle takes this token; it has no separate one). stone-900. It depicts printed ink, so it is theme-invariant: light and dark carry the same value (the color.border.figure-frame precedent). Held to 7:1 on surface.print, and 4.5:1 on the play disc composited over each mode's page, by tools/contrast-check.mjs."
187
257
  }
188
258
  },
189
259
  "interactive": {
@@ -495,6 +565,18 @@
495
565
  "$type": "color",
496
566
  "$description": "= okabe-ito.blue. SGPc growth bucket 5 of 5 (very high) on the ordered scale very low → very high. Colour is never the only channel: pair it with a marker and the bucket letter code. Author decision 2026-11-01, matching the LIwLD paper's figures."
497
567
  }
568
+ },
569
+ "map": {
570
+ "ocean": {
571
+ "$value": "#808fa7",
572
+ "$type": "color",
573
+ "$extensions": {
574
+ "com.dataimago.theme": {
575
+ "dark": "#042438"
576
+ }
577
+ },
578
+ "$description": "Map-surface ground: the sea on the SGPc globe, behind land, absent countries and bucket-filled shapes. A muted slate blue on light surfaces and a deep blue on dark (maintainer 2026-10-22); not a palette step. The light value moved from #c9e1ec on 2026-11-01, when the Okabe-Ito sky-blue bucket blended into it: #808fa7 sits mid-way in lightness between the two blue buckets and is grey enough to read as sea. Gated by tools/dataviz-check.mjs against the five sgpc-bucket colours and the land neutrals (ink-200 land and ink-100 absent in light; ink-600 land and ink-700 absent in dark) at ΔE2000 ≥ 11.1 under normal vision and deutan, protan and tritan simulation, and the country outline (ink-600 light, ink-300 dark) at ≥ 3:1. Draw country borders in this colour, as gaps between shapes. The dark value moved from the apps' #14232c to #042438 on 2026-11-03 (maintainer): a slightly deeper sea keeps the quiet 'no data' countries (ink-700) distinct from it for protan readers (#14232c was ΔE 6.61 from them). Raised from the SGPc apps (2026-11-03)."
579
+ }
498
580
  }
499
581
  }
500
582
  },
@@ -566,6 +648,65 @@
566
648
  "$description": "Reserved for the dataimago wordmark / brand-mark transitions; do not borrow for general UI"
567
649
  }
568
650
  },
651
+ "motion": {
652
+ "enter": {
653
+ "$value": "200ms",
654
+ "$type": "duration",
655
+ "$description": "Something arrives: a page fade, tooltip in, chip in, view switch, drawer open, chart marks. Pair with motion.ease-out. Raised from the SGPc apps (2026-11-03), which named it --motion-enter. Within the 300ms motion-dignity ceiling; gated by tools/motion-lint.mjs."
656
+ },
657
+ "exit": {
658
+ "$value": "120ms",
659
+ "$type": "duration",
660
+ "$description": "Something leaves: tooltip out, chip out, drawer close. Shorter than motion.enter, because leaving should not hold the reader. Pair with motion.ease-in; a component that unmounts in script holds the unmount for this long. Raised from the SGPc apps (2026-11-03), which named it --motion-exit."
661
+ },
662
+ "ease-out": {
663
+ "$value": [
664
+ 0.25,
665
+ 0.46,
666
+ 0.45,
667
+ 0.94
668
+ ],
669
+ "$type": "cubicBezier",
670
+ "$description": "easeOutQuad, the curve foundations/design/motion-dignity.md names, for entrances: fast at the start, settling gently. Raised from the SGPc apps (2026-11-03), which named it --motion-ease-out."
671
+ },
672
+ "ease-in": {
673
+ "$value": [
674
+ 0.55,
675
+ 0.085,
676
+ 0.68,
677
+ 0.53
678
+ ],
679
+ "$type": "cubicBezier",
680
+ "$description": "easeInQuad, for exits: starts gently and leaves quickly. The counterpart of motion.ease-out. Raised from the SGPc apps (2026-11-03), which named it --motion-ease-in."
681
+ },
682
+ "duration": {
683
+ "120": {
684
+ "$value": "120ms",
685
+ "$type": "duration",
686
+ "$description": "Duration scale step, 120ms. Equal to motion.exit."
687
+ },
688
+ "160": {
689
+ "$value": "160ms",
690
+ "$type": "duration",
691
+ "$description": "Duration scale step, 160ms: a hover on a small control, a sheet leaving."
692
+ },
693
+ "200": {
694
+ "$value": "200ms",
695
+ "$type": "duration",
696
+ "$description": "Duration scale step, 200ms. Equal to motion.enter."
697
+ },
698
+ "250": {
699
+ "$value": "250ms",
700
+ "$type": "duration",
701
+ "$description": "Duration scale step, 250ms: a sheet arriving, a grid-column change."
702
+ },
703
+ "300": {
704
+ "$value": "300ms",
705
+ "$type": "duration",
706
+ "$description": "Duration scale step, 300ms: the motion-dignity ceiling. Nothing in the scale is longer, and the motion gate holds every motion.* value to it. A slow ambient entrance is not a token: a wait before an animation is a delay, not motion, and the animation itself stays at or under this step."
707
+ }
708
+ }
709
+ },
569
710
  "font": {
570
711
  "family": {
571
712
  "sans": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataimago/tokens",
3
- "version": "0.1.0-alpha.30",
3
+ "version": "0.1.0-alpha.32",
4
4
  "description": "dataimago design tokens — canonical JSON sources plus generated TS/CSS artifacts",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/dataviz.json CHANGED
@@ -109,6 +109,13 @@
109
109
  "value": "#0072B2",
110
110
  "description": "= okabe-ito.blue. SGPc growth bucket 5 of 5 (very high) on the ordered scale very low → very high. Colour is never the only channel: pair it with a marker and the bucket letter code. Author decision 2026-11-01, matching the LIwLD paper's figures."
111
111
  }
112
+ },
113
+ "map": {
114
+ "ocean": {
115
+ "light": "#808fa7",
116
+ "dark": "#042438",
117
+ "description": "Map-surface ground: the sea on the SGPc globe, behind land, absent countries and bucket-filled shapes. A muted slate blue on light surfaces and a deep blue on dark (maintainer 2026-10-22); not a palette step. The light value moved from #c9e1ec on 2026-11-01, when the Okabe-Ito sky-blue bucket blended into it: #808fa7 sits mid-way in lightness between the two blue buckets and is grey enough to read as sea. Gated by tools/dataviz-check.mjs against the five sgpc-bucket colours and the land neutrals (ink-200 land and ink-100 absent in light; ink-600 land and ink-700 absent in dark) at ΔE2000 ≥ 11.1 under normal vision and deutan, protan and tritan simulation, and the country outline (ink-600 light, ink-300 dark) at ≥ 3:1. Draw country borders in this colour, as gaps between shapes. The dark value moved from the apps' #14232c to #042438 on 2026-11-03 (maintainer): a slightly deeper sea keeps the quiet 'no data' countries (ink-700) distinct from it for protan readers (#14232c was ΔE 6.61 from them). Raised from the SGPc apps (2026-11-03)."
118
+ }
112
119
  }
113
120
  }
114
121
  }
package/src/effects.json CHANGED
@@ -14,6 +14,38 @@
14
14
  "light": "0 10px 15px -3px rgb(20 20 16 / 0.1)",
15
15
  "dark": "0 10px 15px -3px rgb(237 237 235 / 0.4)",
16
16
  "description": "Strong elevation - modals, floating elements"
17
+ },
18
+ "figure-plate": {
19
+ "hover": {
20
+ "light": "0 10px 15px -3px rgb(20 20 16 / 0.1)",
21
+ "dark": "0 4px 12px rgb(0 0 0 / 0.5)",
22
+ "description": "Figure plate on hover. Light mode is the prominent shadow. Dark mode needs its own value: the plate stays light in dark mode, and prominent's light-ink glow (rgb(237 237 235 / 0.4)) would haze the dark page round a light plate, so a plain black shadow is used. Not mode-invariant."
23
+ },
24
+ "active": {
25
+ "light": "0 4px 6px -1px rgb(20 20 16 / 0.1)",
26
+ "dark": "0 2px 8px rgb(0 0 0 / 0.35)",
27
+ "description": "Figure plate while pressed. Light mode is the moderate shadow; dark mode is a plain black shadow for the same reason as figure-plate.hover. Not mode-invariant."
28
+ }
29
+ },
30
+ "lift": {
31
+ "light": "0 -8px 24px rgb(20 20 16 / 0.07)",
32
+ "dark": "0 -8px 24px rgb(0 0 0 / 0.30)",
33
+ "description": "Upward panel lift: a lower panel rising over the section above it, e.g. the landing's lower panel over the globe during the section wipe. Every other shadow here falls downward. Light is ink-900-ish at 0.07 (the apps wrote rgb(28 25 23), normalised to the house base rgb(20 20 16)); dark is plain black at 0.30 because a light-ink glow (as in shadow.prominent) would haze the dark page above the panel. The dark value is a controller call, not measured. Raised from the SGPc apps (2026-11-03)."
34
+ },
35
+ "sheet": {
36
+ "light": "0 -8px 24px rgb(0 0 0 / 0.18)",
37
+ "dark": "0 -8px 24px rgb(0 0 0 / 0.18)",
38
+ "description": "Upward shadow for a bottom sheet (the map details panel on a narrow screen). Plain black at 0.18 in both modes: a sheet is a physical layer over the page, so light and dark carry the same value. Raised from the SGPc apps (2026-11-03)."
39
+ },
40
+ "float": {
41
+ "light": "0 1px 2px rgb(20 20 16 / 0.06), 0 4px 14px rgb(20 20 16 / 0.08)",
42
+ "dark": "0 1px 2px rgb(0 0 0 / 0.40), 0 4px 14px rgb(0 0 0 / 0.35)",
43
+ "description": "Floating control: a small disc standing off the page, e.g. the landing's scroll chevron. Two layers, a tight contact shadow and a soft spread. Pair it with a hairline outline, because a shadow alone does not read in dark mode. Light is the apps' value normalised to rgb(20 20 16); dark is plain black, stronger (0.40 and 0.35) so the layers still read on a dark page, a controller call, not measured. Raised from the SGPc apps (2026-11-03)."
44
+ },
45
+ "print": {
46
+ "light": "0 1px 3px rgb(0 0 0 / 0.25)",
47
+ "dark": "0 1px 3px rgb(0 0 0 / 0.25)",
48
+ "description": "Paper drop shadow under a printed-paper object, e.g. the paper-cover thumbnail on color.surface.print. It depicts a physical object, so it is theme-invariant: the same in light and dark. Raised from the SGPc apps (2026-11-03)."
17
49
  }
18
50
  },
19
51
  "border": {
@@ -50,5 +82,51 @@
50
82
  "value": "0.3s",
51
83
  "description": "Reserved for the dataimago wordmark / brand-mark transitions; do not borrow for general UI"
52
84
  }
85
+ },
86
+ "gradient": {
87
+ "video-poster": {
88
+ "value": "linear-gradient(135deg, #2b3a4a, #1f2a1f 60%, #3b2f1c)",
89
+ "description": "Video-poster placeholder, shown until a real poster frame exists: a slate-to-green-to-umber diagonal. It depicts a video frame, so it is theme-invariant (the same in light and dark). Its three stops (#2b3a4a, #1f2a1f, #3b2f1c) are a one-off and are NOT palette colours: do not reach for them elsewhere. A CSS gradient string has no clean DTCG mapping, so this token is in tokens.css and the JS exports only and is left out of the W3C DTCG and Tokens Studio exports (the legacy dist/tokens.dtcg.json still carries it). Raised from the SGPc apps (2026-11-03)."
90
+ }
91
+ },
92
+ "motion": {
93
+ "enter": {
94
+ "value": "200ms",
95
+ "description": "Something arrives: a page fade, tooltip in, chip in, view switch, drawer open, chart marks. Pair with motion.ease-out. Raised from the SGPc apps (2026-11-03), which named it --motion-enter. Within the 300ms motion-dignity ceiling; gated by tools/motion-lint.mjs."
96
+ },
97
+ "exit": {
98
+ "value": "120ms",
99
+ "description": "Something leaves: tooltip out, chip out, drawer close. Shorter than motion.enter, because leaving should not hold the reader. Pair with motion.ease-in; a component that unmounts in script holds the unmount for this long. Raised from the SGPc apps (2026-11-03), which named it --motion-exit."
100
+ },
101
+ "ease-out": {
102
+ "value": "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
103
+ "description": "easeOutQuad, the curve foundations/design/motion-dignity.md names, for entrances: fast at the start, settling gently. Raised from the SGPc apps (2026-11-03), which named it --motion-ease-out."
104
+ },
105
+ "ease-in": {
106
+ "value": "cubic-bezier(0.55, 0.085, 0.68, 0.53)",
107
+ "description": "easeInQuad, for exits: starts gently and leaves quickly. The counterpart of motion.ease-out. Raised from the SGPc apps (2026-11-03), which named it --motion-ease-in."
108
+ },
109
+ "duration": {
110
+ "120": {
111
+ "value": "120ms",
112
+ "description": "Duration scale step, 120ms. Equal to motion.exit."
113
+ },
114
+ "160": {
115
+ "value": "160ms",
116
+ "description": "Duration scale step, 160ms: a hover on a small control, a sheet leaving."
117
+ },
118
+ "200": {
119
+ "value": "200ms",
120
+ "description": "Duration scale step, 200ms. Equal to motion.enter."
121
+ },
122
+ "250": {
123
+ "value": "250ms",
124
+ "description": "Duration scale step, 250ms: a sheet arriving, a grid-column change."
125
+ },
126
+ "300": {
127
+ "value": "300ms",
128
+ "description": "Duration scale step, 300ms: the motion-dignity ceiling. Nothing in the scale is longer, and the motion gate holds every motion.* value to it. A slow ambient entrance is not a token: a wait before an animation is a delay, not motion, and the animation itself stays at or under this step."
129
+ }
130
+ }
53
131
  }
54
132
  }