@ilo-org/styles 1.8.5 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/css/components/accordion.css +1 -1
  2. package/css/components/blockquote.css +1 -1
  3. package/css/components/breadcrumb.css +1 -1
  4. package/css/components/button.css +1 -1
  5. package/css/components/callout.css +1 -1
  6. package/css/components/card.css +1 -1
  7. package/css/components/cardgroup.css +1 -1
  8. package/css/components/checkbox.css +1 -1
  9. package/css/components/container.css +1 -1
  10. package/css/components/contextmenu.css +1 -1
  11. package/css/components/datacard.css +1 -1
  12. package/css/components/datepicker.css +1 -1
  13. package/css/components/detailcard.css +1 -1
  14. package/css/components/dropdown.css +1 -1
  15. package/css/components/empty.css +1 -1
  16. package/css/components/factlistcard.css +1 -1
  17. package/css/components/featurecard.css +1 -1
  18. package/css/components/fieldset.css +1 -1
  19. package/css/components/file-upload.css +1 -1
  20. package/css/components/footer.css +1 -1
  21. package/css/components/form.css +1 -1
  22. package/css/components/formcontrol.css +1 -1
  23. package/css/components/hero.css +1 -1
  24. package/css/components/herocard.css +1 -1
  25. package/css/components/image.css +1 -1
  26. package/css/components/input.css +1 -1
  27. package/css/components/languagetoggle.css +1 -1
  28. package/css/components/link.css +1 -1
  29. package/css/components/linklist.css +1 -1
  30. package/css/components/list.css +1 -1
  31. package/css/components/loading.css +1 -1
  32. package/css/components/logogrid.css +1 -1
  33. package/css/components/modal.css +1 -1
  34. package/css/components/multilinkcard.css +1 -1
  35. package/css/components/navigation.css +1 -1
  36. package/css/components/notification.css +1 -1
  37. package/css/components/pagination.css +1 -1
  38. package/css/components/profile.css +1 -1
  39. package/css/components/promocard.css +1 -1
  40. package/css/components/radio.css +1 -1
  41. package/css/components/readmore.css +1 -1
  42. package/css/components/richtext.css +1 -1
  43. package/css/components/scorecard.css +1 -1
  44. package/css/components/searchfield.css +1 -1
  45. package/css/components/socialmedia.css +1 -1
  46. package/css/components/statcard.css +1 -1
  47. package/css/components/status.css +1 -1
  48. package/css/components/table.css +1 -1
  49. package/css/components/tableofcontents.css +1 -1
  50. package/css/components/tabs.css +1 -1
  51. package/css/components/tag.css +1 -1
  52. package/css/components/textarea.css +1 -1
  53. package/css/components/textcard.css +1 -1
  54. package/css/components/textinput.css +1 -1
  55. package/css/components/toggle.css +1 -1
  56. package/css/components/tooltip.css +1 -1
  57. package/css/components/video.css +1 -1
  58. package/css/global.css +1 -1
  59. package/css/global.css.map +1 -1
  60. package/css/index.css +4 -2
  61. package/css/index.css.map +1 -1
  62. package/css/monorepo.css +4 -2
  63. package/css/monorepo.css.map +1 -1
  64. package/package.json +3 -3
  65. package/scss/_animations.scss +25 -1
  66. package/scss/_mixins.scss +16 -18
  67. package/scss/_typography.scss +28 -12
  68. package/scss/components/_accordion.scss +57 -25
  69. package/scss/components/_blockquote.scss +20 -20
  70. package/scss/components/_breadcrumb.scss +1 -1
  71. package/scss/components/_button.scss +3 -3
  72. package/scss/components/_card.scss +1 -0
  73. package/scss/components/_checkbox.scss +63 -25
  74. package/scss/components/_contextmenu.scss +1 -4
  75. package/scss/components/_datacard.scss +23 -0
  76. package/scss/components/_detailcard.scss +95 -1
  77. package/scss/components/_dropdown.scss +66 -138
  78. package/scss/components/_factlistcard.scss +10 -0
  79. package/scss/components/_featurecard.scss +24 -2
  80. package/scss/components/_fieldset.scss +2 -2
  81. package/scss/components/_file-upload.scss +2 -2
  82. package/scss/components/_footer.scss +30 -68
  83. package/scss/components/_formcontrol.scss +4 -23
  84. package/scss/components/_hero.scss +0 -4
  85. package/scss/components/_herocard.scss +9 -19
  86. package/scss/components/_image.scss +72 -27
  87. package/scss/components/_input.scss +1 -1
  88. package/scss/components/_languagetoggle.scss +8 -2
  89. package/scss/components/_linklist.scss +3 -3
  90. package/scss/components/_multilinkcard.scss +63 -7
  91. package/scss/components/_navigation.scss +12 -27
  92. package/scss/components/_notification.scss +3 -3
  93. package/scss/components/_pagination.scss +1 -1
  94. package/scss/components/_promocard.scss +28 -0
  95. package/scss/components/_readmore.scss +1 -1
  96. package/scss/components/_richtext.scss +15 -63
  97. package/scss/components/_scorecard.scss +23 -0
  98. package/scss/components/_socialmedia.scss +44 -36
  99. package/scss/components/_statcard.scss +27 -3
  100. package/scss/components/_table.scss +4 -5
  101. package/scss/components/_tableofcontents.scss +5 -47
  102. package/scss/components/_textarea.scss +1 -1
  103. package/scss/components/_textcard.scss +19 -0
  104. package/scss/components/_textinput.scss +1 -1
  105. package/scss/components/_tooltip.scss +1 -1
  106. package/scss/components/_video.scss +4 -19
  107. package/scss/components/index.scss +0 -2
  108. package/scss/components/navigation/_nav-complex.scss +16 -161
  109. package/scss/components/navigation/_nav-main.scss +127 -0
  110. package/scss/components/navigation/index.scss +2 -4
  111. package/scss/components/navigation/{_nav-dropdown.scss → internal/_nav-dropdown.scss} +4 -4
  112. package/scss/components/navigation/{_nav-grid.scss → internal/_nav-grid.scss} +4 -4
  113. package/scss/components/navigation/{_nav-menu.scss → internal/_nav-menu.scss} +31 -6
  114. package/scss/components/navigation/internal/_nav-shared.scss +206 -0
  115. package/scss/components/navigation/internal/index.scss +5 -0
  116. package/scss/components/navigation/{mobile → internal/mobile}/_nav-mobile-drawer.scss +4 -4
  117. package/scss/components/navigation/{mobile → internal/mobile}/_nav-mobile-menu.scss +4 -4
  118. package/scss/components/navigation/{mobile → internal/mobile}/_nav-mobile.scss +25 -4
  119. package/scss/theme/_typography.scss +2 -4
  120. package/css/components/credit.css +0 -1
  121. package/css/components/heading.css +0 -1
  122. package/scss/components/_credit.scss +0 -112
  123. package/scss/components/_heading.scss +0 -74
  124. /package/scss/components/navigation/{mobile → internal/mobile}/index.scss +0 -0
