@eui/styles 21.3.3 → 21.3.4-snapshot-1783418617704
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/base/02-tokens/colors-primitive.scss +0 -1
- package/dist/base/02-tokens/colors-semantic.scss +29 -7
- package/dist/base/02-tokens/eds-colors-primitive.scss +123 -0
- package/dist/base/02-tokens/eds-colors-semantic.scss +212 -0
- package/dist/base/02-tokens/eds-typography-primitive.scss +69 -0
- package/dist/base/02-tokens/eds-typography-semantic.scss +116 -0
- package/dist/base/02-tokens/typography-primitive.scss +0 -35
- package/dist/base/02-tokens/typography-semantic.scss +0 -118
- package/dist/base/03-vars/eds-vars-colors.scss +7 -0
- package/dist/base/03-vars/eds-vars-typography.scss +55 -0
- package/dist/base/03-vars/vars-typography.scss +15 -46
- package/dist/base/99-utilities/eds-utilities.scss +1 -0
- package/dist/base/99-utilities/tokens/_eds-typography.scss +43 -0
- package/dist/base/99-utilities/tokens/_typography.scss +0 -9
- package/dist/eui-eds.css +1 -0
- package/dist/eui-eds.css.map +1 -0
- package/dist/eui-showcase-all.css +1 -1
- package/dist/eui-showcase-all.css.map +1 -1
- package/dist/eui-theme-dark.css +1 -1
- package/dist/eui-theme-dark.css.map +1 -1
- package/dist/eui-theme-high-contrast.css +1 -1
- package/dist/eui-theme-high-contrast.css.map +1 -1
- package/dist/eui-utilities.css +1 -1
- package/dist/eui-utilities.css.map +1 -1
- package/dist/eui.css +1 -1
- package/dist/eui.css.map +1 -1
- package/package.json +2 -2
|
@@ -245,6 +245,8 @@ $color-semantic-map: (
|
|
|
245
245
|
on-surface: 600c,
|
|
246
246
|
surface-hover: 700,
|
|
247
247
|
on-surface-hover: 700c,
|
|
248
|
+
surface-active: 800,
|
|
249
|
+
on-surface-active: 800c,
|
|
248
250
|
surface-dark: 900,
|
|
249
251
|
on-surface-dark: 900c,
|
|
250
252
|
border: 500,
|
|
@@ -271,6 +273,8 @@ $color-semantic-map: (
|
|
|
271
273
|
on-surface: 600c,
|
|
272
274
|
surface-hover: 700,
|
|
273
275
|
on-surface-hover: 700c,
|
|
276
|
+
surface-active: 800,
|
|
277
|
+
on-surface-active: 800c,
|
|
274
278
|
surface-dark: 900,
|
|
275
279
|
on-surface-dark: 900c,
|
|
276
280
|
border: 500,
|
|
@@ -297,6 +301,8 @@ $color-semantic-map: (
|
|
|
297
301
|
on-surface: 400c,
|
|
298
302
|
surface-hover: 300,
|
|
299
303
|
on-surface-hover: 300c,
|
|
304
|
+
surface-active: 500,
|
|
305
|
+
on-surface-active: 500c,
|
|
300
306
|
surface-dark: 900,
|
|
301
307
|
on-surface-dark: 900c,
|
|
302
308
|
border: 500,
|
|
@@ -322,7 +328,9 @@ $color-semantic-map: (
|
|
|
322
328
|
surface: 400,
|
|
323
329
|
on-surface: 400c,
|
|
324
330
|
surface-hover: 300,
|
|
325
|
-
on-surface-hover: 300c,
|
|
331
|
+
on-surface-hover: 300c,
|
|
332
|
+
surface-active: 500,
|
|
333
|
+
on-surface-active: 500c,
|
|
326
334
|
surface-dark: 900,
|
|
327
335
|
on-surface-dark: 900c,
|
|
328
336
|
border: 300,
|
|
@@ -349,6 +357,8 @@ $color-semantic-map: (
|
|
|
349
357
|
on-surface: 400c,
|
|
350
358
|
surface-hover: 500,
|
|
351
359
|
on-surface-hover: 500c,
|
|
360
|
+
surface-active: 600,
|
|
361
|
+
on-surface-active: 600c,
|
|
352
362
|
surface-dark: 600,
|
|
353
363
|
on-surface-dark: 600c,
|
|
354
364
|
border: 300,
|
|
@@ -374,7 +384,9 @@ $color-semantic-map: (
|
|
|
374
384
|
surface: 400,
|
|
375
385
|
on-surface: 400c,
|
|
376
386
|
surface-hover: 500,
|
|
377
|
-
on-surface-hover: 500c,
|
|
387
|
+
on-surface-hover: 500c,
|
|
388
|
+
surface-active: 600,
|
|
389
|
+
on-surface-active: 600c,
|
|
378
390
|
surface-dark: 600,
|
|
379
391
|
on-surface-dark: 600c,
|
|
380
392
|
border: 300,
|
|
@@ -400,9 +412,11 @@ $color-semantic-map: (
|
|
|
400
412
|
surface: 600,
|
|
401
413
|
on-surface: 600c,
|
|
402
414
|
surface-hover: 800,
|
|
403
|
-
on-surface-hover: 800c,
|
|
404
|
-
surface-
|
|
405
|
-
on-surface-
|
|
415
|
+
on-surface-hover: 800c,
|
|
416
|
+
surface-active: 900,
|
|
417
|
+
on-surface-active: 900c,
|
|
418
|
+
surface-dark: 900,
|
|
419
|
+
on-surface-dark: 900c,
|
|
406
420
|
border: 400,
|
|
407
421
|
border-dark: 600,
|
|
408
422
|
border-light: 300,
|
|
@@ -426,7 +440,9 @@ $color-semantic-map: (
|
|
|
426
440
|
surface: 900,
|
|
427
441
|
on-surface: 900c,
|
|
428
442
|
surface-hover: 950,
|
|
429
|
-
on-surface-hover: 950c,
|
|
443
|
+
on-surface-hover: 950c,
|
|
444
|
+
surface-active: 950,
|
|
445
|
+
on-surface-active: 950c,
|
|
430
446
|
surface-dark: 950,
|
|
431
447
|
on-surface-dark: 950c,
|
|
432
448
|
border: 600,
|
|
@@ -452,7 +468,9 @@ $color-semantic-map: (
|
|
|
452
468
|
surface: 500,
|
|
453
469
|
on-surface: 500c,
|
|
454
470
|
surface-hover: 600,
|
|
455
|
-
on-surface-hover: 600c,
|
|
471
|
+
on-surface-hover: 600c,
|
|
472
|
+
surface-active: 700,
|
|
473
|
+
on-surface-active: 700c,
|
|
456
474
|
surface-dark: 900,
|
|
457
475
|
on-surface-dark: 900c,
|
|
458
476
|
border: 400,
|
|
@@ -479,6 +497,8 @@ $color-semantic-map: (
|
|
|
479
497
|
on-surface: 600c,
|
|
480
498
|
surface-hover: 700,
|
|
481
499
|
on-surface-hover: 700c,
|
|
500
|
+
surface-active: 800,
|
|
501
|
+
on-surface-active: 800c,
|
|
482
502
|
surface-dark: 800,
|
|
483
503
|
on-surface-dark: 800c,
|
|
484
504
|
border: 500,
|
|
@@ -505,6 +525,8 @@ $color-semantic-map: (
|
|
|
505
525
|
on-surface: 600c,
|
|
506
526
|
surface-hover: 700,
|
|
507
527
|
on-surface-hover: 700c,
|
|
528
|
+
surface-active: 800,
|
|
529
|
+
on-surface-active: 800c,
|
|
508
530
|
surface-dark: 800,
|
|
509
531
|
on-surface-dark: 800c,
|
|
510
532
|
border: 500,
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '../01-base/' as base;
|
|
4
|
+
|
|
5
|
+
// PRIMITIVE COLOR MAPS
|
|
6
|
+
|
|
7
|
+
$color-map: (
|
|
8
|
+
'european-blue-25': #f7f9ff,
|
|
9
|
+
'european-blue-50': #f2f6ff,
|
|
10
|
+
'european-blue-75': #eef2ff,
|
|
11
|
+
'european-blue-100': #e6edff,
|
|
12
|
+
'european-blue-200': #d9e3ff,
|
|
13
|
+
'european-blue-300': #b0c6ff,
|
|
14
|
+
'european-blue-400': #8cacff,
|
|
15
|
+
'european-blue-500': #5987ff,
|
|
16
|
+
'european-blue-600': #0046ff,
|
|
17
|
+
'european-blue-700': #0035bf,
|
|
18
|
+
'european-blue-800': #002a99,
|
|
19
|
+
'european-blue-900': #001f73,
|
|
20
|
+
'european-blue-950': #001959,
|
|
21
|
+
|
|
22
|
+
'silver-fog-0': #fff,
|
|
23
|
+
'silver-fog-25': #fafafb,
|
|
24
|
+
'silver-fog-50': #f6f6f8,
|
|
25
|
+
'silver-fog-75': #ededf0,
|
|
26
|
+
'silver-fog-100': #e1e1e7,
|
|
27
|
+
'silver-fog-200': #d4d4dc,
|
|
28
|
+
'silver-fog-300': #b9b9c5,
|
|
29
|
+
'silver-fog-400': #a0a0b1,
|
|
30
|
+
'silver-fog-500': #84849b,
|
|
31
|
+
'silver-fog-600': #696984,
|
|
32
|
+
'silver-fog-700': #505070,
|
|
33
|
+
'silver-fog-800': #353559,
|
|
34
|
+
'silver-fog-900': #171740,
|
|
35
|
+
'silver-fog-950': #00002e,
|
|
36
|
+
'silver-fog-1000': #000,
|
|
37
|
+
|
|
38
|
+
'graphite-0': #fff,
|
|
39
|
+
'graphite-25': #F4F4F5,
|
|
40
|
+
'graphite-50': #E8E8EA,
|
|
41
|
+
'graphite-75': #D1D1D4,
|
|
42
|
+
'graphite-100': #B4B4B9,
|
|
43
|
+
'graphite-200': #8E8E94,
|
|
44
|
+
'graphite-300': #6A6A71,
|
|
45
|
+
'graphite-400': #6A6A71,
|
|
46
|
+
'graphite-500': #2C2C36,
|
|
47
|
+
'graphite-600': #24242C,
|
|
48
|
+
'graphite-700': #1E1E25,
|
|
49
|
+
'graphite-800': #18181C,
|
|
50
|
+
'graphite-900': #131318,
|
|
51
|
+
'graphite-950': #0D0D12,
|
|
52
|
+
'graphite-1000': #000,
|
|
53
|
+
|
|
54
|
+
'sunrise-orange-25': #fffcf7,
|
|
55
|
+
'sunrise-orange-50': #fff5e5,
|
|
56
|
+
'sunrise-orange-75': #ffebcc,
|
|
57
|
+
'sunrise-orange-100': #ffe1b4,
|
|
58
|
+
'sunrise-orange-200': #ffd392,
|
|
59
|
+
'sunrise-orange-300': #ffcb7d,
|
|
60
|
+
'sunrise-orange-400': #ffbe5c,
|
|
61
|
+
'sunrise-orange-500': #fea439,
|
|
62
|
+
'sunrise-orange-600': #fc8713,
|
|
63
|
+
'sunrise-orange-700': #ed6c09,
|
|
64
|
+
'sunrise-orange-800': #c55109,
|
|
65
|
+
'sunrise-orange-900': #9e4107,
|
|
66
|
+
'sunrise-orange-950': #763105,
|
|
67
|
+
|
|
68
|
+
'red-25': #fefafa,
|
|
69
|
+
'red-50': #fdefef,
|
|
70
|
+
'red-75': #fce9ea,
|
|
71
|
+
'red-100': #f5bbbe,
|
|
72
|
+
'red-200': #f09a9e,
|
|
73
|
+
'red-300': #ea6c72,
|
|
74
|
+
'red-400': #e54f57,
|
|
75
|
+
'red-500': #df232d,
|
|
76
|
+
'red-600': #cb2029,
|
|
77
|
+
'red-700': #9e1920,
|
|
78
|
+
'red-800': #7b1319,
|
|
79
|
+
'red-900': #5a0e12,
|
|
80
|
+
'red-950': #1f0506,
|
|
81
|
+
|
|
82
|
+
'orange-25': #fffaf5,
|
|
83
|
+
'orange-50': #fff3e8,
|
|
84
|
+
'orange-75': #ffeddc,
|
|
85
|
+
'orange-100': #ffdbba,
|
|
86
|
+
'orange-200': #ffc998,
|
|
87
|
+
'orange-300': #ffb16a,
|
|
88
|
+
'orange-400': #ffa14d,
|
|
89
|
+
'orange-500': #ff8a20,
|
|
90
|
+
'orange-600': #e87e1d,
|
|
91
|
+
'orange-700': #ba6517,
|
|
92
|
+
'orange-800': #8b4c11,
|
|
93
|
+
'orange-900': #68390d,
|
|
94
|
+
'orange-950': #512c0a,
|
|
95
|
+
|
|
96
|
+
'blue-25': #f9fbfd,
|
|
97
|
+
'blue-50': #f5f7fb,
|
|
98
|
+
'blue-75': #ebeff7,
|
|
99
|
+
'blue-100': #dee4f2,
|
|
100
|
+
'blue-200': #bfcce6,
|
|
101
|
+
'blue-300': #a3b6da,
|
|
102
|
+
'blue-400': #859dce,
|
|
103
|
+
'blue-500': #6685c2,
|
|
104
|
+
'blue-600': #3b62b0,
|
|
105
|
+
'blue-700': #1c49a4,
|
|
106
|
+
'blue-800': #039,
|
|
107
|
+
'blue-900': #00297a,
|
|
108
|
+
'blue-950': #001f5c,
|
|
109
|
+
|
|
110
|
+
'green-25': #f9fefc,
|
|
111
|
+
'green-50': #edfbf6,
|
|
112
|
+
'green-75': #e3f9f0,
|
|
113
|
+
'green-100': #daf6eb,
|
|
114
|
+
'green-200': #b2edd6,
|
|
115
|
+
'green-300': #8fe5c4,
|
|
116
|
+
'green-400': #5ddaa9,
|
|
117
|
+
'green-500': #05c67b,
|
|
118
|
+
'green-600': #05b26f,
|
|
119
|
+
'green-700': #049e62,
|
|
120
|
+
'green-800': #037e4e,
|
|
121
|
+
'green-900': #025f3b,
|
|
122
|
+
'green-950': #02472c,
|
|
123
|
+
);
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '../01-base/' as base;
|
|
4
|
+
@use './eds-colors-primitive' as primitive;
|
|
5
|
+
|
|
6
|
+
// $color-map: (
|
|
7
|
+
// primary: (
|
|
8
|
+
// 950: map.get(primitive.$color-map, 'european-blue-950'),
|
|
9
|
+
// 900: map.get(primitive.$color-map, 'european-blue-900'),
|
|
10
|
+
// 800: map.get(primitive.$color-map, 'european-blue-800'),
|
|
11
|
+
// 700: map.get(primitive.$color-map, 'european-blue-700'),
|
|
12
|
+
// 600: map.get(primitive.$color-map, 'european-blue-600'),
|
|
13
|
+
// 500: map.get(primitive.$color-map, 'european-blue-500'),
|
|
14
|
+
// 400: map.get(primitive.$color-map, 'european-blue-400'),
|
|
15
|
+
// 300: map.get(primitive.$color-map, 'european-blue-300'),
|
|
16
|
+
// 200: map.get(primitive.$color-map, 'european-blue-200'),
|
|
17
|
+
// 100: map.get(primitive.$color-map, 'european-blue-100'),
|
|
18
|
+
// 75: map.get(primitive.$color-map, 'european-blue-75'),
|
|
19
|
+
// 50: map.get(primitive.$color-map, 'european-blue-50'),
|
|
20
|
+
// 25: map.get(primitive.$color-map, 'european-blue-25'),
|
|
21
|
+
// ),
|
|
22
|
+
// highlight: (
|
|
23
|
+
// 950: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
24
|
+
// 900: map.get(primitive.$color-map, 'sunrise-orange-900'),
|
|
25
|
+
// 800: map.get(primitive.$color-map, 'sunrise-orange-800'),
|
|
26
|
+
// 700: map.get(primitive.$color-map, 'sunrise-orange-700'),
|
|
27
|
+
// 600: map.get(primitive.$color-map, 'sunrise-orange-600'),
|
|
28
|
+
// 500: map.get(primitive.$color-map, 'sunrise-orange-500'),
|
|
29
|
+
// 400: map.get(primitive.$color-map, 'sunrise-orange-400'),
|
|
30
|
+
// 300: map.get(primitive.$color-map, 'sunrise-orange-300'),
|
|
31
|
+
// 200: map.get(primitive.$color-map, 'sunrise-orange-200'),
|
|
32
|
+
// 100: map.get(primitive.$color-map, 'sunrise-orange-100'),
|
|
33
|
+
// 75: map.get(primitive.$color-map, 'sunrise-orange-75'),
|
|
34
|
+
// 50: map.get(primitive.$color-map, 'sunrise-orange-50'),
|
|
35
|
+
// 25: map.get(primitive.$color-map, 'sunrise-orange-25'),
|
|
36
|
+
// ),
|
|
37
|
+
// neutral: (
|
|
38
|
+
// 1000: map.get(primitive.$color-map, 'silver-fog-1000'),
|
|
39
|
+
// 950: map.get(primitive.$color-map, 'silver-fog-950'),
|
|
40
|
+
// 900: map.get(primitive.$color-map, 'silver-fog-900'),
|
|
41
|
+
// 800: map.get(primitive.$color-map, 'silver-fog-800'),
|
|
42
|
+
// 700: map.get(primitive.$color-map, 'silver-fog-700'),
|
|
43
|
+
// 600: map.get(primitive.$color-map, 'silver-fog-600'),
|
|
44
|
+
// 500: map.get(primitive.$color-map, 'silver-fog-500'),
|
|
45
|
+
// 400: map.get(primitive.$color-map, 'silver-fog-400'),
|
|
46
|
+
// 300: map.get(primitive.$color-map, 'silver-fog-300'),
|
|
47
|
+
// 200: map.get(primitive.$color-map, 'silver-fog-200'),
|
|
48
|
+
// 100: map.get(primitive.$color-map, 'silver-fog-100'),
|
|
49
|
+
// 75: map.get(primitive.$color-map, 'silver-fog-75'),
|
|
50
|
+
// 50: map.get(primitive.$color-map, 'silver-fog-50'),
|
|
51
|
+
// 25: map.get(primitive.$color-map, 'silver-fog-25'),
|
|
52
|
+
// 0: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
53
|
+
// ),
|
|
54
|
+
// info: (
|
|
55
|
+
// 950: map.get(primitive.$color-map, 'blue-950'),
|
|
56
|
+
// 900: map.get(primitive.$color-map, 'blue-900'),
|
|
57
|
+
// 800: map.get(primitive.$color-map, 'blue-800'),
|
|
58
|
+
// 700: map.get(primitive.$color-map, 'blue-700'),
|
|
59
|
+
// 600: map.get(primitive.$color-map, 'blue-600'),
|
|
60
|
+
// 500: map.get(primitive.$color-map, 'blue-500'),
|
|
61
|
+
// 400: map.get(primitive.$color-map, 'blue-400'),
|
|
62
|
+
// 300: map.get(primitive.$color-map, 'blue-300'),
|
|
63
|
+
// 200: map.get(primitive.$color-map, 'blue-200'),
|
|
64
|
+
// 100: map.get(primitive.$color-map, 'blue-100'),
|
|
65
|
+
// 75: map.get(primitive.$color-map, 'blue-75'),
|
|
66
|
+
// 50: map.get(primitive.$color-map, 'blue-50'),
|
|
67
|
+
// 25: map.get(primitive.$color-map, 'blue-25'),
|
|
68
|
+
// ),
|
|
69
|
+
// success: (
|
|
70
|
+
// 950: map.get(primitive.$color-map, 'green-950'),
|
|
71
|
+
// 900: map.get(primitive.$color-map, 'green-900'),
|
|
72
|
+
// 800: map.get(primitive.$color-map, 'green-800'),
|
|
73
|
+
// 700: map.get(primitive.$color-map, 'green-700'),
|
|
74
|
+
// 600: map.get(primitive.$color-map, 'green-600'),
|
|
75
|
+
// 500: map.get(primitive.$color-map, 'green-500'),
|
|
76
|
+
// 400: map.get(primitive.$color-map, 'green-400'),
|
|
77
|
+
// 300: map.get(primitive.$color-map, 'green-300'),
|
|
78
|
+
// 200: map.get(primitive.$color-map, 'green-200'),
|
|
79
|
+
// 100: map.get(primitive.$color-map, 'green-100'),
|
|
80
|
+
// 75: map.get(primitive.$color-map, 'green-75'),
|
|
81
|
+
// 50: map.get(primitive.$color-map, 'green-50'),
|
|
82
|
+
// 25: map.get(primitive.$color-map, 'green-25'),
|
|
83
|
+
// ),
|
|
84
|
+
// warning: (
|
|
85
|
+
// 950: map.get(primitive.$color-map, 'orange-950'),
|
|
86
|
+
// 900: map.get(primitive.$color-map, 'orange-900'),
|
|
87
|
+
// 800: map.get(primitive.$color-map, 'orange-800'),
|
|
88
|
+
// 700: map.get(primitive.$color-map, 'orange-700'),
|
|
89
|
+
// 600: map.get(primitive.$color-map, 'orange-600'),
|
|
90
|
+
// 500: map.get(primitive.$color-map, 'orange-500'),
|
|
91
|
+
// 400: map.get(primitive.$color-map, 'orange-400'),
|
|
92
|
+
// 300: map.get(primitive.$color-map, 'orange-300'),
|
|
93
|
+
// 200: map.get(primitive.$color-map, 'orange-200'),
|
|
94
|
+
// 100: map.get(primitive.$color-map, 'orange-100'),
|
|
95
|
+
// 75: map.get(primitive.$color-map, 'orange-75'),
|
|
96
|
+
// 50: map.get(primitive.$color-map, 'orange-50'),
|
|
97
|
+
// 25: map.get(primitive.$color-map, 'orange-25'),
|
|
98
|
+
// ),
|
|
99
|
+
// critical: (
|
|
100
|
+
// 950: map.get(primitive.$color-map, 'red-950'),
|
|
101
|
+
// 900: map.get(primitive.$color-map, 'red-900'),
|
|
102
|
+
// 800: map.get(primitive.$color-map, 'red-800'),
|
|
103
|
+
// 700: map.get(primitive.$color-map, 'red-700'),
|
|
104
|
+
// 600: map.get(primitive.$color-map, 'red-600'),
|
|
105
|
+
// 500: map.get(primitive.$color-map, 'red-500'),
|
|
106
|
+
// 400: map.get(primitive.$color-map, 'red-400'),
|
|
107
|
+
// 300: map.get(primitive.$color-map, 'red-300'),
|
|
108
|
+
// 200: map.get(primitive.$color-map, 'red-200'),
|
|
109
|
+
// 100: map.get(primitive.$color-map, 'red-100'),
|
|
110
|
+
// 75: map.get(primitive.$color-map, 'red-75'),
|
|
111
|
+
// 50: map.get(primitive.$color-map, 'red-50'),
|
|
112
|
+
// 25: map.get(primitive.$color-map, 'red-25'),
|
|
113
|
+
// ),
|
|
114
|
+
// );
|
|
115
|
+
|
|
116
|
+
$color-semantic-map: (
|
|
117
|
+
surface-accent: map.get(primitive.$color-map, 'european-blue-50'),
|
|
118
|
+
surface-selected: map.get(primitive.$color-map, 'european-blue-100'),
|
|
119
|
+
surface-skeleton: map.get(primitive.$color-map, 'silver-fog-100'),
|
|
120
|
+
surface-brand: map.get(primitive.$color-map, 'silver-fog-950'),
|
|
121
|
+
// surface-invisible: map.get(primitive.$color-map, 'alpha-silver-fog-0-0'), // TODO add alpha palettes
|
|
122
|
+
|
|
123
|
+
surface-elevation-sunken: map.get(primitive.$color-map, 'silver-fog-50'),
|
|
124
|
+
surface-elevation-inset: map.get(primitive.$color-map, 'silver-fog-25'),
|
|
125
|
+
surface-elevation-default: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
126
|
+
surface-elevation-raised: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
127
|
+
surface-elevation-elevated: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
128
|
+
surface-elevation-overlay: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
129
|
+
|
|
130
|
+
surface-disabled-default: map.get(primitive.$color-map, 'silver-fog-100'),
|
|
131
|
+
on-surface-disabled-default: map.get(primitive.$color-map, 'silver-fog-400'),
|
|
132
|
+
surface-disabled-subtle: map.get(primitive.$color-map, 'silver-fog-50'),
|
|
133
|
+
on-surface-disabled-subtle: map.get(primitive.$color-map, 'silver-fog-400'),
|
|
134
|
+
|
|
135
|
+
surface-primary-default: map.get(primitive.$color-map, 'european-blue-600'),
|
|
136
|
+
on-surface-primary-default: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
137
|
+
surface-primary-default--hover: map.get(primitive.$color-map, 'european-blue-700'),
|
|
138
|
+
on-surface-primary-default--hover: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
139
|
+
surface-primary-default--pressed: map.get(primitive.$color-map, 'european-blue-800'),
|
|
140
|
+
on-surface-primary-default--pressed: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
141
|
+
surface-primary-subtle: map.get(primitive.$color-map, 'european-blue-200'),
|
|
142
|
+
on-surface-primary-subtle: map.get(primitive.$color-map, 'european-blue-800'),
|
|
143
|
+
|
|
144
|
+
surface-highlight-default: map.get(primitive.$color-map, 'sunrise-orange-300'),
|
|
145
|
+
on-surface-highlight-default: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
146
|
+
surface-highlight-default--hover: map.get(primitive.$color-map, 'sunrise-orange-400'),
|
|
147
|
+
on-surface-highlight-default--hover: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
148
|
+
surface-highlight-default--pressed: map.get(primitive.$color-map, 'sunrise-orange-500'),
|
|
149
|
+
on-surface-highlight-default--pressed: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
150
|
+
surface-highlight-subtler: map.get(primitive.$color-map, 'sunrise-orange-50'),
|
|
151
|
+
on-surface-highlight-subtler: map.get(primitive.$color-map, 'sunrise-orange-900'),
|
|
152
|
+
|
|
153
|
+
surface-inverted-default: map.get(primitive.$color-map, 'silver-fog-950'),
|
|
154
|
+
on-surface-inverted-default: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
155
|
+
surface-inverted-subtle: map.get(primitive.$color-map, 'silver-fog-950'),
|
|
156
|
+
on-surface-inverted-subtle: map.get(primitive.$color-map, 'silver-fog-300'),
|
|
157
|
+
surface-inverted-disabled: map.get(primitive.$color-map, 'silver-fog-950'),
|
|
158
|
+
on-surface-inverted-disabled: map.get(primitive.$color-map, 'silver-fog-600'),
|
|
159
|
+
|
|
160
|
+
surface-neutral-default: map.get(primitive.$color-map, 'silver-fog-600'),
|
|
161
|
+
on-surface-neutral-default: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
162
|
+
surface-neutral-default--hover: map.get(primitive.$color-map, 'silver-fog-700'),
|
|
163
|
+
on-surface-neutral-default--hover: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
164
|
+
surface-neutral-default--pressed: map.get(primitive.$color-map, 'silver-fog-800'),
|
|
165
|
+
on-surface-neutral-default--pressed: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
166
|
+
surface-neutral-subtle: map.get(primitive.$color-map, 'silver-fog-100'),
|
|
167
|
+
on-surface-neutral-subtle: map.get(primitive.$color-map, 'silver-fog-900'),
|
|
168
|
+
|
|
169
|
+
surface-critical-default: map.get(primitive.$color-map, 'red-600'),
|
|
170
|
+
on-surface-critical-default: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
171
|
+
surface-critical-default--hover: map.get(primitive.$color-map, 'red-700'),
|
|
172
|
+
on-surface-critical-default--hover: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
173
|
+
surface-critical-default--pressed: map.get(primitive.$color-map, 'red-800'),
|
|
174
|
+
on-surface-critical-default--pressed: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
175
|
+
surface-critical-subtle: map.get(primitive.$color-map, 'red-200'),
|
|
176
|
+
on-surface-critical-subtle: map.get(primitive.$color-map, 'red-900'),
|
|
177
|
+
surface-critical-subtler: map.get(primitive.$color-map, 'red-50'),
|
|
178
|
+
on-surface-critical-subtler: map.get(primitive.$color-map, 'red-700'),
|
|
179
|
+
|
|
180
|
+
surface-info-default: map.get(primitive.$color-map, 'blue-600'),
|
|
181
|
+
on-surface-info-default: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
182
|
+
surface-info-subtle: map.get(primitive.$color-map, 'blue-200'),
|
|
183
|
+
on-surface-info-subtle: map.get(primitive.$color-map, 'blue-900'),
|
|
184
|
+
surface-info-subtler: map.get(primitive.$color-map, 'blue-50'),
|
|
185
|
+
on-surface-info-subtler: map.get(primitive.$color-map, 'blue-800'),
|
|
186
|
+
|
|
187
|
+
surface-success-default: map.get(primitive.$color-map, 'green-800'),
|
|
188
|
+
on-surface-success-default: map.get(primitive.$color-map, 'silver-fog-0'),
|
|
189
|
+
surface-success-subtle: map.get(primitive.$color-map, 'green-200'),
|
|
190
|
+
on-surface-success-subtle: map.get(primitive.$color-map, 'green-900'),
|
|
191
|
+
surface-success-subtler: map.get(primitive.$color-map, 'green-50'),
|
|
192
|
+
on-surface-success-subtler: map.get(primitive.$color-map, 'green-800'),
|
|
193
|
+
|
|
194
|
+
surface-warning-default: map.get(primitive.$color-map, 'orange-500'),
|
|
195
|
+
on-surface-warning-default: map.get(primitive.$color-map, 'orange-950'),
|
|
196
|
+
surface-warning-subtle: map.get(primitive.$color-map, 'orange-200'),
|
|
197
|
+
on-surface-warning-subtle: map.get(primitive.$color-map, 'orange-900'),
|
|
198
|
+
surface-warning-subtler: map.get(primitive.$color-map, 'orange-50'),
|
|
199
|
+
on-surface-warning-subtler: map.get(primitive.$color-map, 'orange-800'),
|
|
200
|
+
|
|
201
|
+
foreground-default: map.get(primitive.$color-map, 'silver-fog-950'),
|
|
202
|
+
foreground-subtle: map.get(primitive.$color-map, 'silver-fog-700'),
|
|
203
|
+
foreground-subtler: map.get(primitive.$color-map, 'silver-fog-600'),
|
|
204
|
+
foreground-placeholder: map.get(primitive.$color-map, 'silver-fog-500'),
|
|
205
|
+
foreground-disabled: map.get(primitive.$color-map, 'silver-fog-400'),
|
|
206
|
+
foreground-primary: map.get(primitive.$color-map, 'european-blue-600'),
|
|
207
|
+
foreground-success: map.get(primitive.$color-map, 'green-800'),
|
|
208
|
+
foreground-info: map.get(primitive.$color-map, 'blue-900'),
|
|
209
|
+
foreground-warning: map.get(primitive.$color-map, 'orange-800'),
|
|
210
|
+
foreground-critical: map.get(primitive.$color-map, 'red-600'),
|
|
211
|
+
foreground-highlight: map.get(primitive.$color-map, 'sunrise-orange-800'),
|
|
212
|
+
);
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use './dimensions-primitive' as dimensions-primitive;
|
|
3
|
+
|
|
4
|
+
$font-size-list: ('2xs', 'xs', 's', 'm', 'l', 'xl', '2xl', '3xl', '4xl', '5xl', '6xl', '7xl', '8xl', '9xl');
|
|
5
|
+
|
|
6
|
+
$font-size-map: (
|
|
7
|
+
'9xl': 6rem, // 96px
|
|
8
|
+
'8xl': 4rem, // 64px
|
|
9
|
+
'7xl': 3.25rem, // 52px
|
|
10
|
+
'6xl': 2.75rem, // 44px
|
|
11
|
+
'5xl': 2.25rem, // 36px
|
|
12
|
+
'4xl': 1.75rem, // 28px
|
|
13
|
+
'3xl': 1.5rem, // 24px
|
|
14
|
+
'2xl': 1.375rem, // 22px
|
|
15
|
+
'xl': 1.25rem, // 20px
|
|
16
|
+
'l': 1.125rem, // 18px
|
|
17
|
+
'm': 1rem, // 16px
|
|
18
|
+
's': 0.875rem, // 14px
|
|
19
|
+
'xs': 0.75rem, // 12px
|
|
20
|
+
'2xs': 0.625rem // 10px
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
// font weight map
|
|
24
|
+
|
|
25
|
+
$font-weight-map: (
|
|
26
|
+
'light': 300,
|
|
27
|
+
'regular': 400,
|
|
28
|
+
'medium': 500,
|
|
29
|
+
'semi-bold': 600,
|
|
30
|
+
'bold': 700
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
$font-line-height-map: (
|
|
34
|
+
'10xl': map.get(dimensions-primitive.$dimension-map, 96),
|
|
35
|
+
'9xl': map.get(dimensions-primitive.$dimension-map, 64),
|
|
36
|
+
'8xl': map.get(dimensions-primitive.$dimension-map, 60),
|
|
37
|
+
'7xl': map.get(dimensions-primitive.$dimension-map, 56),
|
|
38
|
+
'6xl': map.get(dimensions-primitive.$dimension-map, 52),
|
|
39
|
+
'5xl': map.get(dimensions-primitive.$dimension-map, 48),
|
|
40
|
+
'4xl': map.get(dimensions-primitive.$dimension-map, 44),
|
|
41
|
+
'3xl': map.get(dimensions-primitive.$dimension-map, 40),
|
|
42
|
+
'2xl': map.get(dimensions-primitive.$dimension-map, 36),
|
|
43
|
+
'xl': map.get(dimensions-primitive.$dimension-map, 32),
|
|
44
|
+
'l': map.get(dimensions-primitive.$dimension-map, 28),
|
|
45
|
+
'm': map.get(dimensions-primitive.$dimension-map, 24),
|
|
46
|
+
's': map.get(dimensions-primitive.$dimension-map, 20),
|
|
47
|
+
'xs': map.get(dimensions-primitive.$dimension-map, 16),
|
|
48
|
+
'2xs': map.get(dimensions-primitive.$dimension-map, 12)
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
// semantic font-size link to letter-spacing map
|
|
52
|
+
$font-size-letter-spacing-map: (
|
|
53
|
+
'9xl': -2%,
|
|
54
|
+
'8xl': -2%,
|
|
55
|
+
'7xl': -2%,
|
|
56
|
+
'6xl': -1%,
|
|
57
|
+
'5xl': -1%,
|
|
58
|
+
'4xl': -1%,
|
|
59
|
+
'3xl': -1%,
|
|
60
|
+
'2xl': normal,
|
|
61
|
+
'xl': normal,
|
|
62
|
+
'l': normal,
|
|
63
|
+
'm': normal,
|
|
64
|
+
's': normal,
|
|
65
|
+
'xs': normal,
|
|
66
|
+
'2xs': normal
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
$typography-semantic-map: (
|
|
2
|
+
desktop: (
|
|
3
|
+
display: (
|
|
4
|
+
xl: ( size: 9xl, line-height: 10xl, weight: regular ),
|
|
5
|
+
l: ( size: 8xl, line-height: 9xl, weight: semi-bold ),
|
|
6
|
+
),
|
|
7
|
+
heading: (
|
|
8
|
+
2xl: ( size: 6xl, line-height: 6xl, weight: semi-bold ),
|
|
9
|
+
xl: ( size: 5xl, line-height: 4xl, weight: semi-bold ),
|
|
10
|
+
l: ( size: 4xl, line-height: 2xl, weight: semi-bold ),
|
|
11
|
+
m: ( size: 3xl, line-height: xl, weight: semi-bold ),
|
|
12
|
+
s: ( size: xl, line-height: l, weight: semi-bold ),
|
|
13
|
+
s-medium: ( size: xl, line-height: l, weight: medium ),
|
|
14
|
+
xs: ( size: l, line-height: l, weight: bold ),
|
|
15
|
+
),
|
|
16
|
+
paragraph: (
|
|
17
|
+
xl: ( size: 3xl, line-height: 2xl, weight: regular ),
|
|
18
|
+
l: ( size: l, line-height: l, weight: regular ),
|
|
19
|
+
l-semi-bold: ( size: l, line-height: l, weight: semi-bold ),
|
|
20
|
+
l-bold: ( size: l, line-height: l, weight: bold ),
|
|
21
|
+
m: ( size: m, line-height: m, weight: regular ),
|
|
22
|
+
m-semi-bold: ( size: m, line-height: m, weight: semi-bold ),
|
|
23
|
+
m-bold: ( size: m, line-height: m, weight: bold ),
|
|
24
|
+
s: ( size: s, line-height: s, weight: regular ),
|
|
25
|
+
s-semi-bold: ( size: s, line-height: s, weight: semi-bold ),
|
|
26
|
+
s-bold: ( size: s, line-height: s, weight: bold ),
|
|
27
|
+
),
|
|
28
|
+
label: (
|
|
29
|
+
l: ( size: l, line-height: l, weight: regular ),
|
|
30
|
+
m: ( size: m, line-height: m, weight: regular ),
|
|
31
|
+
m-medium: ( size: m, line-height: m, weight: medium ),
|
|
32
|
+
m-semi-bold: ( size: m, line-height: m, weight: semi-bold ),
|
|
33
|
+
s: ( size: s, line-height: s, weight: regular ),
|
|
34
|
+
),
|
|
35
|
+
microcopy: (
|
|
36
|
+
xs: ( size: xs, line-height: xs, weight: medium ),
|
|
37
|
+
2xs: ( size: 2xs, line-height: 2xs, weight: regular ),
|
|
38
|
+
),
|
|
39
|
+
),
|
|
40
|
+
tablet: (
|
|
41
|
+
display: (
|
|
42
|
+
xl: ( size: 8xl, line-height: 9xl, weight: regular ),
|
|
43
|
+
l: ( size: 7xl, line-height: 6xl, weight: semi-bold ),
|
|
44
|
+
),
|
|
45
|
+
heading: (
|
|
46
|
+
2xl: ( size: 5xl, line-height: 4xl, weight: semi-bold ),
|
|
47
|
+
xl: ( size: 4xl, line-height: 2xl, weight: semi-bold ),
|
|
48
|
+
l: ( size: 2xl, line-height: l, weight: semi-bold ),
|
|
49
|
+
m: ( size: xl, line-height: l, weight: semi-bold ),
|
|
50
|
+
s: ( size: l, line-height: m, weight: semi-bold ),
|
|
51
|
+
s-medium: ( size: l, line-height: m, weight: medium ),
|
|
52
|
+
xs: ( size: m, line-height: m, weight: bold ),
|
|
53
|
+
),
|
|
54
|
+
paragraph: (
|
|
55
|
+
xl: ( size: 2xl, line-height: xl, weight: regular ),
|
|
56
|
+
l: ( size: l, line-height: l, weight: regular ),
|
|
57
|
+
l-semi-bold: ( size: l, line-height: l, weight: semi-bold ),
|
|
58
|
+
l-bold: ( size: l, line-height: l, weight: bold ),
|
|
59
|
+
m: ( size: m, line-height: m, weight: regular ),
|
|
60
|
+
m-semi-bold: ( size: m, line-height: m, weight: semi-bold ),
|
|
61
|
+
m-bold: ( size: m, line-height: m, weight: bold ),
|
|
62
|
+
s: ( size: s, line-height: s, weight: regular ),
|
|
63
|
+
s-semi-bold: ( size: s, line-height: s, weight: semi-bold ),
|
|
64
|
+
s-bold: ( size: s, line-height: s, weight: bold ),
|
|
65
|
+
),
|
|
66
|
+
label: (
|
|
67
|
+
l: ( size: l, line-height: l, weight: regular ),
|
|
68
|
+
m: ( size: m, line-height: m, weight: regular ),
|
|
69
|
+
m-medium: ( size: m, line-height: m, weight: medium ),
|
|
70
|
+
m-semi-bold: ( size: m, line-height: m, weight: semi-bold ),
|
|
71
|
+
s: ( size: s, line-height: s, weight: regular ),
|
|
72
|
+
),
|
|
73
|
+
microcopy: (
|
|
74
|
+
xs: ( size: xs, line-height: xs, weight: medium ),
|
|
75
|
+
2xs: ( size: 2xs, line-height: 2xs, weight: regular ),
|
|
76
|
+
),
|
|
77
|
+
),
|
|
78
|
+
mobile: (
|
|
79
|
+
display: (
|
|
80
|
+
xl: ( size: 6xl, line-height: 4xl, weight: regular ),
|
|
81
|
+
l: ( size: 5xl, line-height: 2xl, weight: semi-bold ),
|
|
82
|
+
),
|
|
83
|
+
heading: (
|
|
84
|
+
2xl: ( size: 4xl, line-height: 2xl, weight: semi-bold ),
|
|
85
|
+
xl: ( size: 2xl, line-height: l, weight: semi-bold ),
|
|
86
|
+
l: ( size: xl, line-height: m, weight: semi-bold ),
|
|
87
|
+
m: ( size: l, line-height: m, weight: semi-bold ),
|
|
88
|
+
s: ( size: m, line-height: m, weight: semi-bold ),
|
|
89
|
+
s-medium: ( size: m, line-height: m, weight: medium ),
|
|
90
|
+
xs: ( size: m, line-height: m, weight: bold ),
|
|
91
|
+
),
|
|
92
|
+
paragraph: (
|
|
93
|
+
xl: ( size: xl, line-height: l, weight: regular ),
|
|
94
|
+
l: ( size: l, line-height: l, weight: regular ),
|
|
95
|
+
l-semi-bold: ( size: l, line-height: l, weight: semi-bold ),
|
|
96
|
+
l-bold: ( size: l, line-height: l, weight: bold ),
|
|
97
|
+
m: ( size: m, line-height: m, weight: regular ),
|
|
98
|
+
m-semi-bold: ( size: m, line-height: m, weight: semi-bold ),
|
|
99
|
+
m-bold: ( size: m, line-height: m, weight: bold ),
|
|
100
|
+
s: ( size: s, line-height: s, weight: regular ),
|
|
101
|
+
s-semi-bold: ( size: s, line-height: s, weight: semi-bold ),
|
|
102
|
+
s-bold: ( size: s, line-height: s, weight: bold ),
|
|
103
|
+
),
|
|
104
|
+
label: (
|
|
105
|
+
l: ( size: l, line-height: l, weight: regular ),
|
|
106
|
+
m: ( size: m, line-height: m, weight: regular ),
|
|
107
|
+
m-medium: ( size: m, line-height: m, weight: medium ),
|
|
108
|
+
m-semi-bold: ( size: m, line-height: m, weight: semi-bold ),
|
|
109
|
+
s: ( size: s, line-height: s, weight: regular ),
|
|
110
|
+
),
|
|
111
|
+
microcopy: (
|
|
112
|
+
xs: ( size: xs, line-height: xs, weight: medium ),
|
|
113
|
+
2xs: ( size: 2xs, line-height: 2xs, weight: regular ),
|
|
114
|
+
),
|
|
115
|
+
),
|
|
116
|
+
);
|