@ilo-org/styles 1.16.0 → 1.17.1

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 (112) hide show
  1. package/css/components/accordion.css +1 -1
  2. package/css/components/audioplayer.css +1 -1
  3. package/css/components/blockquote.css +1 -1
  4. package/css/components/callout.css +1 -1
  5. package/css/components/cardgroup.css +1 -1
  6. package/css/components/checkbox.css +1 -1
  7. package/css/components/contextmenu.css +1 -1
  8. package/css/components/datepicker.css +1 -1
  9. package/css/components/fieldset.css +1 -1
  10. package/css/components/file-upload.css +1 -1
  11. package/css/components/form.css +1 -1
  12. package/css/components/formcontrol.css +1 -1
  13. package/css/components/hero.css +1 -1
  14. package/css/components/herocard.css +1 -1
  15. package/css/components/image.css +1 -1
  16. package/css/components/input.css +1 -1
  17. package/css/components/link.css +1 -1
  18. package/css/components/list.css +1 -1
  19. package/css/components/logogrid.css +1 -1
  20. package/css/components/navigation.css +1 -1
  21. package/css/components/pagination.css +1 -1
  22. package/css/components/radio.css +1 -1
  23. package/css/components/richtext.css +1 -1
  24. package/css/components/searchfield.css +1 -1
  25. package/css/components/table.css +1 -1
  26. package/css/components/textarea.css +1 -1
  27. package/css/components/video.css +1 -1
  28. package/css/global.css.map +1 -1
  29. package/css/index.css +13 -25
  30. package/css/index.css.map +1 -1
  31. package/css/monorepo.css +13 -25
  32. package/css/monorepo.css.map +1 -1
  33. package/package.json +12 -9
  34. package/scss/_animation-mixins.scss +22 -0
  35. package/scss/_animations.scss +3 -19
  36. package/scss/_functions.scss +12 -6
  37. package/scss/_helpers.scss +12 -0
  38. package/scss/_mixins.scss +21 -8
  39. package/scss/components/_accordion.scss +2 -2
  40. package/scss/components/_audioplayer.scss +1 -1
  41. package/scss/components/_blockquote.scss +2 -2
  42. package/scss/components/_breadcrumb.scss +2 -2
  43. package/scss/components/_button.scss +3 -3
  44. package/scss/components/_callout.scss +2 -2
  45. package/scss/components/_card.scss +1 -1
  46. package/scss/components/_cardgroup.scss +1 -1
  47. package/scss/components/_checkbox.scss +1 -1
  48. package/scss/components/_container.scss +2 -2
  49. package/scss/components/_contextmenu.scss +1 -1
  50. package/scss/components/_datacard.scss +1 -1
  51. package/scss/components/_datepicker.scss +2 -1
  52. package/scss/components/_detailcard.scss +1 -1
  53. package/scss/components/_dropdown.scss +2 -2
  54. package/scss/components/_empty.scss +2 -2
  55. package/scss/components/_factlistcard.scss +1 -1
  56. package/scss/components/_featurecard.scss +1 -1
  57. package/scss/components/_fieldset.scss +1 -1
  58. package/scss/components/_file-upload.scss +1 -1
  59. package/scss/components/_footer.scss +2 -2
  60. package/scss/components/_form.scss +1 -1
  61. package/scss/components/_formcontrol.scss +1 -1
  62. package/scss/components/_hero.scss +1 -1
  63. package/scss/components/_herocard.scss +1 -1
  64. package/scss/components/_image.scss +1 -1
  65. package/scss/components/_input.scss +1 -1
  66. package/scss/components/_languagetoggle.scss +2 -2
  67. package/scss/components/_linklist.scss +2 -2
  68. package/scss/components/_list.scss +1 -1
  69. package/scss/components/_loading.scss +2 -2
  70. package/scss/components/_logogrid.scss +1 -1
  71. package/scss/components/_modal.scss +2 -2
  72. package/scss/components/_multilinkcard.scss +1 -1
  73. package/scss/components/_navigation.scss +208 -85
  74. package/scss/components/_notification.scss +5 -4
  75. package/scss/components/_pagination.scss +1 -1
  76. package/scss/components/_profile.scss +2 -2
  77. package/scss/components/_promocard.scss +1 -1
  78. package/scss/components/_radio.scss +1 -1
  79. package/scss/components/_readmore.scss +2 -2
  80. package/scss/components/_richtext.scss +3 -3
  81. package/scss/components/_scorecard.scss +1 -1
  82. package/scss/components/_searchfield.scss +1 -1
  83. package/scss/components/_socialmedia.scss +2 -2
  84. package/scss/components/_statcard.scss +1 -1
  85. package/scss/components/_status.scss +1 -1
  86. package/scss/components/_table.scss +25 -8
  87. package/scss/components/_tableofcontents.scss +1 -1
  88. package/scss/components/_tabs.scss +1 -1
  89. package/scss/components/_tag.scss +1 -1
  90. package/scss/components/_textarea.scss +1 -1
  91. package/scss/components/_textcard.scss +1 -1
  92. package/scss/components/_toggle.scss +1 -1
  93. package/scss/components/_tooltip.scss +1 -1
  94. package/scss/components/_video.scss +33 -16
  95. package/scss/components/navigation/_nav-compact.scss +2 -2
  96. package/scss/components/navigation/_nav-complex.scss +2 -2
  97. package/scss/components/navigation/_nav-main.scss +2 -2
  98. package/scss/components/navigation/internal/_nav-dropdown.scss +2 -2
  99. package/scss/components/navigation/internal/_nav-grid.scss +2 -2
  100. package/scss/components/navigation/internal/_nav-menu.scss +3 -3
  101. package/scss/components/navigation/internal/_nav-shared.scss +2 -2
  102. package/scss/components/navigation/internal/mobile/_nav-mobile-drawer.scss +2 -2
  103. package/scss/components/navigation/internal/mobile/_nav-mobile-menu.scss +2 -2
  104. package/scss/components/navigation/internal/mobile/_nav-mobile.scss +2 -2
  105. package/scss/components/photogallery/_expandable-caption.scss +2 -2
  106. package/scss/components/photogallery/_lightbox.scss +2 -2
  107. package/scss/components/photogallery/_lightboxgallery.scss +2 -2
  108. package/scss/components/photogallery/_photogallery-controls.scss +2 -2
  109. package/scss/components/photogallery/_photogallery-thumbnails.scss +2 -2
  110. package/scss/components/photogallery/_photogallery.scss +2 -2
  111. package/scss/theme/_breakpoints.scss +4 -3
  112. package/scss/theme/_foundation.scss +7 -6