@@ -147,40 +147,21 @@
147
147
 
148
148
  &__size {
149
149
  &__small {
150
- font-family: var(--ilo-fonts-copy);
151
- font-size: px-to-rem(map-get($type, "label-small", "size"));
152
- letter-spacing: px-to-rem(
153
- map-get($type, "label-small", "letter-spacing")
154
- );
155
- line-height: px-to-rem(map-get($type, "label-small", "line-height"));
156
- font-weight: 400;
150
+ @include typography("highlight-small-bold");
157
151
  }
158
152
 
159
153
  &__medium {
160
- font-family: var(--ilo-fonts-display);
161
- font-size: px-to-rem(map-get($type, "label-medium", "size"));
162
- letter-spacing: px-to-rem(
163
- map-get($type, "label-medium", "letter-spacing")
164
- );
165
- line-height: px-to-rem(map-get($type, "label-medium", "line-height"));
166
- font-weight: 700;
154
+ @include typography("highlight-medium-bold");
167
155
  }
168
156
 
169
157
  &__large {
170
- font-family: var(--ilo-fonts-display);
171
- font-size: px-to-rem(map-get($type, "label-large", "size"));
172
- letter-spacing: px-to-rem(
173
- map-get($type, "label-large", "letter-spacing")
174
- );
175
- line-height: px-to-rem(map-get($type, "label-large", "line-height"));
176
- font-weight: 700;
158
+ @include typography("highlight-large");
177
159
  }
178
160
  }
