@krizaka/tokens 3.34.0 → 3.36.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/tokens.css CHANGED
@@ -6,21 +6,21 @@
6
6
  color-scheme: dark;
7
7
 
8
8
  /* Surfaces (hiérarchie de profondeur) */
9
- --kz-surface-0: hsl(240 6% 5%); /* Fond de page */
10
- --kz-surface-1: hsl(240 5% 9%); /* Carte, panneau */
11
- --kz-surface-2: hsl(240 5% 13%); /* Élément surélevé, champ, survol */
12
- --kz-surface-3: hsl(240 4% 17%); /* Élément actif, puce, piste */
13
- --kz-media: hsl(240 5% 11%); /* fond d'un média avant chargement */
9
+ --kz-surface-0: hsl(150 12% 9.5%); /* Fond de page : l'ardoise (sombre), le papier (clair) */
10
+ --kz-surface-1: hsl(148 11% 11%); /* Feuille posée : carte, panneau */
11
+ --kz-surface-2: hsl(148 10% 12.2%); /* Élément surélevé, champ, survol */
12
+ --kz-surface-3: hsl(148 9% 16.5%); /* Élément actif, puce, piste */
13
+ --kz-media: hsl(150 11% 13%); /* fond d'un média avant chargement */
14
14
 
15
15
  /* Bordures */
16
- --kz-border-subtle: hsl(0 0% 100% / 0.06); /* Séparateur discret */
17
- --kz-border-default: hsl(0 0% 100% / 0.10); /* Contour de carte, de champ */
18
- --kz-border-strong: hsl(0 0% 100% / 0.16); /* Contour au survol, focus non clavier */
16
+ --kz-border-subtle: hsl(110 25% 92% / 0.07); /* Séparateur discret */
17
+ --kz-border-default: hsl(110 25% 92% / 0.12); /* Contour de carte, de champ */
18
+ --kz-border-strong: hsl(110 25% 92% / 0.20); /* Contour au survol, focus non clavier */
19
19
 
20
20
  /* Texte */
21
- --kz-text-primary: hsl(0 0% 96%); /* Titres, corps de texte */
22
- --kz-text-secondary: hsl(240 4% 64%); /* Texte d'appui, libellés */
23
- --kz-text-muted: hsl(240 4% 59%); /* Métadonnées, placeholders, désactivé (≥ 4.5:1 sur chaque surface, texte courant inclus) */
21
+ --kz-text-primary: hsl(105 17% 93%); /* La craie (sombre), l'encre bleue (clair) */
22
+ --kz-text-secondary: hsl(140 10% 76%); /* Texte d'appui, libellés */
23
+ --kz-text-muted: hsl(140 8% 68%); /* Métadonnées, placeholders, désactivé (≥ 4.5:1 sur chaque surface, texte courant inclus) */
24
24
 
25
25
  /* 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
26
  --kz-accent: hsl(208 46% 45%); /* Action principale, lien, sélection */
@@ -31,8 +31,8 @@
31
31
  --kz-ring: var(--kz-accent); /* Anneau de focus clavier */
32
32
 
33
33
  /* Dégradé de section de la marque (from → via → to) : les fonds de section glissent d'une teinte à l'autre ; le texte reste lisible dessus (testé). */
34
- --kz-brand-gradient-from: hsl(210 30% 10%); /* Section : la teinte de départ (haut de section, halo) */
35
- --kz-brand-gradient-via: hsl(220 14% 7%); /* Section : la teinte intermédiaire */
34
+ --kz-brand-gradient-from: var(--kz-surface-0); /* Section : plus de lavis (Cahier, ADR-004) — la surface de page */
35
+ --kz-brand-gradient-via: var(--kz-surface-0); /* Section : plus de lavis — la surface de page */
36
36
  --kz-brand-gradient-to: var(--kz-surface-0); /* Section : l'arrivée, un alias de la surface de page — la section suivante y enchaîne, même quand un produit change --kz-surface-0 */
37
37
  --kz-success-text: hsl(158 64% 52%); /* Statut succès en texte (petit texte, libellé) : ≥ 4.5:1 sur chaque surface */
38
38
  --kz-success-soft: hsl(160 84% 39% / 0.14); /* Fond teinté success (texte primaire ≥ 4.5:1) */
@@ -43,21 +43,29 @@
43
43
  --kz-info: var(--kz-accent); /* Statut : information */
