@luxflow/tokens 0.2.1 → 1.1.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/README.md +82 -10
- package/package.json +7 -6
- package/src/compat.css +4 -1
- package/src/contract.css +126 -0
- package/src/theme.template.css +237 -100
- package/src/vendor-themes.css +0 -723
- package/src/vendor-variables.css +0 -98
package/README.md
CHANGED
|
@@ -1,17 +1,89 @@
|
|
|
1
1
|
# @luxflow/tokens
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
CSS design tokens for LuxFlow. Source de vérité pour toutes les variables `--lf-*`.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Exports
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
| Export | Rôle |
|
|
8
|
+
|--------|------|
|
|
9
|
+
| `@luxflow/tokens/contract.css` | **91 variables `--lf-*` canoniques** — source de vérité |
|
|
10
|
+
| `@luxflow/tokens/compat.css` | Aliases bare (`--bg`, `--primary`, etc.) → `--lf-*` |
|
|
11
|
+
| `@luxflow/tokens/semantics.css` | Classes utilitaires (`.lf-card`, `.lf-btn`, etc.) |
|
|
12
|
+
| `@luxflow/tokens/theme.template.css` | Template d'override projet (couvre 91/91 vars) |
|
|
13
|
+
| `@luxflow/tokens/package.json` | Le manifeste — exporté parce que plusieurs outils le lisent |
|
|
14
|
+
|
|
15
|
+
### ⛔ Il n'y a PAS de point d'entrée racine, et c'est VOULU
|
|
16
|
+
|
|
17
|
+
`import '@luxflow/tokens'` échoue en `ERR_PACKAGE_PATH_NOT_EXPORTED`. Ce n'est pas un oubli.
|
|
18
|
+
|
|
19
|
+
**[mesuré le 23/08/2026]** Personne n'écrit `from '@luxflow/tokens'` — ni dans le monorepo, ni
|
|
20
|
+
dans les projets consommateurs hors dépôt. Les **95 usages** sont tous des sous-chemins CSS :
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
43 @luxflow/tokens/semantics.css 6 @luxflow/tokens/compat.css
|
|
24
|
+
41 @luxflow/tokens/contract.css 2 @luxflow/tokens/theme.template.css
|
|
25
|
+
0 @luxflow/tokens ← la racine
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Ce paquet ne contient **aucun JavaScript**. Lui donner une clé `.` reviendrait à inventer un
|
|
29
|
+
point d'entrée que personne ne demande, et qui devrait ensuite être maintenu. **L'absence est
|
|
30
|
+
documentée ici précisément pour qu'elle ne se lise pas comme un défaut** — un
|
|
31
|
+
`ERR_PACKAGE_PATH_NOT_EXPORTED` non expliqué finit toujours par être « corrigé ».
|
|
32
|
+
|
|
33
|
+
### `components.css` n'est PAS exporté — également voulu
|
|
34
|
+
|
|
35
|
+
Il existe dans le tarball (`files: ["src/*.css"]` l'embarque) mais il est **hors carte** : c'est
|
|
36
|
+
un stub *deprecated* (ADR-009), remplacé par `@luxflow/ui/styles/components.css`. Les trois
|
|
37
|
+
mentions qui en restent dans le dépôt sont des **interdictions**, pas des usages.
|
|
38
|
+
|
|
39
|
+
## Import order canonique
|
|
40
|
+
|
|
41
|
+
```css
|
|
42
|
+
@import '@luxflow/tokens/contract.css';
|
|
43
|
+
@import '@luxflow/tokens/compat.css';
|
|
44
|
+
@import '@luxflow/ui/styles/components.css';
|
|
45
|
+
@import '@luxflow/tokens/semantics.css';
|
|
46
|
+
|
|
47
|
+
/* Puis dans theme/theme.css : overrides --lf-* uniquement */
|
|
48
|
+
:root {
|
|
49
|
+
--lf-accent: #votre-couleur;
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Créer un thème projet
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
cp node_modules/@luxflow/tokens/src/theme.template.css theme/theme.css
|
|
10
57
|
```
|
|
11
58
|
|
|
12
|
-
## Tokens
|
|
59
|
+
## Tokens disponibles (102 variables `--lf-*`)
|
|
60
|
+
|
|
61
|
+
- **Colors** : `--lf-bg`, `--lf-surface-1/2/3`, `--lf-text`, `--lf-titles`, `--lf-accent`, `--lf-accent-hover/-foreground/-ghost`, `--lf-border`, `--lf-muted`
|
|
62
|
+
- **Status** : `--lf-success`, `--lf-warning`, `--lf-danger`, `--lf-info`, `--lf-on-*`, `--lf-*-bg`
|
|
63
|
+
- **Spacing** : `--lf-gap-*`, `--lf-padding-*`, `--lf-margin-*`, `--lf-padding-section-*`
|
|
64
|
+
- **Containers** : `--lf-container-sm/md/lg/xl/nav`
|
|
65
|
+
- **Typography** : `--lf-font-sans`, `--lf-font-heading`, `--lf-font-mono`, `--lf-text-h1..h6`, `--lf-font-*`, `--lf-leading-tight/normal/relaxed`
|
|
66
|
+
- **Radius** : `--lf-radius-xs/sm/md/lg/xl/2xl/full`
|
|
67
|
+
- **Shadows** : `--lf-shadow-sm/md/lg/xl`
|
|
68
|
+
- **Z-index** : `--lf-z-base/raised/dropdown/sticky/header/modal/overlay/toast`
|
|
69
|
+
- **Motion** : `--lf-motion-duration-*`, `--lf-motion-easing-*`
|
|
70
|
+
|
|
71
|
+
## Les 11 élargissements du contrat (T-005, 18/08/2026)
|
|
72
|
+
|
|
73
|
+
Le contrat est passé de 91 à 102 variables. Chaque ajout répond à un usage **mesuré dans le
|
|
74
|
+
dépôt**, pas à une anticipation. Les valeurs par défaut sont dérivées quand c'est possible, pour
|
|
75
|
+
qu'un thème qui surcharge `--lf-accent` seul reste cohérent.
|
|
76
|
+
|
|
77
|
+
| Variable | Défaut | Justification |
|
|
78
|
+
| --- | --- | --- |
|
|
79
|
+
| `--lf-success-bg` `--lf-warning-bg` `--lf-danger-bg` `--lf-info-bg` | `color-mix(in srgb, var(--lf-X) 10%, transparent)` | 13 usages réclamaient une **teinte** de statut (`rgba(…, 0.1)` avec la couleur pleine sur la bordure ou le texte). Le contrat avait les couleurs de statut et leurs contrastes, jamais leurs fonds. |
|
|
80
|
+
| `--lf-accent-hover` | `color-mix(in srgb, var(--lf-accent) 90%, black)` | Deux projets l'ont inventée indépendamment (`iae-sport-site`, `test-landing`). **Réserve : ce défaut assombrit.** Un thème sombre dont le survol doit éclaircir la surcharge — `iae-sport-site` le fait déjà (`#e0952a` en clair, `#ffb347` en sombre). |
|
|
81
|
+
| `--lf-accent-foreground` | `#ffffff` | Déclarée par `iae-sport-site`. **Le défaut suppose un accent sombre** ; avec un accent clair il faut le surcharger — `iae-sport-site` utilise `#111111`. |
|
|
82
|
+
| `--lf-accent-ghost` | `color-mix(… 12%, transparent)` | Couvre trois usages distincts d'`apps/os` : anneau de focus, fond de survol, fond d'état actif. |
|
|
83
|
+
| `--lf-font-heading` | `var(--lf-font-sans)` | Défaut neutre : un thème qui ne la surcharge pas garde une seule police. |
|
|
84
|
+
| `--lf-font-mono` | `ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace` | Le besoin existait sous trois formes concurrentes, dont six références à un `--font-mono` sans préfixe qui tombaient sur la police système. |
|
|
85
|
+
| `--lf-leading-normal` `--lf-leading-relaxed` | `1.5` `1.7` | Le contrat n'avait que `--lf-leading-tight`. Le `1.7` est le fallback déjà utilisé par les templates. |
|
|
86
|
+
|
|
87
|
+
## Documentation complète
|
|
13
88
|
|
|
14
|
-
|
|
15
|
-
- Spacing: `--gap-*`, `--padding-*`
|
|
16
|
-
- Radius: `--radius-*`
|
|
17
|
-
- Shadows: `--shadow-*`
|
|
89
|
+
`docs/TOKENS_THEME_CONTRACT.md`
|
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxflow/tokens",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"exports": {
|
|
5
5
|
"./contract.css": "./src/contract.css",
|
|
6
6
|
"./semantics.css": "./src/semantics.css",
|
|
7
|
+
"./compat.css": "./src/compat.css",
|
|
7
8
|
"./theme.template.css": "./src/theme.template.css",
|
|
8
|
-
"./
|
|
9
|
-
"./vendor-variables.css": "./src/vendor-variables.css",
|
|
10
|
-
"./compat.css": "./src/compat.css"
|
|
9
|
+
"./package.json": "./package.json"
|
|
11
10
|
},
|
|
12
|
-
"files": [
|
|
11
|
+
"files": [
|
|
12
|
+
"src/*.css"
|
|
13
|
+
],
|
|
13
14
|
"publishConfig": {
|
|
14
15
|
"access": "public"
|
|
15
16
|
}
|
|
16
|
-
}
|
|
17
|
+
}
|
package/src/compat.css
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/* LuxFlow Compat Aliases: --lf-* → bare (ADR-008) */
|
|
2
2
|
@import './contract.css';
|
|
3
3
|
:root {
|
|
4
|
-
--bg: var(--lf-bg); --surface: var(--lf-surface-1); --text: var(--lf-text);
|
|
4
|
+
--bg: var(--lf-bg); --surface: var(--lf-surface-1); --surface-2: var(--lf-surface-2); --surface-3: var(--lf-surface-3); --text: var(--lf-text);
|
|
5
5
|
--foreground: var(--lf-foreground); --titles: var(--lf-titles);
|
|
6
6
|
--muted: var(--lf-muted); --muted-foreground: var(--lf-muted-foreground);
|
|
7
7
|
--border: var(--lf-border); --primary: var(--lf-accent); --accent: var(--lf-accent);
|
|
8
8
|
--ring: var(--lf-ring); --success: var(--lf-success); --warning: var(--lf-warning);
|
|
9
9
|
--error: var(--lf-danger); --destructive: var(--lf-danger); --info: var(--lf-info);
|
|
10
|
+
--on-success: var(--lf-on-success); --on-warning: var(--lf-on-warning); --on-error: var(--lf-on-error);
|
|
10
11
|
--gap-2xs: var(--lf-gap-2xs); --gap-xs: var(--lf-gap-xs); --gap-sm: var(--lf-gap-sm);
|
|
11
12
|
--gap-md: var(--lf-gap-md); --gap-lg: var(--lf-gap-lg); --gap-xl: var(--lf-gap-xl);
|
|
12
13
|
--padding-sm: var(--lf-padding-sm); --padding-md: var(--lf-padding-md);
|
|
@@ -19,12 +20,14 @@
|
|
|
19
20
|
--padding-section-xl: var(--lf-padding-section-xl);
|
|
20
21
|
--container-sm: var(--lf-container-sm); --container-md: var(--lf-container-md);
|
|
21
22
|
--container-lg: var(--lf-container-lg); --container-xl: var(--lf-container-xl);
|
|
23
|
+
--container-nav: var(--lf-container-nav);
|
|
22
24
|
--text-h1: var(--lf-text-h1); --text-h2: var(--lf-text-h2);
|
|
23
25
|
--text-h3: var(--lf-text-h3); --text-h4: var(--lf-text-h4);
|
|
24
26
|
--text-h5: var(--lf-text-h5); --text-h6: var(--lf-text-h6);
|
|
25
27
|
--text-display-lg: var(--lf-text-display-lg);
|
|
26
28
|
--text-body: var(--lf-text-body); --text-body-lg: var(--lf-text-body-lg);
|
|
27
29
|
--text-small: var(--lf-text-small); --text-tiny: var(--lf-text-tiny);
|
|
30
|
+
--text-form: var(--lf-text-form);
|
|
28
31
|
--font-light: var(--lf-font-light); --font-normal: var(--lf-font-normal);
|
|
29
32
|
--font-medium: var(--lf-font-medium); --font-semibold: var(--lf-font-semibold);
|
|
30
33
|
--font-bold: var(--lf-font-bold); --leading-tight: var(--lf-leading-tight);
|
package/src/contract.css
CHANGED
|
@@ -18,6 +18,13 @@
|
|
|
18
18
|
--lf-border: #2a2a2a;
|
|
19
19
|
--lf-accent: #4a90e2;
|
|
20
20
|
--lf-ring: var(--lf-accent);
|
|
21
|
+
/* Accent nuances — derived, so overriding --lf-accent alone stays coherent.
|
|
22
|
+
Reserve: the hover default darkens. A dark theme whose hover should LIGHTEN
|
|
23
|
+
must override it, as iae-sport-site does (#e0952a light / #ffb347 dark). */
|
|
24
|
+
--lf-accent-hover: color-mix(in srgb, var(--lf-accent) 90%, black);
|
|
25
|
+
/* Default assumes a dark accent. Override with a light accent — iae-sport-site uses #111111. */
|
|
26
|
+
--lf-accent-foreground: #ffffff;
|
|
27
|
+
--lf-accent-ghost: color-mix(in srgb, var(--lf-accent) 12%, transparent);
|
|
21
28
|
|
|
22
29
|
/* Status */
|
|
23
30
|
--lf-success: #10b981;
|
|
@@ -25,6 +32,17 @@
|
|
|
25
32
|
--lf-danger: #ef4444;
|
|
26
33
|
--lf-info: #3b82f6;
|
|
27
34
|
|
|
35
|
+
/* Status backgrounds — ~10% tint, paired with the full status colour on text or border */
|
|
36
|
+
--lf-success-bg: color-mix(in srgb, var(--lf-success) 10%, transparent);
|
|
37
|
+
--lf-warning-bg: color-mix(in srgb, var(--lf-warning) 10%, transparent);
|
|
38
|
+
--lf-danger-bg: color-mix(in srgb, var(--lf-danger) 10%, transparent);
|
|
39
|
+
--lf-info-bg: color-mix(in srgb, var(--lf-info) 10%, transparent);
|
|
40
|
+
|
|
41
|
+
/* Status contrast (text on status backgrounds) */
|
|
42
|
+
--lf-on-success: #ffffff;
|
|
43
|
+
--lf-on-warning: #ffffff;
|
|
44
|
+
--lf-on-error: #ffffff;
|
|
45
|
+
|
|
28
46
|
/* ==================== SPACING ==================== */
|
|
29
47
|
--lf-gap-2xs: 0.125rem;
|
|
30
48
|
--lf-gap-xs: 0.25rem;
|
|
@@ -53,9 +71,13 @@
|
|
|
53
71
|
--lf-container-md: 768px;
|
|
54
72
|
--lf-container-lg: 1024px;
|
|
55
73
|
--lf-container-xl: 1280px;
|
|
74
|
+
--lf-container-nav: 1200px;
|
|
56
75
|
|
|
57
76
|
/* ==================== TYPOGRAPHY ==================== */
|
|
58
77
|
--lf-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
|
|
78
|
+
/* Defaults to the body font: a theme that does not override it keeps a single typeface. */
|
|
79
|
+
--lf-font-heading: var(--lf-font-sans);
|
|
80
|
+
--lf-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
59
81
|
|
|
60
82
|
--lf-text-h1: 3rem;
|
|
61
83
|
--lf-text-h2: 2.5rem;
|
|
@@ -68,6 +90,7 @@
|
|
|
68
90
|
--lf-text-body-lg: 1.5rem;
|
|
69
91
|
--lf-text-small: 1rem;
|
|
70
92
|
--lf-text-tiny: 0.75rem;
|
|
93
|
+
--lf-text-form: 0.875rem;
|
|
71
94
|
|
|
72
95
|
--lf-font-light: 300;
|
|
73
96
|
--lf-font-normal: 400;
|
|
@@ -76,6 +99,8 @@
|
|
|
76
99
|
--lf-font-bold: 700;
|
|
77
100
|
|
|
78
101
|
--lf-leading-tight: 1.25;
|
|
102
|
+
--lf-leading-normal: 1.5;
|
|
103
|
+
--lf-leading-relaxed: 1.7;
|
|
79
104
|
|
|
80
105
|
/* ==================== BORDER RADIUS ==================== */
|
|
81
106
|
--lf-radius-xs: 0.125rem;
|
|
@@ -115,4 +140,105 @@
|
|
|
115
140
|
--lf-motion-easing-out: ease-out;
|
|
116
141
|
--lf-motion-easing-in-out: ease-in-out;
|
|
117
142
|
--lf-motion-easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
143
|
+
|
|
144
|
+
/* ==================== COMPONENTS ====================
|
|
145
|
+
Jetons PAR COMPOSANT : un thème règle une valeur au lieu de réécrire une classe de la banque.
|
|
146
|
+
`initial` = « pas réglé » : le composant retombe sur son repli `var(--lf-x, <défaut>)`, et ce repli
|
|
147
|
+
se résout SUR L'ÉLÉMENT — une portée qui redéfinit --lf-bg (zone sombre) reste juste. Une valeur
|
|
148
|
+
posée ici en `var(--lf-bg)` serait, elle, figée à la racine. Le défaut de chaque jeton est écrit
|
|
149
|
+
en regard : c'est le rendu du composant quand le jeton n'est pas réglé.
|
|
150
|
+
⚠️ Un projet qui règle un jeton par une autre variable (`var(--lf-titles)`) doit le régler dans
|
|
151
|
+
CHAQUE portée de thème qui redéfinit cette variable, pour la même raison. */
|
|
152
|
+
/* Bouton */
|
|
153
|
+
--lf-btn-radius: initial; /* var(--lf-radius-sm) */
|
|
154
|
+
--lf-btn-padding-y-sm: initial; /* var(--lf-gap-sm) */
|
|
155
|
+
--lf-btn-padding-x-sm: initial; /* var(--lf-gap-lg) */
|
|
156
|
+
--lf-btn-font-size-sm: initial; /* var(--lf-text-small) */
|
|
157
|
+
--lf-btn-min-height-sm: initial; /* auto */
|
|
158
|
+
--lf-btn-padding-y-md: initial; /* var(--lf-gap-sm) */
|
|
159
|
+
--lf-btn-padding-x-md: initial; /* var(--lf-gap-lg) */
|
|
160
|
+
--lf-btn-font-size-md: initial; /* var(--lf-text-body) */
|
|
161
|
+
--lf-btn-min-height-md: initial; /* auto */
|
|
162
|
+
--lf-btn-padding-y-lg: initial; /* var(--lf-gap-md) */
|
|
163
|
+
--lf-btn-padding-x-lg: initial; /* var(--lf-gap-xl) */
|
|
164
|
+
--lf-btn-font-size-lg: initial; /* var(--lf-text-h4) */
|
|
165
|
+
--lf-btn-min-height-lg: initial; /* auto */
|
|
166
|
+
--lf-btn-primary-hover-bg: initial; /* var(--lf-accent) */
|
|
167
|
+
--lf-btn-primary-hover-opacity: initial;/* 0.9 */
|
|
168
|
+
--lf-btn-primary-shadow: initial; /* none */
|
|
169
|
+
--lf-btn-secondary-bg: initial; /* var(--lf-bg) */
|
|
170
|
+
--lf-btn-secondary-color: initial; /* var(--lf-text) */
|
|
171
|
+
--lf-btn-secondary-border: initial; /* 1px solid var(--lf-border) */
|
|
172
|
+
--lf-btn-secondary-hover-bg: initial; /* var(--lf-surface-1) */
|
|
173
|
+
--lf-btn-ghost-color: initial; /* var(--lf-text) */
|
|
174
|
+
--lf-btn-ghost-hover-bg: initial; /* var(--lf-surface-1) */
|
|
175
|
+
/* Carte */
|
|
176
|
+
--lf-card-radius: initial; /* var(--lf-radius-lg) */
|
|
177
|
+
--lf-card-padding: initial; /* var(--lf-gap-md) — .card-content */
|
|
178
|
+
--lf-card-title-size: initial; /* var(--lf-text-body-lg) */
|
|
179
|
+
--lf-card-title-font: initial; /* inherit */
|
|
180
|
+
--lf-card-description-color: initial; /* var(--lf-muted) */
|
|
181
|
+
--lf-card-description-leading: initial; /* var(--lf-leading-tight) */
|
|
182
|
+
/* Champ (Input, Textarea, Field) */
|
|
183
|
+
--lf-field-label-color: initial; /* var(--lf-foreground) */
|
|
184
|
+
--lf-field-label-size: initial; /* var(--lf-text-form) */
|
|
185
|
+
--lf-field-label-weight: initial; /* var(--lf-font-medium) */
|
|
186
|
+
--lf-input-bg: initial; /* var(--lf-bg) */
|
|
187
|
+
--lf-input-border-color: initial; /* var(--lf-border) */
|
|
188
|
+
--lf-input-min-height: initial; /* auto (Input seul ; Textarea garde 5rem) */
|
|
189
|
+
--lf-input-padding-x: initial; /* var(--lf-gap-md) */
|
|
190
|
+
--lf-input-focus-border-color: initial; /* var(--lf-accent) */
|
|
191
|
+
--lf-input-focus-ring: initial; /* 0 0 0 2px color-mix(in srgb, var(--lf-accent) 10%, transparent) */
|
|
192
|
+
/* Titres (Heading ; SectionHeader et @luxflow/sections lisent police et graisse) */
|
|
193
|
+
--lf-heading-font: initial; /* inherit — ⚠️ --lf-font-heading n'est pas lu par défaut */
|
|
194
|
+
--lf-heading-weight-display: initial; /* var(--lf-font-bold) */
|
|
195
|
+
--lf-heading-weight-h1: initial; /* var(--lf-font-bold) */
|
|
196
|
+
--lf-heading-weight-h2: initial; /* var(--lf-font-bold) */
|
|
197
|
+
--lf-heading-leading-display: initial; /* 1.1 (spacing="normal", le défaut de Heading) */
|
|
198
|
+
--lf-heading-leading-h1: initial; /* 1.2 */
|
|
199
|
+
--lf-heading-leading-h2: initial; /* 1.2 */
|
|
200
|
+
--lf-heading-leading-h3: initial; /* 1.2 */
|
|
201
|
+
--lf-heading-tracking-display: initial; /* -0.03em */
|
|
202
|
+
--lf-heading-tracking-h1: initial; /* -0.02em */
|
|
203
|
+
--lf-heading-tracking-h2: initial; /* -0.01em */
|
|
204
|
+
--lf-heading-gradient: initial; /* linear-gradient(135deg, var(--lf-accent) 0%, var(--lf-accent) 100%) */
|
|
205
|
+
/* Accordéon (Accordion, Faq) — le déclencheur est un Button ghost : ses replis lisent les jetons du bouton */
|
|
206
|
+
--lf-accordion-trigger-size: initial; /* var(--lf-btn-font-size-md, var(--lf-text-body)) */
|
|
207
|
+
--lf-accordion-trigger-weight: initial; /* var(--lf-font-medium) */
|
|
208
|
+
--lf-accordion-trigger-color: initial; /* var(--lf-btn-ghost-color, var(--lf-text)) */
|
|
209
|
+
--lf-accordion-trigger-padding: initial; /* var(--lf-padding-md) */
|
|
210
|
+
--lf-accordion-icon-color: initial; /* var(--lf-muted) */
|
|
211
|
+
--lf-accordion-icon-size: initial; /* var(--lf-text-body) */
|
|
212
|
+
--lf-accordion-divider: initial; /* 1px solid var(--lf-border) — entre la question et la réponse */
|
|
213
|
+
--lf-accordion-body-size: initial; /* var(--lf-text-small) */
|
|
214
|
+
--lf-accordion-body-padding: initial; /* var(--lf-padding-md) */
|
|
215
|
+
--lf-accordion-open-bg: initial; /* transparent — fond de l'élément ouvert */
|
|
216
|
+
/* Navigation (Navbar) */
|
|
217
|
+
--lf-navbar-bg: initial; /* var(--lf-bg) */
|
|
218
|
+
--lf-navbar-backdrop: initial; /* none — ex. blur(10px) pour une barre translucide */
|
|
219
|
+
--lf-navbar-padding: initial; /* var(--lf-gap-sm) var(--lf-gap-md) */
|
|
220
|
+
--lf-navbar-link-color: initial; /* var(--lf-muted) */
|
|
221
|
+
--lf-navbar-link-active-color: initial; /* var(--lf-titles) */
|
|
222
|
+
--lf-navbar-link-active-bg: initial; /* transparent */
|
|
223
|
+
--lf-navbar-link-active-shadow: initial; /* none — ex. inset 0 -2px 0 var(--lf-accent) pour un filet */
|
|
224
|
+
/* Pied de page (Footer) */
|
|
225
|
+
--lf-footer-padding-x: initial; /* 5% */
|
|
226
|
+
--lf-footer-tagline-color: initial; /* var(--lf-muted) */
|
|
227
|
+
--lf-footer-title-size: initial; /* var(--lf-text-h4) */
|
|
228
|
+
--lf-footer-title-weight: initial; /* var(--lf-font-semibold) */
|
|
229
|
+
--lf-footer-title-color: initial; /* var(--lf-titles) */
|
|
230
|
+
--lf-footer-link-color: initial; /* var(--lf-text) */
|
|
231
|
+
--lf-footer-link-weight: initial; /* var(--lf-font-semibold) */
|
|
232
|
+
/* Fil d'Ariane (Breadcrumbs) */
|
|
233
|
+
--lf-breadcrumb-link-color: initial; /* var(--lf-muted) */
|
|
234
|
+
--lf-breadcrumb-current-color: initial; /* var(--lf-titles) */
|
|
235
|
+
/* Focus clavier (tous les :focus-visible de la banque) — un réglage pour toute la page */
|
|
236
|
+
--lf-focus-outline: initial; /* chaque composant garde le sien : 2px solid var(--lf-ring), parfois --lf-accent ou 1px */
|
|
237
|
+
--lf-focus-offset: initial; /* 2px (1px sur les champs intégrés) */
|
|
238
|
+
/* Réglages complémentaires (surchargés par au moins deux projets) */
|
|
239
|
+
--lf-btn-gap: initial; /* var(--lf-gap-md) — entre l'icône et le libellé */
|
|
240
|
+
--lf-card-title-tracking: initial; /* inherit */
|
|
241
|
+
--lf-field-gap: initial; /* var(--lf-gap-sm) — entre libellé, champ et aide */
|
|
242
|
+
--lf-section-title-leading: initial; /* SectionHeader : inherit · @luxflow/sections : var(--lf-leading-tight) */
|
|
243
|
+
--lf-section-title-tracking: initial; /* inherit */
|
|
118
244
|
}
|