179
161
 
180
162
  label {
181
163
  font-family: inherit;
182
164
  font-size: inherit;
183
- letter-spacing: inherit;
184
165
  line-height: inherit;
185
166
  font-weight: inherit;
186
167
  }
@@ -198,7 +179,7 @@
198
179
  grid-area: helper;
199
180
  color: var(--ilo-form-control-helper-color);
200
181
  font-family: var(--ilo-fonts-copy);
201
- @include font-styles("body-xxs");
182
+ @include typography("body-xsmall");
202
183
  }
203
184
 
204
185
  .ilo--tooltip--wrapper {
@@ -355,10 +355,6 @@
355
355
  bottom: 0;
356
356
  }
357
357
  }
358
-
359
- &--wrapper {
360
- left: 2px;
361
- }
362
358
  }
363
359
  }
364
360
 
@@ -99,7 +99,7 @@
99
99
  }
100
100
 
101
101
  &--datecopy {
102
- @include font-styles("body-small");
102
+ @include typography("body-medium");
103
103
  margin-bottom: px-to-rem(28px);
104
104
  color: map-get($color, "hero", "card", "light", "datecopy", "color");
105
105
 
@@ -118,8 +118,8 @@
118
118
  }
119
119
 
120
120
  &--eyebrow {
121
- @include font-styles("body-small");
122
- margin-bottom: px-to-rem(16px);
121
+ @include typography("body-medium");
122
+ margin-bottom: spacing(4);
123
123
  color: map-get($color, "hero", "card", "light", "eyebrow", "color");
124
124
 
125
125
  #{$c}__theme__dark & {
@@ -136,30 +136,20 @@
136
136
  }
137
137
 
138
138
  &--intro {
139
- @include font-styles("body-small");
140
- margin-bottom: px-to-rem(28px);
139
+ @include typography("body-large", true);
141
140
 
142
141
  @include breakpoint("lg") {
143
- @include font-styles("base");
142
+ @include typography("body-large");
144
143
  }
144
+ margin-bottom: spacing(7);
145
145
  }
146
146
 
147
147
  &--title {
148
- @include font-styles("headline-3");
149
- @include textmargin(
150
- "margin-bottom",
151
- 40px,
152
- "headline-2",
153
- "display",
154
- "base",
155
- "copy"
156
- );
157
-
158
- font-family: var(--ilo-fonts-display);
159
- font-weight: 700;
148
+ @include typography("heading-1", true);
149
+ margin-bottom: spacing(4);
160
150
 
161
151
  @include breakpoint("lg") {
162
- @include font-styles("headline-2");
152
+ @include typography("heading-1");
163
153
  }
164
154
  }
165
155
  }
@@ -2,7 +2,40 @@
2
2
  @use "../functions" as *;
3
3
  @import "../mixins";
4
4
 