44
44
  --kz-info-text: var(--kz-accent-text); /* Statut information en texte : l'accent en texte par défaut (≥ 4.5:1) */
45
45
 
46
- /* Ombres (web uniquement) ; raised/floating/overlay : teintées d'encre, multi-couches */
47
- --kz-shadow-sm: 0 1px 3px hsl(0 0% 0% / 0.12), 0 1px 2px hsl(0 0% 0% / 0.06); /* Champ, bouton au repos */
48
- --kz-shadow-md: 0 4px 12px hsl(0 0% 0% / 0.15), 0 2px 4px hsl(0 0% 0% / 0.08); /* Menu, popover, carte au survol */
49
- --kz-shadow-lg: 0 8px 24px hsl(0 0% 0% / 0.18), 0 4px 8px hsl(0 0% 0% / 0.08); /* Dialogue, feuille */
50
- --kz-shadow-raised: 0 1px 2px hsl(240 30% 2% / 0.45), 0 2px 6px -2px hsl(240 30% 2% / 0.3); /* Surélevé : bouton, carte */
51
- --kz-shadow-floating: 0 2px 4px hsl(240 30% 2% / 0.35), 0 12px 24px -6px hsl(240 30% 2% / 0.45), 0 24px 48px -12px hsl(240 30% 2% / 0.35); /* Flottant : menu, popover, info-bulle */
52
- --kz-shadow-overlay: 0 4px 8px hsl(240 30% 2% / 0.4), 0 24px 48px -12px hsl(240 30% 2% / 0.5), 0 48px 96px -24px hsl(240 30% 2% / 0.45); /* Au-dessus : dialogue, toast, palette */
53
- --kz-surface-sheen: hsl(0 0% 100% / 0.045); /* Reflet en haut d'une surface (bg-sheen) */
46
+ /* Le cahier (ADR-004) : la réglure Seyès, la marge rouge, l'étiquette de spécimen */
47
+ --kz-paper-rule-major: hsl(140 25% 88% / 0.09); /* Réglure : la ligne forte (tous les 32 px) */
48
+ --kz-paper-rule-minor: hsl(140 25% 88% / 0.045); /* Réglure : les lignes fines (tous les 8 px) */
49
+ --kz-paper-rule-margin: hsl(8 64% 66%); /* La marge rouge, et les repères de la marge (§, fig., p.) */
50
+ --kz-paper-tag: hsl(147 11% 20%); /* L'étiquette de spécimen (manille) */
51
+ --kz-paper-tag-edge: hsl(145 9% 38%); /* Le bord et l'œillet de l'étiquette */
52
+ --kz-paper-tag-ink: hsl(105 17% 92%); /* Le texte tapé sur l'étiquette */
53
+
54
+ /* Ombres (web) — Cahier (ADR-004) : une feuille posée sur une autre, un décalage net, jamais de flou */
55
+ --kz-shadow-sm: 0 1px 0 hsl(150 30% 3% / 0.6); /* Champ, bouton au repos */
56
+ --kz-shadow-md: 0 1px 0 hsl(150 30% 3% / 0.6), 4px 5px 0 -2px hsl(150 30% 4% / 0.55); /* Menu, popover, carte au survol */
57
+ --kz-shadow-lg: 0 1px 0 hsl(150 30% 3% / 0.6), 6px 8px 0 -2px hsl(150 30% 4% / 0.55); /* Dialogue, feuille */
58
+ --kz-shadow-raised: 0 1px 0 hsl(150 30% 3% / 0.6); /* Surélevé : bouton, carte */
59
+ --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
+ --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 */
61
+ --kz-surface-sheen: hsl(0 0% 100% / 0); /* Plus de reflet (Cahier, ADR-004) : le papier est mat */
54
62
 
55
63
  /* Arêtes : un filet intérieur d'1 px */
56
- --kz-edge-light: hsl(0 0% 100% / 0.07); /* Arête lumineuse du haut (inset-shadow-edge) */
64
+ --kz-edge-light: hsl(0 0% 100% / 0); /* Plus d'arête lumineuse : le papier est mat */
57
65
  --kz-edge-well: hsl(240 30% 2% / 0.5); /* Ombre intérieure d'un puits : champ, piste (inset-shadow-well) */
58
66
 
59
67
  /* Verre dépoli de ce qui flotte : 88 %, texte secondaire ≥ 4.5:1 sur tout fond */
