@eui/styles 21.0.0-alpha.8 → 21.0.0-alpha.9

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.
Files changed (31) hide show
  1. package/dist/base/01-base/functions/_other.functions.scss +13 -0
  2. package/dist/base/01-base/mixins/_accessibility.mixins.scss +4 -4
  3. package/dist/base/01-base/mixins/_eui-input.scss +4 -4
  4. package/dist/base/01-base/mixins/_eui-loading.scss +1 -1
  5. package/dist/base/01-base/mixins/_eui-scrollbars.scss +3 -3
  6. package/dist/base/01-base/mixins/_icon-svg.mixins.scss +3 -3
  7. package/dist/base/02-tokens/maps-dark-theme.scss +125 -127
  8. package/dist/base/02-tokens/maps.scss +286 -249
  9. package/dist/base/03-vars/vars-dark-theme.scss +12 -12
  10. package/dist/base/03-vars/vars-extras.scss +24 -24
  11. package/dist/base/03-vars/vars.scss +37 -43
  12. package/dist/base/99-utilities/default/others/_eui-u-border-states.scss +7 -7
  13. package/dist/base/99-utilities/default/tokens/_color-states.scss +9 -9
  14. package/dist/base/99-utilities/default/tokens/_colors.scss +43 -16
  15. package/dist/base/99-utilities/default/tokens/_typography.scss +6 -6
  16. package/dist/eui-base.css +1 -1
  17. package/dist/eui-base.css.map +1 -1
  18. package/dist/eui-extra-vars.css +0 -1
  19. package/dist/eui-extra-vars.css.map +1 -1
  20. package/dist/eui-showcase-all.css +1 -1
  21. package/dist/eui-showcase-all.css.map +1 -1
  22. package/dist/eui-theme-dark.css +1 -1
  23. package/dist/eui-theme-dark.css.map +1 -1
  24. package/dist/eui-utilities-extras.css +1 -1
  25. package/dist/eui-utilities-extras.css.map +1 -1
  26. package/dist/eui-utilities.css +1 -1
  27. package/dist/eui-utilities.css.map +1 -1
  28. package/dist/eui.css +1 -1
  29. package/dist/eui.css.map +1 -1
  30. package/package.json +1 -1
  31. package/dist/base/02-tokens/maps-legacy-theme.scss +0 -132
@@ -1,4 +1,5 @@
1
1
  @use 'sass:map';
2
+ @use 'sass:color';
2
3
  @use '../01-base/' as base;
3
4
 
4
5
  // BORDER RADIUS