5
+ @mixin image-caption-styles {
6
+ figcaption {
7
+ border-inline-start: var(--ilo-border-lg) solid
8
+ var(--ilo-color-borders-default);
9
+ color: var(--ilo-color-gray-accessible);
10
+ font-size: var(--ilo-font-size-sm);
11
+ line-height: var(--ilo-line-height-xlg);
12
+ font-weight: var(--ilo-font-weight-regular);
13
+ letter-spacing: var(--ilo-letter-spacing-md);
14
+ margin-top: spacing(4);
15
+ padding-inline-start: spacing(2);
16
+ }
17
+ }
18
+
19
+ @mixin image-caption-dark-styles {
20
+ figcaption {
21
+ color: var(--ilo-color-white);
22
+ border-inline-color: var(--ilo-color-gray-light-semi-transparent);
23
+ }
24
+ }
25
+
26
+ @mixin image-styles {
27
+ figure {
28
+ width: 100%;
29
+ line-height: 0;
30
+ }
31
+
32
+ img {
33
+ width: 100%;
34
+ }
35
+ }
36
+
5
37
  .ilo--image {
38
+ $self: &;
6
39
  position: relative;
7
40
 
8
41
  &--wrapper {
@@ -11,45 +44,57 @@
11
44
  width: 100%;
12
45
  }
13
46
 
14
- &--img {
15
- line-height: 0;
16
- }
47
+ @include image-styles;
48
+ @include image-caption-styles;
17
49
 
18
- &--img,
19
- img {
20
- width: 100%;
50
+ &--credit {
51
+ @include caption-icon-wrapper("right", auto, 24px);
52
+ position: absolute;
53
+ bottom: 0;
54
+ left: 0;
21
55
  }
22
56
 
23
- &--caption {
24
- border-left: var(--ilo-border-lg) solid var(--ilo-color-borders-default);
25
- color: var(--ilo-color-gray-accessible);
26
- font-weight: var(--ilo-font-weight-regular);
27
- margin-top: spacing(4);
57
+ &--tooltip {
28
58
  padding-left: spacing(2);
29
- @include font-styles("image-caption");
59
+ padding-right: spacing(1);
30
60
  }
31
61
 
32
- .ilo--credit {
33
- bottom: 0;
34
- left: 0;
35
- position: absolute;
62
+ &--label {
63
+ display: none;
64
+ font-size: var(--ilo-font-size-xsm);
65
+ line-height: var(--ilo-line-height-xsm);
66
+ color: var(--ilo-color-gray-light);
67
+ padding-left: spacing(3);
68
+ padding-right: spacing(2);
69
+ }
36
70
 
37
- @include breakpoint("lg") {
38
- bottom: -#{px-to-rem(4px)};
71
+ [dir="rtl"] & {
72
+ &--credit {
73
+ @include caption-icon-wrapper("left", auto, 24px);
74
+ position: absolute;
75
+ left: auto;
76
+ right: 0;
39
77
  }
40
78
  }
41
79
 
42
- [dir="rtl"] & {
43
- .ilo--image--caption {
44
- border-left: none;
45
- border-right: var(--ilo-border-lg) solid var(--ilo-color-borders-default);
46
- padding-left: 0;
47
- padding-right: spacing(2);
80
+ @include breakpoint("lg") {
81
+ &--label {
82
+ display: block;
83
+ }
84
+ &--tooltip {
85
+ display: none;
86
+ }
87
+ }
88
+
89
+ &__theme__dark {
90
+ @include image-caption-dark-styles;
91
+
92
+ #{$self}--credit {
93
+ --ilo-caption-icon-wrapper-bg-color: var(--ilo-color-white);
48
94
  }
49
95
 
50
- .ilo--credit {
51
- left: auto;
52
- right: 0;
96
+ #{$self}--label {
97
+ color: var(--ilo-color-gray-charcoal);
53
98
  }
54
99
  }
55
100
  }
@@ -17,7 +17,7 @@
17
17
  box-sizing: border-box;
18
18
  font-family: var(--ilo-fonts-copy);
19
19
  font-weight: map-get($type, "weights", "section");
20
- @include font-styles("label-medium");
20
+ @include typography("highlight-medium");
21
21
  height: px-to-rem(48px);
22
22
  margin: spacing(0);
23
23
  outline: none;
@@ -14,6 +14,12 @@
14
14
  --ilo--language-toggle-color: var(--ilo-color-blue-dark);
15
15
  --ilo--language-toggle-color-hover: var(--ilo-color-white);
16
16
  }
17
+
18
+ &__dark-blue {
19
+ --ilo--language-toggle-color: var(--ilo-color-white);
20
+ --ilo--language-toggle-color-hover: var(--ilo-color-blue);
21
+ --ilo--language-toggle-bg-hover: var(--ilo-color-white);
22
+ }
17
23
  }
18
24
 
19
25
  display: inline-block;
@@ -43,7 +49,7 @@
43
49
 
44
50
  &:hover,
45
51
  &:focus,
46
- &__open {
52
+ &[aria-expanded="true"] {
47
53
  --ilo--language-toggle-color: var(--ilo--language-toggle-color-hover);
48
54
  --ilo--language-toggle-bg: var(--ilo--language-toggle-bg-hover);
49
55
  }
@@ -71,7 +77,7 @@
71
77
  font-weight: 700;
72
78
  font-size: px-to-rem(14px);
73
79
  line-height: 135%;
74
- letter-spacing: -2%;
80
+ letter-spacing: var(--ilo-letter-spacing-sm);
75
81
  }
76
82
 
77
83
  &--context-menu {
@@ -10,7 +10,7 @@
10
10
  &--headline {
11
11
  font-family: var(--ilo-fonts-display);
12
12
  font-weight: map-get($type, "weights", "label");
13
- @include font-styles("headline-5");
13
+ @include typography("heading-3");
14
14
  @include textmargin("margin-bottom", 30px, "headline-5", "display", 0, 0);
15
15
  }
16
16
 
@@ -18,7 +18,7 @@
18
18
  &--headline {
19
19
  font-family: var(--ilo-fonts-display);
20
20
  font-weight: map-get($type, "weights", "label");
21
- @include font-styles("headline-6");
21
+ @include typography("highlight-large");
22
22
  @include textmargin("margin-bottom", 27px, "headline-6", "display", 0, 0);
23
23
  @include textmargin(
24
24
  "margin-top",
@@ -90,7 +90,7 @@
90
90
  color: map-get($color, "link", "text", "default");
91
91
  font-family: var(--ilo-fonts-display);
92
92
  font-weight: map-get($type, "weights", "section");
93
- @include font-styles("body-small");
93
+ @include typography("highlight-medium-bold");
94
94
  padding-top: spacing(4);
95
95
  padding-bottom: spacing(4);
96
96
  text-decoration: none;
@@ -25,6 +25,44 @@
25
25
  filter: unset;
26
26
  }
27
27
 
28
+ #{$self}--skeleton--eyebrow {
29
+ @include skeleton-element(12px, 10%);
30
+ }
31
+
32
+ #{$self}--skeleton--title-1 {
33
+ @include skeleton-element(24px, 70%);
34
+ margin-top: spacing(4);
35
+ }
36
+
37
+ #{$self}--skeleton--title-2 {
38
+ @include skeleton-element(24px, 85%);
39
+ margin-top: spacing(2);
40
+ }
41
+
42
+ #{$self}--skeleton--row-image,
43
+ #{$self}--skeleton--column-image {
44
+ display: none;
45
+ }
46
+
47
+ #{$self}--skeleton--intro-1 {
48
+ @include skeleton-element(14px, 85%);
49
+ margin-top: spacing(6);
50
+ }
51
+ #{$self}--skeleton--intro-2 {
52
+ @include skeleton-element(14px, 60%);
53
+ margin-top: spacing(2);
54
+ }
55
+
56
+ #{$self}--skeleton--intro-3 {
57
+ @include skeleton-element(14px, 55%);
58
+ margin-top: spacing(2);
59
+ }
60
+
61
+ #{$self}--skeleton--intro-4 {
62
+ @include skeleton-element(14px, 90%);
63
+ margin-top: spacing(2);
64
+ }
65
+
28
66
  #{$self}--image--wrapper {