60
- --kz-glass-bg: hsl(240 5% 12% / 0.88); /* Le fond du verre */
68
+ --kz-glass-bg: hsl(148 11% 11%); /* Ce qui flotte est une feuille, opaque (Cahier) : plus de verre dépoli */
61
69
  --kz-glass-border: hsl(0 0% 100% / 0.1); /* Le contour du verre */
62
70
 
63
71
  /* Typographie — les trois familles de @krizaka/fonts, chacune suivie de son repli aux métriques ajustées */
@@ -67,39 +75,43 @@
67
75
  /* Light. */
68
76
  html.light {
69
77
  color-scheme: light;
70
- --kz-surface-0: hsl(0 0% 98%); /* Fond de page */
71
- --kz-surface-1: hsl(0 0% 100%); /* Carte, panneau */
72
- --kz-surface-2: hsl(240 6% 95%); /* Élément surélevé, champ, survol */
73
- --kz-surface-3: hsl(240 5% 90%); /* Élément actif, puce, piste */
74
- --kz-media: hsl(240 6% 92%); /* fond d'un média avant chargement */
75
- --kz-border-subtle: hsl(240 6% 0% / 0.06); /* Séparateur discret */
76
- --kz-border-default: hsl(240 6% 0% / 0.10); /* Contour de carte, de champ */
77
- --kz-border-strong: hsl(240 6% 0% / 0.16); /* Contour au survol, focus non clavier */
78
- --kz-text-primary: hsl(240 6% 10%); /* Titres, corps de texte */
79
- --kz-text-secondary: hsl(240 4% 35%); /* Texte d'appui, libellés */
80
- --kz-text-muted: hsl(240 4% 41%); /* Métadonnées, placeholders, désactivé (≥ 4.5:1 sur chaque surface, texte courant inclus) */
78
+ --kz-surface-0: hsl(100 14% 96%); /* Fond de page : l'ardoise (sombre), le papier (clair) */
79
+ --kz-surface-1: hsl(90 17% 98.5%); /* Feuille posée : carte, panneau */
80
+ --kz-surface-2: hsl(100 11% 94.5%); /* Élément surélevé, champ, survol */
81
+ --kz-surface-3: hsl(100 9% 88%); /* Élément actif, puce, piste */
82
+ --kz-media: hsl(100 8% 90%); /* fond d'un média avant chargement */
83
+ --kz-border-subtle: hsl(212 49% 24% / 0.10); /* Séparateur discret */
84
+ --kz-border-default: hsl(212 49% 24% / 0.17); /* Contour de carte, de champ */
85
+ --kz-border-strong: hsl(212 49% 24% / 0.28); /* Contour au survol, focus non clavier */
86
+ --kz-text-primary: hsl(212 49% 22%); /* La craie (sombre), l'encre bleue (clair) */
87
+ --kz-text-secondary: hsl(212 22% 32%); /* Texte d'appui, libellés */
88
+ --kz-text-muted: hsl(212 14% 36%); /* Métadonnées, placeholders, désactivé (≥ 4.5:1 sur chaque surface, texte courant inclus) */
81
89
  --kz-accent: hsl(208 54% 36%); /* Action principale, lien, sélection */
82
90
  --kz-accent-hover: hsl(208 58% 29%); /* Accent au survol */
83
91
  --kz-accent-soft: hsl(208 54% 36% / 0.08); /* Fond teinté (sélection, badge) */
84
92
  --kz-accent-text: hsl(208 54% 33%); /* Accent en texte (lien, libellé actif) : ≥ 4.5:1 sur chaque surface */
85
- --kz-brand-gradient-from: hsl(208 36% 93%); /* Section : la teinte de départ (haut de section, halo) */
86
- --kz-brand-gradient-via: hsl(210 30% 97%); /* Section : la teinte intermédiaire */
87
93
  --kz-success-text: hsl(160 84% 24%); /* Statut succès en texte (petit texte, libellé) : ≥ 4.5:1 sur chaque surface */
88
94
  --kz-success-soft: hsl(160 84% 39% / 0.1); /* Fond teinté success (texte primaire ≥ 4.5:1) */
89
95
  --kz-warning-text: hsl(32 95% 30%); /* Statut avertissement en texte : ≥ 4.5:1 sur chaque surface */
90
96
  --kz-warning-soft: hsl(38 92% 50% / 0.12); /* Fond teinté warning (texte primaire ≥ 4.5:1) */
91
97
  --kz-danger-text: hsl(0 72% 40%); /* Statut erreur en texte (message d'erreur, compte à rebours urgent) : ≥ 4.5:1 sur chaque surface */
92
98
  --kz-danger-soft: hsl(0 84% 60% / 0.1); /* Fond teinté danger (texte primaire ≥ 4.5:1) */
93
- --kz-shadow-sm: 0 1px 3px hsl(240 6% 0% / 0.06), 0 1px 2px hsl(240 6% 0% / 0.04); /* Champ, bouton au repos */
94
- --kz-shadow-md: 0 4px 12px hsl(240 6% 0% / 0.08), 0 2px 4px hsl(240 6% 0% / 0.04); /* Menu, popover, carte au survol */
95
- --kz-shadow-lg: 0 8px 24px hsl(240 6% 0% / 0.10), 0 4px 8px hsl(240 6% 0% / 0.05); /* Dialogue, feuille */
96
- --kz-shadow-raised: 0 1px 2px hsl(232 25% 25% / 0.08), 0 2px 6px -2px hsl(232 25% 25% / 0.08); /* Surélevé : bouton, carte */
97
- --kz-shadow-floating: 0 2px 4px hsl(232 25% 25% / 0.06), 0 12px 24px -6px hsl(232 25% 25% / 0.1), 0 24px 48px -12px hsl(232 25% 25% / 0.1); /* Flottant : menu, popover, info-bulle */
98
- --kz-shadow-overlay: 0 4px 8px hsl(232 25% 25% / 0.08), 0 24px 48px -12px hsl(232 25% 25% / 0.14), 0 48px 96px -24px hsl(232 25% 25% / 0.14); /* Au-dessus : dialogue, toast, palette */
99
- --kz-surface-sheen: hsl(0 0% 100% / 0.7); /* Reflet en haut d'une surface (bg-sheen) */
100
- --kz-edge-light: hsl(0 0% 100% / 0.9); /* Arête lumineuse du haut (inset-shadow-edge) */
99
+ --kz-paper-rule-major: hsl(214 40% 45% / 0.24); /* Réglure : la ligne forte (tous les 32 px) */
100
+ --kz-paper-rule-minor: hsl(214 40% 45% / 0.10); /* Réglure : les lignes fines (tous les 8 px) */
101
+ --kz-paper-rule-margin: hsl(5 62% 40%); /* La marge rouge, et les repères de la marge (§, fig., p.) */
102
+ --kz-paper-tag: hsl(43 49% 84%); /* L'étiquette de spécimen (manille) */
103
+ --kz-paper-tag-edge: hsl(43 30% 58%); /* Le bord et l'œillet de l'étiquette */
104
+ --kz-paper-tag-ink: hsl(50 11% 14%); /* Le texte tapé sur l'étiquette */
105
+ --kz-shadow-sm: 0 1px 0 hsl(212 49% 24% / 0.12); /* Champ, bouton au repos */
106
+ --kz-shadow-md: 0 1px 0 hsl(212 49% 24% / 0.12), 4px 5px 0 -2px hsl(212 40% 30% / 0.14); /* Menu, popover, carte au survol */
107
+ --kz-shadow-lg: 0 1px 0 hsl(212 49% 24% / 0.12), 6px 8px 0 -2px hsl(212 40% 30% / 0.14); /* Dialogue, feuille */
108
+ --kz-shadow-raised: 0 1px 0 hsl(212 49% 24% / 0.12); /* Surélevé : bouton, carte */
109
+ --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
+ --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 */
111
+ --kz-surface-sheen: hsl(0 0% 100% / 0); /* Plus de reflet (Cahier, ADR-004) : le papier est mat */
112
+ --kz-edge-light: hsl(0 0% 100% / 0); /* Plus d'arête lumineuse : le papier est mat */
101
113
  --kz-edge-well: hsl(232 25% 25% / 0.08); /* Ombre intérieure d'un puits : champ, piste (inset-shadow-well) */
102
- --kz-glass-bg: hsl(0 0% 100% / 0.88); /* Le fond du verre */
114
+ --kz-glass-bg: hsl(90 17% 98.5%); /* Ce qui flotte est une feuille, opaque (Cahier) : plus de verre dépoli */
103
115
  --kz-glass-border: hsl(240 6% 0% / 0.08); /* Le contour du verre */
104
116
  }