@@ -193,20 +194,6 @@ $ecl-colors: (
193
194
  'secondary-900': #9e4107,
194
195
  'secondary-950': #763105,
195
196
 
196
- 'neutral-25': #f9fafd,
197
- 'neutral-50': #eceff9,
198
- 'neutral-75': #d1d9f1,
199
- 'neutral-100': #c1ccec,
200
- 'neutral-200': #b0bde6,
201
- 'neutral-300': #9eaee1,
202
- 'neutral-400': #8ea1dc,
203
- 'neutral-500': #7c92d6,
204
- 'neutral-600': #6c85d1,
205
- 'neutral-700': #51649d,
206
- 'neutral-800': #41507d,
207
- 'neutral-900': #313c5e,
208
- 'neutral-950': #26324b,
209
-
210
197
  'grey-25': #fafafb,
211
198
  'grey-50': #f6f6f8,
212
199
  'grey-75': #ededf0,
@@ -279,271 +266,321 @@ $ecl-colors: (
279
266
  'warning-950': #512c0a
280
267
  );
281
268
 
282
-
283
269
  $color-map: (
284
- branding: (
285
- 120: map-get($ecl-colors, 'grey-950'),
286
- 100: map-get($ecl-colors, 'grey-900'),
287
- 80: map-get($ecl-colors, 'grey-800')
270
+ br: (
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')
288
275
  ),
289
- primary: (
290
- 160: map-get($ecl-colors, 'primary-950'),
291
- 140: map-get($ecl-colors, 'primary-900'),
292
- 120: map-get($ecl-colors, 'primary-800'),
293
- 110: map-get($ecl-colors, 'primary-700'),
294
- 100: map-get($ecl-colors, 'primary-600'),
295
- 80: map-get($ecl-colors, 'primary-500'),
296
- 60: map-get($ecl-colors, 'primary-400'),
297
- 40: map-get($ecl-colors, 'primary-300'),
298
- 20: map-get($ecl-colors, 'primary-200'),
299
- 10: map-get($ecl-colors, 'primary-100'),
300
- 5: map-get($ecl-colors, 'primary-75'),
301
- 0: map-get($ecl-colors, 'primary-50')
276
+ pr: (
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')
302
290
  ),
303
- neutral: (
304
- 160: map-get($ecl-colors, 'grey-950'),
305
- 140: map-get($ecl-colors, 'grey-900'),
306
- 120: map-get($ecl-colors, 'grey-800'),
307
- 110: map-get($ecl-colors, 'grey-700'),
308
- 100: map-get($ecl-colors, 'grey-600'),
309
- 80: map-get($ecl-colors, 'grey-500'),
310
- 60: map-get($ecl-colors, 'grey-400'),
311
- 40: map-get($ecl-colors, 'grey-300'),
312
- 20: map-get($ecl-colors, 'grey-200'),
313
- 10: map-get($ecl-colors, 'grey-100'),
314
- 5: map-get($ecl-colors, 'grey-75'),
315
- 2: map-get($ecl-colors, 'grey-50'),
316
- 0: map-get($ecl-colors, 'grey-25')
291
+ gr: (
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')
317
305
  ),
318
- info: (
319
- 160: map-get($ecl-colors, 'info-900'),
320
- 140: map-get($ecl-colors, 'info-800'),
321
- 120: map-get($ecl-colors, 'info-700'),
322
- 110: map-get($ecl-colors, 'info-600'),
323
- 100: map-get($ecl-colors, 'info-500'),
324
- 80: map-get($ecl-colors, 'info-400'),
325
- 60: map-get($ecl-colors, 'info-300'),
326
- 40: map-get($ecl-colors, 'info-200'),
327
- 20: map-get($ecl-colors, 'info-100'),
328
- 10: map-get($ecl-colors, 'info-75'),
329
- 5: map-get($ecl-colors, 'info-50'),
330
- 0: map-get($ecl-colors, 'info-25')
306
+ grn: (
307
+ 950: #171717,
308
+ 900: #313131,
309
+ 800: #474747,
310
+ 700: #606060,
311
+ 600: #777777,
312
+ 500: #909090,
313
+ 400: #a9a9a9,
314
+ 300: #bfbfbf,
315
+ 200: #d8d8d8,
316
+ 100: #e4e4e4,
317
+ 75: #efefef,
318
+ 50: #f7f7f7,
319
+ 25: #fbfbfb
331
320
  ),
332
- success: (
333
- 160: map-get($ecl-colors, 'success-950'),
334
- 140: map-get($ecl-colors, 'success-950'),
335
- 120: map-get($ecl-colors, 'success-900'),
336
- 110: map-get($ecl-colors, 'success-800'),
337
- 100: map-get($ecl-colors, 'success-700'),
338
- 80: map-get($ecl-colors, 'success-600'),
339
- 60: map-get($ecl-colors, 'success-500'),
340
- 40: map-get($ecl-colors, 'success-400'),
341
- 20: map-get($ecl-colors, 'success-300'),
342
- 10: map-get($ecl-colors, 'success-200'),
343
- 5: map-get($ecl-colors, 'success-100'),
344
- 0: map-get($ecl-colors, 'success-75')
321
+ in: (
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')
345
335
  ),
346
- warning: (
347
- 160: map-get($ecl-colors, 'warning-900'),
348
- 140: map-get($ecl-colors, 'warning-800'),
349
- 120: map-get($ecl-colors, 'warning-700'),
350
- 110: map-get($ecl-colors, 'warning-600'),
351
- 100: map-get($ecl-colors, 'warning-500'),
352
- 80: map-get($ecl-colors, 'warning-400'),
353
- 60: map-get($ecl-colors, 'warning-300'),
354
- 40: map-get($ecl-colors, 'warning-200'),
355
- 20: map-get($ecl-colors, 'warning-100'),
356
- 10: map-get($ecl-colors, 'warning-75'),
357
- 5: map-get($ecl-colors, 'warning-50'),
358
- 0: map-get($ecl-colors, 'warning-25')
336
+ su: (
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')
359
350
  ),
360
- danger: (
361
- 160: map-get($ecl-colors, 'error-950'),
362
- 140: map-get($ecl-colors, 'error-900'),
363
- 120: map-get($ecl-colors, 'error-800'),
364
- 110: map-get($ecl-colors, 'error-700'),
365
- 100: map-get($ecl-colors, 'error-600'),
366
- 80: map-get($ecl-colors, 'error-500'),
367
- 60: map-get($ecl-colors, 'error-400'),
368
- 40: map-get($ecl-colors, 'error-300'),
369
- 20: map-get($ecl-colors, 'error-200'),
370
- 10: map-get($ecl-colors, 'error-100'),
371
- 5: map-get($ecl-colors, 'error-75'),
372
- 0: map-get($ecl-colors, 'error-50')
351
+ wa: (
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')
373
365
  ),
374
- cta: (
375
- 160: map-get($ecl-colors, 'secondary-800'),
376
- 140: map-get($ecl-colors, 'secondary-700'),
377
- 120: map-get($ecl-colors, 'secondary-600'),
378
- 110: map-get($ecl-colors, 'secondary-500'),
379
- 100: map-get($ecl-colors, 'secondary-400'),
380
- 80: map-get($ecl-colors, 'secondary-300'),
381
- 60: map-get($ecl-colors, 'secondary-200'),
382
- 40: map-get($ecl-colors, 'secondary-100'),
383
- 20: map-get($ecl-colors, 'secondary-75'),
384
- 10: map-get($ecl-colors, 'secondary-50'),
385
- 5: map-get($ecl-colors, 'secondary-25'),
386
- 0: map-get($ecl-colors, 'secondary-25')
387
- )
388
- );
389
-
390
- // COLOR CONTEXT
391
-
392
- $color-context-map: (
393
- branding: (
394
- base: '100', dark: '120', light: '80'
395
- ),
396
- neutral: (
397
- base: '100', darkest: '160', darker: '140', dark: '110', light: '80', lighter: '40', lightest: '20', bg: '10', bg-light: '5', bg-lighter: '3'
366
+ da: (
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')
398
380
  ),
399
381
  cta: (
400
- base: '100', darkest: '160', darker: '140', dark: '110', light: '80', lighter: '40', lightest: '20', bg: '10', bg-light: '5'
401
- ),
402
- primary: (
403
- base: '100', darkest: '160', darker: '140', dark: '110', light: '80', lighter: '40', lightest: '20', bg: '10', bg-light: '5'
404
- ),
405
- info: (
406
- base: '100', darkest: '160', darker: '140', dark: '110', light: '80', lighter: '40', lightest: '20', bg: '10', bg-light: '5'
407
- ),
408
- success: (
409
- base: '100', darkest: '160', darker: '140', dark: '110', light: '80', lighter: '40', lightest: '20', bg: '10', bg-light: '5'
410
- ),
411
- warning: (
412
- base: '100', darkest: '160', darker: '140', dark: '110', light: '80', lighter: '40', lightest: '20', bg: '10', bg-light: '5'
413
- ),
414
- danger: (
415
- base: '100', darkest: '160', darker: '140', dark: '110', light: '80', lighter: '40', lightest: '20', bg: '10', bg-light: '5'
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')
416
395
  )
417
396
  );
418
397
 
419
-
420
398
  // COLOR STATES
421
399
 
422
400
  $color-state-map: (
423
401
  branding: (
424
- base: 'branding',
425
- default: 'branding',
426
- dark: 'branding-dark',
427
- light: 'branding-light'
428
- ),
402
+ base: 'br-900',
403
+ default: 'br-900',
404
+ lighter: 'br-700',
405
+ light: 'br-800',
406
+ dark: 'br-950',
407
+ darker: 'br-950',
408
+ ),
429
409
  primary: (
430
- base: 'primary',
431
- default: 'primary',
432
- on-surface-light: 'primary-darker',
433
- surface-light: 'primary-bg-light',
434
- surface-light-contrast: 'primary-bg-light-contrast',
435
- surface-light-hover: 'primary-lightest',
436
- surface-medium: 'primary-lightest',
437
- on-surface-medium: 'primary-darkest',
438
- border: 'primary-light',
439
- border-light: 'primary-lighter',
440
- border-lighter: 'primary-lightest',
441
- surface: 'primary',
442
- surface-contrast: 'primary-contrast',
443
- surface-hover: 'primary-dark',
444
- surface-hover-contrast: 'primary-dark-contrast'
410
+ base: 'pr-600',
411
+ default: 'pr-700',
412
+ lighter: 'pr-500',
413
+ light: 'pr-600',
414
+ dark: 'pr-900',
415
+ darker: 'pr-950',
416
+ on-surface-light: 'pr-900',
417
+ surface-lighter: 'pr-50',
418
+ surface-light: 'pr-75',
419
+ surface-light-contrast: 'pr-75-contrast',
420
+ surface-light-hover: 'pr-200',
421
+ surface-medium: 'pr-200',
422
+ on-surface-medium: 'pr-950',
423
+ border: 'pr-500',
424
+ border-light: 'pr-300',
425
+ border-lighter: 'pr-200',
426
+ surface: 'pr-600',
427
+ surface-contrast: 'pr-600-contrast',
428
+ surface-hover: 'pr-700',
429
+ surface-hover-contrast: 'pr-700-contrast'
445
430
  ),
446
431
  secondary: (
447
- base: 'neutral',
448
- default: 'neutral-darker',
449
- on-surface-light: 'neutral-darkest',
450
- surface-light: 'neutral-bg-light',
451
- surface-light-contrast: 'neutral-bg-light-contrast',
452
- surface-light-hover: 'neutral-bg',
453
- surface-medium: 'neutral-lightest',
454
- on-surface-medium: 'neutral-darkest',
455
- border: 'neutral-light',
456
- border-light: 'neutral-light',
457
- border-lighter: 'neutral-lightr',
458
- surface: 'neutral-light',
459
- surface-contrast: 'neutral-light-contrast',
460
- surface-hover: 'neutral-lightest',
461
- surface-hover-contrast: 'neutral-lightest-contrast'
432
+ base: 'gr-500',
433
+ default: 'gr-800',
434
+ lighter: 'gr-600',
435
+ light: 'gr-700',
436
+ dark: 'gr-900',
437
+ darker: 'gr-950',
438
+ on-surface-light: 'gr-900',
439
+ surface-lighter: 'gr-50',
440
+ surface-light: 'gr-75',
441
+ surface-light-contrast: 'gr-75-contrast',
442
+ surface-light-hover: 'gr-75',
443
+ surface-medium: 'gr-100',
444
+ on-surface-medium: 'gr-900',
445
+ border: 'gr-500',
446
+ border-light: 'gr-500',
447
+ border-lighter: 'gr-400',
448
+ surface: 'gr-400',
449
+ surface-contrast: 'gr-400-contrast',
450
+ surface-hover: 'gr-300',
451
+ surface-hover-contrast: 'gr-300-contrast'
452
+ ),
453
+ neutral: (
454
+ base: 'grn-500',
455
+ default: 'grn-800',
456
+ lighter: 'grn-600',
457
+ light: 'grn-700',
458
+ dark: 'grn-900',
459
+ darker: 'grn-950',
460
+ on-surface-light: 'grn-900',
461
+ surface-lighter: 'grn-25',
462
+ surface-light: 'grn-50',
463
+ surface-light-contrast: 'grn-50-contrast',
464
+ surface-light-hover: 'grn-75',
465
+ surface-medium: 'grn-100',
466
+ on-surface-medium: 'grn-900',
467
+ border: 'grn-500',
468
+ border-light: 'grn-500',
469
+ border-lighter: 'grn-400',
470
+ surface: 'grn-400',
471
+ surface-contrast: 'grn-400-contrast',
472
+ surface-hover: 'grn-300',
473
+ surface-hover-contrast: 'grn-300-contrast'
462
474
  ),
463
475
  cta: (
464
- base: 'cta',
465
- default: 'cta-darker',
466
- on-surface-light: 'cta-darker',
467
- surface-light: 'cta-bg-light',
468
- surface-light-contrast: 'cta-bg-light-contrast',
469
- surface-light-hover: 'cta-lightest',
470
- surface-medium: 'cta-lightest',
471
- on-surface-medium: 'cta-darkest',
472
- border: 'cta-light',
473
- border-light: 'cta-lighter',
474
- border-lighter: 'cta-lightest',
475
- surface: 'cta',
476
- surface-contrast: 'cta-contrast',
477
- surface-hover: 'cta-dark',
478
- surface-hover-contrast: 'cta-dark-contrast'
476
+ base: 'cta-400',
477
+ default: 'cta-700',
478
+ lighter: 'cta-400',
479
+ light: 'cta-500',
480
+ dark: 'cta-800',
481
+ darker: 'cta-900',
482
+ on-surface-light: 'cta-700',
483
+ surface-lighter: 'cta-25',
484
+ surface-light: 'cta-25',
485
+ surface-light-contrast: 'cta-25-contrast',
486
+ surface-light-hover: 'cta-75',
487
+ surface-medium: 'cta-75',
488
+ on-surface-medium: 'cta-800',
489
+ border: 'cta-300',
490
+ border-light: 'cta-100',
491
+ border-lighter: 'cta-75',
492
+ surface: 'cta-400',
493
+ surface-contrast: 'cta-400-contrast',
494
+ surface-hover: 'cta-500',
495
+ surface-hover-contrast: 'cta-500-contrast'
479
496
  ),
480
497
  info: (
481
- base: 'info',
482
- default: 'info-dark',
483
- on-surface-light: 'info-dark',
484
- surface-light: 'info-bg-light',
485
- surface-light-contrast: 'info-bg-light-contrast',
486
- surface-light-hover: 'info-lightest',
487
- surface-medium: 'info-lightest',
488
- on-surface-medium: 'info-darkest',
489
- border: 'info-light',
490
- border-light: 'info-lighter',
491
- border-lighter: 'info-lightest',
492
- surface: 'info-dark',
493
- surface-contrast: 'info-dark-contrast',
494
- surface-hover: 'info-darker',
495
- surface-hover-contrast: 'info-darker-contrast'
498
+ base: 'in-500',
499
+ default: 'in-600',
500
+ lighter: 'in-400',
501
+ light: 'in-500',
502
+ dark: 'in-800',
503
+ darker: 'in-900',
504
+ on-surface-light: 'in-600',
505
+ surface-lighter: 'in-25',
506
+ surface-light: 'in-50',
507
+ surface-light-contrast: 'in-50-contrast',
508
+ surface-light-hover: 'in-100',
509
+ surface-medium: 'in-100',
510
+ on-surface-medium: 'in-160',
511
+ border: 'in-400',
512
+ border-light: 'in-200',
513
+ border-lighter: 'in-100',
514
+ surface: 'in-600',
515
+ surface-contrast: 'in-600-contrast',
516
+ surface-hover: 'in-800',
517
+ surface-hover-contrast: 'in-800-contrast'
496
518
  ),
497
519
  success: (
498
- base: 'success',
499
- default: 'success-darker',
500
- on-surface-light: 'success-darker',
501
- surface-light: 'success-bg-light',
502
- surface-light-contrast: 'success-bg-light-contrast',
503
- surface-light-hover: 'success-lightest',
504
- surface-medium: 'success-lightest',
505
- on-surface-medium: 'success-darkest',
506
- border: 'success-light',
507
- border-light: 'success-lighter',
508
- border-lighter: 'success-lightest',
509
- surface: 'success-darker',
510
- surface-contrast: 'success-darker-contrast',
511
- surface-hover: 'success-darkest',
512
- surface-hover-contrast: 'success-darkest-contrast'
520
+ base: 'su-700',
521
+ default: 'su-950',
522
+ lighter: 'su-700',
523
+ light: 'su-800',
524
+ dark: 'su-900',
525
+ darker: 'su-950',
526
+ on-surface-light: 'su-950',
527
+ surface-lighter: 'su-50',
528
+ surface-light: 'su-100',
529
+ surface-light-contrast: 'su-100-contrast',
530
+ surface-light-hover: 'su-300',
531
+ surface-medium: 'su-300',
532
+ on-surface-medium: 'su-950',
533
+ border: 'su-600',
534
+ border-light: 'su-400',
535
+ border-lighter: 'su-300',
536
+ surface: 'su-950',
537
+ surface-contrast: 'su-950-contrast',
538
+ surface-hover: 'su-950',
539
+ surface-hover-contrast: 'su-950-contrast'
513
540
  ),
514
541
  warning: (
515
- base: 'warning',
516
- default: 'warning-darker',
517
- on-surface-light: 'warning-darker',
518
- surface-light: 'warning-bg-light',
519
- surface-light-contrast: 'warning-bg-light-contrast',
520
- surface-light-hover: 'warning-lightest',
521
- surface-medium: 'warning-lightest',
522
- on-surface-medium: 'warning-darkest',
523
- border: 'warning-light',
524
- border-light: 'warning-lighter',
525
- border-lighter: 'warning-lightest',
526
- surface: 'warning',
527
- surface-contrast: 'warning-contrast',
528
- surface-hover: 'warning-dark',
529
- surface-hover-contrast: 'warning-dark-contrast'
542
+ base: 'wa-500',
543
+ default: 'wa-800',
544
+ lighter: 'wa-500',
545
+ light: 'wa-600',
546
+ dark: 'wa-900',
547
+ darker: 'wa-950',
548
+ on-surface-light: 'wa-140',
549
+ surface-lighter: 'wa-25',
550
+ surface-light: 'wa-50',
551
+ surface-light-contrast: 'wa-50-contrast',
552
+ surface-light-hover: 'wa-100',
553
+ surface-medium: 'wa-100',
554
+ on-surface-medium: 'wa-900',
555
+ border: 'wa-400',
556
+ border-light: 'wa-200',
557
+ border-lighter: 'wa-100',
558
+ surface: 'wa-500',
559
+ surface-contrast: 'wa-500-contrast',
560
+ surface-hover: 'wa-600',
561
+ surface-hover-contrast: 'wa-600-contrast'
530
562
  ),
531
563
  danger: (
532
- base: 'danger',
533
- default: 'danger',
534
- on-surface-light: 'danger-dark',
535
- surface-light: 'danger-bg-light',
536
- surface-light-contrast: 'danger-bg-light-contrast',
537
- surface-light-hover: 'danger-lightest',
538
- surface-medium: 'danger-lightest',
539
- on-surface-medium: 'danger-darker',
540
- border: 'danger-light',
541
- border-light: 'danger-lighter',
542
- border-lighter: 'danger-lightest',
543
- surface: 'danger',
544
- surface-contrast: 'danger-contrast',
545
- surface-hover: 'danger',
546
- surface-hover-contrast: 'danger-contrast'
564
+ base: 'da-600',
565
+ default: 'da-600',
566
+ lighter: 'da-400',
567
+ light: 'da-500',
568
+ dark: 'da-700',
569
+ darker: 'da-800',
570
+ on-surface-light: 'da-700',
571
+ surface-lighter: 'da-50',
572
+ surface-light: 'da-75',
573
+ surface-light-contrast: 'da-75-contrast',
574
+ surface-light-hover: 'da-200',
575
+ surface-medium: 'da-200',
576
+ on-surface-medium: 'da-900',
577
+ border: 'da-500',
578
+ border-light: 'da-300',
579
+ border-lighter: 'da-200',
580
+ surface: 'da-600',
581
+ surface-contrast: 'da-600-contrast',
582
+ surface-hover: 'da-700',
583
+ surface-hover-contrast: 'da-700-contrast'
547
584
  ),
548
585
  );
549
586
 
@@ -2,22 +2,22 @@
2
2
  @use '../02-tokens/maps-dark-theme' as maps;
3
3
 
4
4
  html.eui-t-dark {
5
- --eui-c-bg: var(--eui-bc-neutral-10);
5
+ --eui-c-bg: var(--eui-bc-gr-50);
6
6
 
7
- --eui-c-surface-page: var(--eui-bc-neutral-10);
8
- --eui-c-surface-shell: var(--eui-bc-neutral-10);
9
- --eui-c-surface-container: var(--eui-bc-neutral-5);
10
- --eui-c-surface-container-1: var(--eui-bc-neutral-10);
11
- --eui-c-surface-container-2: var(--eui-bc-neutral-20);
12
- --eui-c-surface-container-3: var(--eui-bc-neutral-40);
7
+ --eui-c-surface-page: var(--eui-bc-grn-25);
8
+ --eui-c-surface-shell: var(--eui-bc-grn-50);
9
+ --eui-c-surface-container: var(--eui-bc-grn-50);
10
+ --eui-c-surface-container-1: var(--eui-bc-grn-50);
11
+ --eui-c-surface-container-2: var(--eui-bc-grn-75);
12
+ --eui-c-surface-container-3: var(--eui-bc-grn-75);
13
13
 
14
- --eui-c-divider: var(--eui-bc-neutral-40);
15
- --eui-c-divider-light: var(--eui-bc-neutral-20);
14
+ --eui-c-divider: var(--eui-bc-grn-300);
15
+ --eui-c-divider-light: var(--eui-bc-grn-200);
16
16
 
17
- --eui-c-focus: var(--eui-bc-primary-60);
18
- --eui-c-active-bg-alt: var(--eui-bc-primary-10);
17
+ --eui-c-focus: var(--eui-bc-pr-400);
18
+ --eui-c-active-bg-alt: var(--eui-bc-pr-100);
19
19
 
20
- --_eui-scrollbars-foreground-color: var(--eui-bc-neutral-40);
20
+ --_eui-scrollbars-foreground-color: var(--eui-bc-grn-300);
21
21
 
22
22
  // COLOR SHADES
23
23
  @each $color, $shades in maps.$color-map {