@design-system-rte/core 0.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/dist/core.mjs ADDED
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,12 @@
1
+ export declare interface ButtonProps {
2
+ label: string;
3
+ type?: ButtonType;
4
+ size?: ButtonSize;
5
+ disabled?: boolean;
6
+ }
7
+
8
+ export declare type ButtonSize = 's' | 'm' | 'l';
9
+
10
+ export declare type ButtonType = 'filled' | 'outlined' | 'text' | 'transparent' | 'danger';
11
+
12
+ export { }
@@ -0,0 +1,3 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
2
+
3
+ /*# sourceMappingURL=main.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../tokens/main.scss"],"names":[],"mappings":"AAMQ","file":"main.css"}
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@design-system-rte/core",
3
+ "version": "0.1.0",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "style": "dist/styles/main.css",
7
+ "sass": "tokens/main.scss",
8
+ "files": ["dist", "tokens"],
9
+ "scripts": {
10
+ "build": "vite build && sass tokens/main.scss:dist/styles/main.css",
11
+ "build:types": "tsc --emitDeclarationOnly",
12
+ "test": "echo \"Error: no test specified\" && exit 1"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/rte-france/design-system-rte"
17
+ },
18
+ "keywords": [],
19
+ "author": "",
20
+ "license": "ISC",
21
+ "description": "Design Tokens, interfaces and utilities for the Design System RTE",
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "peerDependencies": {
26
+ "sass": "^1.85.1"
27
+ },
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.js"
32
+ },
33
+ "./tokens/*": "./tokens/*",
34
+ "./style.css": "./dist/styles/main.css"
35
+ }
36
+ }
@@ -0,0 +1,388 @@
1
+ // @use 'primitives/colors' as *;
2
+
3
+ // :root{
4
+ // &[data-theme="bleu_iceberg"] {
5
+ // &[data-mode='light'] {
6
+ // --content-primary: #{$greyscale-900};
7
+ // --background-default: #{$core-white};
8
+ // --border-primary: #{$greyscale-600};
9
+ // --overlay-50: #{$core-black_50};
10
+ // --overlay-50_inverse: #{$core-white_50};
11
+ // --border-secondary: #{$greyscale-400};
12
+ // --border-tertiary: #{$greyscale-200};
13
+ // --border-disabled: #{$greyscale-200};
14
+ // --border-inverse: #{$core-white};
15
+ // --border-brand_default: #{$bleu_iceberg-600};
16
+ // --border-brand_focused: #{$bleu_iceberg-900};
17
+ // --border-danger: #{$rouge_indications-600};
18
+ // --border-info: #{$bleu_digital-500};
19
+ // --border-warning: #{$jaune_indications-400};
20
+ // --border-success: #{$vert_digital-600};
21
+ // --background-hover: #{$greyscale-50};
22
+ // --background-pressed: #{$greyscale-100};
23
+ // --background-selected: #{$bleu_iceberg-200};
24
+ // --background-disabled: #{$greyscale-0};
25
+ // --background-inverse: #{$greyscale-900};
26
+ // --background-brand_default: #{$bleu_iceberg-600};
27
+ // --background-brand_hover: #{$bleu_iceberg-700};
28
+ // --background-brand_pressed: #{$bleu_iceberg-800};
29
+ // --background-brand_inverse_default: #{$core-white};
30
+ // --background-brand_inverse_hover: #{$bleu_iceberg-50};
31
+ // --background-brand_inverse_pressed: #{$bleu_iceberg-100};
32
+ // --background-danger_default: #{$rouge_indications-700};
33
+ // --background-danger_hover: #{$rouge_indications-800};
34
+ // --background-danger_pressed: #{$rouge_indications-900};
35
+ // --background-info: #{$bleu_digital-500};
36
+ // --background-info_subtle: #{$bleu_digital-100};
37
+ // --background-warning: #{$jaune_indications-400};
38
+ // --background-warning_subtle: #{$jaune_indications-100};
39
+ // --background-success: #{$vert_digital-600};
40
+ // --background-success_subtle: #{$vert_digital-200};
41
+ // --content-secondary: #{$greyscale-800};
42
+ // --content-tertiary: #{$greyscale-600};
43
+ // --content-primary_inverse: #{$core-white};
44
+ // --content-secondary_inverse: #{$greyscale-100};
45
+ // --content-tertiary_inverse: #{$greyscale-300};
46
+ // --content-disabled: #{$greyscale-300};
47
+ // --content-brand_default: #{$bleu_iceberg-600};
48
+ // --content-brand_hover: #{$bleu_iceberg-700};
49
+ // --content-brand_pressed: #{$bleu_iceberg-800};
50
+ // --content-link_default: #{$bleu_digital-500};
51
+ // --content-link_hover: #{$bleu_digital-600};
52
+ // --content-link_pressed: #{$bleu_digital-700};
53
+ // --content-link_visited: #{$violet-600};
54
+ // --content-danger: #{$rouge_indications-700};
55
+ // --content-danger_inverse: #{$core-white};
56
+ // --content-danger_bold: #{$rouge_indications-800};
57
+ // --content-info: #{$bleu_digital-500};
58
+ // --content-info_inverse: #{$core-white};
59
+ // --content-info_bold: #{$bleu_digital-600};
60
+ // --content-warning: #{$jaune_indications-400};
61
+ // --content-warning_inverse: #{$core-white};
62
+ // --content-warning_bold: #{$jaune_indications-500};
63
+ // --content-success: #{$vert_digital-600};
64
+ // --content-success_inverse: #{$core-white};
65
+ // --content-success_bold: #{$vert_digital-700};
66
+ // }
67
+
68
+ // &[data-mode='dark'] {
69
+ // --content-primary: #{$core-white};
70
+ // --background-default: #{$greyscale-900};
71
+ // --border-primary: #{$greyscale-400};
72
+ // --overlay-50: #{$core-black_50};
73
+ // --overlay-50_inverse: #{$core-white_50};
74
+ // --border-secondary: #{$greyscale-600};
75
+ // --border-tertiary: #{$greyscale-800};
76
+ // --border-disabled: #{$greyscale-700};
77
+ // --border-inverse: #{$greyscale-900};
78
+ // --border-brand_default: #{$bleu_iceberg-0};
79
+ // --border-brand_focused: #{$bleu_iceberg-0};
80
+ // --border-danger: #{$rouge_indications-600};
81
+ // --border-info: #{$bleu_digital-500};
82
+ // --border-warning: #{$jaune_indications-400};
83
+ // --border-success: #{$vert_digital-600};
84
+ // --background-hover: #{$greyscale-800};
85
+ // --background-pressed: #{$greyscale-700};
86
+ // --background-selected: #{$bleu_iceberg-700};
87
+ // --background-disabled: #{$greyscale-800};
88
+ // --background-inverse: #{$core-white};
89
+ // --background-brand_default: #{$bleu_iceberg-300};
90
+ // --background-brand_hover: #{$bleu_iceberg-200};
91
+ // --background-brand_pressed: #{$bleu_iceberg-100};
92
+ // --background-brand_inverse_default: #{$bleu_iceberg-800};
93
+ // --background-brand_inverse_hover: #{$bleu_iceberg-700};
94
+ // --background-brand_inverse_pressed: #{$bleu_iceberg-600};
95
+ // --background-danger_default: #{$rouge_indications-700};
96
+ // --background-danger_hover: #{$rouge_indications-600};
97
+ // --background-danger_pressed: #{$rouge_indications-500};
98
+ // --background-info: #{$bleu_digital-500};
99
+ // --background-info_subtle: #{$bleu_digital-800};
100
+ // --background-warning: #{$jaune_indications-400};
101
+ // --background-warning_subtle: #{$jaune_indications-800};
102
+ // --background-success: #{$vert_digital-600};
103
+ // --background-success_subtle: #{$vert_digital-700};
104
+ // --content-secondary: #{$greyscale-100};
105
+ // --content-tertiary: #{$greyscale-300};
106
+ // --content-primary_inverse: #{$greyscale-900};
107
+ // --content-secondary_inverse: #{$greyscale-800};
108
+ // --content-tertiary_inverse: #{$greyscale-600};
109
+ // --content-disabled: #{$greyscale-700};
110
+ // --content-brand_default: #{$bleu_iceberg-0};
111
+ // --content-brand_hover: #{$bleu_iceberg-50};
112
+ // --content-brand_pressed: #{$bleu_iceberg-100};
113
+ // --content-link_default: #{$bleu_digital-500};
114
+ // --content-link_hover: #{$bleu_digital-400};
115
+ // --content-link_pressed: #{$bleu_digital-300};
116
+ // --content-link_visited: #{$violet-300};
117
+ // --content-danger: #{$rouge_indications-600};
118
+ // --content-danger_inverse: #{$core-white};
119
+ // --content-danger_bold: #{$rouge_indications-500};
120
+ // --content-info: #{$bleu_digital-500};
121
+ // --content-info_inverse: #{$core-white};
122
+ // --content-info_bold: #{$bleu_digital-400};
123
+ // --content-warning: #{$jaune_indications-400};
124
+ // --content-warning_inverse: #{$core-white};
125
+ // --content-warning_bold: #{$jaune_indications-300};
126
+ // --content-success: #{$vert_digital-600};
127
+ // --content-success_inverse: #{$core-white};
128
+ // --content-success_bold: #{$vert_digital-500};
129
+ // }
130
+ // }
131
+ // &[data-theme="violet"] {
132
+ // &[data-mode='light'] {
133
+ // --content-primary: #{$greyscale-900};
134
+ // --background-default: #{$core-white};
135
+ // --border-primary: #{$greyscale-600};
136
+ // --overlay-50: #{$core-black_50};
137
+ // --overlay-50_inverse: #{$core-white_50};
138
+ // --border-secondary: #{$greyscale-400};
139
+ // --border-tertiary: #{$greyscale-200};
140
+ // --border-disabled: #{$greyscale-200};
141
+ // --border-inverse: #{$core-white};
142
+ // --border-brand_default: #{$violet-600};
143
+ // --border-brand_focused: #{$bleu_iceberg-900};
144
+ // --border-danger: #{$rouge_indications-600};
145
+ // --border-info: #{$bleu_digital-500};
146
+ // --border-warning: #{$jaune_indications-400};
147
+ // --border-success: #{$vert_digital-600};
148
+ // --background-hover: #{$greyscale-50};
149
+ // --background-pressed: #{$greyscale-100};
150
+ // --background-selected: #{$violet-200};
151
+ // --background-disabled: #{$greyscale-0};
152
+ // --background-inverse: #{$greyscale-900};
153
+ // --background-brand_default: #{$violet-600};
154
+ // --background-brand_hover: #{$violet-700};
155
+ // --background-brand_pressed: #{$violet-800};
156
+ // --background-brand_inverse_default: #{$core-white};
157
+ // --background-brand_inverse_hover: #{$violet-50};
158
+ // --background-brand_inverse_pressed: #{$violet-100};
159
+ // --background-danger_default: #{$rouge_indications-700};
160
+ // --background-danger_hover: #{$rouge_indications-800};
161
+ // --background-danger_pressed: #{$rouge_indications-900};
162
+ // --background-info: #{$bleu_digital-500};
163
+ // --background-info_subtle: #{$bleu_digital-100};
164
+ // --background-warning: #{$jaune_indications-400};
165
+ // --background-warning_subtle: #{$jaune_indications-100};
166
+ // --background-success: #{$vert_digital-600};
167
+ // --background-success_subtle: #{$vert_digital-200};
168
+ // --content-secondary: #{$greyscale-800};
169
+ // --content-tertiary: #{$greyscale-600};
170
+ // --content-primary_inverse: #{$core-white};
171
+ // --content-secondary_inverse: #{$greyscale-100};
172
+ // --content-tertiary_inverse: #{$greyscale-300};
173
+ // --content-disabled: #{$greyscale-300};
174
+ // --content-brand_default: #{$violet-600};
175
+ // --content-brand_hover: #{$violet-700};
176
+ // --content-brand_pressed: #{$violet-800};
177
+ // --content-link_default: #{$bleu_digital-500};
178
+ // --content-link_hover: #{$bleu_digital-600};
179
+ // --content-link_pressed: #{$bleu_digital-700};
180
+ // --content-link_visited: #{$violet-600};
181
+ // --content-danger: #{$rouge_indications-700};
182
+ // --content-danger_inverse: #{$core-white};
183
+ // --content-danger_bold: #{$rouge_indications-800};
184
+ // --content-info: #{$bleu_digital-500};
185
+ // --content-info_inverse: #{$core-white};
186
+ // --content-info_bold: #{$bleu_digital-600};
187
+ // --content-warning: #{$jaune_indications-400};
188
+ // --content-warning_inverse: #{$core-white};
189
+ // --content-warning_bold: #{$jaune_indications-500};
190
+ // --content-success: #{$vert_digital-600};
191
+ // --content-success_inverse: #{$core-white};
192
+ // --content-success_bold: #{$vert_digital-700};
193
+ // }
194
+
195
+ // &[data-mode='dark'] {
196
+ // --content-primary: #{$core-white};
197
+ // --background-default: #{$greyscale-900};
198
+ // --border-primary: #{$greyscale-400};
199
+ // --overlay-50: #{$core-black_50};
200
+ // --overlay-50_inverse: #{$core-white_50};
201
+ // --border-secondary: #{$greyscale-600};
202
+ // --border-tertiary: #{$greyscale-800};
203
+ // --border-disabled: #{$greyscale-700};
204
+ // --border-inverse: #{$greyscale-900};
205
+ // --border-brand_default: #{$violet-0};
206
+ // --border-brand_focused: #{$violet-0};
207
+ // --border-danger: #{$rouge_indications-600};
208
+ // --border-info: #{$bleu_digital-500};
209
+ // --border-warning: #{$jaune_indications-400};
210
+ // --border-success: #{$vert_digital-600};
211
+ // --background-hover: #{$greyscale-800};
212
+ // --background-pressed: #{$greyscale-700};
213
+ // --background-selected: #{$violet-700};
214
+ // --background-disabled: #{$greyscale-800};
215
+ // --background-inverse: #{$core-white};
216
+ // --background-brand_default: #{$violet-300};
217
+ // --background-brand_hover: #{$violet-200};
218
+ // --background-brand_pressed: #{$violet-100};
219
+ // --background-brand_inverse_default: #{$violet-800};
220
+ // --background-brand_inverse_hover: #{$violet-700};
221
+ // --background-brand_inverse_pressed: #{$violet-600};
222
+ // --background-danger_default: #{$rouge_indications-700};
223
+ // --background-danger_hover: #{$rouge_indications-600};
224
+ // --background-danger_pressed: #{$rouge_indications-500};
225
+ // --background-info: #{$bleu_digital-500};
226
+ // --background-info_subtle: #{$bleu_digital-800};
227
+ // --background-warning: #{$jaune_indications-400};
228
+ // --background-warning_subtle: #{$jaune_indications-800};
229
+ // --background-success: #{$vert_digital-600};
230
+ // --background-success_subtle: #{$vert_digital-700};
231
+ // --content-secondary: #{$greyscale-100};
232
+ // --content-tertiary: #{$greyscale-300};
233
+ // --content-primary_inverse: #{$greyscale-900};
234
+ // --content-secondary_inverse: #{$greyscale-800};
235
+ // --content-tertiary_inverse: #{$greyscale-600};
236
+ // --content-disabled: #{$greyscale-700};
237
+ // --content-brand_default: #{$violet-0};
238
+ // --content-brand_hover: #{$violet-50};
239
+ // --content-brand_pressed: #{$violet-100};
240
+ // --content-link_default: #{$bleu_digital-500};
241
+ // --content-link_hover: #{$bleu_digital-400};
242
+ // --content-link_pressed: #{$bleu_digital-300};
243
+ // --content-link_visited: #{$violet-300};
244
+ // --content-danger: #{$rouge_indications-600};
245
+ // --content-danger_inverse: #{$core-white};
246
+ // --content-danger_bold: #{$rouge_indications-500};
247
+ // --content-info: #{$bleu_digital-500};
248
+ // --content-info_inverse: #{$core-white};
249
+ // --content-info_bold: #{$bleu_digital-400};
250
+ // --content-warning: #{$jaune_indications-400};
251
+ // --content-warning_inverse: #{$core-white};
252
+ // --content-warning_bold: #{$jaune_indications-300};
253
+ // --content-success: #{$vert_digital-600};
254
+ // --content-success_inverse: #{$core-white};
255
+ // --content-success_bold: #{$vert_digital-500};
256
+ // }
257
+ // }
258
+ // &[data-theme="vert_foret"] {
259
+ // &[data-mode='light'] {
260
+ // --content-primary: #{$greyscale-900};
261
+ // --background-default: #{$core-white};
262
+ // --border-primary: #{$greyscale-600};
263
+ // --overlay-50: #{$core-black_50};
264
+ // --overlay-50_inverse: #{$core-white_50};
265
+ // --border-secondary: #{$greyscale-400};
266
+ // --border-tertiary: #{$greyscale-200};
267
+ // --border-disabled: #{$greyscale-200};
268
+ // --border-inverse: #{$core-white};
269
+ // --border-brand_default: #{$vert_foret-600};
270
+ // --border-brand_focused: #{$vert_foret-900};
271
+ // --border-danger: #{$rouge_indications-600};
272
+ // --border-info: #{$bleu_digital-500};
273
+ // --border-warning: #{$jaune_indications-400};
274
+ // --border-success: #{$vert_digital-600};
275
+ // --background-hover: #{$greyscale-50};
276
+ // --background-pressed: #{$greyscale-100};
277
+ // --background-selected: #{$vert_foret-200};
278
+ // --background-disabled: #{$greyscale-0};
279
+ // --background-inverse: #{$greyscale-900};
280
+ // --background-brand_default: #{$vert_foret-600};
281
+ // --background-brand_hover: #{$vert_foret-700};
282
+ // --background-brand_pressed: #{$vert_foret-800};
283
+ // --background-brand_inverse_default: #{$core-white};
284
+ // --background-brand_inverse_hover: #{$vert_foret-50};
285
+ // --background-brand_inverse_pressed: #{$vert_foret-100};
286
+ // --background-danger_default: #{$rouge_indications-700};
287
+ // --background-danger_hover: #{$rouge_indications-800};
288
+ // --background-danger_pressed: #{$rouge_indications-900};
289
+ // --background-info: #{$bleu_digital-500};
290
+ // --background-info_subtle: #{$bleu_digital-100};
291
+ // --background-warning: #{$jaune_indications-400};
292
+ // --background-warning_subtle: #{$jaune_indications-100};
293
+ // --background-success: #{$vert_digital-600};
294
+ // --background-success_subtle: #{$vert_digital-200};
295
+ // --content-secondary: #{$greyscale-800};
296
+ // --content-tertiary: #{$greyscale-600};
297
+ // --content-primary_inverse: #{$core-white};
298
+ // --content-secondary_inverse: #{$greyscale-100};
299
+ // --content-tertiary_inverse: #{$greyscale-300};
300
+ // --content-disabled: #{$greyscale-300};
301
+ // --content-brand_default: #{$vert_foret-600};
302
+ // --content-brand_hover: #{$vert_foret-700};
303
+ // --content-brand_pressed: #{$vert_foret-800};
304
+ // --content-link_default: #{$bleu_digital-500};
305
+ // --content-link_hover: #{$bleu_digital-600};
306
+ // --content-link_pressed: #{$bleu_digital-700};
307
+ // --content-link_visited: #{$violet-600};
308
+ // --content-danger: #{$rouge_indications-700};
309
+ // --content-danger_inverse: #{$core-white};
310
+ // --content-danger_bold: #{$rouge_indications-800};
311
+ // --content-info: #{$bleu_digital-500};
312
+ // --content-info_inverse: #{$core-white};
313
+ // --content-info_bold: #{$bleu_digital-600};
314
+ // --content-warning: #{$jaune_indications-400};
315
+ // --content-warning_inverse: #{$core-white};
316
+ // --content-warning_bold: #{$jaune_indications-500};
317
+ // --content-success: #{$vert_digital-600};
318
+ // --content-success_inverse: #{$core-white};
319
+ // --content-success_bold: #{$vert_digital-700};
320
+ // }
321
+
322
+ // &[data-mode='dark'] {
323
+ // --content-default: #{$core-white};
324
+ // --content-primary: #{$core-white};
325
+ // --background-default: #{$greyscale-900};
326
+ // --border-primary: #{$greyscale-400};
327
+ // --overlay-50: #{$core-black_50};
328
+ // --overlay-50_inverse: #{$core-white_50};
329
+ // --border-secondary: #{$greyscale-600};
330
+ // --border-tertiary: #{$greyscale-800};
331
+ // --border-disabled: #{$greyscale-700};
332
+ // --border-inverse: #{$greyscale-900};
333
+ // --border-brand_default: #{$vert_foret-0};
334
+ // --border-brand_focused: #{$vert_foret-0};
335
+ // --border-danger: #{$rouge_indications-600};
336
+ // --border-info: #{$bleu_digital-500};
337
+ // --border-warning: #{$jaune_indications-400};
338
+ // --border-success: #{$vert_digital-600};
339
+ // --background-hover: #{$greyscale-800};
340
+ // --background-pressed: #{$greyscale-700};
341
+ // --background-selected: #{$vert_foret-700};
342
+ // --background-disabled: #{$greyscale-800};
343
+ // --background-inverse: #{$core-white};
344
+ // --background-brand_default: #{$vert_foret-300};
345
+ // --background-brand_hover: #{$vert_foret-200};
346
+ // --background-brand_pressed: #{$vert_foret-100};
347
+ // --background-brand_inverse_default: #{$vert_foret-800};
348
+ // --background-brand_inverse_hover: #{$vert_foret-700};
349
+ // --background-brand_inverse_pressed: #{$vert_foret-600};
350
+ // --background-danger_default: #{$rouge_indications-700};
351
+ // --background-danger_hover: #{$rouge_indications-600};
352
+ // --background-danger_pressed: #{$rouge_indications-500};
353
+ // --background-info: #{$bleu_digital-500};
354
+ // --background-info_subtle: #{$bleu_digital-800};
355
+ // --background-warning: #{$jaune_indications-400};
356
+ // --background-warning_subtle: #{$jaune_indications-800};
357
+ // --background-success: #{$vert_digital-600};
358
+ // --background-success_subtle: #{$vert_digital-700};
359
+ // --content-secondary: #{$greyscale-100};
360
+ // --content-tertiary: #{$greyscale-300};
361
+ // --content-primary_inverse: #{$greyscale-900};
362
+ // --content-secondary_inverse: #{$greyscale-800};
363
+ // --content-tertiary_inverse: #{$greyscale-600};
364
+ // --content-disabled: #{$greyscale-700};
365
+ // --content-brand_default: #{$vert_foret-0};
366
+ // --content-brand_hover: #{$vert_foret-50};
367
+ // --content-brand_pressed: #{$vert_foret-100};
368
+ // --content-link_default: #{$bleu_digital-500};
369
+ // --content-link_hover: #{$bleu_digital-400};
370
+ // --content-link_pressed: #{$bleu_digital-300};
371
+ // --content-link_visited: #{$violet-300};
372
+ // --content-danger: #{$rouge_indications-600};
373
+ // --content-danger_inverse: #{$core-white};
374
+ // --content-danger_bold: #{$rouge_indications-500};
375
+ // --content-info: #{$bleu_digital-500};
376
+ // --content-info_inverse: #{$core-white};
377
+ // --content-info_bold: #{$bleu_digital-400};
378
+ // --content-warning: #{$jaune_indications-400};
379
+ // --content-warning_inverse: #{$core-white};
380
+ // --content-warning_bold: #{$jaune_indications-300};
381
+ // --content-success: #{$vert_digital-600};
382
+ // --content-success_inverse: #{$core-white};
383
+ // --content-success_bold: #{$vert_digital-500};
384
+ // }
385
+ // }
386
+ // }
387
+
388
+
@@ -0,0 +1,30 @@
1
+ @use 'themes' as *;
2
+ @use 'primitives/colors' as *;
3
+ @use 'sass:map';
4
+
5
+ $themes: (
6
+ "bleu_iceberg": $bleu_iceberg,
7
+ "violet": $violet,
8
+ "vert_foret": $vert_foret
9
+ );
10
+
11
+ @mixin apply-theme($targetTheme: bleu_iceberg, $mode: light) {
12
+ $targetTheme: map.get($themes, $targetTheme, $mode);
13
+
14
+ @include extract-custom-properties-from-theme($targetTheme);
15
+ }
16
+
17
+
18
+ @mixin theme-selector($targetTheme: violet, $mode: light) {
19
+ $theme: map.get($themes, $targetTheme, $mode);
20
+
21
+ [data-theme="#{$targetTheme}"][data-mode="#{$mode}"] {
22
+ @include extract-custom-properties-from-theme($theme);
23
+ }
24
+ }
25
+
26
+ @mixin extract-custom-properties-from-theme($theme) {
27
+ @each $property, $value in $theme {
28
+ --#{$property}: #{$value};
29
+ }
30
+ }
@@ -0,0 +1,11 @@
1
+ $radius-xs: 2px;
2
+ $radius-s: 4px;
3
+ $radius-m: 8px;
4
+ $radius-l: 16px;
5
+ $radius-2xl: 32px;
6
+ $radius-pill: 999px;
7
+ $width-xs: 1px;
8
+ $width-s: 1.5px;
9
+ $width-m: 2px;
10
+ $width-l: 4px;
11
+ $width-xl: 8px;
@@ -0,0 +1,23 @@
1
+ $positive-spacing_0: 0px;
2
+ $positive-spacing_025: 2px;
3
+ $positive-spacing_050: 4px;
4
+ $positive-spacing_075: 6px;
5
+ $positive-spacing_100: 8px;
6
+ $positive-spacing_150: 12px;
7
+ $positive-spacing_200: 16px;
8
+ $positive-spacing_250: 20px;
9
+ $positive-spacing_300: 24px;
10
+ $positive-spacing_400: 32px;
11
+ $positive-spacing_500: 40px;
12
+ $positive-spacing_600: 48px;
13
+ $positive-spacing_800: 64px;
14
+ $positive-spacing_1000: 80px;
15
+ $negative-spacing_negative_025: -2px;
16
+ $negative-spacing_negative_050: -4px;
17
+ $negative-spacing_negative_075: -6px;
18
+ $negative-spacing_negative_100: -8px;
19
+ $negative-spacing_negative_150: -12px;
20
+ $negative-spacing_negative_200: -16px;
21
+ $negative-spacing_negative_250: -20px;
22
+ $negative-spacing_negative_300: -24px;
23
+ $negative-spacing_negative_400: -32px;
@@ -0,0 +1,383 @@
1
+ @use 'primitives/colors' as *;
2
+
3
+ $bleu_iceberg: (
4
+ "light": (
5
+ "content-primary": $greyscale-900,
6
+ "background-default": $core-white,
7
+ "border-primary": $greyscale-600,
8
+ "overlay-50": $core-black_50,
9
+ "overlay-50_inverse": $core-white_50,
10
+ "border-secondary": $greyscale-400,
11
+ "border-tertiary": $greyscale-200,
12
+ "border-disabled": $greyscale-200,
13
+ "border-inverse": $core-white,
14
+ "border-brand_default": $bleu_iceberg-600,
15
+ "border-brand_focused": $bleu_iceberg-900,
16
+ "border-danger": $rouge_indications-600,
17
+ "border-info": $bleu_digital-500,
18
+ "border-warning": $jaune_indications-400,
19
+ "border-success": $vert_digital-600,
20
+ "background-hover": $greyscale-50,
21
+ "background-pressed": $greyscale-100,
22
+ "background-selected": $bleu_iceberg-200,
23
+ "background-disabled": $greyscale-0,
24
+ "background-inverse": $greyscale-900,
25
+ "background-brand_default": $bleu_iceberg-600,
26
+ "background-brand_hover": $bleu_iceberg-700,
27
+ "background-brand_pressed": $bleu_iceberg-800,
28
+ "background-brand_inverse_default": $core-white,
29
+ "background-brand_inverse_hover": $bleu_iceberg-50,
30
+ "background-brand_inverse_pressed": $bleu_iceberg-100,
31
+ "background-danger_default": $rouge_indications-700,
32
+ "background-danger_hover": $rouge_indications-800,
33
+ "background-danger_pressed": $rouge_indications-900,
34
+ "background-info": $bleu_digital-500,
35
+ "background-info_subtle": $bleu_digital-100,
36
+ "background-warning": $jaune_indications-400,
37
+ "background-warning_subtle": $jaune_indications-100,
38
+ "background-success": $vert_digital-600,
39
+ "background-success_subtle": $vert_digital-200,
40
+ "content-secondary": $greyscale-800,
41
+ "content-tertiary": $greyscale-600,
42
+ "content-primary_inverse": $core-white,
43
+ "content-secondary_inverse": $greyscale-100,
44
+ "content-tertiary_inverse": $greyscale-300,
45
+ "content-disabled": $greyscale-300,
46
+ "content-brand_default": $bleu_iceberg-600,
47
+ "content-brand_hover": $bleu_iceberg-700,
48
+ "content-brand_pressed": $bleu_iceberg-800,
49
+ "content-link_default": $bleu_digital-500,
50
+ "content-link_hover": $bleu_digital-600,
51
+ "content-link_pressed": $bleu_digital-700,
52
+ "content-link_visited": $violet-600,
53
+ "content-danger": $rouge_indications-700,
54
+ "content-danger_inverse": $core-white,
55
+ "content-danger_bold": $rouge_indications-800,
56
+ "content-info": $bleu_digital-500,
57
+ "content-info_inverse": $core-white,
58
+ "content-info_bold": $bleu_digital-600,
59
+ "content-warning": $jaune_indications-400,
60
+ "content-warning_inverse": $core-white,
61
+ "content-warning_bold": $jaune_indications-500,
62
+ "content-success": $vert_digital-600,
63
+ "content-success_inverse": $core-white,
64
+ "content-success_bold": $vert_digital-700
65
+ ),
66
+ "dark": (
67
+ "content-primary": $core-white,
68
+ "background-default": $greyscale-900,
69
+ "border-primary": $greyscale-400,
70
+ "overlay-50": $core-black_50,
71
+ "overlay-50_inverse": $core-white_50,
72
+ "border-secondary": $greyscale-600,
73
+ "border-tertiary": $greyscale-800,
74
+ "border-disabled": $greyscale-700,
75
+ "border-inverse": $greyscale-900,
76
+ "border-brand_default": $bleu_iceberg-0,
77
+ "border-brand_focused": $bleu_iceberg-0,
78
+ "border-danger": $rouge_indications-600,
79
+ "border-info": $bleu_digital-500,
80
+ "border-warning": $jaune_indications-400,
81
+ "border-success": $vert_digital-600,
82
+ "background-hover": $greyscale-800,
83
+ "background-pressed": $greyscale-700,
84
+ "background-selected": $bleu_iceberg-700,
85
+ "background-disabled": $greyscale-800,
86
+ "background-inverse": $core-white,
87
+ "background-brand_default": $bleu_iceberg-300,
88
+ "background-brand_hover": $bleu_iceberg-200,
89
+ "background-brand_pressed": $bleu_iceberg-100,
90
+ "background-brand_inverse_default": $bleu_iceberg-800,
91
+ "background-brand_inverse_hover": $bleu_iceberg-700,
92
+ "background-brand_inverse_pressed": $bleu_iceberg-600,
93
+ "background-danger_default": $rouge_indications-700,
94
+ "background-danger_hover": $rouge_indications-600,
95
+ "background-danger_pressed": $rouge_indications-500,
96
+ "background-info": $bleu_digital-500,
97
+ "background-info_subtle": $bleu_digital-800,
98
+ "background-warning": $jaune_indications-400,
99
+ "background-warning_subtle": $jaune_indications-800,
100
+ "background-success": $vert_digital-600,
101
+ "background-success_subtle": $vert_digital-700,
102
+ "content-secondary": $greyscale-100,
103
+ "content-tertiary": $greyscale-300,
104
+ "content-primary_inverse": $greyscale-900,
105
+ "content-secondary_inverse": $greyscale-800,
106
+ "content-tertiary_inverse": $greyscale-600,
107
+ "content-disabled": $greyscale-700,
108
+ "content-brand_default": $bleu_iceberg-0,
109
+ "content-brand_hover": $bleu_iceberg-50,
110
+ "content-brand_pressed": $bleu_iceberg-100,
111
+ "content-link_default": $bleu_digital-500,
112
+ "content-link_hover": $bleu_digital-400,
113
+ "content-link_pressed": $bleu_digital-300,
114
+ "content-link_visited": $violet-300,
115
+ "content-danger": $rouge_indications-600,
116
+ "content-danger_inverse": $core-white,
117
+ "content-danger_bold": $rouge_indications-500,
118
+ "content-info": $bleu_digital-500,
119
+ "content-info_inverse": $core-white,
120
+ "content-info_bold": $bleu_digital-400,
121
+ "content-warning": $jaune_indications-400,
122
+ "content-warning_inverse": $core-white,
123
+ "content-warning_bold": $jaune_indications-300,
124
+ "content-success": $vert_digital-600,
125
+ "content-success_inverse": $core-white,
126
+ "content-success_bold": $vert_digital-500
127
+ )
128
+ );
129
+
130
+ $violet: (
131
+ "light": (
132
+ "content-primary": $greyscale-900,
133
+ "background-default": $core-white,
134
+ "border-primary": $greyscale-600,
135
+ "overlay-50": $core-black_50,
136
+ "overlay-50_inverse": $core-white_50,
137
+ "border-secondary": $greyscale-400,
138
+ "border-tertiary": $greyscale-200,
139
+ "border-disabled": $greyscale-200,
140
+ "border-inverse": $core-white,
141
+ "border-brand_default": $violet-600,
142
+ "border-brand_focused": $bleu_iceberg-900,
143
+ "border-danger": $rouge_indications-600,
144
+ "border-info": $bleu_digital-500,
145
+ "border-warning": $jaune_indications-400,
146
+ "border-success": $vert_digital-600,
147
+ "background-hover": $greyscale-50,
148
+ "background-pressed": $greyscale-100,
149
+ "background-selected": $violet-200,
150
+ "background-disabled": $greyscale-0,
151
+ "background-inverse": $greyscale-900,
152
+ "background-brand_default": $violet-600,
153
+ "background-brand_hover": $violet-700,
154
+ "background-brand_pressed": $violet-800,
155
+ "background-brand_inverse_default": $core-white,
156
+ "background-brand_inverse_hover": $violet-50,
157
+ "background-brand_inverse_pressed": $violet-100,
158
+ "background-danger_default": $rouge_indications-700,
159
+ "background-danger_hover": $rouge_indications-800,
160
+ "background-danger_pressed": $rouge_indications-900,
161
+ "background-info": $bleu_digital-500,
162
+ "background-info_subtle": $bleu_digital-100,
163
+ "background-warning": $jaune_indications-400,
164
+ "background-warning_subtle": $jaune_indications-100,
165
+ "background-success": $vert_digital-600,
166
+ "background-success_subtle": $vert_digital-200,
167
+ "content-secondary": $greyscale-800,
168
+ "content-tertiary": $greyscale-600,
169
+ "content-primary_inverse": $core-white,
170
+ "content-secondary_inverse": $greyscale-100,
171
+ "content-tertiary_inverse": $greyscale-300,
172
+ "content-disabled": $greyscale-300,
173
+ "content-brand_default": $violet-600,
174
+ "content-brand_hover": $violet-700,
175
+ "content-brand_pressed": $violet-800,
176
+ "content-link_default": $bleu_digital-500,
177
+ "content-link_hover": $bleu_digital-600,
178
+ "content-link_pressed": $bleu_digital-700,
179
+ "content-link_visited": $violet-600,
180
+ "content-danger": $rouge_indications-700,
181
+ "content-danger_inverse": $core-white,
182
+ "content-danger_bold": $rouge_indications-800,
183
+ "content-info": $bleu_digital-500,
184
+ "content-info_inverse": $core-white,
185
+ "content-info_bold": $bleu_digital-600,
186
+ "content-warning": $jaune_indications-400,
187
+ "content-warning_inverse": $core-white,
188
+ "content-warning_bold": $jaune_indications-500,
189
+ "content-success": $vert_digital-600,
190
+ "content-success_inverse": $core-white,
191
+ "content-success_bold": $vert_digital-700
192
+ ),
193
+ "dark": (
194
+ "content-primary": $core-white,
195
+ "background-default": $greyscale-900,
196
+ "border-primary": $greyscale-400,
197
+ "overlay-50": $core-black_50,
198
+ "overlay-50_inverse": $core-white_50,
199
+ "border-secondary": $greyscale-600,
200
+ "border-tertiary": $greyscale-800,
201
+ "border-disabled": $greyscale-700,
202
+ "border-inverse": $greyscale-900,
203
+ "border-brand_default": $violet-0,
204
+ "border-brand_focused": $violet-0,
205
+ "border-danger": $rouge_indications-600,
206
+ "border-info": $bleu_digital-500,
207
+ "border-warning": $jaune_indications-400,
208
+ "border-success": $vert_digital-600,
209
+ "background-hover": $greyscale-800,
210
+ "background-pressed": $greyscale-700,
211
+ "background-selected": $violet-700,
212
+ "background-disabled": $greyscale-800,
213
+ "background-inverse": $core-white,
214
+ "background-brand_default": $violet-300,
215
+ "background-brand_hover": $violet-200,
216
+ "background-brand_pressed": $violet-100,
217
+ "background-brand_inverse_default": $violet-800,
218
+ "background-brand_inverse_hover": $violet-700,
219
+ "background-brand_inverse_pressed": $violet-600,
220
+ "background-danger_default": $rouge_indications-700,
221
+ "background-danger_hover": $rouge_indications-600,
222
+ "background-danger_pressed": $rouge_indications-500,
223
+ "background-info": $bleu_digital-500,
224
+ "background-info_subtle": $bleu_digital-800,
225
+ "background-warning": $jaune_indications-400,
226
+ "background-warning_subtle": $jaune_indications-800,
227
+ "background-success": $vert_digital-600,
228
+ "background-success_subtle": $vert_digital-700,
229
+ "content-secondary": $greyscale-100,
230
+ "content-tertiary": $greyscale-300,
231
+ "content-primary_inverse": $greyscale-900,
232
+ "content-secondary_inverse": $greyscale-800,
233
+ "content-tertiary_inverse": $greyscale-600,
234
+ "content-disabled": $greyscale-700,
235
+ "content-brand_default": $violet-0,
236
+ "content-brand_hover": $violet-50,
237
+ "content-brand_pressed": $violet-100,
238
+ "content-link_default": $bleu_digital-500,
239
+ "content-link_hover": $bleu_digital-400,
240
+ "content-link_pressed": $bleu_digital-300,
241
+ "content-link_visited": $violet-300,
242
+ "content-danger": $rouge_indications-600,
243
+ "content-danger_inverse": $core-white,
244
+ "content-danger_bold": $rouge_indications-500,
245
+ "content-info": $bleu_digital-500,
246
+ "content-info_inverse": $core-white,
247
+ "content-info_bold": $bleu_digital-400,
248
+ "content-warning": $jaune_indications-400,
249
+ "content-warning_inverse": $core-white,
250
+ "content-warning_bold": $jaune_indications-300,
251
+ "content-success": $vert_digital-600,
252
+ "content-success_inverse": $core-white,
253
+ "content-success_bold": $vert_digital-500
254
+ )
255
+ );
256
+
257
+ $vert_foret: (
258
+ "light": (
259
+ "content-primary": $greyscale-900,
260
+ "background-default": $core-white,
261
+ "border-primary": $greyscale-600,
262
+ "overlay-50": $core-black_50,
263
+ "overlay-50_inverse": $core-white_50,
264
+ "border-secondary": $greyscale-400,
265
+ "border-tertiary": $greyscale-200,
266
+ "border-disabled": $greyscale-200,
267
+ "border-inverse": $core-white,
268
+ "border-brand_default": $vert_foret-600,
269
+ "border-brand_focused": $vert_foret-900,
270
+ "border-danger": $rouge_indications-600,
271
+ "border-info": $bleu_digital-500,
272
+ "border-warning": $jaune_indications-400,
273
+ "border-success": $vert_digital-600,
274
+ "background-hover": $greyscale-50,
275
+ "background-pressed": $greyscale-100,
276
+ "background-selected": $vert_foret-200,
277
+ "background-disabled": $greyscale-0,
278
+ "background-inverse": $greyscale-900,
279
+ "background-brand_default": $vert_foret-600,
280
+ "background-brand_hover": $vert_foret-700,
281
+ "background-brand_pressed": $vert_foret-800,
282
+ "background-brand_inverse_default": $core-white,
283
+ "background-brand_inverse_hover": $vert_foret-50,
284
+ "background-brand_inverse_pressed": $vert_foret-100,
285
+ "background-danger_default": $rouge_indications-700,
286
+ "background-danger_hover": $rouge_indications-800,
287
+ "background-danger_pressed": $rouge_indications-900,
288
+ "background-info": $bleu_digital-500,
289
+ "background-info_subtle": $bleu_digital-100,
290
+ "background-warning": $jaune_indications-400,
291
+ "background-warning_subtle": $jaune_indications-100,
292
+ "background-success": $vert_digital-600,
293
+ "background-success_subtle": $vert_digital-200,
294
+ "content-secondary": $greyscale-800,
295
+ "content-tertiary": $greyscale-600,
296
+ "content-primary_inverse": $core-white,
297
+ "content-secondary_inverse": $greyscale-100,
298
+ "content-tertiary_inverse": $greyscale-300,
299
+ "content-disabled": $greyscale-300,
300
+ "content-brand_default": $vert_foret-600,
301
+ "content-brand_hover": $vert_foret-700,
302
+ "content-brand_pressed": $vert_foret-800,
303
+ "content-link_default": $bleu_digital-500,
304
+ "content-link_hover": $bleu_digital-600,
305
+ "content-link_pressed": $bleu_digital-700,
306
+ "content-link_visited": $violet-600,
307
+ "content-danger": $rouge_indications-700,
308
+ "content-danger_inverse": $core-white,
309
+ "content-danger_bold": $rouge_indications-800,
310
+ "content-info": $bleu_digital-500,
311
+ "content-info_inverse": $core-white,
312
+ "content-info_bold": $bleu_digital-600,
313
+ "content-warning": $jaune_indications-400,
314
+ "content-warning_inverse": $core-white,
315
+ "content-warning_bold": $jaune_indications-500,
316
+ "content-success": $vert_digital-600,
317
+ "content-success_inverse": $core-white,
318
+ "content-success_bold": $vert_digital-700
319
+ ),
320
+ "dark": (
321
+ "content-default": $core-white,
322
+ "content-primary": $core-white,
323
+ "background-default": $greyscale-900,
324
+ "border-primary": $greyscale-400,
325
+ "overlay-50": $core-black_50,
326
+ "overlay-50_inverse": $core-white_50,
327
+ "border-secondary": $greyscale-600,
328
+ "border-tertiary": $greyscale-800,
329
+ "border-disabled": $greyscale-700,
330
+ "border-inverse": $greyscale-900,
331
+ "border-brand_default": $vert_foret-0,
332
+ "border-brand_focused": $vert_foret-0,
333
+ "border-danger": $rouge_indications-600,
334
+ "border-info": $bleu_digital-500,
335
+ "border-warning": $jaune_indications-400,
336
+ "border-success": $vert_digital-600,
337
+ "background-hover": $greyscale-800,
338
+ "background-pressed": $greyscale-700,
339
+ "background-selected": $vert_foret-700,
340
+ "background-disabled": $greyscale-800,
341
+ "background-inverse": $core-white,
342
+ "background-brand_default": $vert_foret-300,
343
+ "background-brand_hover": $vert_foret-200,
344
+ "background-brand_pressed": $vert_foret-100,
345
+ "background-brand_inverse_default": $vert_foret-800,
346
+ "background-brand_inverse_hover": $vert_foret-700,
347
+ "background-brand_inverse_pressed": $vert_foret-600,
348
+ "background-danger_default": $rouge_indications-700,
349
+ "background-danger_hover": $rouge_indications-600,
350
+ "background-danger_pressed": $rouge_indications-500,
351
+ "background-info": $bleu_digital-500,
352
+ "background-info_subtle": $bleu_digital-800,
353
+ "background-warning": $jaune_indications-400,
354
+ "background-warning_subtle": $jaune_indications-800,
355
+ "background-success": $vert_digital-600,
356
+ "background-success_subtle": $vert_digital-700,
357
+ "content-secondary": $greyscale-100,
358
+ "content-tertiary": $greyscale-300,
359
+ "content-primary_inverse": $greyscale-900,
360
+ "content-secondary_inverse": $greyscale-800,
361
+ "content-tertiary_inverse": $greyscale-600,
362
+ "content-disabled": $greyscale-700,
363
+ "content-brand_default": $vert_foret-0,
364
+ "content-brand_hover": $vert_foret-50,
365
+ "content-brand_pressed": $vert_foret-100,
366
+ "content-link_default": $bleu_digital-500,
367
+ "content-link_hover": $bleu_digital-400,
368
+ "content-link_pressed": $bleu_digital-300,
369
+ "content-link_visited": $violet-300,
370
+ "content-danger": $rouge_indications-600,
371
+ "content-danger_inverse": $core-white,
372
+ "content-danger_bold": $rouge_indications-500,
373
+ "content-info": $bleu_digital-500,
374
+ "content-info_inverse": $core-white,
375
+ "content-info_bold": $bleu_digital-400,
376
+ "content-warning": $jaune_indications-400,
377
+ "content-warning_inverse": $core-white,
378
+ "content-warning_bold": $jaune_indications-300,
379
+ "content-success": $vert_digital-600,
380
+ "content-success_inverse": $core-white,
381
+ "content-success_bold": $vert_digital-500
382
+ )
383
+ );
@@ -0,0 +1,147 @@
1
+ @use 'primitives/typography' as *;
2
+
3
+ $heading-5xl-semibold-family: $family-nunito;
4
+ $heading-5xl-semibold-weight: $weight-semibold;
5
+ $heading-5xl-semibold-size: $font_size-10xl;
6
+ $heading-5xl-semibold-line_height: $line_height-10xl;
7
+ $heading-5xl-semibold-letter_spacing: $letter_spacing-xs;
8
+ $heading-4xl-semibold-family: $family-nunito;
9
+ $heading-4xl-semibold-weight: $weight-semibold;
10
+ $heading-4xl-semibold-size: $font_size-9xl;
11
+ $heading-4xl-semibold-line_height: $line_height-9xl;
12
+ $heading-4xl-semibold-letter_spacing: $letter_spacing-xs;
13
+ $heading-3xl-semibold-family: $family-nunito;
14
+ $heading-3xl-semibold-weight: $weight-semibold;
15
+ $heading-3xl-semibold-size: $font_size-8xl;
16
+ $heading-3xl-semibold-line_height: $line_height-8xl;
17
+ $heading-3xl-semibold-letter_spacing: $letter_spacing-xs;
18
+ $heading-2xl-semibold-family: $family-nunito;
19
+ $heading-2xl-semibold-weight: $weight-semibold;
20
+ $heading-2xl-semibold-size: $font_size-7xl;
21
+ $heading-2xl-semibold-line_height: $line_height-7xl;
22
+ $heading-2xl-semibold-letter_spacing: $letter_spacing-xs;
23
+ $heading-xl-semibold-family: $family-nunito;
24
+ $heading-xl-semibold-weight: $weight-semibold;
25
+ $heading-xl-semibold-size: $font_size-6xl;
26
+ $heading-xl-semibold-line_height: $line_height-6xl;
27
+ $heading-xl-semibold-letter_spacing: $letter_spacing-xs;
28
+ $heading-l-semibold-family: $family-nunito;
29
+ $heading-l-semibold-weight: $weight-semibold;
30
+ $heading-l-semibold-size: $font_size-5xl;
31
+ $heading-l-semibold-line_height: $line_height-5xl;
32
+ $heading-l-semibold-letter_spacing: $letter_spacing-xs;
33
+ $heading-m-semibold-family: $family-nunito;
34
+ $heading-m-semibold-weight: $weight-semibold;
35
+ $heading-m-semibold-size: $font_size-3xl;
36
+ $heading-m-semibold-line_height: $line_height-3xl;
37
+ $heading-m-semibold-letter_spacing: $letter_spacing-s;
38
+ $heading-s-semibold-family: $family-nunito;
39
+ $heading-s-semibold-weight: $weight-semibold;
40
+ $heading-s-semibold-size: $font_size-2xl;
41
+ $heading-s-semibold-line_height: $line_height-2xl;
42
+ $heading-s-semibold-letter_spacing: $letter_spacing-s;
43
+ $heading-xs-semibold-family: $family-nunito;
44
+ $heading-xs-semibold-weight: $weight-semibold;
45
+ $heading-xs-semibold-size: $font_size-l;
46
+ $heading-xs-semibold-line_height: $line_height-l;
47
+ $heading-xs-semibold-letter_spacing: $letter_spacing-s;
48
+ $heading-2xs-semibold-family: $family-nunito;
49
+ $heading-2xs-semibold-weight: $weight-semibold;
50
+ $heading-2xs-semibold-size: $font_size-m;
51
+ $heading-2xs-semibold-line_height: $line_height-m;
52
+ $heading-2xs-semibold-letter_spacing: $letter_spacing-none;
53
+ $text-xl-regular-family: $family-arial;
54
+ $text-xl-regular-weight: $weight-regular;
55
+ $text-xl-regular-size: $font_size-2xl;
56
+ $text-xl-regular-line_height: $line_height-2xl;
57
+ $text-xl-regular-letter_spacing: $letter_spacing-none;
58
+ $text-xl-semibold-family: $family-arial;
59
+ $text-xl-semibold-weight: $weight-semibold;
60
+ $text-xl-semibold-size: $font_size-2xl;
61
+ $text-xl-semibold-line_height: $line_height-2xl;
62
+ $text-xl-semibold-letter_spacing: $letter_spacing-none;
63
+ $text-l-regular-family: $family-arial;
64
+ $text-l-regular-weight: $weight-regular;
65
+ $text-l-regular-size: $font_size-l;
66
+ $text-l-regular-line_height: $line_height-l;
67
+ $text-l-regular-letter_spacing: $letter_spacing-none;
68
+ $text-l-semibold-family: $family-arial;
69
+ $text-l-semibold-weight: $weight-semibold;
70
+ $text-l-semibold-size: $font_size-l;
71
+ $text-l-semibold-line_height: $line_height-l;
72
+ $text-l-semibold-letter_spacing: $letter_spacing-none;
73
+ $text-m-regular-family: $family-arial;
74
+ $text-m-regular-weight: $weight-regular;
75
+ $text-m-regular-size: $font_size-m;
76
+ $text-m-regular-line_height: $line_height-m;
77
+ $text-m-regular-letter_spacing: $letter_spacing-none;
78
+ $text-m-semibold-family: $family-arial;
79
+ $text-m-semibold-weight: $weight-semibold;
80
+ $text-m-semibold-size: $font_size-m;
81
+ $text-m-semibold-line_height: $line_height-m;
82
+ $text-m-semibold-letter_spacing: $letter_spacing-none;
83
+ $text-s-regular-family: $family-arial;
84
+ $text-s-regular-weight: $weight-regular;
85
+ $text-s-regular-size: $font_size-s;
86
+ $text-s-regular-line_height: $line_height-s;
87
+ $text-s-regular-letter_spacing: $letter_spacing-none;
88
+ $text-s-semibold-family: $family-arial;
89
+ $text-s-semibold-weight: $weight-semibold;
90
+ $text-s-semibold-size: $font_size-s;
91
+ $text-s-semibold-line_height: $line_height-s;
92
+ $text-s-semibold-letter_spacing: $letter_spacing-none;
93
+ $text-xs-regular-family: $family-arial;
94
+ $text-xs-regular-weight: $weight-regular;
95
+ $text-xs-regular-size: $font_size-xs;
96
+ $text-xs-regular-line_height: $line_height-xs;
97
+ $text-xs-regular-letter_spacing: $letter_spacing-none;
98
+ $text-xs-semibold-family: $family-arial;
99
+ $text-xs-semibold-weight: $weight-semibold;
100
+ $text-xs-semibold-size: $font_size-xs;
101
+ $text-xs-semibold-line_height: $line_height-xs;
102
+ $text-xs-semibold-letter_spacing: $letter_spacing-none;
103
+ $button-s-semibold-family: $family-nunito;
104
+ $button-s-semibold-weight: $weight-semibold;
105
+ $button-s-semibold-size: $font_size-m;
106
+ $button-s-semibold-line_height: $line_height-m;
107
+ $button-s-semibold-letter_spacing: $letter_spacing-s;
108
+ $button-m-semibold-family: $family-nunito;
109
+ $button-m-semibold-weight: $weight-semibold;
110
+ $button-m-semibold-size: $font_size-l;
111
+ $button-m-semibold-line_height: $line_height-l;
112
+ $button-m-semibold-letter_spacing: $letter_spacing-s;
113
+ $button-l-semibold-family: $family-nunito;
114
+ $button-l-semibold-weight: $weight-semibold;
115
+ $button-l-semibold-size: $font_size-2xl;
116
+ $button-l-semibold-line_height: $line_height-2xl;
117
+ $button-l-semibold-letter_spacing: $letter_spacing-s;
118
+
119
+ @mixin typography-button-s {
120
+ font-feature-settings: 'liga' off, 'clig' off;
121
+ font-family: $button-s-semibold-family;
122
+ font-size: $button-s-semibold-size;
123
+ font-style: normal;
124
+ letter-spacing: $button-s-semibold-letter_spacing;
125
+ font-weight: 600;
126
+ line-height: $button-s-semibold-line_height;
127
+ }
128
+
129
+ @mixin typography-button-m {
130
+ font-feature-settings: 'liga' off, 'clig' off;
131
+ font-family: $button-m-semibold-family;
132
+ font-size: $button-m-semibold-size;
133
+ font-style: normal;
134
+ letter-spacing: $button-m-semibold-letter_spacing;
135
+ font-weight: 600;
136
+ line-height: $button-m-semibold-line_height;
137
+ }
138
+
139
+ @mixin typography-button-l {
140
+ font-feature-settings: 'liga' off, 'clig' off;
141
+ font-family: $button-l-semibold-family;
142
+ font-size: $button-l-semibold-size;
143
+ font-style: normal;
144
+ letter-spacing: $button-l-semibold-letter_spacing;
145
+ font-weight: 600;
146
+ line-height: $button-l-semibold-line_height;
147
+ }
@@ -0,0 +1,7 @@
1
+ @forward "./colors";
2
+ @forward "./radius";
3
+ @forward "./spacings";
4
+ @forward "./typography";
5
+ @forward "./mixins";
6
+
7
+ @import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
@@ -0,0 +1,253 @@
1
+ $greyscale-150: #d7d6d5;
2
+ $greyscale-50: #ebebea;
3
+ $greyscale-100: #e1e1e0;
4
+ $greyscale-0: #f4f5f4;
5
+ $core-white_50: #ffffff;
6
+ $greyscale-200: #cdcccb;
7
+ $greyscale-650: #666665;
8
+ $greyscale-950: #0d0c0c;
9
+ $greyscale-850: #302f2f;
10
+ $greyscale-800: #3e3e3d;
11
+ $core-white: #ffffff;
12
+ $greyscale-900: #201f1f;
13
+ $greyscale-750: #4c4c4b;
14
+ $core-black_50: #000000;
15
+ $greyscale-550: #7f7e7e;
16
+ $core-black: #000000;
17
+ $greyscale-250: #c2c1c0;
18
+ $greyscale-500: #8b8a8a;
19
+ $greyscale-450: #969695;
20
+ $greyscale-600: #737272;
21
+ $greyscale-350: #acacab;
22
+ $greyscale-300: #b7b7b6;
23
+ $greyscale-700: #595958;
24
+ $greyscale-400: #a1a1a0;
25
+ $bleu_digital-900: #153b93;
26
+ $bleu_digital-600: #1465fc;
27
+ $bleu_digital-500: #2b86ff;
28
+ $bleu_digital-400: #53aaff;
29
+ $bleu_digital-300: #8ac8ff;
30
+ $bleu_digital-0: #f7faff;
31
+ $bleu_digital-800: #123fbb;
32
+ $bleu_digital-100: #d8ebff;
33
+ $bleu_digital-950: #122559;
34
+ $bleu_digital-700: #0d4fea;
35
+ $bleu_digital-50: #eef7ff;
36
+ $bleu_digital-200: #baddff;
37
+ $bleu_rte-950: #07364a;
38
+ $bleu_rte-500: #0cbdeb;
39
+ $bleu_rte-700: #017aa3;
40
+ $bleu_rte-400: #36d3fa;
41
+ $bleu_rte-300: #7ce1fd;
42
+ $bleu_rte-600: #00a6d9;
43
+ $bleu_rte-200: #b9edfe;
44
+ $bleu_rte-900: #0b556f;
45
+ $bleu_rte-800: #066686;
46
+ $bleu_rte-100: #e0f5fe;
47
+ $bleu_rte-50: #f0fbff;
48
+ $bleu_rte-0: #f8fdff;
49
+ $marine-800: #244068;
50
+ $marine-900: #233857;
51
+ $marine-50: #f3f6fc;
52
+ $marine-700: #274a7d;
53
+ $marine-600: #2f5d9a;
54
+ $marine-400: #6494cc;
55
+ $marine-950: #17243a;
56
+ $marine-500: #3d70ad;
57
+ $marine-300: #9ab9df;
58
+ $marine-0: #f7f9fc;
59
+ $marine-200: #c9d8ee;
60
+ $marine-100: #e7edf7;
61
+ $bleu_iceberg-950: #15253c;
62
+ $bleu_iceberg-900: #1f3b5b;
63
+ $bleu_iceberg-700: #225082;
64
+ $bleu_iceberg-600: #2964a0;
65
+ $bleu_iceberg-400: #5e9ad2;
66
+ $bleu_iceberg-0: #f9fbfd;
67
+ $bleu_iceberg-300: #96bde3;
68
+ $bleu_iceberg-50: #f3f6fc;
69
+ $bleu_iceberg-100: #e6eef8;
70
+ $bleu_iceberg-800: #214770;
71
+ $bleu_iceberg-500: #397ebe;
72
+ $bleu_iceberg-200: #c7dbf0;
73
+ $bleu_petrole-950: #10181d;
74
+ $bleu_petrole-600: #3e6a7c;
75
+ $bleu_petrole-700: #375867;
76
+ $bleu_petrole-500: #478093;
77
+ $bleu_petrole-800: #334a57;
78
+ $bleu_petrole-400: #639cad;
79
+ $bleu_petrole-100: #deecef;
80
+ $bleu_petrole-900: #2e404b;
81
+ $bleu_petrole-300: #95bfcb;
82
+ $bleu_petrole-50: #f2f8f9;
83
+ $bleu_petrole-200: #c1dae0;
84
+ $bleu_petrole-0: #fbfcfd;
85
+ $bleu_cyan-500: #0fb3cb;
86
+ $bleu_cyan-400: #2bd0e5;
87
+ $bleu_cyan-600: #108faa;
88
+ $bleu_cyan-800: #195e71;
89
+ $bleu_cyan-300: #6ee6f2;
90
+ $bleu_cyan-200: #a9f2f8;
91
+ $bleu_cyan-100: #d1f9fc;
92
+ $bleu_cyan-50: #edfdfe;
93
+ $bleu_cyan-0: #f9feff;
94
+ $bleu_cyan-900: #1a4d5f;
95
+ $bleu_cyan-950: #0c3949;
96
+ $bleu_cyan-700: #14738a;
97
+ $vert_foret-800: #145143;
98
+ $vert_foret-600: #1b8065;
99
+ $vert_foret-500: #2a9f7d;
100
+ $vert_foret-700: #176b57;
101
+ $vert_foret-400: #4dba97;
102
+ $vert_foret-300: #81d4b7;
103
+ $vert_foret-950: #082620;
104
+ $vert_foret-200: #b3e7d1;
105
+ $vert_foret-50: #effaf6;
106
+ $vert_foret-100: #d7f4e6;
107
+ $vert_foret-900: #114338;
108
+ $vert_foret-0: #f5fcfa;
109
+ $vert-0: #f5fffe;
110
+ $vert-800: #0a655e;
111
+ $vert-600: #009e8f;
112
+ $vert-500: #04c8b1;
113
+ $vert-200: #90ffe8;
114
+ $vert-400: #1de4ca;
115
+ $vert-700: #058075;
116
+ $vert-300: #51f7dc;
117
+ $vert-950: #003332;
118
+ $vert-900: #0d544f;
119
+ $vert-100: #c7fff4;
120
+ $vert-50: #effefb;
121
+ $vert_indications-950: #212b08;
122
+ $vert_indications-900: #404e19;
123
+ $vert_indications-700: #5e7417;
124
+ $vert_indications-600: #7c9818;
125
+ $vert_indications-400: #bed942;
126
+ $vert_indications-800: #4b5c18;
127
+ $vert_indications-300: #d3e86e;
128
+ $vert_indications-500: #a4c424;
129
+ $vert_indications-100: #f3f8cf;
130
+ $vert_indications-200: #e6f2a4;
131
+ $vert_indications-50: #fafce9;
132
+ $vert_indications-0: #fdfef8;
133
+ $vert_digital-950: #01321c;
134
+ $vert_digital-800: #0e6d40;
135
+ $vert_digital-900: #0e5937;
136
+ $vert_digital-700: #0b8a4d;
137
+ $vert_digital-500: #12d577;
138
+ $vert_digital-600: #09b05f;
139
+ $vert_digital-300: #65f8b0;
140
+ $vert_digital-0: #f7fffb;
141
+ $vert_digital-200: #b5fdd9;
142
+ $vert_digital-100: #d9ffec;
143
+ $vert_digital-400: #3cec96;
144
+ $vert_digital-50: #effef6;
145
+ $jaune-900: #744d0f;
146
+ $jaune-800: #895f0a;
147
+ $jaune-700: #a67a02;
148
+ $jaune-400: #fff30d;
149
+ $jaune-950: #442904;
150
+ $jaune-300: #ffff41;
151
+ $jaune-200: #faff86;
152
+ $jaune-50: #feffe7;
153
+ $jaune-500: #ffe500;
154
+ $jaune-100: #faffc1;
155
+ $jaune-600: #d1aa00;
156
+ $jaune-0: #fffef5;
157
+ $jaune_ocre-950: #3d1c0b;
158
+ $jaune_ocre-800: #7c4117;
159
+ $jaune_ocre-700: #955213;
160
+ $jaune_ocre-500: #d99519;
161
+ $jaune_ocre-400: #ebb53d;
162
+ $jaune_ocre-300: #efc655;
163
+ $jaune_ocre-900: #6a3619;
164
+ $jaune_ocre-50: #fcf9ea;
165
+ $jaune_ocre-100: #faefc7;
166
+ $jaune_ocre-200: #f5de93;
167
+ $jaune_ocre-600: #bb7313;
168
+ $jaune_ocre-0: #fefcf8;
169
+ $jaune_indications-950: #430e05;
170
+ $jaune_indications-900: #752112;
171
+ $jaune_indications-300: #f6ab4d;
172
+ $jaune_indications-800: #8e2712;
173
+ $jaune_indications-700: #ae330f;
174
+ $jaune_indications-500: #ed6e13;
175
+ $jaune_indications-100: #fce7c9;
176
+ $jaune_indications-600: #d24e0d;
177
+ $jaune_indications-200: #f9ce8e;
178
+ $jaune_indications-50: #fef7ec;
179
+ $jaune_indications-400: #f4922b;
180
+ $jaune_indications-0: #fffbf7;
181
+ $saumon-950: #43160c;
182
+ $saumon-700: #b43d21;
183
+ $saumon-500: #ec775c;
184
+ $saumon-200: #fcd5cc;
185
+ $saumon-300: #f9b7a8;
186
+ $saumon-400: #f48d75;
187
+ $saumon-100: #fde8e3;
188
+ $saumon-600: #d64c2c;
189
+ $saumon-900: #7c3120;
190
+ $saumon-50: #fef4f2;
191
+ $saumon-800: #95351f;
192
+ $saumon-0: #fef9f7;
193
+ $rose_digital-800: #a30e35;
194
+ $rose_digital-900: #8b1034;
195
+ $rose_digital-950: #4e0317;
196
+ $rose_digital-700: #c30d36;
197
+ $rose_digital-400: #ff546a;
198
+ $rose_digital-500: #f93a58;
199
+ $rose_digital-300: #ffa1ab;
200
+ $rose_digital-200: #ffccd1;
201
+ $rose_digital-100: #ffe3e5;
202
+ $rose_digital-50: #fff1f2;
203
+ $rose_digital-600: #e71742;
204
+ $rose_digital-0: #fff7f8;
205
+ $fuschia-950: #530023;
206
+ $fuschia-900: #940749;
207
+ $fuschia-800: #ae034d;
208
+ $fuschia-700: #dc0059;
209
+ $fuschia-500: #ff2c74;
210
+ $fuschia-600: #f60862;
211
+ $fuschia-300: #ff9bb8;
212
+ $fuschia-200: #ffc8d8;
213
+ $fuschia-400: #ff6394;
214
+ $fuschia-100: #ffe1e9;
215
+ $fuschia-50: #fff0f3;
216
+ $fuschia-0: #fff8fa;
217
+ $rouge_indications-800: #9d1439;
218
+ $rouge_indications-600: #de2048;
219
+ $rouge_indications-500: #f1425f;
220
+ $rouge_indications-300: #fca5af;
221
+ $rouge_indications-900: #861537;
222
+ $rouge_indications-200: #fdced4;
223
+ $rouge_indications-100: #ffe4e6;
224
+ $rouge_indications-50: #fff1f2;
225
+ $rouge_indications-700: #c81640;
226
+ $rouge_indications-950: #4b0618;
227
+ $rouge_indications-400: #f97385;
228
+ $rouge_indications-0: #fef8fa;
229
+ $taupe-900: #574c52;
230
+ $taupe-950: #2f282c;
231
+ $taupe-800: #61535b;
232
+ $taupe-500: #a2929c;
233
+ $taupe-700: #73636c;
234
+ $taupe-300: #d4cdd2;
235
+ $taupe-200: #e7e3e6;
236
+ $taupe-50: #f8f7f8;
237
+ $taupe-100: #f3f0f2;
238
+ $taupe-600: #8a7883;
239
+ $taupe-400: #b9adb5;
240
+ $taupe-0: #fbfbfb;
241
+ $violet-950: #2b1a38;
242
+ $violet-900: #4a355a;
243
+ $violet-500: #9979bc;
244
+ $violet-600: #7d5a9f;
245
+ $violet-100: #f3eff8;
246
+ $violet-800: #563c6c;
247
+ $violet-0: #fcfbfd;
248
+ $violet-400: #b89fd3;
249
+ $violet-300: #d2c3e4;
250
+ $violet-50: #f9f7fc;
251
+ $violet-200: #e6def0;
252
+ $violet-700: #674883;
253
+
@@ -0,0 +1,38 @@
1
+ @use 'colors' as *;
2
+
3
+ $family-nunito: "Nunito";
4
+ $family-arial: "Arial";
5
+ $weight-light: "Light";
6
+ $weight-regular: "Regular";
7
+ $weight-semibold: "Semibold";
8
+ $font_size-xs: 10px;
9
+ $font_size-s: 12px;
10
+ $font_size-m: 14px;
11
+ $font_size-l: 16px;
12
+ $font_size-xl: 18px;
13
+ $font_size-2xl: 20px;
14
+ $font_size-3xl: 24px;
15
+ $font_size-4xl: 28px;
16
+ $font_size-5xl: 32px;
17
+ $font_size-6xl: 40px;
18
+ $font_size-7xl: 48px;
19
+ $font_size-8xl: 56px;
20
+ $font_size-9xl: 64px;
21
+ $font_size-10xl: 72px;
22
+ $line_height-xs: 14px;
23
+ $line_height-s: 16px;
24
+ $line_height-m: 20px;
25
+ $line_height-l: 24px;
26
+ $line_height-xl: 26px;
27
+ $line_height-2xl: 28px;
28
+ $line_height-3xl: 32px;
29
+ $line_height-4xl: 36px;
30
+ $line_height-5xl: 40px;
31
+ $line_height-6xl: 48px;
32
+ $line_height-7xl: 56px;
33
+ $line_height-8xl: 64px;
34
+ $line_height-9xl: 72px;
35
+ $line_height-10xl: 80px;
36
+ $letter_spacing-none: 0px;
37
+ $letter_spacing-s: -0.5px;
38
+ $letter_spacing-xs: -1px;