29
67
  display: none;
30
68
  background-color: var(--ilo-color-blue-lighter);
@@ -55,22 +93,22 @@
55
93
  }
56
94
 
57
95
  #{$self}--title {
58
- @include font-styles("headline-5");
96
+ @include typography("heading-2", true);
59
97
  margin-bottom: var(--standard-spacing);
60
98
  color: var(--ilo-color-gray-charcoal);
61
99
 
62
100
  @include breakpoint("md") {
63
- @include font-styles("headline-4");
101
+ @include typography("heading-2");
64
102
  }
65
103
  }
66
104
 
67
105
  #{$self}--intro {
68
- @include font-styles("body-small");
106
+ @include typography("body-large", true);
69
107
  margin-bottom: var(--standard-spacing);
70
108
  color: var(--ilo-color-gray-charcoal);
71
109
 
72
110
  @include breakpoint("md") {
73
- @include font-styles("base");
111
+ @include typography("body-large");
74
112
  }
75
113
  }
76
114
 
@@ -78,6 +116,12 @@
78
116
  &__standard {
79
117
  --max-width: #{px-to-rem(536px)};
80
118
  padding: spacing(12) spacing(10);
119
+
120
+ #{$self}--skeleton--row-image {
121
+ @include skeleton-element(250px, 100%);
122
+ display: block;
123
+ margin-top: spacing(6);
124
+ }
81
125
  }