105
117
 
@@ -107,25 +119,25 @@ html.light {
107
119
  sombre (pendant de `.theme-dark`). */
108
120
  .theme-light {
109
121
  color-scheme: light;
110
- --kz-surface-0: hsl(0 0% 98%); /* Fond de page */
111
- --kz-surface-1: hsl(0 0% 100%); /* Carte, panneau */
112
- --kz-surface-2: hsl(240 6% 95%); /* Élément surélevé, champ, survol */
113
- --kz-surface-3: hsl(240 5% 90%); /* Élément actif, puce, piste */
114
- --kz-media: hsl(240 6% 92%); /* fond d'un média avant chargement */
115
- --kz-border-subtle: hsl(240 6% 0% / 0.06); /* Séparateur discret */
116
- --kz-border-default: hsl(240 6% 0% / 0.10); /* Contour de carte, de champ */
117
- --kz-border-strong: hsl(240 6% 0% / 0.16); /* Contour au survol, focus non clavier */
118
- --kz-text-primary: hsl(240 6% 10%); /* Titres, corps de texte */
119
- --kz-text-secondary: hsl(240 4% 35%); /* Texte d'appui, libellés */
120
- --kz-text-muted: hsl(240 4% 41%); /* Métadonnées, placeholders, désactivé (≥ 4.5:1 sur chaque surface, texte courant inclus) */
122
+ --kz-surface-0: hsl(100 14% 96%); /* Fond de page : l'ardoise (sombre), le papier (clair) */
123
+ --kz-surface-1: hsl(90 17% 98.5%); /* Feuille posée : carte, panneau */
124
+ --kz-surface-2: hsl(100 11% 94.5%); /* Élément surélevé, champ, survol */
125
+ --kz-surface-3: hsl(100 9% 88%); /* Élément actif, puce, piste */
126
+ --kz-media: hsl(100 8% 90%); /* fond d'un média avant chargement */
127
+ --kz-border-subtle: hsl(212 49% 24% / 0.10); /* Séparateur discret */
128
+ --kz-border-default: hsl(212 49% 24% / 0.17); /* Contour de carte, de champ */
129
+ --kz-border-strong: hsl(212 49% 24% / 0.28); /* Contour au survol, focus non clavier */
130
+ --kz-text-primary: hsl(212 49% 22%); /* La craie (sombre), l'encre bleue (clair) */
131
+ --kz-text-secondary: hsl(212 22% 32%); /* Texte d'appui, libellés */
132
+ --kz-text-muted: hsl(212 14% 36%); /* Métadonnées, placeholders, désactivé (≥ 4.5:1 sur chaque surface, texte courant inclus) */
121
133
  --kz-accent: hsl(208 54% 36%); /* Action principale, lien, sélection */
122
134
  --kz-accent-hover: hsl(208 58% 29%); /* Accent au survol */
123
135
  --kz-accent-soft: hsl(208 54% 36% / 0.08); /* Fond teinté (sélection, badge) */
124
136
  --kz-accent-text: hsl(208 54% 33%); /* Accent en texte (lien, libellé actif) : ≥ 4.5:1 sur chaque surface */
125
137
  --kz-accent-2: var(--kz-accent); /* 2e accent (dégradés) ; égal à l'accent par défaut */
126
138
  --kz-ring: var(--kz-accent); /* Anneau de focus clavier */
127
- --kz-brand-gradient-from: hsl(208 36% 93%); /* Section : la teinte de départ (haut de section, halo) */
128
- --kz-brand-gradient-via: hsl(210 30% 97%); /* Section : la teinte intermédiaire */
139
+ --kz-brand-gradient-from: var(--kz-surface-0); /* Section : plus de lavis (Cahier, ADR-004) — la surface de page */
140
+ --kz-brand-gradient-via: var(--kz-surface-0); /* Section : plus de lavis — la surface de page */
129
141
  --kz-brand-gradient-to: var(--kz-surface-0); /* Section : l'arrivée, un alias de la surface de page — la section suivante y enchaîne, même quand un produit change --kz-surface-0 */
130
142
  --kz-success-text: hsl(160 84% 24%); /* Statut succès en texte (petit texte, libellé) : ≥ 4.5:1 sur chaque surface */
131
143
  --kz-success-soft: hsl(160 84% 39% / 0.1); /* Fond teinté success (texte primaire ≥ 4.5:1) */
@@ -135,16 +147,22 @@ html.light {
135
147
  --kz-danger-soft: hsl(0 84% 60% / 0.1); /* Fond teinté danger (texte primaire ≥ 4.5:1) */
136
148
  --kz-info: var(--kz-accent); /* Statut : information */
137
149
  --kz-info-text: var(--kz-accent-text); /* Statut information en texte : l'accent en texte par défaut (≥ 4.5:1) */
138
- --kz-shadow-sm: 0 1px 3px hsl(240 6% 0% / 0.06), 0 1px 2px hsl(240 6% 0% / 0.04); /* Champ, bouton au repos */
139
- --kz-shadow-md: 0 4px 12px hsl(240 6% 0% / 0.08), 0 2px 4px hsl(240 6% 0% / 0.04); /* Menu, popover, carte au survol */
140
- --kz-shadow-lg: 0 8px 24px hsl(240 6% 0% / 0.10), 0 4px 8px hsl(240 6% 0% / 0.05); /* Dialogue, feuille */
141
- --kz-shadow-raised: 0 1px 2px hsl(232 25% 25% / 0.08), 0 2px 6px -2px hsl(232 25% 25% / 0.08); /* Surélevé : bouton, carte */
142
- --kz-shadow-floating: 0 2px 4px hsl(232 25% 25% / 0.06), 0 12px 24px -6px hsl(232 25% 25% / 0.1), 0 24px 48px -12px hsl(232 25% 25% / 0.1); /* Flottant : menu, popover, info-bulle */
143
- --kz-shadow-overlay: 0 4px 8px hsl(232 25% 25% / 0.08), 0 24px 48px -12px hsl(232 25% 25% / 0.14), 0 48px 96px -24px hsl(232 25% 25% / 0.14); /* Au-dessus : dialogue, toast, palette */
144
- --kz-surface-sheen: hsl(0 0% 100% / 0.7); /* Reflet en haut d'une surface (bg-sheen) */
145
- --kz-edge-light: hsl(0 0% 100% / 0.9); /* Arête lumineuse du haut (inset-shadow-edge) */
150
+ --kz-paper-rule-major: hsl(214 40% 45% / 0.24); /* Réglure : la ligne forte (tous les 32 px) */
151
+ --kz-paper-rule-minor: hsl(214 40% 45% / 0.10); /* Réglure : les lignes fines (tous les 8 px) */
152
+ --kz-paper-rule-margin: hsl(5 62% 40%); /* La marge rouge, et les repères de la marge (§, fig., p.) */
153
+ --kz-paper-tag: hsl(43 49% 84%); /* L'étiquette de spécimen (manille) */
154
+ --kz-paper-tag-edge: hsl(43 30% 58%); /* Le bord et l'œillet de l'étiquette */
155
+ --kz-paper-tag-ink: hsl(50 11% 14%); /* Le texte tapé sur l'étiquette */
156
+ --kz-shadow-sm: 0 1px 0 hsl(212 49% 24% / 0.12); /* Champ, bouton au repos */
157
+ --kz-shadow-md: 0 1px 0 hsl(212 49% 24% / 0.12), 4px 5px 0 -2px hsl(212 40% 30% / 0.14); /* Menu, popover, carte au survol */
158
+ --kz-shadow-lg: 0 1px 0 hsl(212 49% 24% / 0.12), 6px 8px 0 -2px hsl(212 40% 30% / 0.14); /* Dialogue, feuille */
159
+ --kz-shadow-raised: 0 1px 0 hsl(212 49% 24% / 0.12); /* Surélevé : bouton, carte */
160
+ --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
+ --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 */
162
+ --kz-surface-sheen: hsl(0 0% 100% / 0); /* Plus de reflet (Cahier, ADR-004) : le papier est mat */
163
+ --kz-edge-light: hsl(0 0% 100% / 0); /* Plus d'arête lumineuse : le papier est mat */
146
164
  --kz-edge-well: hsl(232 25% 25% / 0.08); /* Ombre intérieure d'un puits : champ, piste (inset-shadow-well) */
147
- --kz-glass-bg: hsl(0 0% 100% / 0.88); /* Le fond du verre */
165
+ --kz-glass-bg: hsl(90 17% 98.5%); /* Ce qui flotte est une feuille, opaque (Cahier) : plus de verre dépoli */
148
166
  --kz-glass-border: hsl(240 6% 0% / 0.08); /* Le contour du verre */
149
167
  --kz-font-text: var(--kz-font-sans); /* Alias de sans : le rôle texte */
150
168
  }
@@ -164,12 +182,12 @@ html.light {
164
182
  --kz-overlay: hsl(0 0% 0% / 0.70); /* fond d'un dialogue */
165
183
 
166
184
  /* Rayons */
167
- --kz-radius-xs: 6px; /* Case à cocher, touche, badge coupé */
168
- --kz-radius-sm: 8px; /* Champ, puce */
169
- --kz-radius-md: 12px; /* Bouton, menu */
170
- --kz-radius-lg: 16px; /* Carte */
171
- --kz-radius-xl: 20px; /* Dialogue, feuille */
172
- --kz-radius-2xl: 28px; /* Feuille, grande surface flottante */
185
+ --kz-radius-xs: 2px; /* Case à cocher, touche, badge coupé */
186
+ --kz-radius-sm: 2px; /* Champ, puce */
187
+ --kz-radius-md: 2px; /* Bouton, menu */
188
+ --kz-radius-lg: 0px; /* Carte */
189
+ --kz-radius-xl: 0px; /* Dialogue, feuille */
190
+ --kz-radius-2xl: 0px; /* Feuille, grande surface flottante */
173
191
  --kz-radius-full: 9999px; /* Pastille, avatar */
174
192
  --kz-fill-shade: hsl(0 0% 0% / 0.12); /* Bas d'un aplat (bg-fill-shade), on-accent ≥ 4.5:1 */
175
193
 
@@ -177,7 +195,7 @@ html.light {
177
195
  --kz-edge-on-fill: hsl(0 0% 100% / 0.22); /* Arête lumineuse sur un aplat */
178
196
 
179
197
  /* Verre dépoli de ce qui flotte : 88 %, texte secondaire ≥ 4.5:1 sur tout fond */
180
- --kz-glass-blur: 24px; /* Le flou de ce qui passe dessous */
198
+ --kz-glass-blur: 0px; /* Plus de flou (Cahier, ADR-004) */
181
199
 
182
200
  /* Anneau de focus signature : net, décollé, dans un halo (focus-ring) */
183
201
  --kz-ring-width: 2px; /* Épaisseur */
@@ -193,8 +211,12 @@ html.light {
193
211
  /* La griffe : le coin coupé à 45° (BRAND.md §6.1) ; --kz-cut-shape: round l'éteint pour une app */
194
212
  --kz-cut-shape: bevel; /* La forme des coins signés : bevel (coupé) ou round */
195
213
  --kz-cut-size: 10px; /* La taille de la coupe d'un contrôle */
196
- --kz-ease: cubic-bezier(0.16, 1, 0.3, 1); /* Courbe par défaut de la signature de mouvement */
197
- --kz-ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1); /* Ressort court : pression, bascule, sélection */
214
+
215
+ /* La réglure Seyès (ADR-004) : le grand carreau et la ligne fine ; les interlignages tombent sur la ligne */
216
+ --kz-paper-module: 32px; /* Le grand carreau (8 mm) : le pas de la grille et de la marge */
217
+ --kz-paper-line: 8px; /* La ligne fine : trois par carreau */
218
+ --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
+ --kz-ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1); /* Le tampon : pression, bascule, sélection */
198
220
 
199
221
  /* Micro-interactions ≤ 200 ms ; 0 ms en mouvement réduit */
200
222
  --kz-duration-instant: 90ms; /* La compression d'un clic */
@@ -202,45 +224,45 @@ html.light {
202
224
  --kz-duration-base: 200ms; /* Une bascule, un indicateur qui glisse */
203
225
 
204
226
  /* Typographie — les trois familles de @krizaka/fonts, chacune suivie de son repli aux métriques ajustées */
205
- --kz-font-sans: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* Texte : interface et lecture (Inter) */
206
- --kz-font-display: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", Inter, system-ui, sans-serif; /* Affichage : titres, chiffres (Plus Jakarta Sans) ; surchargé par le thème produit */
207
- --kz-font-mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; /* Code, identifiants, surtitres (JetBrains Mono) */
227
+ --kz-font-sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible Next Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* Texte : interface et lecture (Atkinson Hyperlegible Next) */
228
+ --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
+ --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) */
208
230
 
209
231
  /* The hero of a home page */
210
232
  --kz-type-display-2xl-size: 72px;
211
- --kz-type-display-2xl-line-height: 1.02;
212
- --kz-type-display-2xl-weight: 800;
213
- --kz-type-display-2xl-tracking: -0.035em;
233
+ --kz-type-display-2xl-line-height: 1.11;
234
+ --kz-type-display-2xl-weight: 400;
235
+ --kz-type-display-2xl-tracking: -0.01em;
214
236
 
215
237
  /* The hero of a page */
216
238
  --kz-type-display-xl-size: 56px;
217
- --kz-type-display-xl-line-height: 1.05;
218
- --kz-type-display-xl-weight: 800;
219
- --kz-type-display-xl-tracking: -0.03em;
239
+ --kz-type-display-xl-line-height: 1.143;
240
+ --kz-type-display-xl-weight: 400;
241
+ --kz-type-display-xl-tracking: -0.01em;
220
242
 
221
243
  /* The title of a page */
222
244
  --kz-type-display-lg-size: 44px;
223
- --kz-type-display-lg-line-height: 1.1;
224
- --kz-type-display-lg-weight: 700;
225
- --kz-type-display-lg-tracking: -0.025em;
245
+ --kz-type-display-lg-line-height: 1.09;
246
+ --kz-type-display-lg-weight: 400;
247
+ --kz-type-display-lg-tracking: -0.01em;
226
248
 
227
249
  /* The title of a section */
228
250
  --kz-type-display-md-size: 34px;
229
- --kz-type-display-md-line-height: 1.15;
230
- --kz-type-display-md-weight: 700;
231
- --kz-type-display-md-tracking: -0.02em;
251
+ --kz-type-display-md-line-height: 1.176;
252
+ --kz-type-display-md-weight: 400;
253
+ --kz-type-display-md-tracking: -0.01em;
232
254
 
233
255
  /* A sub-section, a big figure */
234
256
  --kz-type-display-sm-size: 26px;
235
- --kz-type-display-sm-line-height: 1.2;
236
- --kz-type-display-sm-weight: 700;
237
- --kz-type-display-sm-tracking: -0.015em;
257
+ --kz-type-display-sm-line-height: 1.23;
258
+ --kz-type-display-sm-weight: 400;
259
+ --kz-type-display-sm-tracking: 0em;
238
260
 
239
261
  /* The title of a card or a dialog */
240
262
  --kz-type-title-lg-size: 20px;
241
- --kz-type-title-lg-line-height: 1.35;
242
- --kz-type-title-lg-weight: 700;
243
- --kz-type-title-lg-tracking: -0.01em;
263
+ --kz-type-title-lg-line-height: 1.2;
264
+ --kz-type-title-lg-weight: 400;
265
+ --kz-type-title-lg-tracking: 0em;
244
266
 
245
267
  /* The title of a list or a panel */
246
268
  --kz-type-title-md-size: 17px;
@@ -256,13 +278,13 @@ html.light {
256
278
 
257
279
  /* Running text */
258
280
  --kz-type-body-md-size: 16px;
259
- --kz-type-body-md-line-height: 1.6;
281
+ --kz-type-body-md-line-height: 1.5;
260
282
  --kz-type-body-md-weight: 400;
261
283
  --kz-type-body-md-tracking: -0.011em;
262
284
 
263
285
  /* Dense interface, secondary text */
264
286
  --kz-type-body-sm-size: 14px;
265
- --kz-type-body-sm-line-height: 1.5;
287
+ --kz-type-body-sm-line-height: 1.43;
266
288
  --kz-type-body-sm-weight: 400;
267
289
  --kz-type-body-sm-tracking: -0.006em;
268
290
 
@@ -272,11 +294,11 @@ html.light {
272
294
  --kz-type-caption-weight: 500;
273
295
  --kz-type-caption-tracking: 0em;
274
296
 
275
- /* The overline of a section, uppercase */
297
+ /* A note label in the note face, lower case: the margin's « § 2 », a tag's field (Cahier: no more uppercase overline) */
276
298
  --kz-type-overline-size: 11px;
277
- --kz-type-overline-line-height: 1.3;
278
- --kz-type-overline-weight: 600;
279
- --kz-type-overline-tracking: 0.12em;
299
+ --kz-type-overline-line-height: 1.45;
300
+ --kz-type-overline-weight: 400;
301
+ --kz-type-overline-tracking: 0em;
280
302
 
281
303
  /* Code blocks */
282
304
  --kz-type-mono-md-size: 14px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/tokens",
3
- "version": "3.34.0",
3
+ "version": "3.36.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",
@@ -79,7 +79,7 @@
79
79
  {
80
80
  "name": "./tokens.css",
81
81
  "path": "dist/tokens.css",
82
- "limit": "4.3 kB",
82
+ "limit": "4.75 kB",
83
83
  "gzip": true,
84
84
  "rolldown": false
85
85
  },