@sinequa/galactik 2.16.1 → 2.17.0

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.
@@ -0,0 +1,451 @@
1
+ /*
2
+ Galactik Design Tokens — browser-ready CSS variables
3
+ Source: galactik-design-react/css/galactik-default/galactik-token.css
4
+ Extracted from Vite bundle for direct use in preview HTML files.
5
+ No Tailwind directives — works in any browser without a build step.
6
+ */
7
+
8
+ /* Cascade layer order (Tailwind v4 compatible).
9
+ Legacy component CSS files wrap themselves in @layer components, so Tailwind
10
+ utilities (last layer) always win when both are loaded together. */
11
+ @layer theme, base, components, utilities;
12
+
13
+ :root {
14
+ /* ── Primitive palette ─────────────────────────────────────────────────── */
15
+
16
+ --pink-950: #4a325b;
17
+ --pink-900: #6c467b;
18
+ --pink-800: #7f5a8b;
19
+ --pink-700: #926e9b;
20
+ --pink-600: #a582ab;
21
+ --pink-500: #b896bb;
22
+ --pink-400: #c9aacb;
23
+ --pink-300: #dbbade;
24
+ --pink-200: #efc9f3;
25
+ --pink-100: #faecfb;
26
+ --pink-50: #fcf7fd;
27
+
28
+ --grey-950: #1a1f23;
29
+ --grey-900: #272e35;
30
+ --grey-800: #343d46;
31
+ --grey-700: #434f5b;
32
+ --grey-600: #596978;
33
+ --grey-500: #6f8295;
34
+ --grey-400: #8a99a8;
35
+ --grey-300: #a4b0bc;
36
+ --grey-200: #bec7cf;
37
+ --grey-100: #e2e5e9;
38
+ --grey-50: #f9fafb;
39
+
40
+ --yellow-950: #30230a;
41
+ --yellow-900: #463411;
42
+ --yellow-800: #5b4519;
43
+ --yellow-700: #715621;
44
+ --yellow-600: #9d7930;
45
+ --yellow-500: #c89b40;
46
+ --yellow-400: #f6ca72;
47
+ --yellow-300: #f8d795;
48
+ --yellow-200: #fbe5b9;
49
+ --yellow-100: #fdf2dc;
50
+ --yellow-50: #fef8ed;
51
+
52
+ --orange-950: #592a0b;
53
+ --orange-900: #753a13;
54
+ --orange-800: #85461e;
55
+ --orange-700: #98552a;
56
+ --orange-600: #be703c;
57
+ --orange-500: #df884f;
58
+ --orange-400: #ffba8d;
59
+ --orange-300: #ffcba9;
60
+ --orange-200: #ffddc6;
61
+ --orange-100: #ffeee2;
62
+ --orange-50: #fff6f1;
63
+
64
+ --green-950: #101a0e;
65
+ --green-900: #172714;
66
+ --green-800: #1f341b;
67
+ --green-700: #2f4f29;
68
+ --green-600: #3e6936;
69
+ --green-500: #4e8344;
70
+ --green-400: #709b67;
71
+ --green-300: #91b38b;
72
+ --green-200: #c4d6c0;
73
+ --green-100: #e5eee3;
74
+ --green-50: #f6faf5;
75
+
76
+ --red-950: #47090a;
77
+ --red-900: #5c1214;
78
+ --red-800: #701c1d;
79
+ --red-700: #852527;
80
+ --red-600: #ad3739;
81
+ --red-500: #d64a4c;
82
+ --red-400: #ff7d7f;
83
+ --red-300: #ff9d9f;
84
+ --red-200: #ffbebf;
85
+ --red-100: #ffdedf;
86
+ --red-50: #ffefef;
87
+
88
+ --cherry-950: #120a0c;
89
+ --cherry-900: #251418;
90
+ --cherry-800: #371e23;
91
+ --cherry-700: #49282f;
92
+ --cherry-600: #6e3d47;
93
+ --cherry-500: #bb6779;
94
+ --cherry-400: #c58491;
95
+ --cherry-300: #d4a3ad;
96
+ --cherry-200: #e2c1c8;
97
+ --cherry-100: #f1e0e4;
98
+ --cherry-50: #f8f0f1;
99
+
100
+ --indigo-950: #171f3d;
101
+ --indigo-900: #222c4f;
102
+ --indigo-800: #2e3961;
103
+ --indigo-700: #394673;
104
+ --indigo-600: #505f97;
105
+ --indigo-500: #6779bb;
106
+ --indigo-400: #98a9e5;
107
+ --indigo-300: #b2beec;
108
+ --indigo-200: #cbd4f2;
109
+ --indigo-100: #e5e9f9;
110
+ --indigo-50: #f2f4fc;
111
+
112
+ --blue-950: #101920;
113
+ --blue-900: #1a2833;
114
+ --blue-800: #253846;
115
+ --blue-700: #2f4859;
116
+ --blue-600: #45677e;
117
+ --blue-500: #5a87a4;
118
+ --blue-400: #8cb8d5;
119
+ --blue-300: #a9cadf;
120
+ --blue-200: #c5dbea;
121
+ --blue-100: #e2edf4;
122
+ --blue-50: #f1f6fa;
123
+
124
+ --cyan-950: #070d0d;
125
+ --cyan-900: #0e1b1b;
126
+ --cyan-800: #152828;
127
+ --cyan-700: #1c3536;
128
+ --cyan-600: #2a5050;
129
+ --cyan-500: #468586;
130
+ --cyan-400: #6a9d9e;
131
+ --cyan-300: #8db4b5;
132
+ --cyan-200: #b1cccd;
133
+ --cyan-100: #d4e3e4;
134
+ --cyan-50: #e6eff0;
135
+
136
+ --sage-950: #2d393a;
137
+ --sage-900: #374648;
138
+ --sage-800: #445556;
139
+ --sage-700: #4f6162;
140
+ --sage-600: #5d7374;
141
+ --sage-500: #607c7f;
142
+ --sage-400: #7a9b95;
143
+ --sage-300: #a9c1b8;
144
+ --sage-200: #d1e1dd;
145
+ --sage-100: #e8f0ee;
146
+ --sage-50: #f5f8f7;
147
+
148
+ --almond-950: #0d211a;
149
+ --almond-900: #193b2e;
150
+ --almond-800: #1e4737;
151
+ --almond-700: #235944;
152
+ --almond-600: #2c6f52;
153
+ --almond-500: #3d8c69;
154
+ --almond-400: #5fa884;
155
+ --almond-300: #8ec7a9;
156
+ --almond-200: #bbdfca;
157
+ --almond-100: #dcefe3;
158
+ --almond-50: #f1f8f4;
159
+
160
+ --absolute-white: #f2f2f3;
161
+ --absolute-pure-white: #ffffff;
162
+ --absolute-black: #182021;
163
+ --absolute-transparent: #ffffff00;
164
+
165
+ /* ── Font semantic tokens ──────────────────────────────────────────────── */
166
+ --font-primary-dark: var(--sage-950);
167
+ --font-primary-base: var(--sage-800);
168
+ --font-primary-muted: var(--sage-600);
169
+ --font-primary-hovered: var(--sage-900);
170
+ --font-primary-pressed: var(--sage-950);
171
+ --font-primary-light: var(--sage-200);
172
+
173
+ --font-secondary-base: var(--almond-800);
174
+ --font-secondary-hovered: var(--almond-900);
175
+ --font-secondary-pressed: var(--almond-950);
176
+ --font-secondary-base-alt: var(--almond-600);
177
+
178
+ --font-accent-base: var(--pink-950);
179
+ --font-accent-pressed: var(--pink-50);
180
+ --font-accent-light: var(--pink-200);
181
+ --font-accent-muted: var(--pink-800);
182
+
183
+ --font-neutral-muted: var(--grey-600);
184
+ --font-neutral-disabled: var(--grey-400);
185
+ /* Text colour of a disabled Button (read by the Button cva); was referenced by the library but undefined,
186
+ so a disabled button inherited its parent's text colour. */
187
+ --btn-disabled-fg: var(--font-neutral-disabled);
188
+ --font-neutral-white: var(--absolute-pure-white);
189
+ --font-neutral-black: var(--absolute-black);
190
+ --font-neutral-base: var(--grey-800);
191
+ --font-neutral-light: var(--grey-200);
192
+
193
+ --font-warning-base: var(--orange-800);
194
+ --font-warning-light: var(--orange-200);
195
+ --font-warning-muted: var(--orange-600);
196
+ --font-info-base: var(--blue-800);
197
+ --font-info-light: var(--blue-200);
198
+ --font-info-muted: var(--blue-600);
199
+ --font-error-base: var(--red-800);
200
+ --font-error-light: var(--red-200);
201
+ --font-error-muted: var(--red-600);
202
+ --font-success-base: var(--green-800);
203
+ --font-success-light: var(--green-200);
204
+ --font-success-muted: var(--green-600);
205
+ --font-cherry-base: var(--cherry-800);
206
+ --font-cherry-muted: var(--cherry-600);
207
+ --font-indigo-base: var(--indigo-800);
208
+ --font-indigo-muted: var(--indigo-600);
209
+ --font-yellow-base: var(--yellow-800);
210
+ --font-yellow-muted: var(--yellow-700);
211
+ --font-cyan-base: var(--cyan-800);
212
+ --font-cyan-muted: var(--cyan-600);
213
+
214
+ /* ── Background tokens ─────────────────────────────────────────────────── */
215
+ --bg-primary-base: var(--sage-800);
216
+ --bg-primary-hovered: var(--sage-950);
217
+ --bg-primary-pressed: var(--sage-300);
218
+ --bg-primary-light: var(--sage-200);
219
+ --bg-primary-lighter: var(--sage-100);
220
+ --bg-primary-lightest: var(--sage-50);
221
+
222
+ --bg-secondary-base: var(--almond-500);
223
+ --bg-secondary-base-alt: var(--almond-800);
224
+ --bg-secondary-active: var(--almond-300);
225
+ --bg-secondary-light: var(--almond-200);
226
+ --bg-secondary-lighter: var(--almond-100);
227
+ --bg-secondary-lightest: var(--almond-50);
228
+
229
+ --bg-accent-base: var(--pink-800);
230
+ --bg-accent-base-alt: var(--pink-200);
231
+ --bg-accent-hover: var(--pink-100);
232
+ --bg-accent-pressed: var(--pink-900);
233
+
234
+ --bg-neutral-base: var(--grey-100);
235
+ --bg-neutral-disabled: var(--grey-100);
236
+ --bg-neutral-hovered: var(--grey-200);
237
+ --bg-neutral-muted: var(--grey-500);
238
+ --bg-neutral-white: var(--absolute-pure-white);
239
+ --bg-neutral-base-alt: var(--grey-800);
240
+
241
+ --bg-warning-base: var(--orange-700);
242
+ --bg-warning-base-alt: var(--orange-200);
243
+ --bg-warning-lightest: var(--orange-50);
244
+
245
+ --bg-success-base: var(--green-600);
246
+ --bg-success-base-alt: var(--green-200);
247
+ --bg-success-lightest: var(--green-50);
248
+
249
+ --bg-info-base: var(--blue-600);
250
+ --bg-info-base-alt: var(--blue-200);
251
+ --bg-info-lightest: var(--blue-50);
252
+
253
+ --bg-error-base: var(--red-600);
254
+ --bg-error-base-alt: var(--red-200);
255
+ --bg-error-lightest: var(--red-50);
256
+
257
+ --bg-cherry-base: var(--cherry-600);
258
+ --bg-cherry-base-alt: var(--cherry-200);
259
+ --bg-indigo-base: var(--indigo-600);
260
+ --bg-indigo-base-alt: var(--indigo-200);
261
+ --bg-yellow-base: var(--yellow-700);
262
+ --bg-yellow-base-alt: var(--yellow-200);
263
+ --bg-cyan-base: var(--cyan-600);
264
+ --bg-cyan-base-alt: var(--cyan-200);
265
+
266
+ /* ── Stroke / border color tokens ──────────────────────────────────────── */
267
+ --stroke-focus: var(--pink-700);
268
+ --stroke-primary-base: var(--sage-800);
269
+ --stroke-primary-hovered: var(--sage-900);
270
+ --stroke-primary-pressed: var(--sage-950);
271
+ --stroke-primary-light: var(--sage-300);
272
+ --stroke-primary-lighter: var(--sage-200);
273
+ --stroke-primary-muted: var(--sage-700);
274
+ --stroke-secondary-base: var(--almond-700);
275
+ --stroke-secondary-muted: var(--almond-600);
276
+ --stroke-secondary-dark: var(--almond-800);
277
+ --stroke-accent-base: var(--pink-900);
278
+ --stroke-accent-muted: var(--pink-800);
279
+ --stroke-yellow-base: var(--yellow-800);
280
+ --stroke-yellow-muted: var(--yellow-700);
281
+ --stroke-cherry-base: var(--cherry-700);
282
+ --stroke-cherry-muted: var(--cherry-600);
283
+ --stroke-indigo-base: var(--indigo-700);
284
+ --stroke-indigo-muted: var(--indigo-600);
285
+ --stroke-cyan-base: var(--cyan-700);
286
+ --stroke-cyan-muted: var(--cyan-600);
287
+ --stroke-warning-base: var(--orange-700);
288
+ --stroke-warning-muted: var(--orange-600);
289
+ --stroke-info-base: var(--blue-700);
290
+ --stroke-info-muted: var(--blue-600);
291
+ --stroke-success-base: var(--green-700);
292
+ --stroke-success-muted: var(--green-600);
293
+ --stroke-error-base: var(--red-700);
294
+ --stroke-error-muted: var(--red-600);
295
+ --stroke-neutral-disabled: var(--grey-300);
296
+ --stroke-neutral-dark: var(--grey-800);
297
+ --stroke-neutral-black: var(--absolute-black);
298
+ --stroke-neutral-white: var(--absolute-white);
299
+
300
+ /* ── Spacing (source of truth: Galactik tokens.json › sizes › spacing) ── */
301
+ --spacing-3xs: 4px;
302
+ --spacing-2xs: 8px;
303
+ --spacing-xs: 12px;
304
+ --spacing-md: 16px;
305
+ --spacing-lg: 20px;
306
+ --spacing-xl: 24px;
307
+ --spacing-2xl: 32px;
308
+ --spacing-3xl: 36px;
309
+ --spacing-4xl: 40px;
310
+ /* spec tokens from _font/spacing collection (paragraph/gap spacing) */
311
+ --spacing-none: 0px;
312
+ --spacing-4xs: 2px;
313
+ --spacing-sm: 10px;
314
+ --spacing-5xl: 32px;
315
+ --spacing-6xl: 36px;
316
+ --spacing-7xl: 40px;
317
+
318
+ /* ── Stroke widths ── */
319
+ --stroke-2xs: 0.5px;
320
+ --stroke-xs: 1px;
321
+ --stroke-sm: 2px;
322
+ --stroke-md: 4px;
323
+
324
+ /* ── Border radius ─────────────────────────────────────────────────────── */
325
+ --radius-xs: 4px;
326
+ --radius-sm: 8px;
327
+ --radius-md: 12px;
328
+ --radius-lg: 16px;
329
+ --radius-xl: 20px;
330
+ --radius-2xl: 24px;
331
+ --radius-3xl: 28px;
332
+ --radius-4xl: 32px;
333
+ --radius-rounded: 9999px;
334
+ --radius-pill: 9999px;
335
+
336
+ /* ── Blur tokens ───────────────────────────────────────────────────────── */
337
+ --blur-xs: 4px;
338
+ --blur-sm: 8px;
339
+ --blur-md: 12px;
340
+ --blur-lg: 16px;
341
+ --blur-xl: 24px;
342
+ --blur-2xl: 40px;
343
+ --blur-3xl: 64px;
344
+
345
+ /* ── Typography ────────────────────────────────────────────────────────── */
346
+ --size-xs: 11px;
347
+ --size-sm: 12px;
348
+ --size-base: 14px;
349
+ --size-lg: 16px;
350
+ --size-xl: 18px;
351
+ --size-2xl: 20px;
352
+ --size-3xl: 24px;
353
+
354
+ --family-base: "Hanken Grotesk";
355
+ --family-second: Arial;
356
+ --family-tertiary: Helvetica;
357
+
358
+ --weight-regular: 400;
359
+ --weight-semibold: 600;
360
+ --weight-bold: 700;
361
+
362
+ --line-height-1: 14px;
363
+ --line-height-2: 16px;
364
+ --line-height-3: 18px;
365
+ --line-height-4: 22px;
366
+ --line-height-5: 26px;
367
+ --line-height-6: 31px;
368
+ --line-height-xs: var(--line-height-1); /* 14px — read by Kbd size="xs"; was referenced by the library but undefined */
369
+ --line-height-sm: var(--line-height-2); /* 16px — alias used by tag/breadcrumb */
370
+ --line-height-base: var(--line-height-3); /* 18px — alias used by tag medium */
371
+
372
+ /* ── Icon sizes ────────────────────────────────────────────────────────── */
373
+ --icon-xs: 12px;
374
+ --icon-sm: 14px;
375
+ --icon-md: 16px;
376
+ --icon-lg: 18px;
377
+ --icon-xl: 20px;
378
+ --icon-2xl: 24px;
379
+ --icon-3xl: 48px;
380
+
381
+ /* ── Row heights ───────────────────────────────────────────────────────── */
382
+ --row-height-xs: 18px;
383
+ --row-height-sm: 24px;
384
+ --row-height-md: 36px;
385
+ --row-height-lg: 44px;
386
+
387
+ /* ── Grid ──────────────────────────────────────────────────────────────── */
388
+ --grid-gutter-xs: 16px;
389
+ --grid-gutter-sm: 16px;
390
+ --grid-gutter-md: 16px;
391
+ --grid-gutter-lg: 24px;
392
+ --grid-gutter-xl: 32px;
393
+ --grid-column-xs: 2;
394
+ --grid-column-sm: 4;
395
+ --grid-column-md: 6;
396
+ --grid-column-lg: 8;
397
+ --grid-column-xl: 12;
398
+ --grid-margin-xs: 16px;
399
+ --grid-margin-sm: 16px;
400
+ --grid-margin-md: 16px;
401
+ --grid-margin-lg: 24px;
402
+ --grid-margin-xl: 32px;
403
+
404
+ /* ── Shadows ───────────────────────────────────────────────────────────── */
405
+ --shadow-1: 0px 4px 6px rgba(45, 57, 58, 0.1), 0px 2px 4px rgba(45, 57, 58, 0.06);
406
+ --shadow-2: 0px 10px 15px rgba(45, 57, 58, 0.1), 0px 4px 6px rgba(45, 57, 58, 0.05);
407
+ --shadow-3: 0px 20px 25px rgba(45, 57, 58, 0.1), 0px 10px 10px rgba(45, 57, 58, 0.04);
408
+ --shadow-4: 0px 25px 50px rgba(45, 57, 58, 0.25);
409
+ --shadow-inner: inset -1px -1px 6px rgba(45, 57, 58, 0.16), inset 1px 1px 6px rgba(45, 57, 58, 0.24);
410
+
411
+ /* ── Scrim / overlay ───────────────────────────────────────────────────── */
412
+ /* Backdrop behind modals, drawers and other overlays. Same base as shadows
413
+ (--sage-950 #2D393A = 45,57,58). --scrim-stronger is the no-blur fallback. */
414
+ --scrim-base: rgba(45, 57, 58, 0.32);
415
+ --scrim-stronger: rgba(45, 57, 58, 0.56);
416
+
417
+ /* ── Contextual layer tokens (light mode) ─────────────────────────────── */
418
+ --layer-100-layer: var(--grey-100);
419
+ --layer-100-on-layer: var(--grey-50);
420
+ --layer-100-font: var(--font-neutral-base);
421
+ --layer-100-edge: var(--grey-200);
422
+ --layer-100-separator: var(--grey-200);
423
+
424
+ --layer-200-layer: var(--grey-200);
425
+ --layer-200-on-layer: var(--grey-100);
426
+ --layer-200-font: var(--font-neutral-base);
427
+ --layer-200-edge: var(--grey-300);
428
+ --layer-200-separator: var(--grey-300);
429
+
430
+ --layer-contour-layer: var(--sage-50);
431
+ --layer-contour-on-layer: var(--sage-100);
432
+ --layer-contour-font: var(--font-neutral-base);
433
+ --layer-contour-edge: var(--sage-200);
434
+ --layer-contour-separator: var(--sage-300);
435
+
436
+ --layer-page-layer: var(--grey-50);
437
+ --layer-page-on-layer: var(--absolute-white);
438
+ --layer-page-font: var(--font-neutral-base);
439
+ --layer-page-edge: var(--grey-100);
440
+ --layer-page-separator: var(--grey-100);
441
+
442
+ --layer-brand-accent-layer: var(--sage-100);
443
+ --layer-brand-accent-on-layer: var(--sage-50);
444
+ --layer-brand-accent-font: var(--font-neutral-base);
445
+ --layer-brand-accent-edge: var(--sage-200);
446
+ --layer-brand-accent-separator: var(--sage-200);
447
+
448
+ /* ── Font style ────────────────────────────────────────────────────────── */
449
+ --style-normal: normal;
450
+ --style-italic: italic;
451
+ }