82
126
 
83
127
  &__narrow {
@@ -88,6 +132,12 @@
88
132
  display: none;
89
133
  }
90
134
 
135
+ #{$self}--skeleton--row-image {
136
+ @include skeleton-element(184px, 100%);
137
+ display: block;
138
+ margin-top: spacing(6);
139
+ }
140
+
91
141
  #{$self}--content {
92
142
  #{$self}--image--wrapper {
93
143
  display: block;
@@ -97,14 +147,14 @@
97
147
 
98
148
  #{$self}--title {
99
149
  @include breakpoint("md") {
100
- @include font-styles("headline-5");
150
+ @include typography("heading-3", true);
101
151
  margin-bottom: var(--narrow-spacing);
102
152
  }
103
153
  }
104
154
 
105
155
  #{$self}--intro {
106
156
  @include breakpoint("md") {
107
- @include font-styles("body-small");
157
+ @include typography("body-medium", true);
108
158
  margin-bottom: var(--narrow-spacing);
109
159
  }
110
160
  }
@@ -113,9 +163,15 @@
113
163
  &__wide,
114
164
  &__fluid {
115
165
  --max-width: #{px-to-rem(1104px)};
116
-
117
166
  padding: spacing(10) spacing(6) spacing(12);
118
167
 
168
+ #{$self}--skeleton--column-image {
169
+ @include skeleton-element(230px, 100%);
170
+ display: block;
171
+ // Margin for single column mobile layout
172
+ margin-bottom: spacing(6);
173
+ }
174
+
119
175
  #{$self}--title {
120
176
  margin-bottom: spacing(3);
121
177
  }
@@ -132,7 +132,7 @@
132
132
 
133
133
  &--link {
134
134
  @include dataurlicon("chevron_left", $brand-ilo-white);
135
- @include font-styles("language-switcher");
135
+ @include typography("body-small");
136
136
  appearance: none;
137
137
  background-color: inherit;
138
138
  background-position: px-to-rem(12px) 50%;
@@ -141,8 +141,6 @@
141
141
  border: none;
142
142
  color: $brand-ilo-white;
143
143
  cursor: pointer;
144
- font-family: var(--ilo-fonts-display);
145
- font-weight: 500;
146
144
  padding: spacing(4) spacing(4) spacing(4) spacing(9);
147
145
  text-decoration: none;
148
146
  transition: all 150ms ease-out;
@@ -252,7 +250,7 @@
252
250
  }
253
251
 