@@ -1,5 +1,5 @@
1
1
  @use "../functions" as *;
2
- @import "../mixins";
2
+ @use "../mixins" as *;
3
3
 
4
4
  .ilo--header {
5
5
  $self: &;
@@ -25,12 +25,8 @@
25
25
  }
26
26
 
27
27
  &--menu {
28
- @include dataurlicon("burger", rgba(255, 255, 255, 1));
29
28
  align-self: center;
30
29
  background-color: transparent;
31
- background-position: center;
32
- background-repeat: no-repeat;
33
- background-size: 32px;
34
30
  border: none;
35
31
  cursor: pointer;
36
32
  height: 32px;
@@ -40,13 +36,26 @@
40
36
  transition: all 150ms ease-out;
41
37
  width: 32px;
42
38
 
39
+ &::before {
40
+ @include icon(
41
+ "burger",
42
+ var(--ilo-color-light-icon-inverse),
43
+ 32px,
44
+ center
45
+ );
46
+ content: "";
47
+ position: absolute;
48
+ inset: 0;
49
+ pointer-events: none;
50
+ }
51
+
43
52
  &:hover,
44
53
  &:focus {
45
- @include dataurlicon("burger", rgba(30, 45, 190, 1));
46
54
  background-color: var(--ilo-color-light-container-bg-subtle);
47
- background-position: center;
48
- background-repeat: no-repeat;
49
- background-size: 32px;
55
+
56
+ &::before {
57
+ background-color: var(--ilo-color-light-action-hover);
58
+ }
50
59
  }
51
60
 
52
61
  @include breakpoint("lg") {
@@ -54,11 +63,7 @@
54
63
  }
55
64
 
56
65
  &--close {
57
- @include dataurlicon("close", rgba(35, 0, 80, 1));
58
66
  background-color: var(--ilo-color-light-container-bg-disabled);
59
- background-position: center;
60
- background-repeat: no-repeat;
61
- background-size: 32px;
62
67
  border: none;
63
68
  cursor: pointer;
64
69
  height: 32px;
@@ -68,13 +73,21 @@
68
73
  transition: all 150ms ease-out;
69
74
  width: 32px;
70
75
 
76
+ &::before {
77
+ @include icon("close", var(--ilo-color-light-icon-brand), 32px, center);
78
+ content: "";
79
+ position: absolute;
80
+ inset: 0;
81
+ pointer-events: none;
82
+ }
83
+
71
84
  &:hover,
72
85
  &:focus {
73
- @include dataurlicon("close", rgba(30, 45, 190, 1));
74
86
  background-color: var(--ilo-color-light-container-bg-subtle);
75
- background-position: center;
76
- background-repeat: no-repeat;
77
- background-size: 32px;
87
+
88
+ &::before {
89
+ background-color: var(--ilo-color-light-action-hover);
90
+ }
78
91
  }
79
92
 
80
93
  @include breakpoint("lg") {
@@ -130,13 +143,9 @@
130
143
  display: none;
131
144
 
132
145
  &--link {
133
- @include dataurlicon("chevron_left", rgba(255, 255, 255, 1));
134
146
  @include typography("body-small");
135
147
  appearance: none;
136
148
  background-color: inherit;
137
- background-position: px-to-rem(12px) 50%;
138
- background-repeat: no-repeat;
139
- background-size: px-to-rem(24px);
140
149
  border: none;
141
150
  color: var(--ilo-color-light-text-inverse);
142
151
  cursor: pointer;
@@ -148,24 +157,51 @@
148
157
  display: flex;
149
158
  justify-content: center;
150
159
  align-items: center;
160
+ position: relative;
161
+
162
+ &::before {
163
+ @include icon(
164
+ "chevron_left",
165
+ var(--ilo-color-light-icon-inverse),
166
+ px-to-rem(24px),
167
+ px-to-rem(12px) 50%
168
+ );
169
+ content: "";
170
+ position: absolute;
171
+ inset: 0;
172
+ pointer-events: none;
173
+ }
151
174
 
152
175
  &:focus,
153
176
  &:hover {
154
- @include dataurlicon("chevron_left", rgba(30, 45, 190, 1));
155
177
  background-color: var(--ilo-color-light-container-bg-subtle);
156
178
  color: var(--ilo-color-light-action-hover);
179
+
180
+ &::before {
181
+ background-color: var(--ilo-color-light-action-hover);
182
+ }
157
183
  }
158
184
 
159
185
  [dir="rtl"] {
160
- @include dataurlicon("chevron_right", rgba(255, 255, 255, 1));
161
- background-position: calc(100% - 16px) 50%;
162
186
  padding: 16px 36px 16px 16px;
163
187
 
188
+ &::before {
189
+ @include icon(
190
+ "chevron_right",
191
+ var(--ilo-color-light-icon-inverse),
192
+ px-to-rem(24px),
193
+ calc(100% - 16px) 50%
194
+ );
195
+ }
196
+
164
197
  &:focus,
165
198
  &:hover {
166
- @include dataurlicon("chevron_right", rgba(30, 45, 190, 1));
167
199
  background-color: var(--ilo-color-light-container-bg-subtle);
168
200
  color: var(--ilo-color-light-action-hover);
201
+
202
+ &::before {
203
+ background-color: var(--ilo-color-light-action-hover);
204
+ }
169
205
  }
170
206
  }
171
207
 
@@ -340,15 +376,10 @@
340
376
  }
341
377
 
342
378
  &--trigger {
343
- @include dataurlicon("chevron_right", rgba(35, 0, 80, 1));
344
379
  @include typography("highlight-medium");
345
380
 
346
381
  appearance: none;
347
382
  background-color: var(--ilo-color-light-container-bg-default);
348
- background-position: calc(100% - 16px) 55%;
349
- background-repeat: no-repeat;
350
- background-size: 24px;
351
- background-position-y: center;
352
383
  border: none;
353
384
  color: var(--ilo-color-light-text-brand);
354
385
  cursor: pointer;
@@ -358,38 +389,59 @@
358
389
  text-align: left;
359
390
  transition: all 150ms ease-out;
360
391
  width: 100%;
392
+ position: relative;
393
+
394
+ &::before {
395
+ @include icon(
396
+ "chevron_right",
397
+ var(--ilo-color-light-icon-brand),
398
+ 24px,
399
+ calc(100% - 16px) center
400
+ );
401
+ content: "";
402
+ position: absolute;
403
+ inset: 0;
404
+ pointer-events: none;
405
+ }
361
406
 
362
407
  &:focus,
363
408
  &:hover {
364
- @include dataurlicon("chevron_right", rgba(30, 45, 190, 1));
365
409
  background-color: var(--ilo-color-light-container-bg-subtle);
366
410
  color: var(--ilo-color-light-action-hover);
411
+
412
+ &::before {
413
+ background-color: var(--ilo-color-light-action-hover);
414
+ }
367
415
  }
368
416
 
369
417
  [dir="rtl"] & {
370
- @include dataurlicon("chevron_left", rgba(35, 0, 80, 1));
371
418
  background-color: var(--ilo-color-light-container-bg-default);
372
- background-position: 16px 55%;
373
- background-repeat: no-repeat;
374
- background-size: 24px;
375
419
  text-align: right;
376
420
 
421
+ &::before {
422
+ @include icon(
423
+ "chevron_left",
424
+ var(--ilo-color-light-icon-brand),
425
+ 24px,
426
+ 16px 55%
427
+ );
428
+ }
429
+
377
430
  &:focus,
378
431
  &:hover {
379
- @include dataurlicon("chevron_left", rgba(30, 45, 190, 1));
380
432
  background-color: var(--ilo-color-light-container-bg-subtle);
381
433
  color: var(--ilo-color-light-action-hover);
434
+
435
+ &::before {
436
+ background-color: var(--ilo-color-light-action-hover);
437
+ }
382
438
  }
383
439
  }
384
440
 
385
441
  @include breakpoint("lg") {
386
- @include dataurlicon("plus", rgba(255, 255, 255, 1));
387
442
  @include typography("highlight-medium-bold");
388
443
 
389
444
  background-color: var(--ilo-color-light-container-bg-brand);
390
- background-position: 90% 55%;
391
- background-repeat: no-repeat;
392
- background-size: 20px;
393
445
  border: 1.5px solid rgba(184, 196, 204, 0.5);
394
446
  border-radius: 2px;
395
447
  color: var(--ilo-color-light-text-inverse);
@@ -401,27 +453,47 @@
401
453
  transition: all 150ms ease-out;
402
454
  width: auto;
403
455
 
456
+ &::before {
457
+ @include icon(
458
+ "plus",
459
+ var(--ilo-color-light-icon-inverse),
460
+ 20px,
461
+ 90% 55%
462
+ );
463
+ }
464
+
404
465
  &:focus,
405
466
  &:hover {
406
- @include dataurlicon("plus", rgba(30, 45, 190, 1));
407
467
  background-color: var(--ilo-color-light-container-bg-default);
408
468
  border-color: var(--ilo-color-light-border-inverse);
409
469
  color: var(--ilo-color-light-action-hover);
470
+
471
+ &::before {
472
+ background-color: var(--ilo-color-light-action-hover);
473
+ }
410
474
  }
411
475
 
412
476
  [dir="rtl"] & {
413
- @include dataurlicon("plus", rgba(255, 255, 255, 1));
414
477
  background-color: var(--ilo-color-light-container-bg-brand);
415
- background-repeat: no-repeat;
416
- background-size: 20px;
417
- background-position: 10% 55%;
418
478
  padding: 7px 15px 5px spacing(8);
419
479
 
480
+ &::before {
481
+ @include icon(
482
+ "plus",
483
+ var(--ilo-color-light-icon-inverse),
484
+ 20px,
485
+ 10% 55%
486
+ );
487
+ }
488
+
420
489
  &:focus,
421
490
  &:hover {
422
- @include dataurlicon("plus", rgba(30, 45, 190, 1));
423
491
  background-color: var(--ilo-color-light-container-bg-default);
424
492
  color: var(--ilo-color-light-action-hover);
493
+
494
+ &::before {
495
+ background-color: var(--ilo-color-light-action-hover);
496
+ }
425
497
  }
426
498
  }
427
499
  }
@@ -522,15 +594,10 @@
522
594
  }
523
595
 
524
596
  &--language--switcher--button {
525
- @include dataurlicon("globe", rgba(35, 0, 80, 1));
526
597
  @include typography("highlight-medium");
527
598
 
528
599
  appearance: none;
529
600
  background-color: var(--ilo-color-light-container-bg-default);
530
- background-position: calc(100% - 16px) 55%;
531
- background-repeat: no-repeat;
532
- background-size: 24px;
533
- background-position-y: center;
534
601
  border: none;
535
602
  color: var(--ilo-color-light-text-brand);
536
603
  cursor: pointer;
@@ -541,17 +608,38 @@
541
608
  text-align: left;
542
609
  transition: all 150ms ease-out;
543
610
  width: 100%;
611
+ position: relative;
612
+
613
+ &::before {
614
+ @include icon(
615
+ "globe",
616
+ var(--ilo-color-light-icon-brand),
617
+ 24px,
618
+ calc(100% - 16px) center
619
+ );
620
+ content: "";
621
+ position: absolute;
622
+ inset: 0;
623
+ pointer-events: none;
624
+ }
544
625
 
545
626
  &:focus,
546
627
  &:hover {
547
- @include dataurlicon("globe", rgba(30, 45, 190, 1));
548
628
  background-color: var(--ilo-color-light-container-bg-subtle);
549
629
  color: var(--ilo-color-light-action-hover);
630
+
631
+ &::before {
632
+ background-color: var(--ilo-color-light-action-hover);
633
+ }
550
634
  }
551
635
 
552
636
  [dir="rtl"] & {
553
- background-position: 16px 55%;
554
637
  text-align: right;
638
+
639
+ &::before {
640
+ mask-position: 16px 55%;
641
+ -webkit-mask-position: 16px 55%;
642
+ }
555
643
  }
556
644
  }
557
645
 
@@ -615,12 +703,8 @@
615
703
 
616
704
  &--button {
617
705
  @include typography("body-xsmall");
618
- @include dataurlicon("globe", rgba(255, 255, 255, 1));
619
706
  appearance: none;
620
707
  background-color: var(--ilo-color-light-container-bg-brand);
621
- background-repeat: no-repeat;
622
- background-position: px-to-rem(12px) center;
623
- background-size: px-to-rem(24px);
624
708
  border: none;
625
709
  color: var(--ilo-color-light-text-inverse);
626
710
  cursor: pointer;
@@ -629,17 +713,38 @@
629
713
  font-weight: 500;
630
714
  padding: spacing(2) 30px spacing(2) spacing(10);
631
715
  transition: all 150ms ease-out;
716
+ position: relative;
717
+
718
+ &::before {
719
+ @include icon(
720
+ "globe",
721
+ var(--ilo-color-light-icon-inverse),
722
+ px-to-rem(24px),
723
+ px-to-rem(12px) center
724
+ );
725
+ content: "";
726
+ position: absolute;
727
+ inset: 0;
728
+ pointer-events: none;
729
+ }
632
730
 
633
731
  &:hover,
634
732
  &:focus {
635
- @include dataurlicon("globe", rgba(30, 45, 190, 1));
636
733
  background-color: var(--ilo-color-light-container-bg-subtle);
637
734
  color: var(--ilo-color-light-action-hover);
735
+
736
+ &::before {
737
+ background-color: var(--ilo-color-light-action-hover);
738
+ }
638
739
  }
639
740
 
640
741
  [dir="rtl"] & {
641
742
  padding: spacing(2) spacing(10) spacing(2) 30px;
642
- background-position: calc(100% - px-to-rem(12px)) center;
743
+
744
+ &::before {
745
+ mask-position: calc(100% - #{px-to-rem(12px)}) center;
746
+ -webkit-mask-position: calc(100% - #{px-to-rem(12px)}) center;
747
+ }
643
748
  }
644
749
  }
645
750
 
@@ -768,10 +873,12 @@
768
873
  transition: all 150ms ease-out;
769
874
 
770
875
  &::before {
771
- @include dataurlicon("chevron_left", rgba(35, 0, 80, 1));
772
- background-position: 10% center;
773
- background-repeat: no-repeat;
774
- background-size: 24px;
876
+ @include icon(
877
+ "chevron_left",
878
+ var(--ilo-color-light-icon-brand),
879
+ 24px,
880
+ 10% center
881
+ );
775
882
  content: "";
776
883
  display: block;
777
884
  height: 24px;
@@ -786,10 +893,12 @@
786
893
  padding: spacing(5) spacing(8) spacing(4) spacing(4);
787
894
 
788
895
  &::before {
789
- @include dataurlicon("chevron_right", rgba(35, 0, 80, 1));
790
- background-position: 10% center;
791
- background-repeat: no-repeat;
792
- background-size: 24px;
896
+ @include icon(
897
+ "chevron_right",
898
+ var(--ilo-color-light-icon-brand),
899
+ 24px,
900
+ 10% center
901
+ );
793
902
  left: auto;
794
903
  right: 0;
795
904
  }
@@ -801,18 +910,12 @@
801
910
  color: var(--ilo-color-light-action-hover);
802
911
 
803
912
  &::before {
804
- @include dataurlicon("chevron_left", rgba(30, 45, 190, 1));
805
- background-position: 10% center;
806
- background-repeat: no-repeat;
807
- background-size: 24px;
913
+ background-color: var(--ilo-color-light-action-hover);
808
914
  }
809
915
 
810
916
  [dir="rtl"] & {
811
917
  &::before {
812
- @include dataurlicon("chevron_right", rgba(30, 45, 190, 1));
813
- background-position: 10% center;
814
- background-repeat: no-repeat;
815
- background-size: 24px;
918
+ background-color: var(--ilo-color-light-action-hover);
816
919
  }
817
920
  }
818
921
  }
@@ -897,12 +1000,8 @@
897
1000
  }
898
1001
 
899
1002
  &--button {
900
- @include dataurlicon("search", rgba(255, 255, 255, 1));
901
1003
  appearance: none;
902
1004
  background-color: transparent;
903
- background-position: center;
904
- background-repeat: no-repeat;
905
- background-size: 32px 32px;
906
1005
  border: none;
907
1006
  border-radius: 0;
908
1007
  cursor: pointer;
@@ -911,23 +1010,47 @@
911
1010
  text-indent: -999%;
912
1011
  transition: all 150ms ease-out;
913
1012
 
1013
+ &::before {
1014
+ @include icon(
1015
+ "search",
1016
+ var(--ilo-color-light-icon-inverse),
1017
+ 32px 32px,
1018
+ center
1019
+ );
1020
+ content: "";
1021
+ position: absolute;
1022
+ inset: 0;
1023
+ pointer-events: none;
1024
+ }
1025
+
914
1026
  &:hover,
915
1027
  &:focus {
916
- @include dataurlicon("search", rgba(30, 45, 190, 1));
917
1028
  background-color: var(--ilo-color-light-container-bg-subtle);
1029
+
1030
+ &::before {
1031
+ background-color: var(--ilo-color-light-action-hover);
1032
+ }
918
1033
  }
919
1034
 
920
1035
  .ilo--search--open & {
921
- @include dataurlicon("close", rgba(35, 0, 80, 1));
922
1036
  background-color: var(--ilo-color-light-container-bg-default);
923
- background-position: center;
924
- background-repeat: no-repeat;
925
- background-size: 32px 32px;
1037
+
1038
+ &::before {
1039
+ @include icon(
1040
+ "close",
1041
+ var(--ilo-color-light-icon-brand),
1042
+ 32px 32px,
1043
+ center
1044
+ );
1045
+ }
926
1046
 
927
1047
  &:hover,
928
1048
  &:focus {
929
- @include dataurlicon("close", rgba(30, 45, 190, 1));
930
1049
  background-color: var(--ilo-color-light-container-bg-subtle);
1050
+
1051
+ &::before {
1052
+ background-color: var(--ilo-color-light-action-hover);
1053
+ }
931
1054
  }
932
1055
  }
933
1056
  }
@@ -1,6 +1,7 @@
1
+ @use "sass:map";
1
2
  @use "../functions" as *;
2
- @import "../mixins";
3
- @import "../animations";
3
+ @use "../mixins" as *;
4
+ @use "../animations" as *;
4
5
 
5
6
  $notification-types: (
6
7
  "error": (
@@ -119,12 +120,12 @@ $notification-types: (
119
120
  @each $type, $config in $notification-types {
120
121
  .icon--#{$type} & {
121
122
  &:before {
122
- background-color: map-get($config, background);
123
+ background-color: map.get($config, background);
123
124
  }
124
125
 
125
126
  &:after {
126
127
  @include icon(
127
- map-get($config, icon),
128
+ map.get($config, icon),
128
129
  var(--ilo-color-light-icon-inverse)
129
130
  );
130
131
  }
@@ -1,5 +1,5 @@
1
1
  @use "../functions" as *;
2
- @import "../mixins";
2
+ @use "../mixins" as *;
3
3
 
4
4
  .ilo--pagination {
5
5
  --ilo-pagination-page-color: var(--ilo-color-light-text-brand);
@@ -1,6 +1,6 @@
1
1
  @use "../functions" as *;
2
- @import "../animations";
3
- @import "../mixins";
2
+ @use "../animations" as *;
3
+ @use "../mixins" as *;
4
4
 
5
5
  .ilo--profile {
6
6
  $c: &;
@@ -1,6 +1,6 @@
1
1
  @use "../functions" as *;
2
2
  @use "../animations" as *;
3
- @import "../mixins";
3
+ @use "../mixins" as *;
4
4
 
5
5
  .ilo--card {
6
6
  $self: &;
@@ -1,5 +1,5 @@
1
1
  @use "../functions" as *;
2
- @import "../mixins";
2
+ @use "../mixins" as *;
3
3
 
4
4
  .ilo--radio {
5
5
  border: none;
@@ -1,6 +1,6 @@
1
1
  @use "../functions" as *;
2
- @import "../animations";
3
- @import "../mixins";
2
+ @use "../animations" as *;
3
+ @use "../mixins" as *;
4
4
 
5
5
  .ilo--read-more {
6
6
  &--button {
@@ -1,7 +1,7 @@
1
1
  @use "../functions" as *;
2
- @import "./blockquote";
3
- @import "./image";
4
- @import "../mixins";
2
+ @use "./blockquote" as *;
3
+ @use "./image" as *;
4
+ @use "../mixins" as *;
5
5
 
6
6
  .ilo--richtext {
7
7
  --ilo-richtext-color: var(--ilo-color-light-text-brand);
@@ -1,6 +1,6 @@
1
1
  @use "../functions" as *;
2
2
  @use "../animations" as *;
3
- @import "../mixins";
3
+ @use "../mixins" as *;
4
4
 
5
5
  .ilo--card {
6
6
  $self: &;
@@ -1,5 +1,5 @@
1
1
  @use "../functions" as *;
2
- @import "../mixins";
2
+ @use "../mixins" as *;
3
3
 
4
4
  .ilo--searchfield {
5
5
  display: flex;
@@ -1,6 +1,6 @@
1
1
  @use "../functions" as *;
2
- @import "../animations";
3
- @import "../mixins";
2
+ @use "../animations" as *;
3
+ @use "../mixins" as *;
4
4
 
5
5
  .ilo--social-media {
6
6
  $c: &;
@@ -1,6 +1,6 @@
1
1
  @use "../functions" as *;
2
2
  @use "../animations" as *;
3
- @import "../mixins";
3
+ @use "../mixins" as *;
4
4
 
5
5
  .ilo--card {
6
6
  $self: &;
@@ -1,6 +1,6 @@
1
1
  @use "../functions" as *;
2
2
  @use "../animations" as *;
3
- @import "../mixins";
3
+ @use "../mixins" as *;
4
4
 
5
5
  .ilo--status {
6
6
  // Layout