@eui/styles 21.0.0-alpha.10 → 21.0.0-alpha.12
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/assets/icons/sprites/ecl.json +103 -0
- package/dist/assets/icons/sprites/ecl.svg +1 -0
- package/dist/assets/icons/sprites/eui.json +56 -138
- package/dist/assets/icons/sprites/eui.svg +1 -1
- package/dist/assets/icons/sprites/{phosphor-duotone.json → fill.json} +1 -1
- package/dist/assets/icons/sprites/fill.svg +1 -0
- package/dist/assets/icons/sprites/{phosphor-light.json → light.json} +1 -1
- package/dist/assets/icons/sprites/light.svg +1 -0
- package/dist/assets/icons/sprites/{phosphor-fill.json → regular.json} +1 -1
- package/dist/assets/icons/sprites/regular.svg +1 -0
- package/dist/base/01-base/functions/_other.functions.scss +5 -4
- package/dist/base/01-base/mixins/_eui-input.scss +1 -1
- package/dist/base/02-tokens/maps-dark-theme.scss +10 -9
- package/dist/base/02-tokens/maps.scss +152 -109
- package/dist/base/03-vars/vars.scss +1 -1
- package/dist/base/05-assets/flags/_icons-generics.scss +5 -5
- package/dist/eui-base.css +1 -1
- package/dist/eui-base.css.map +1 -1
- package/dist/eui-icons-flags.css +1 -1
- package/dist/eui-icons-flags.css.map +1 -1
- package/dist/eui-showcase-all.css +1 -1
- package/dist/eui-showcase-all.css.map +1 -1
- package/dist/eui.css +1 -1
- package/dist/eui.css.map +1 -1
- package/package.json +1 -1
- package/dist/assets/icons/sprites/phosphor-duotone.svg +0 -1
- package/dist/assets/icons/sprites/phosphor-fill.svg +0 -1
- package/dist/assets/icons/sprites/phosphor-light.svg +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
|
|
3
4
|
@function v($var, $fallback: null) {
|
|
4
5
|
@if ($fallback) {
|
|
@@ -10,20 +11,20 @@
|
|
|
10
11
|
@function map-deep-get($map, $keys...) {
|
|
11
12
|
@each $key in $keys {
|
|
12
13
|
@debug #{$map};
|
|
13
|
-
$map: map
|
|
14
|
+
$map: map.get($map, $key);
|
|
14
15
|
}
|
|
15
16
|
@return $map;
|
|
16
17
|
}
|
|
17
18
|
@function mapReverseValues($map) {
|
|
18
|
-
$keys: map
|
|
19
|
+
$keys: map.keys($map);
|
|
19
20
|
$map-reversed: ();
|
|
20
21
|
|
|
21
22
|
@for $i from length($keys) through 1 {
|
|
22
23
|
$currentPos: calc(length($keys) - $i + 1);
|
|
23
24
|
|
|
24
|
-
$map-reversed: map
|
|
25
|
+
$map-reversed: map.merge(
|
|
25
26
|
$map-reversed,
|
|
26
|
-
(nth($keys, $currentPos): map
|
|
27
|
+
(nth($keys, $currentPos): map.get($map, nth($keys, $i)))
|
|
27
28
|
);
|
|
28
29
|
}
|
|
29
30
|
@return $map-reversed;
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
&[disabled]:not([readonly]),
|
|
46
46
|
&--disabled:not([readonly]) {
|
|
47
|
-
background-color: var(--eui-c-
|
|
47
|
+
background-color: var(--eui-c-disabled-bg) !important;
|
|
48
48
|
border: 1px solid var(--eui-c-secondary-border-lighter);
|
|
49
49
|
color: var(--eui-c-text-light);
|
|
50
50
|
@if $element == textarea {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
@use '../01-base' as base;
|
|
2
3
|
@use './maps' as maps;
|
|
3
4
|
|
|
4
5
|
// COLORS
|
|
5
6
|
|
|
6
7
|
$color-map: (
|
|
7
|
-
br: base.mapReverseValues(map
|
|
8
|
-
pr: base.mapReverseValues(map
|
|
9
|
-
gr: base.mapReverseValues(map
|
|
10
|
-
grn: base.mapReverseValues(map
|
|
11
|
-
cta: base.mapReverseValues(map
|
|
12
|
-
in: base.mapReverseValues(map
|
|
13
|
-
su: base.mapReverseValues(map
|
|
14
|
-
wa: base.mapReverseValues(map
|
|
15
|
-
da: base.mapReverseValues(map
|
|
8
|
+
br: base.mapReverseValues(map.get(maps.$color-map, 'br')),
|
|
9
|
+
pr: base.mapReverseValues(map.get(maps.$color-map, 'pr')),
|
|
10
|
+
gr: base.mapReverseValues(map.get(maps.$color-map, 'gr')),
|
|
11
|
+
grn: base.mapReverseValues(map.get(maps.$color-map, 'grn')),
|
|
12
|
+
cta: base.mapReverseValues(map.get(maps.$color-map, 'cta')),
|
|
13
|
+
in: base.mapReverseValues(map.get(maps.$color-map, 'in')),
|
|
14
|
+
su: base.mapReverseValues(map.get(maps.$color-map, 'su')),
|
|
15
|
+
wa: base.mapReverseValues(map.get(maps.$color-map, 'wa')),
|
|
16
|
+
da: base.mapReverseValues(map.get(maps.$color-map, 'da'))
|
|
16
17
|
);
|
|
@@ -268,40 +268,40 @@ $ecl-colors: (
|
|
|
268
268
|
|
|
269
269
|
$color-map: (
|
|
270
270
|
br: (
|
|
271
|
-
950: map
|
|
272
|
-
900: map
|
|
273
|
-
800: map
|
|
274
|
-
700: map
|
|
271
|
+
950: map.get($ecl-colors, 'grey-950'),
|
|
272
|
+
900: map.get($ecl-colors, 'grey-900'),
|
|
273
|
+
800: map.get($ecl-colors, 'grey-800'),
|
|
274
|
+
700: map.get($ecl-colors, 'grey-700')
|
|
275
275
|
),
|
|
276
276
|
pr: (
|
|
277
|
-
950: map
|
|
278
|
-
900: map
|
|
279
|
-
800: map
|
|
280
|
-
700: map
|
|
281
|
-
600: map
|
|
282
|
-
500: map
|
|
283
|
-
400: map
|
|
284
|
-
300: map
|
|
285
|
-
200: map
|
|
286
|
-
100: map
|
|
287
|
-
75: map
|
|
288
|
-
50: map
|
|
289
|
-
25: map
|
|
277
|
+
950: map.get($ecl-colors, 'primary-950'),
|
|
278
|
+
900: map.get($ecl-colors, 'primary-900'),
|
|
279
|
+
800: map.get($ecl-colors, 'primary-800'),
|
|
280
|
+
700: map.get($ecl-colors, 'primary-700'),
|
|
281
|
+
600: map.get($ecl-colors, 'primary-600'),
|
|
282
|
+
500: map.get($ecl-colors, 'primary-500'),
|
|
283
|
+
400: map.get($ecl-colors, 'primary-400'),
|
|
284
|
+
300: map.get($ecl-colors, 'primary-300'),
|
|
285
|
+
200: map.get($ecl-colors, 'primary-200'),
|
|
286
|
+
100: map.get($ecl-colors, 'primary-100'),
|
|
287
|
+
75: map.get($ecl-colors, 'primary-75'),
|
|
288
|
+
50: map.get($ecl-colors, 'primary-50'),
|
|
289
|
+
25: map.get($ecl-colors, 'primary-25')
|
|
290
290
|
),
|
|
291
291
|
gr: (
|
|
292
|
-
950: map
|
|
293
|
-
900: map
|
|
294
|
-
800: map
|
|
295
|
-
700: map
|
|
296
|
-
600: map
|
|
297
|
-
500: map
|
|
298
|
-
400: map
|
|
299
|
-
300: map
|
|
300
|
-
200: map
|
|
301
|
-
100: map
|
|
302
|
-
75: map
|
|
303
|
-
50: map
|
|
304
|
-
25: map
|
|
292
|
+
950: map.get($ecl-colors, 'grey-950'),
|
|
293
|
+
900: map.get($ecl-colors, 'grey-900'),
|
|
294
|
+
800: map.get($ecl-colors, 'grey-800'),
|
|
295
|
+
700: map.get($ecl-colors, 'grey-700'),
|
|
296
|
+
600: map.get($ecl-colors, 'grey-600'),
|
|
297
|
+
500: map.get($ecl-colors, 'grey-500'),
|
|
298
|
+
400: map.get($ecl-colors, 'grey-400'),
|
|
299
|
+
300: map.get($ecl-colors, 'grey-300'),
|
|
300
|
+
200: map.get($ecl-colors, 'grey-200'),
|
|
301
|
+
100: map.get($ecl-colors, 'grey-100'),
|
|
302
|
+
75: map.get($ecl-colors, 'grey-75'),
|
|
303
|
+
50: map.get($ecl-colors, 'grey-50'),
|
|
304
|
+
25: map.get($ecl-colors, 'grey-25')
|
|
305
305
|
),
|
|
306
306
|
grn: (
|
|
307
307
|
950: #171717,
|
|
@@ -319,79 +319,79 @@ $color-map: (
|
|
|
319
319
|
25: #fbfbfb
|
|
320
320
|
),
|
|
321
321
|
in: (
|
|
322
|
-
950: map
|
|
323
|
-
900: map
|
|
324
|
-
800: map
|
|
325
|
-
700: map
|
|
326
|
-
600: map
|
|
327
|
-
500: map
|
|
328
|
-
400: map
|
|
329
|
-
300: map
|
|
330
|
-
200: map
|
|
331
|
-
100: map
|
|
332
|
-
75: map
|
|
333
|
-
50: map
|
|
334
|
-
25: map
|
|
322
|
+
950: map.get($ecl-colors, 'info-950'),
|
|
323
|
+
900: map.get($ecl-colors, 'info-900'),
|
|
324
|
+
800: map.get($ecl-colors, 'info-800'),
|
|
325
|
+
700: map.get($ecl-colors, 'info-700'),
|
|
326
|
+
600: map.get($ecl-colors, 'info-600'),
|
|
327
|
+
500: map.get($ecl-colors, 'info-500'),
|
|
328
|
+
400: map.get($ecl-colors, 'info-400'),
|
|
329
|
+
300: map.get($ecl-colors, 'info-300'),
|
|
330
|
+
200: map.get($ecl-colors, 'info-200'),
|
|
331
|
+
100: map.get($ecl-colors, 'info-100'),
|
|
332
|
+
75: map.get($ecl-colors, 'info-75'),
|
|
333
|
+
50: map.get($ecl-colors, 'info-50'),
|
|
334
|
+
25: map.get($ecl-colors, 'info-25')
|
|
335
335
|
),
|
|
336
336
|
su: (
|
|
337
|
-
950: map
|
|
338
|
-
900: map
|
|
339
|
-
800: map
|
|
340
|
-
700: map
|
|
341
|
-
600: map
|
|
342
|
-
500: map
|
|
343
|
-
400: map
|
|
344
|
-
300: map
|
|
345
|
-
200: map
|
|
346
|
-
100: map
|
|
347
|
-
75: map
|
|
348
|
-
50: map
|
|
349
|
-
25: map
|
|
337
|
+
950: map.get($ecl-colors, 'success-950'),
|
|
338
|
+
900: map.get($ecl-colors, 'success-900'),
|
|
339
|
+
800: map.get($ecl-colors, 'success-800'),
|
|
340
|
+
700: map.get($ecl-colors, 'success-700'),
|
|
341
|
+
600: map.get($ecl-colors, 'success-600'),
|
|
342
|
+
500: map.get($ecl-colors, 'success-500'),
|
|
343
|
+
400: map.get($ecl-colors, 'success-400'),
|
|
344
|
+
300: map.get($ecl-colors, 'success-300'),
|
|
345
|
+
200: map.get($ecl-colors, 'success-200'),
|
|
346
|
+
100: map.get($ecl-colors, 'success-100'),
|
|
347
|
+
75: map.get($ecl-colors, 'success-75'),
|
|
348
|
+
50: map.get($ecl-colors, 'success-50'),
|
|
349
|
+
25: map.get($ecl-colors, 'success-25')
|
|
350
350
|
),
|
|
351
351
|
wa: (
|
|
352
|
-
950: map
|
|
353
|
-
900: map
|
|
354
|
-
800: map
|
|
355
|
-
700: map
|
|
356
|
-
600: map
|
|
357
|
-
500: map
|
|
358
|
-
400: map
|
|
359
|
-
300: map
|
|
360
|
-
200: map
|
|
361
|
-
100: map
|
|
362
|
-
75: map
|
|
363
|
-
50: map
|
|
364
|
-
25: map
|
|
352
|
+
950: map.get($ecl-colors, 'warning-950'),
|
|
353
|
+
900: map.get($ecl-colors, 'warning-900'),
|
|
354
|
+
800: map.get($ecl-colors, 'warning-800'),
|
|
355
|
+
700: map.get($ecl-colors, 'warning-700'),
|
|
356
|
+
600: map.get($ecl-colors, 'warning-600'),
|
|
357
|
+
500: map.get($ecl-colors, 'warning-500'),
|
|
358
|
+
400: map.get($ecl-colors, 'warning-400'),
|
|
359
|
+
300: map.get($ecl-colors, 'warning-300'),
|
|
360
|
+
200: map.get($ecl-colors, 'warning-200'),
|
|
361
|
+
100: map.get($ecl-colors, 'warning-100'),
|
|
362
|
+
75: map.get($ecl-colors, 'warning-75'),
|
|
363
|
+
50: map.get($ecl-colors, 'warning-50'),
|
|
364
|
+
25: map.get($ecl-colors, 'warning-25')
|
|
365
365
|
),
|
|
366
366
|
da: (
|
|
367
|
-
950: map
|
|
368
|
-
900: map
|
|
369
|
-
800: map
|
|
370
|
-
700: map
|
|
371
|
-
600: map
|
|
372
|
-
500: map
|
|
373
|
-
400: map
|
|
374
|
-
300: map
|
|
375
|
-
200: map
|
|
376
|
-
100: map
|
|
377
|
-
75: map
|
|
378
|
-
50: map
|
|
379
|
-
25: map
|
|
367
|
+
950: map.get($ecl-colors, 'error-950'),
|
|
368
|
+
900: map.get($ecl-colors, 'error-900'),
|
|
369
|
+
800: map.get($ecl-colors, 'error-800'),
|
|
370
|
+
700: map.get($ecl-colors, 'error-700'),
|
|
371
|
+
600: map.get($ecl-colors, 'error-600'),
|
|
372
|
+
500: map.get($ecl-colors, 'error-500'),
|
|
373
|
+
400: map.get($ecl-colors, 'error-400'),
|
|
374
|
+
300: map.get($ecl-colors, 'error-300'),
|
|
375
|
+
200: map.get($ecl-colors, 'error-200'),
|
|
376
|
+
100: map.get($ecl-colors, 'error-100'),
|
|
377
|
+
75: map.get($ecl-colors, 'error-75'),
|
|
378
|
+
50: map.get($ecl-colors, 'error-50'),
|
|
379
|
+
25: map.get($ecl-colors, 'error-25')
|
|
380
380
|
),
|
|
381
381
|
cta: (
|
|
382
|
-
950: map
|
|
383
|
-
900: map
|
|
384
|
-
800: map
|
|
385
|
-
700: map
|
|
386
|
-
600: map
|
|
387
|
-
500: map
|
|
388
|
-
400: map
|
|
389
|
-
300: map
|
|
390
|
-
200: map
|
|
391
|
-
100: map
|
|
392
|
-
75: map
|
|
393
|
-
50: map
|
|
394
|
-
25: map
|
|
382
|
+
950: map.get($ecl-colors, 'secondary-950'),
|
|
383
|
+
900: map.get($ecl-colors, 'secondary-900'),
|
|
384
|
+
800: map.get($ecl-colors, 'secondary-800'),
|
|
385
|
+
700: map.get($ecl-colors, 'secondary-700'),
|
|
386
|
+
600: map.get($ecl-colors, 'secondary-600'),
|
|
387
|
+
500: map.get($ecl-colors, 'secondary-500'),
|
|
388
|
+
400: map.get($ecl-colors, 'secondary-400'),
|
|
389
|
+
300: map.get($ecl-colors, 'secondary-300'),
|
|
390
|
+
200: map.get($ecl-colors, 'secondary-200'),
|
|
391
|
+
100: map.get($ecl-colors, 'secondary-100'),
|
|
392
|
+
75: map.get($ecl-colors, 'secondary-75'),
|
|
393
|
+
50: map.get($ecl-colors, 'secondary-50'),
|
|
394
|
+
25: map.get($ecl-colors, 'secondary-25')
|
|
395
395
|
)
|
|
396
396
|
);
|
|
397
397
|
|
|
@@ -402,23 +402,33 @@ $color-state-map: (
|
|
|
402
402
|
base: 'br-900',
|
|
403
403
|
default: 'br-900',
|
|
404
404
|
lighter: 'br-700',
|
|
405
|
+
lighter-contrast: 'br-700-contrast',
|
|
405
406
|
light: 'br-800',
|
|
407
|
+
light-contrast: 'br-800-contrast',
|
|
406
408
|
dark: 'br-950',
|
|
409
|
+
dark-contrast: 'br-950-contrast',
|
|
407
410
|
darker: 'br-950',
|
|
411
|
+
darker-contrast: 'br-950-contrast',
|
|
408
412
|
),
|
|
409
413
|
primary: (
|
|
410
414
|
base: 'pr-600',
|
|
411
415
|
default: 'pr-700',
|
|
412
416
|
lighter: 'pr-500',
|
|
417
|
+
lighter-contrast: 'pr-500-contrast',
|
|
413
418
|
light: 'pr-600',
|
|
419
|
+
light-contrast: 'pr-600-contrast',
|
|
414
420
|
dark: 'pr-900',
|
|
421
|
+
dark-contrast: 'pr-900-contrast',
|
|
415
422
|
darker: 'pr-950',
|
|
423
|
+
darker-contrast: 'pr-950-contrast',
|
|
416
424
|
on-surface-light: 'pr-900',
|
|
417
425
|
surface-lighter: 'pr-50',
|
|
426
|
+
surface-lighter-contrast: 'pr-50',
|
|
418
427
|
surface-light: 'pr-75',
|
|
419
428
|
surface-light-contrast: 'pr-75-contrast',
|
|
420
429
|
surface-light-hover: 'pr-200',
|
|
421
430
|
surface-medium: 'pr-200',
|
|
431
|
+
surface-medium-contrast: 'pr-200-contrast',
|
|
422
432
|
on-surface-medium: 'pr-950',
|
|
423
433
|
border: 'pr-500',
|
|
424
434
|
border-light: 'pr-300',
|
|
@@ -432,15 +442,21 @@ $color-state-map: (
|
|
|
432
442
|
base: 'gr-500',
|
|
433
443
|
default: 'gr-800',
|
|
434
444
|
lighter: 'gr-600',
|
|
445
|
+
lighter-contrast: 'gr-600-contrast',
|
|
435
446
|
light: 'gr-700',
|
|
447
|
+
light-contrast: 'gr-700-contrast',
|
|
436
448
|
dark: 'gr-900',
|
|
449
|
+
dark-contrast: 'gr-900-contrast',
|
|
437
450
|
darker: 'gr-950',
|
|
451
|
+
darker-contrast: 'gr-950-contrast',
|
|
438
452
|
on-surface-light: 'gr-900',
|
|
439
453
|
surface-lighter: 'gr-50',
|
|
454
|
+
surface-lighter-contrast: 'gr-50-contrast',
|
|
440
455
|
surface-light: 'gr-75',
|
|
441
456
|
surface-light-contrast: 'gr-75-contrast',
|
|
442
457
|
surface-light-hover: 'gr-75',
|
|
443
458
|
surface-medium: 'gr-100',
|
|
459
|
+
surface-medium-contrast: 'gr-100-contrast',
|
|
444
460
|
on-surface-medium: 'gr-900',
|
|
445
461
|
border: 'gr-500',
|
|
446
462
|
border-light: 'gr-500',
|
|
@@ -454,15 +470,21 @@ $color-state-map: (
|
|
|
454
470
|
base: 'grn-500',
|
|
455
471
|
default: 'grn-800',
|
|
456
472
|
lighter: 'grn-600',
|
|
473
|
+
lighter-contrast: 'grn-600-contrast',
|
|
457
474
|
light: 'grn-700',
|
|
475
|
+
light-contrast: 'grn-700-contrast',
|
|
458
476
|
dark: 'grn-900',
|
|
477
|
+
dark-contrast: 'grn-900-contrast',
|
|
459
478
|
darker: 'grn-950',
|
|
479
|
+
darker-contrast: 'grn-950-contrast',
|
|
460
480
|
on-surface-light: 'grn-900',
|
|
461
481
|
surface-lighter: 'grn-25',
|
|
482
|
+
surface-lighter-contrast: 'grn-25-contrast',
|
|
462
483
|
surface-light: 'grn-50',
|
|
463
484
|
surface-light-contrast: 'grn-50-contrast',
|
|
464
485
|
surface-light-hover: 'grn-75',
|
|
465
486
|
surface-medium: 'grn-100',
|
|
487
|
+
surface-medium-contrast: 'grn-100-contrast',
|
|
466
488
|
on-surface-medium: 'grn-900',
|
|
467
489
|
border: 'grn-500',
|
|
468
490
|
border-light: 'grn-500',
|
|
@@ -476,15 +498,21 @@ $color-state-map: (
|
|
|
476
498
|
base: 'cta-400',
|
|
477
499
|
default: 'cta-700',
|
|
478
500
|
lighter: 'cta-400',
|
|
501
|
+
lighter-contrast: 'cta-400-contrast',
|
|
479
502
|
light: 'cta-500',
|
|
503
|
+
light-contrast: 'cta-500-contrast',
|
|
480
504
|
dark: 'cta-800',
|
|
505
|
+
dark-contrast: 'cta-800-contrast',
|
|
481
506
|
darker: 'cta-900',
|
|
507
|
+
darker-contrast: 'cta-900-contrast',
|
|
482
508
|
on-surface-light: 'cta-700',
|
|
483
509
|
surface-lighter: 'cta-25',
|
|
510
|
+
surface-lighter-contrast: 'cta-25-contrast',
|
|
484
511
|
surface-light: 'cta-25',
|
|
485
512
|
surface-light-contrast: 'cta-25-contrast',
|
|
486
513
|
surface-light-hover: 'cta-75',
|
|
487
514
|
surface-medium: 'cta-75',
|
|
515
|
+
surface-medium-contrast: 'cta-75-contrast',
|
|
488
516
|
on-surface-medium: 'cta-800',
|
|
489
517
|
border: 'cta-300',
|
|
490
518
|
border-light: 'cta-100',
|
|
@@ -498,15 +526,21 @@ $color-state-map: (
|
|
|
498
526
|
base: 'in-500',
|
|
499
527
|
default: 'in-600',
|
|
500
528
|
lighter: 'in-400',
|
|
529
|
+
lighter-contrast: 'in-400-contrast',
|
|
501
530
|
light: 'in-500',
|
|
531
|
+
light-contrast: 'in-500-contrast',
|
|
502
532
|
dark: 'in-800',
|
|
533
|
+
dark-contrast: 'in-800-contrast',
|
|
503
534
|
darker: 'in-900',
|
|
535
|
+
darker-contrast: 'in-900-contrast',
|
|
504
536
|
on-surface-light: 'in-600',
|
|
505
537
|
surface-lighter: 'in-25',
|
|
538
|
+
surface-lighter-contrast: 'in-25-contrast',
|
|
506
539
|
surface-light: 'in-50',
|
|
507
540
|
surface-light-contrast: 'in-50-contrast',
|
|
508
541
|
surface-light-hover: 'in-100',
|
|
509
542
|
surface-medium: 'in-100',
|
|
543
|
+
surface-medium-contrast: 'in-100-contrast',
|
|
510
544
|
on-surface-medium: 'in-160',
|
|
511
545
|
border: 'in-400',
|
|
512
546
|
border-light: 'in-200',
|
|
@@ -520,15 +554,21 @@ $color-state-map: (
|
|
|
520
554
|
base: 'su-700',
|
|
521
555
|
default: 'su-950',
|
|
522
556
|
lighter: 'su-700',
|
|
557
|
+
lighter-contrast: 'su-700-contrast',
|
|
523
558
|
light: 'su-800',
|
|
559
|
+
light-contrast: 'su-800-contrast',
|
|
524
560
|
dark: 'su-900',
|
|
561
|
+
dark-contrast: 'su-900-contrast',
|
|
525
562
|
darker: 'su-950',
|
|
563
|
+
darker-contrast: 'su-950-contrast',
|
|
526
564
|
on-surface-light: 'su-950',
|
|
527
565
|
surface-lighter: 'su-50',
|
|
566
|
+
surface-lighter-contrast: 'su-50-contrast',
|
|
528
567
|
surface-light: 'su-100',
|
|
529
568
|
surface-light-contrast: 'su-100-contrast',
|
|
530
569
|
surface-light-hover: 'su-300',
|
|
531
570
|
surface-medium: 'su-300',
|
|
571
|
+
surface-medium-contrast: 'su-300-contrast',
|
|
532
572
|
on-surface-medium: 'su-950',
|
|
533
573
|
border: 'su-600',
|
|
534
574
|
border-light: 'su-400',
|
|
@@ -542,15 +582,21 @@ $color-state-map: (
|
|
|
542
582
|
base: 'wa-500',
|
|
543
583
|
default: 'wa-800',
|
|
544
584
|
lighter: 'wa-500',
|
|
585
|
+
lighter-contrast: 'wa-500-contrast',
|
|
545
586
|
light: 'wa-600',
|
|
587
|
+
light-contrast: 'wa-600-contrast',
|
|
546
588
|
dark: 'wa-900',
|
|
589
|
+
dark-contrast: 'wa-900-contrast',
|
|
547
590
|
darker: 'wa-950',
|
|
591
|
+
darker-contrast: 'wa-950-contrast',
|
|
548
592
|
on-surface-light: 'wa-140',
|
|
549
593
|
surface-lighter: 'wa-25',
|
|
594
|
+
surface-lighter-contrast: 'wa-25-contrast',
|
|
550
595
|
surface-light: 'wa-50',
|
|
551
596
|
surface-light-contrast: 'wa-50-contrast',
|
|
552
597
|
surface-light-hover: 'wa-100',
|
|
553
598
|
surface-medium: 'wa-100',
|
|
599
|
+
surface-medium-contrast: 'wa-100-contrast',
|
|
554
600
|
on-surface-medium: 'wa-900',
|
|
555
601
|
border: 'wa-400',
|
|
556
602
|
border-light: 'wa-200',
|
|
@@ -564,15 +610,21 @@ $color-state-map: (
|
|
|
564
610
|
base: 'da-600',
|
|
565
611
|
default: 'da-600',
|
|
566
612
|
lighter: 'da-400',
|
|
613
|
+
lighter-contrast: 'da-400-contrast',
|
|
567
614
|
light: 'da-500',
|
|
615
|
+
light-contrast: 'da-500-contrast',
|
|
568
616
|
dark: 'da-700',
|
|
617
|
+
dark-contrast: 'da-700-contrast',
|
|
569
618
|
darker: 'da-800',
|
|
619
|
+
darker-contrast: 'da-800-contrast',
|
|
570
620
|
on-surface-light: 'da-700',
|
|
571
621
|
surface-lighter: 'da-50',
|
|
622
|
+
surface-lighter-contrast: 'da-50-contrast',
|
|
572
623
|
surface-light: 'da-75',
|
|
573
624
|
surface-light-contrast: 'da-75-contrast',
|
|
574
625
|
surface-light-hover: 'da-200',
|
|
575
626
|
surface-medium: 'da-200',
|
|
627
|
+
surface-medium-contrast: 'da-200-contrast',
|
|
576
628
|
on-surface-medium: 'da-900',
|
|
577
629
|
border: 'da-500',
|
|
578
630
|
border-light: 'da-300',
|
|
@@ -597,11 +649,11 @@ $ecl-shadow: (
|
|
|
597
649
|
|
|
598
650
|
$box-shadow-map: (
|
|
599
651
|
0: none,
|
|
600
|
-
1: map
|
|
601
|
-
2: map
|
|
602
|
-
3: map
|
|
603
|
-
4: map
|
|
604
|
-
5: map
|
|
652
|
+
1: map.get($ecl-shadow, 1),
|
|
653
|
+
2: map.get($ecl-shadow, 2),
|
|
654
|
+
3: map.get($ecl-shadow, 5),
|
|
655
|
+
4: map.get($ecl-shadow, 4),
|
|
656
|
+
5: map.get($ecl-shadow, 5)
|
|
605
657
|
);
|
|
606
658
|
|
|
607
659
|
|
|
@@ -612,15 +664,6 @@ $font-size-list: (
|
|
|
612
664
|
'2xs-compact', 'xs-compact', 's-compact', 'm-compact', 'l-compact', 'xl-compact', '2xl-compact', '3xl-compact', '4xl-compact', '5xl-compact', '6xl-compact'
|
|
613
665
|
);
|
|
614
666
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
$font-weight-map: (
|
|
618
|
-
regular: 400,
|
|
619
|
-
medium: 400,
|
|
620
|
-
semi-bold: 700,
|
|
621
|
-
bold: 700
|
|
622
|
-
);
|
|
623
|
-
|
|
624
667
|
$font-line-height-map: (
|
|
625
668
|
2xs: 1rem,
|
|
626
669
|
xs: 1.25rem,
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
--eui-c-active-bg-alt: var(--eui-bc-pr-300);
|
|
67
67
|
|
|
68
68
|
--eui-c-disabled: var(--eui-bc-gr-400);
|
|
69
|
-
--eui-c-disabled-bg: var(--eui-bc-gr-
|
|
69
|
+
--eui-c-disabled-bg: var(--eui-bc-gr-50);
|
|
70
70
|
--eui-c-readonly: var(--eui-bc-gr-500);
|
|
71
71
|
|
|
72
72
|
--eui-c-link: var(--eui-bc-pr-600);
|
|
@@ -20,9 +20,9 @@ $ratio-4x3: 1.33333333;
|
|
|
20
20
|
&--rounded {
|
|
21
21
|
background-size: cover !important;
|
|
22
22
|
border-radius: 50%;
|
|
23
|
-
height: calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)});
|
|
24
|
-
min-width: calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)});
|
|
25
|
-
width: calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)}) !important;
|
|
23
|
+
height: var(--eui-s-xl); // calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)});
|
|
24
|
+
min-width: var(--eui-s-xl); // calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)});
|
|
25
|
+
width: var(--eui-s-xl) !important; // calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)}) !important;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&-squared {
|
|
@@ -40,8 +40,8 @@ $ratio-4x3: 1.33333333;
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&.eui-flag-icon-2x {
|
|
43
|
-
height: calc(1 * #{var(--eui-s-l)});
|
|
44
|
-
width: calc(1 * #{var(--eui-s-l)}) !important;
|
|
43
|
+
height: calc(1.375 * #{var(--eui-s-l)});
|
|
44
|
+
width: calc(1.375 * #{var(--eui-s-l)}) !important;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
&.eui-flag-icon-3x {
|