254
252
  &--logo-tagline {
255
- @include font-styles("headline-6");
253
+ @include typography("highlight-large");
256
254
  color: $brand-ilo-white;
257
255
  display: none;
258
256
  font-family: var(--ilo-fonts-display);
@@ -265,10 +263,9 @@
265
263
  }
266
264
 
267
265
  &--small {
268
- @include font-styles("tagline");
266
+ @include typography("body-xsmall");
269
267
  color: $brand-ilo-ramp-blue;
270
268
  display: block;
271
- font-weight: 500;
272
269
  }
273
270
  }
274
271
  }
@@ -300,9 +297,7 @@
300
297
  }
301
298
 
302
299
  &--items {
303
- @include font-styles("nav-md");
304
- font-family: var(--ilo-fonts-display);
305
- font-weight: 500;
300
+ @include typography("highlight-medium");
306
301
 
307
302
  @include breakpoint("lg") {
308
303
  display: flex;
@@ -347,7 +342,7 @@
347
342
 
348
343
  &--trigger {
349
344
  @include dataurlicon("chevron_right", $brand-ilo-dark-blue);
350
- @include font-styles("nav-md");
345
+ @include typography("highlight-medium");
351
346
 
352
347
  appearance: none;
353
348
  background-color: $brand-ilo-white;
@@ -359,8 +354,6 @@
359
354
  color: $brand-ilo-dark-blue;
360
355
  cursor: pointer;
361
356
  display: block;
362
- font-family: var(--ilo-fonts-display);
363
- font-weight: 500;
364
357
  padding: spacing(4) spacing(9) spacing(4) spacing(2);
365
358
  line-height: 24px;
366
359
  text-align: left;
@@ -392,7 +385,7 @@
392
385
 
393
386
  @include breakpoint("lg") {
394
387
  @include dataurlicon("plus", $brand-ilo-white);
395
- @include font-styles("nav-bold-b-sm");
388
+ @include typography("highlight-medium-bold");
396
389
 
397
390
  background-color: $brand-ilo-dark-blue;
398
391
  background-position: 90% 55%;
@@ -403,7 +396,6 @@
403
396
  color: $brand-ilo-white;
404
397
  cursor: pointer;
405
398
  display: inline-block;
406
- font-weight: 700;
407
399
  margin-left: spacing(5);
408
400
  padding: 7px spacing(8) 5px 15px;
409
401
  text-align: center;
@@ -477,10 +469,8 @@
477
469
  }
478
470
 
479
471
  &--item {
480
- @include font-styles("nav-md");
472
+ @include typography("highlight-medium");
481
473
  color: $brand-ilo-white;
482
- font-family: var(--ilo-fonts-display);
483
- font-weight: 500;
484
474
  }
485
475
 
486
476
  &--link {
@@ -534,7 +524,7 @@
534
524
 
535
525
  &--language--switcher--button {
536
526
  @include dataurlicon("globe", $brand-ilo-dark-blue);
537
- @include font-styles("nav-md");
527
+ @include typography("highlight-medium");
538
528
 
539
529
  appearance: none;
540
530
  background-color: $brand-ilo-white;
@@ -547,7 +537,6 @@
547
537
  cursor: pointer;
548
538
  display: block;
549
539
  font-family: var(--ilo-fonts-display);
550
- font-weight: 500;
551
540
  padding: spacing(4) spacing(9) spacing(4) spacing(2);
552
541
  line-height: 16px;
553
542
  text-align: left;
@@ -626,7 +615,7 @@
626
615
  }
627
616
 
628
617
  &--button {
629
- @include font-styles("image-credit");
618
+ @include typography("body-xsmall");
630
619
  @include dataurlicon("globe", $brand-ilo-white);
631
620
  appearance: none;
632
621
  background-color: $brand-ilo-dark-blue;
@@ -740,12 +729,10 @@
740
729
  }
741
730
 
742
731
  &--link {
743
- @include font-styles("nav-md");
732
+ @include typography("highlight-medium");
744
733
  background: $brand-ilo-white;
745
734
  color: $brand-ilo-dark-blue;
746
735
  display: flex;
747
- font-family: var(--ilo-fonts-display);
748
- font-weight: 500;
749
736
  padding: 18px spacing(2);
750
737
  text-decoration: none;
751
738
  transition: all 150ms ease-out;
@@ -772,13 +759,11 @@
772
759
  }
773
760
 
774
761
  &--back {
775
- @include font-styles("nav-md");
762
+ @include typography("highlight-medium");
776
763
  background-color: $brand-ilo-white;
777
764
  border: none;
778
765
  color: $brand-ilo-dark-blue;
779
766
  cursor: pointer;
780
- font-family: var(--ilo-fonts-display);
781
- font-weight: 500;
782
767
  padding: spacing(5) spacing(4) spacing(4) spacing(8);
783
768
  position: relative;
784
769
  transition: all 150ms ease-out;
@@ -839,7 +824,7 @@
839
824
  }
840
825
 
841
826
  &--label {
842
- @include font-styles("headline-6");
827
+ @include typography("highlight-large");
843
828
  border-bottom: 3px solid $brand-ilo-grey-light;
844
829
  color: $brand-ilo-black;
845
830
  font-family: var(--ilo-fonts-display);
@@ -100,7 +100,7 @@
100
100
 
101
101
  &--headline {
102
102
  font-weight: 700;
103
- @include font-styles("body-small");
103
+ @include typography("highlight-medium-bold");
104
104
 
105
105
  margin-bottom: spacing(3);
106
106
 
@@ -113,7 +113,7 @@
113
113
 
114
114
  &--copy {
115
115
  font-weight: 400;
116
- @include font-styles("body-xs");
116
+ @include typography("body-small");
117
117
 
118
118
  @include breakpoint("md") {
119
119
  .ilo--notification--inline & {
@@ -134,7 +134,7 @@
134
134
  color: $color-base-neutrals-medium;
135
135
  display: block;
136
136
  font-weight: 400;
137
- @include font-styles("body-xs");
137
+ @include typography("body-small");
138
138
 
139
139
  @include breakpoint("md") {
140
140
  .ilo--notification--inline & {
@@ -33,7 +33,7 @@
33
33
  position: relative;
34
34
  text-indent: -999%;
35
35
  width: px-to-rem(40px);
36
- @include font-styles("label-medium");
36
+ @include typography("highlight-medium");
37
37
 
38
38
  &::before {
39
39
  background-repeat: no-repeat;
@@ -35,6 +35,34 @@
35
35
  padding: spacing(10) spacing(6);
36
36
  width: 100%;
37
37
 
38
+ #{$self}--skeleton--eyebrow {
39
+ @include skeleton-element(12px, 60px);
40
+ }
41
+
42
+ #{$self}--skeleton--title-1 {
43
+ @include skeleton-element(24px, 80%);
44
+ margin-top: spacing(4);
45
+ }
46
+
47
+ #{$self}--skeleton--title-2 {
48
+ @include skeleton-element(24px, 90%);
49
+ margin-top: spacing(2);
50
+ }
51
+
52
+ #{$self}--skeleton--intro-1 {
53
+ @include skeleton-element(14px, 78%);
54
+ margin-top: spacing(4);
55
+ }
56
+ #{$self}--skeleton--intro-2 {
57
+ @include skeleton-element(14px, 70%);
58
+ margin-top: spacing(2);
59
+ }
60
+
61
+ #{$self}--skeleton--intro-3 {
62
+ @include skeleton-element(14px, 78%);
63
+ margin-top: spacing(2);
64
+ }
65
+
38
66
  #{$self}--title {
39
67
  @include typography("heading-3");
40
68
  margin-bottom: spacing(2);
@@ -16,7 +16,7 @@
16
16
  position: relative;
17
17
  text-align: left;
18
18
  width: auto;
19
- @include font-styles("label-medium");
19
+ @include typography("highlight-medium");
20
20
 
21
21
  &:after {
22
22
  background-repeat: no-repeat;