@krizaka/tokens 3.54.0 → 3.55.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.
package/dist/index.d.ts CHANGED
@@ -10,10 +10,13 @@ export declare const tokens: {
10
10
  readonly borderSubtle: "var(--kz-border-subtle)";
11
11
  readonly borderDefault: "var(--kz-border-default)";
12
12
  readonly borderStrong: "var(--kz-border-strong)";
13
+ readonly borderControl: "var(--kz-border-control)";
14
+ readonly borderHover: "var(--kz-border-hover)";
13
15
  readonly textPrimary: "var(--kz-text-primary)";
14
16
  readonly textSecondary: "var(--kz-text-secondary)";
15
17
  readonly textMuted: "var(--kz-text-muted)";
16
18
  readonly textOnMedia: "var(--kz-text-on-media)";
19
+ readonly textTitle: "var(--kz-text-title)";
17
20
  readonly accent: "var(--kz-accent)";
18
21
  readonly accentHover: "var(--kz-accent-hover)";
19
22
  readonly accentSoft: "var(--kz-accent-soft)";
@@ -57,6 +60,7 @@ export declare const tokens: {
57
60
  readonly shadowRaised: "var(--kz-shadow-raised)";
58
61
  readonly shadowFloating: "var(--kz-shadow-floating)";
59
62
  readonly shadowOverlay: "var(--kz-shadow-overlay)";
63
+ readonly shadowHover: "var(--kz-shadow-hover)";
60
64
  readonly surfaceSheen: "var(--kz-surface-sheen)";
61
65
  readonly fillShade: "var(--kz-fill-shade)";
62
66
  readonly edgeLight: "var(--kz-edge-light)";
@@ -72,10 +76,13 @@ export declare const tokens: {
72
76
  readonly controlMd: "var(--kz-control-md)";
73
77
  readonly controlLg: "var(--kz-control-lg)";
74
78
  readonly controlField: "var(--kz-control-field)";
79
+ readonly controlRow: "var(--kz-control-row)";
75
80
  readonly cutShape: "var(--kz-cut-shape)";
76
81
  readonly cutSize: "var(--kz-cut-size)";
77
82
  readonly paperModule: "var(--kz-paper-module)";
78
83
  readonly paperLine: "var(--kz-paper-line)";
84
+ readonly densityGap: "var(--kz-density-gap)";
85
+ readonly densityPad: "var(--kz-density-pad)";
79
86
  readonly ease: "var(--kz-ease)";
80
87
  readonly easeSpring: "var(--kz-ease-spring)";
81
88
  readonly durationInstant: "var(--kz-duration-instant)";
@@ -86,6 +93,8 @@ export declare const tokens: {
86
93
  readonly fontDisplay: "var(--kz-font-display)";
87
94
  readonly fontMono: "var(--kz-font-mono)";
88
95
  readonly fontCahier: "var(--kz-font-cahier)";
96
+ readonly fontProductDisplay: "var(--kz-font-product-display)";
97
+ readonly fontMonoMeta: "var(--kz-font-mono-meta)";
89
98
  readonly typeDisplay2xlSize: "var(--kz-type-display-2xl-size)";
90
99
  readonly typeDisplay2xlLineHeight: "var(--kz-type-display-2xl-line-height)";
91
100
  readonly typeDisplay2xlWeight: "var(--kz-type-display-2xl-weight)";
package/dist/index.js CHANGED
@@ -10,10 +10,13 @@ export const tokens = /* @__PURE__ */ Object.freeze({
10
10
  "borderSubtle": "var(--kz-border-subtle)",
11
11
  "borderDefault": "var(--kz-border-default)",
12
12
  "borderStrong": "var(--kz-border-strong)",
13
+ "borderControl": "var(--kz-border-control)",
14
+ "borderHover": "var(--kz-border-hover)",
13
15
  "textPrimary": "var(--kz-text-primary)",
14
16
  "textSecondary": "var(--kz-text-secondary)",
15
17
  "textMuted": "var(--kz-text-muted)",
16
18
  "textOnMedia": "var(--kz-text-on-media)",
19
+ "textTitle": "var(--kz-text-title)",
17
20
  "accent": "var(--kz-accent)",
18
21
  "accentHover": "var(--kz-accent-hover)",
19
22
  "accentSoft": "var(--kz-accent-soft)",
@@ -57,6 +60,7 @@ export const tokens = /* @__PURE__ */ Object.freeze({
57
60
  "shadowRaised": "var(--kz-shadow-raised)",
58
61
  "shadowFloating": "var(--kz-shadow-floating)",
59
62
  "shadowOverlay": "var(--kz-shadow-overlay)",
63
+ "shadowHover": "var(--kz-shadow-hover)",
60
64
  "surfaceSheen": "var(--kz-surface-sheen)",
61
65
  "fillShade": "var(--kz-fill-shade)",
62
66
  "edgeLight": "var(--kz-edge-light)",
@@ -72,10 +76,13 @@ export const tokens = /* @__PURE__ */ Object.freeze({
72
76
  "controlMd": "var(--kz-control-md)",
73
77
  "controlLg": "var(--kz-control-lg)",
74
78
  "controlField": "var(--kz-control-field)",
79
+ "controlRow": "var(--kz-control-row)",
75
80
  "cutShape": "var(--kz-cut-shape)",
76
81
  "cutSize": "var(--kz-cut-size)",
77
82
  "paperModule": "var(--kz-paper-module)",
78
83
  "paperLine": "var(--kz-paper-line)",
84
+ "densityGap": "var(--kz-density-gap)",
85
+ "densityPad": "var(--kz-density-pad)",
79
86
  "ease": "var(--kz-ease)",
80
87
  "easeSpring": "var(--kz-ease-spring)",
81
88
  "durationInstant": "var(--kz-duration-instant)",
@@ -86,6 +93,8 @@ export const tokens = /* @__PURE__ */ Object.freeze({
86
93
  "fontDisplay": "var(--kz-font-display)",
87
94
  "fontMono": "var(--kz-font-mono)",
88
95
  "fontCahier": "var(--kz-font-cahier)",
96
+ "fontProductDisplay": "var(--kz-font-product-display)",
97
+ "fontMonoMeta": "var(--kz-font-mono-meta)",
89
98
  "typeDisplay2xlSize": "var(--kz-type-display-2xl-size)",
90
99
  "typeDisplay2xlLineHeight": "var(--kz-type-display-2xl-line-height)",
91
100
  "typeDisplay2xlWeight": "var(--kz-type-display-2xl-weight)",
@@ -155,10 +164,13 @@ export const values = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obje
155
164
  "borderSubtle": "hsl(110 25% 92% / 0.07)",
156
165
  "borderDefault": "hsl(110 25% 92% / 0.12)",
157
166
  "borderStrong": "hsl(110 25% 92% / 0.20)",
167
+ "borderControl": "hsl(110 25% 92% / 0.20)",
168
+ "borderHover": "hsl(110 25% 92% / 0.20)",
158
169
  "textPrimary": "hsl(105 17% 93%)",
159
170
  "textSecondary": "hsl(140 10% 76%)",
160
171
  "textMuted": "hsl(140 8% 68%)",
161
172
  "textOnMedia": "hsl(0 0% 100%)",
173
+ "textTitle": "hsl(105 17% 93%)",
162
174
  "accent": "hsl(208 46% 45%)",
163
175
  "accentHover": "hsl(208 48% 39%)",
164
176
  "accentSoft": "hsl(208 46% 45% / 0.12)",
@@ -202,6 +214,7 @@ export const values = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obje
202
214
  "shadowRaised": "0 1px 0 hsl(150 30% 3% / 0.6)",
203
215
  "shadowFloating": "0 1px 0 hsl(150 30% 3% / 0.6), 4px 5px 0 -2px hsl(150 30% 4% / 0.55)",
204
216
  "shadowOverlay": "0 1px 0 hsl(150 30% 3% / 0.6), 8px 10px 0 -3px hsl(150 30% 4% / 0.55)",
217
+ "shadowHover": "0 1px 0 hsl(150 30% 3% / 0.6)",
205
218
  "surfaceSheen": "hsl(0 0% 100% / 0)",
206
219
  "fillShade": "hsl(0 0% 0% / 0.12)",
207
220
  "edgeLight": "hsl(0 0% 100% / 0)",
@@ -217,10 +230,13 @@ export const values = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obje
217
230
  "controlMd": "40px",
218
231
  "controlLg": "48px",
219
232
  "controlField": "44px",
233
+ "controlRow": "48px",
220
234
  "cutShape": "bevel",
221
235
  "cutSize": "10px",
222
236
  "paperModule": "32px",
223
237
  "paperLine": "8px",
238
+ "densityGap": "16px",
239
+ "densityPad": "20px",
224
240
  "ease": "cubic-bezier(0.45, 0, 0.2, 1)",
225
241
  "easeSpring": "cubic-bezier(0.34, 1.36, 0.64, 1)",
226
242
  "durationInstant": "90ms",
@@ -231,6 +247,8 @@ export const values = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obje
231
247
  "fontDisplay": "\"Young Serif\", \"Young Serif Fallback\", Georgia, \"Times New Roman\", serif",
232
248
  "fontMono": "\"Courier Prime\", \"Courier Prime Fallback\", \"Courier New\", ui-monospace, Menlo, Consolas, monospace",
233
249
  "fontCahier": "\"Krizaka Cahier\", \"Krizaka Cahier Fallback\", \"Marker Felt\", \"Bradley Hand\", cursive",
250
+ "fontProductDisplay": "\"Plus Jakarta Sans\", \"Plus Jakarta Sans Fallback\", system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif",
251
+ "fontMonoMeta": "\"Courier Prime\", \"Courier Prime Fallback\", \"Courier New\", ui-monospace, Menlo, Consolas, monospace",
234
252
  "typeDisplay2xlSize": "72px",
235
253
  "typeDisplay2xlLineHeight": "1.11",
236
254
  "typeDisplay2xlWeight": "400",
@@ -297,10 +315,13 @@ export const values = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obje
297
315
  "borderSubtle": "hsl(212 49% 24% / 0.10)",
298
316
  "borderDefault": "hsl(212 49% 24% / 0.17)",
299
317
  "borderStrong": "hsl(212 49% 24% / 0.28)",
318
+ "borderControl": "hsl(212 49% 24% / 0.28)",
319
+ "borderHover": "hsl(212 49% 24% / 0.28)",
300
320
  "textPrimary": "hsl(212 49% 22%)",
301
321
  "textSecondary": "hsl(212 22% 32%)",
302
322
  "textMuted": "hsl(212 14% 36%)",
303
323
  "textOnMedia": "hsl(0 0% 100%)",
324
+ "textTitle": "hsl(212 49% 22%)",
304
325
  "accent": "hsl(208 54% 36%)",
305
326
  "accentHover": "hsl(208 58% 29%)",
306
327
  "accentSoft": "hsl(208 54% 36% / 0.08)",
@@ -344,6 +365,7 @@ export const values = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obje
344
365
  "shadowRaised": "0 1px 0 hsl(212 49% 24% / 0.12)",
345
366
  "shadowFloating": "0 1px 0 hsl(212 49% 24% / 0.12), 4px 5px 0 -2px hsl(212 40% 30% / 0.14)",
346
367
  "shadowOverlay": "0 1px 0 hsl(212 49% 24% / 0.12), 8px 10px 0 -3px hsl(212 40% 30% / 0.14)",
368
+ "shadowHover": "0 1px 0 hsl(212 49% 24% / 0.12)",
347
369
  "surfaceSheen": "hsl(0 0% 100% / 0)",
348
370
  "fillShade": "hsl(0 0% 0% / 0.12)",
349
371
  "edgeLight": "hsl(0 0% 100% / 0)",
@@ -359,10 +381,13 @@ export const values = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obje
359
381
  "controlMd": "40px",
360
382
  "controlLg": "48px",
361
383
  "controlField": "44px",
384
+ "controlRow": "48px",
362
385
  "cutShape": "bevel",
363
386
  "cutSize": "10px",
364
387
  "paperModule": "32px",
365
388
  "paperLine": "8px",
389
+ "densityGap": "16px",
390
+ "densityPad": "20px",
366
391
  "ease": "cubic-bezier(0.45, 0, 0.2, 1)",
367
392
  "easeSpring": "cubic-bezier(0.34, 1.36, 0.64, 1)",
368
393
  "durationInstant": "90ms",
@@ -373,6 +398,8 @@ export const values = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obje
373
398
  "fontDisplay": "\"Young Serif\", \"Young Serif Fallback\", Georgia, \"Times New Roman\", serif",
374
399
  "fontMono": "\"Courier Prime\", \"Courier Prime Fallback\", \"Courier New\", ui-monospace, Menlo, Consolas, monospace",
375
400
  "fontCahier": "\"Krizaka Cahier\", \"Krizaka Cahier Fallback\", \"Marker Felt\", \"Bradley Hand\", cursive",
401
+ "fontProductDisplay": "\"Plus Jakarta Sans\", \"Plus Jakarta Sans Fallback\", system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif",
402
+ "fontMonoMeta": "\"Courier Prime\", \"Courier Prime Fallback\", \"Courier New\", ui-monospace, Menlo, Consolas, monospace",
376
403
  "typeDisplay2xlSize": "72px",
377
404
  "typeDisplay2xlLineHeight": "1.11",
378
405
  "typeDisplay2xlWeight": "400",
package/dist/native.d.ts CHANGED
@@ -10,10 +10,13 @@ export type Theme = {
10
10
  readonly borderSubtle: string;
11
11
  readonly borderDefault: string;
12
12
  readonly borderStrong: string;
13
+ readonly borderControl: string;
14
+ readonly borderHover: string;
13
15
  readonly textPrimary: string;
14
16
  readonly textSecondary: string;
15
17
  readonly textMuted: string;
16
18
  readonly textOnMedia: string;
19
+ readonly textTitle: string;
17
20
  readonly accent: string;
18
21
  readonly accentHover: string;
19
22
  readonly accentSoft: string;
@@ -72,6 +75,8 @@ export declare const typography: {
72
75
  readonly display: "Young Serif";
73
76
  readonly mono: "Courier Prime";
74
77
  readonly cahier: "Krizaka Cahier";
78
+ readonly productDisplay: "Plus Jakarta Sans";
79
+ readonly monoMeta: "Courier Prime";
75
80
  };
76
81
  /** Motion: the ease and the spring (cubic-bezier control points) and the micro-interaction durations, in ms. */
77
82
  export declare const motion: {
@@ -101,6 +106,7 @@ export type Shadows = {
101
106
  readonly raised: string;
102
107
  readonly floating: string;
103
108
  readonly overlay: string;
109
+ readonly hover: string;
104
110
  };
105
111
  /** The shadows per theme as React Native `boxShadow` strings (RN ≥ 0.76). */
106
112
  export declare const shadows: { readonly dark: Shadows; readonly light: Shadows };
package/dist/native.js CHANGED
@@ -10,10 +10,13 @@ export const themes = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obje
10
10
  "borderSubtle": "rgba(231,240,230,0.07)",
11
11
  "borderDefault": "rgba(231,240,230,0.12)",
12
12
  "borderStrong": "rgba(231,240,230,0.2)",
13
+ "borderControl": "rgba(231,240,230,0.2)",
14
+ "borderHover": "rgba(231,240,230,0.2)",
13
15
  "textPrimary": "#ecf0ea",
14
16
  "textSecondary": "#bcc8c0",
15
17
  "textMuted": "#a7b4ab",
16
18
  "textOnMedia": "#ffffff",
19
+ "textTitle": "#ecf0ea",
17
20
  "accent": "#3e76a8",
18
21
  "accentHover": "#346793",
19
22
  "accentSoft": "rgba(62,118,168,0.12)",
@@ -60,10 +63,13 @@ export const themes = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obje
60
63
  "borderSubtle": "rgba(31,59,91,0.1)",
61
64
  "borderDefault": "rgba(31,59,91,0.17)",
62
65
  "borderStrong": "rgba(31,59,91,0.28)",
66
+ "borderControl": "rgba(31,59,91,0.28)",
67
+ "borderHover": "rgba(31,59,91,0.28)",
63
68
  "textPrimary": "#1d3654",
64
69
  "textSecondary": "#405064",
65
70
  "textMuted": "#4f5b69",
66
71
  "textOnMedia": "#ffffff",
72
+ "textTitle": "#1d3654",
67
73
  "accent": "#2a5f8d",
68
74
  "accentHover": "#1f4d75",
69
75
  "accentSoft": "rgba(42,95,141,0.08)",
@@ -120,7 +126,9 @@ export const typography = /* @__PURE__ */ Object.freeze({
120
126
  "text": "Atkinson Hyperlegible Next",
121
127
  "display": "Young Serif",
122
128
  "mono": "Courier Prime",
123
- "cahier": "Krizaka Cahier"
129
+ "cahier": "Krizaka Cahier",
130
+ "productDisplay": "Plus Jakarta Sans",
131
+ "monoMeta": "Courier Prime"
124
132
  });
125
133
 
126
134
  /**
@@ -244,14 +252,16 @@ export const shadows = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Obj
244
252
  "lg": "0 1px 0 0 rgba(5,10,8,0.6), 6px 8px 0 -2px rgba(7,13,10,0.55)",
245
253
  "raised": "0 1px 0 0 rgba(5,10,8,0.6)",
246
254
  "floating": "0 1px 0 0 rgba(5,10,8,0.6), 4px 5px 0 -2px rgba(7,13,10,0.55)",
247
- "overlay": "0 1px 0 0 rgba(5,10,8,0.6), 8px 10px 0 -3px rgba(7,13,10,0.55)"
255
+ "overlay": "0 1px 0 0 rgba(5,10,8,0.6), 8px 10px 0 -3px rgba(7,13,10,0.55)",
256
+ "hover": "0 1px 0 0 rgba(5,10,8,0.6)"
248
257
  }), light: /* @__PURE__ */ Object.freeze({
249
258
  "sm": "0 1px 0 0 rgba(31,59,91,0.12)",
250
259
  "md": "0 1px 0 0 rgba(31,59,91,0.12), 4px 5px 0 -2px rgba(46,74,107,0.14)",
251
260
  "lg": "0 1px 0 0 rgba(31,59,91,0.12), 6px 8px 0 -2px rgba(46,74,107,0.14)",
252
261
  "raised": "0 1px 0 0 rgba(31,59,91,0.12)",
253
262
  "floating": "0 1px 0 0 rgba(31,59,91,0.12), 4px 5px 0 -2px rgba(46,74,107,0.14)",
254
- "overlay": "0 1px 0 0 rgba(31,59,91,0.12), 8px 10px 0 -3px rgba(46,74,107,0.14)"
263
+ "overlay": "0 1px 0 0 rgba(31,59,91,0.12), 8px 10px 0 -3px rgba(46,74,107,0.14)",
264
+ "hover": "0 1px 0 0 rgba(31,59,91,0.12)"
255
265
  }) });
256
266
 
257
267
  /** The griffe (BRAND.md §6.1): the size of the 45° cut corner of a control, in dp. */
package/dist/tokens.css CHANGED
@@ -16,11 +16,14 @@
16
16
  --kz-border-subtle: hsl(110 25% 92% / 0.07); /* Séparateur discret */
17
17
  --kz-border-default: hsl(110 25% 92% / 0.12); /* Contour de carte, de champ */
18
18
  --kz-border-strong: hsl(110 25% 92% / 0.20); /* Contour au survol, focus non clavier */
19
+ --kz-border-control: var(--kz-border-strong); /* Contour d'un champ, d'une case, d'un interrupteur. Cahier : le contour fort. Registre produit : ≥ 3:1 sur les surfaces 0–2 (WCAG 1.4.11), car son filet de carte (1,16:1) ne suffit jamais à un champ */
20
+ --kz-border-hover: var(--kz-border-strong); /* Contour d'une carte interactive au survol (le registre produit le passe à l'accent, 22 %) */
19
21
 
20
22
  /* Texte */
21
23
  --kz-text-primary: hsl(105 17% 93%); /* La craie (sombre), l'encre bleue (clair) */
22
24
  --kz-text-secondary: hsl(140 10% 76%); /* Texte d'appui, libellés */
23
25
  --kz-text-muted: hsl(140 8% 68%); /* Métadonnées, placeholders, désactivé (≥ 4.5:1 sur chaque surface, texte courant inclus) */
26
+ --kz-text-title: var(--kz-text-primary); /* Titre de page, valeur d'une statistique (le registre produit l'encre ardoise) */
24
27
 
25
28
  /* Accent : l'identité de la marque (Krizaka par défaut ; Orazaka, Orochia, Yasakia, Yororis dans src/brands). Surchargé par un thème de marque, jamais par un composant. */
26
29
  --kz-accent: hsl(208 46% 45%); /* Action principale, lien, sélection */
@@ -58,6 +61,7 @@
58
61
  --kz-shadow-raised: 0 1px 0 hsl(150 30% 3% / 0.6); /* Surélevé : bouton, carte */
59
62
  --kz-shadow-floating: 0 1px 0 hsl(150 30% 3% / 0.6), 4px 5px 0 -2px hsl(150 30% 4% / 0.55); /* Flottant : menu, popover, info-bulle */
60
63
  --kz-shadow-overlay: 0 1px 0 hsl(150 30% 3% / 0.6), 8px 10px 0 -3px hsl(150 30% 4% / 0.55); /* Au-dessus : dialogue, toast, palette */
64
+ --kz-shadow-hover: 0 1px 0 hsl(150 30% 3% / 0.6); /* Carte interactive au survol (le registre produit : 0 10px 25px -5px) */
61
65
  --kz-surface-sheen: hsl(0 0% 100% / 0); /* Plus de reflet (Cahier, ADR-004) : le papier est mat */
62
66
 
63
67
  /* Arêtes : un filet intérieur d'1 px */
@@ -108,6 +112,7 @@ html.light {
108
112
  --kz-shadow-raised: 0 1px 0 hsl(212 49% 24% / 0.12); /* Surélevé : bouton, carte */
109
113
  --kz-shadow-floating: 0 1px 0 hsl(212 49% 24% / 0.12), 4px 5px 0 -2px hsl(212 40% 30% / 0.14); /* Flottant : menu, popover, info-bulle */
110
114
  --kz-shadow-overlay: 0 1px 0 hsl(212 49% 24% / 0.12), 8px 10px 0 -3px hsl(212 40% 30% / 0.14); /* Au-dessus : dialogue, toast, palette */
115
+ --kz-shadow-hover: 0 1px 0 hsl(212 49% 24% / 0.12); /* Carte interactive au survol (le registre produit : 0 10px 25px -5px) */
111
116
  --kz-surface-sheen: hsl(0 0% 100% / 0); /* Plus de reflet (Cahier, ADR-004) : le papier est mat */
112
117
  --kz-edge-light: hsl(0 0% 100% / 0); /* Plus d'arête lumineuse : le papier est mat */
113
118
  --kz-edge-well: hsl(232 25% 25% / 0.08); /* Ombre intérieure d'un puits : champ, piste (inset-shadow-well) */
@@ -127,9 +132,12 @@ html.light {
127
132
  --kz-border-subtle: hsl(212 49% 24% / 0.10); /* Séparateur discret */
128
133
  --kz-border-default: hsl(212 49% 24% / 0.17); /* Contour de carte, de champ */
129
134
  --kz-border-strong: hsl(212 49% 24% / 0.28); /* Contour au survol, focus non clavier */
135
+ --kz-border-control: var(--kz-border-strong); /* Contour d'un champ, d'une case, d'un interrupteur. Cahier : le contour fort. Registre produit : ≥ 3:1 sur les surfaces 0–2 (WCAG 1.4.11), car son filet de carte (1,16:1) ne suffit jamais à un champ */
136
+ --kz-border-hover: var(--kz-border-strong); /* Contour d'une carte interactive au survol (le registre produit le passe à l'accent, 22 %) */
130
137
  --kz-text-primary: hsl(212 49% 22%); /* La craie (sombre), l'encre bleue (clair) */
131
138
  --kz-text-secondary: hsl(212 22% 32%); /* Texte d'appui, libellés */
132
139
  --kz-text-muted: hsl(212 14% 36%); /* Métadonnées, placeholders, désactivé (≥ 4.5:1 sur chaque surface, texte courant inclus) */
140
+ --kz-text-title: var(--kz-text-primary); /* Titre de page, valeur d'une statistique (le registre produit l'encre ardoise) */
133
141
  --kz-accent: hsl(208 54% 36%); /* Action principale, lien, sélection */
134
142
  --kz-accent-hover: hsl(208 58% 29%); /* Accent au survol */
135
143
  --kz-accent-soft: hsl(208 54% 36% / 0.08); /* Fond teinté (sélection, badge) */
@@ -159,6 +167,7 @@ html.light {
159
167
  --kz-shadow-raised: 0 1px 0 hsl(212 49% 24% / 0.12); /* Surélevé : bouton, carte */
160
168
  --kz-shadow-floating: 0 1px 0 hsl(212 49% 24% / 0.12), 4px 5px 0 -2px hsl(212 40% 30% / 0.14); /* Flottant : menu, popover, info-bulle */
161
169
  --kz-shadow-overlay: 0 1px 0 hsl(212 49% 24% / 0.12), 8px 10px 0 -3px hsl(212 40% 30% / 0.14); /* Au-dessus : dialogue, toast, palette */
170
+ --kz-shadow-hover: 0 1px 0 hsl(212 49% 24% / 0.12); /* Carte interactive au survol (le registre produit : 0 10px 25px -5px) */
162
171
  --kz-surface-sheen: hsl(0 0% 100% / 0); /* Plus de reflet (Cahier, ADR-004) : le papier est mat */
163
172
  --kz-edge-light: hsl(0 0% 100% / 0); /* Plus d'arête lumineuse : le papier est mat */
164
173
  --kz-edge-well: hsl(232 25% 25% / 0.08); /* Ombre intérieure d'un puits : champ, piste (inset-shadow-well) */
@@ -207,6 +216,7 @@ html.light {
207
216
  --kz-control-md: 40px; /* Bouton */
208
217
  --kz-control-lg: 48px; /* Grand bouton */
209
218
  --kz-control-field: 44px; /* Champ de saisie, sélecteur */
219
+ --kz-control-row: 48px; /* Ligne de liste ou de tableau */
210
220
 
211
221
  /* La griffe : le coin coupé à 45° (BRAND.md §6.1) ; --kz-cut-shape: round l'éteint pour une app */
212
222
  --kz-cut-shape: bevel; /* La forme des coins signés : bevel (coupé) ou round */
@@ -215,6 +225,10 @@ html.light {
215
225
  /* La réglure Seyès (ADR-004) : le grand carreau et la ligne fine ; les interlignages tombent sur la ligne */
216
226
  --kz-paper-module: 32px; /* Le grand carreau (8 mm) : le pas de la grille et de la marge */
217
227
  --kz-paper-line: 8px; /* La ligne fine : trois par carreau */
228
+
229
+ /* Densité : l'écart entre éléments et le remplissage d'une carte ; resserrés sous [data-density=compact] */
230
+ --kz-density-gap: 16px; /* Écart entre les éléments d'un groupe */
231
+ --kz-density-pad: 20px; /* Remplissage d'une carte, d'un panneau */
218
232
  --kz-ease: cubic-bezier(0.45, 0, 0.2, 1); /* Le trait d'encre (Cahier, ADR-004) : part doucement, se pose net ; plus de dépassement */
219
233
  --kz-ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1); /* Le tampon : pression, bascule, sélection */
220
234
 
@@ -228,6 +242,8 @@ html.light {
228
242
  --kz-font-display: "Young Serif", "Young Serif Fallback", Georgia, "Times New Roman", serif; /* Affichage : titres, noms, chiffres (Young Serif, une seule graisse) ; surchargé par le thème produit */
229
243
  --kz-font-mono: "Courier Prime", "Courier Prime Fallback", "Courier New", ui-monospace, Menlo, Consolas, monospace; /* La machine à écrire : étiquettes, légendes, notes, code (Courier Prime) */
230
244
  --kz-font-cahier: "Krizaka Cahier", "Krizaka Cahier Fallback", "Marker Felt", "Bradley Hand", cursive; /* Le stylo du cahier : § 4, numéros de règle, folios, notes à la main, l'ardoise du café (Krizaka Cahier) ; parcimonieux, jamais du texte courant */
245
+ --kz-font-product-display: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* Titres d'un produit (Plus Jakarta Sans, 550 à 700) : le registre produit en fait son affichage ; les sites gardent Young Serif (ADR-006) */
246
+ --kz-font-mono-meta: "Courier Prime", "Courier Prime Fallback", "Courier New", ui-monospace, Menlo, Consolas, monospace; /* Identifiants et métadonnées tabulaires d'un produit (« KZ-03 », une référence, une heure) : Courier Prime, quand le code garde la mono système (ADR-006) */
231
247
 
232
248
  /* The hero of a home page */
233
249
  --kz-type-display-2xl-size: 72px;
@@ -321,6 +337,9 @@ html.light {
321
337
  --kz-control-md: 34px;
322
338
  --kz-control-lg: 40px;
323
339
  --kz-control-field: 36px;
340
+ --kz-control-row: 40px;
341
+ --kz-density-gap: 12px;
342
+ --kz-density-pad: 16px;
324
343
  }
325
344
 
326
345
  /* Mouvement réduit : les micro-interactions deviennent instantanées. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/tokens",
3
- "version": "3.54.0",
3
+ "version": "3.55.0",
4
4
  "description": "The Krizaka semantic design tokens (--kz-*) and the brand themes (Krizaka, Orazaka, Orochia, Yasakia, Yororis, Yomizaka, Kachizaka, Akinaza): one DTCG source compiled to CSS (dark, light, media invariants), typed constants and React Native themes.",
5
5
  "keywords": [
6
6
  "krizaka",
@@ -67,7 +67,7 @@
67
67
  "size-limit": "^14.2.0",
68
68
  "typescript": "^5.9.0",
69
69
  "vitest": "^4.1.11",
70
- "@krizaka/config": "0.7.0"
70
+ "@krizaka/config": "0.8.0"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=22"
@@ -79,7 +79,7 @@
79
79
  {
80
80
  "name": "./tokens.css",
81
81
  "path": "dist/tokens.css",
82
- "limit": "5 kB",
82
+ "limit": "5.4 kB",
83
83
  "gzip": true,
84
84
  "rolldown": false
85
85
  },
@@ -100,7 +100,7 @@
100
100
  {
101
101
  "name": ".",
102
102
  "path": "dist/index.js",
103
- "limit": "4.2 kB",
103
+ "limit": "4.5 kB",
104
104
  "gzip": true
105
105
  },
106
106
  {