@entur/menu 4.2.19 → 4.2.20

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/styles.css CHANGED
@@ -1,79 +1,147 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ .eds-breadcrumb {
4
+ list-style: none;
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ .eds-breadcrumb__item {
10
+ display: inline-block;
11
+ color: var(--components-menu-breadcrumb-standard-text);
12
+ }
13
+ .eds-contrast .eds-breadcrumb__item {
14
+ color: var(--components-menu-breadcrumb-contrast-text);
15
+ }
16
+
17
+ .eds-breadcrumb__separator {
18
+ margin: 0 0.25rem 0 0.25rem;
19
+ }
20
+
21
+ .eds-breadcrumb__link {
22
+ text-decoration: none;
23
+ color: var(--components-menu-breadcrumb-standard-text);
24
+ background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
25
+ background-repeat: no-repeat;
26
+ background-size: 100% 0.125rem;
27
+ background-position: 0 100%;
28
+ }
29
+ .eds-contrast .eds-breadcrumb__link {
30
+ color: var(--components-menu-breadcrumb-contrast-text);
31
+ background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
32
+ }
33
+ .eds-breadcrumb__link:hover {
34
+ animation: eds-breadcrumb-underline 0.3s ease-in;
35
+ }
36
+ .eds-breadcrumb__link:focus {
37
+ outline: 2px solid #181c56;
38
+ outline-color: var(--basecolors-stroke-focus-standard);
39
+ outline-offset: 0.125rem;
40
+ }
41
+ .eds-contrast .eds-breadcrumb__link:focus {
42
+ outline-color: var(--basecolors-stroke-focus-contrast);
43
+ }
44
+ @keyframes eds-breadcrumb-underline {
45
+ from {
46
+ background-size: 0% 0.125rem;
47
+ }
48
+ to {
49
+ background-size: 100% 0.125rem;
50
+ }
51
+ }
52
+ .eds-breadcrumb__link--current {
53
+ font-weight: 600;
54
+ }
55
+ /* DO NOT CHANGE!*/
56
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
57
  .eds-side-navigation,
4
58
  .eds-side-navigation-group {
5
- --primary-background-color: #f8f8f8;
6
- --primary-text-color: #181c56;
59
+ color: var(--components-menu-sidenavigation-standard-text);
7
60
  }
8
61
  .eds-contrast .eds-side-navigation,
9
62
  .eds-contrast .eds-side-navigation-group {
10
- --primary-background-color: #181c56;
11
- --primary-text-color: colors-brand-white;
63
+ color: var(--components-menu-sidenavigation-contrast-text);
12
64
  }
13
65
 
14
66
  .eds-side-navigation__click-target svg {
15
67
  margin-right: 1rem;
16
- color: #656782;
68
+ color: var(--components-menu-sidenavigation-standard-icon);
17
69
  display: inline-flex;
18
70
  align-self: center;
19
71
  position: relative;
20
72
  top: 0.075em;
21
73
  }
22
74
  .eds-contrast .eds-side-navigation__click-target svg {
23
- color: #aeb7e2;
75
+ color: var(--components-menu-sidenavigation-contrast-icon);
24
76
  }
25
77
 
26
78
  .eds-side-navigation__click-target[disabled] svg {
27
- color: #656782;
79
+ color: var(--components-menu-sidenavigation-standard-icon-disabled);
80
+ }
81
+ .eds-contrast .eds-side-navigation__click-target[disabled] svg {
82
+ color: var(--components-menu-sidenavigation-contrast-icon-disabled);
28
83
  }
29
84
 
30
85
  .eds-side-navigation {
31
86
  --padding-vertical: 1rem;
32
87
  --padding-horizontal: 2.5rem;
33
- background-color: var(--primary-background-color);
34
- color: var(--primary-text-color);
88
+ background-color: var(--components-menu-sidenavigation-standard-background);
89
+ color: var(--components-menu-sidenavigation-standard-text);
35
90
  padding: 0;
36
91
  margin: 0;
37
92
  list-style: none;
38
93
  position: relative;
39
94
  transition: max-width ease-in-out 0.2s;
40
95
  }
96
+ .eds-contrast .eds-side-navigation {
97
+ background-color: var(--components-menu-sidenavigation-contrast-background);
98
+ color: var(--components-menu-sidenavigation-contrast-text);
99
+ }
41
100
  .eds-side-navigation__collapse-button {
42
101
  position: absolute;
43
102
  right: -0.75rem;
44
103
  height: 1.5rem;
45
104
  width: 1.5rem;
46
105
  border-radius: 50%;
106
+ border: none;
47
107
  cursor: pointer;
48
- background: #ffffff;
108
+ background-color: var(--components-menu-sidenavigation-standard-background);
109
+ color: var(--components-menu-sidenavigation-standard-text);
49
110
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
50
- border: 0.0625rem solid #d1d3d3;
51
- color: inherit;
52
111
  padding: 0;
53
112
  display: flex;
54
113
  align-items: center;
55
114
  justify-content: center;
56
- border: none;
57
115
  z-index: 10;
58
116
  }
59
117
  .eds-contrast .eds-side-navigation__collapse-button {
60
- background: #393d79;
118
+ background-color: var(--components-menu-sidenavigation-contrast-background);
119
+ color: var(--components-menu-sidenavigation-contast-text);
61
120
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
62
- border-color: transparent;
63
121
  }
64
122
  .eds-side-navigation__collapse-button svg {
65
123
  margin: 0;
66
124
  top: 0;
67
- color: #181c56;
125
+ color: var(--components-menu-sidenavigation-standard-icon);
68
126
  }
69
127
  .eds-contrast .eds-side-navigation__collapse-button svg {
70
- color: #ffffff;
128
+ color: var(--components-menu-sidenavigation-contrast-icon);
71
129
  }
72
- .eds-side-navigation__collapse-button:focus {
130
+ .eds-side-navigation__collapse-button.focus-visible {
73
131
  outline: 2px solid #181c56;
132
+ outline-color: var(--basecolors-stroke-focus-standard);
133
+ outline-offset: 0.125rem;
74
134
  }
75
- .eds-contrast .eds-side-navigation__collapse-button:focus {
76
- outline: 2px solid #ffffff;
135
+ .eds-side-navigation__collapse-button:focus-visible {
136
+ outline: 2px solid #181c56;
137
+ outline-color: var(--basecolors-stroke-focus-standard);
138
+ outline-offset: 0.125rem;
139
+ }
140
+ .eds-contrast .eds-side-navigation__collapse-button.focus-visible {
141
+ outline-color: var(--basecolors-stroke-focus-contrast);
142
+ }
143
+ .eds-contrast .eds-side-navigation__collapse-button:focus-visible {
144
+ outline-color: var(--basecolors-stroke-focus-contrast);
77
145
  }
78
146
  @media screen and (min-width: 50rem) {
79
147
  .eds-side-navigation {
@@ -84,10 +152,10 @@
84
152
  --padding-vertical: calc(0.5rem + 0.1875rem);
85
153
  }
86
154
  .eds-side-navigation .eds-side-navigation {
87
- background-color: #f3f3f3;
155
+ background-color: var(--components-menu-sidenavigation-standard-background);
88
156
  }
89
157
  .eds-contrast .eds-side-navigation .eds-side-navigation {
90
- background-color: #292b6a;
158
+ background-color: var(--components-menu-sidenavigation-contrast-background);
91
159
  }
92
160
  .eds-side-navigation--collapsed {
93
161
  max-width: 80px;
@@ -98,10 +166,10 @@
98
166
  box-shadow: none;
99
167
  }
100
168
  .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
101
- background-color: #d1d4e3;
169
+ background-color: var(--components-menu-sidenavigation-standard-fill-active);
102
170
  }
103
171
  .eds-contrast .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
104
- background-color: #54568c;
172
+ background-color: var(--components-menu-sidenavigation-contrast-fill-active);
105
173
  }
106
174
 
107
175
  .eds-side-navigation__click-target {
@@ -110,13 +178,13 @@
110
178
  appearance: none;
111
179
  background: none;
112
180
  border: 0;
113
- border-bottom: 0.125rem solid #e9e9e9;
181
+ border-bottom: 0.0625rem solid var(--components-menu-sidenavigation-standard-divide);
114
182
  border-radius: 0;
115
- color: var(--primary-text-color);
183
+ color: var(--components-menu-sidenavigation-standard-text);
116
184
  cursor: pointer;
117
185
  display: block;
186
+ font-size: 1rem;
118
187
  font-family: inherit;
119
- font-size: inherit;
120
188
  font-weight: 500;
121
189
  line-height: inherit;
122
190
  padding: var(--padding-vertical) 2.5rem;
@@ -127,42 +195,49 @@
127
195
  width: 100%;
128
196
  }
129
197
  .eds-contrast .eds-side-navigation__click-target {
130
- border-color: #292b6a;
198
+ color: var(--components-menu-sidenavigation-contrast-text);
199
+ border-color: var(--components-menu-sidenavigation-contrast-divide);
131
200
  }
132
201
  .eds-side-navigation--collapsed .eds-side-navigation__click-target {
133
202
  padding-left: 2rem;
134
203
  }
135
204
  .eds-side-navigation__click-target--active {
136
- box-shadow: inset 0.25rem 0 0 #181c56;
205
+ box-shadow: inset 0.25rem 0 0 var(--components-menu-sidenavigation-standard-stroke-selected);
137
206
  font-weight: 600;
138
207
  }
139
208
  .eds-contrast .eds-side-navigation__click-target--active {
140
- box-shadow: inset 0.25rem 0 0 #ff5959;
209
+ box-shadow: inset 0.25rem 0 0 var(--components-menu-sidenavigation-contrast-stroke-selected);
141
210
  }
142
211
  .eds-side-navigation__click-target[disabled] {
143
212
  cursor: not-allowed;
144
- color: #656782;
213
+ color: var(--components-menu-sidenavigation-standard-text-disabled);
214
+ }
215
+ .eds-contrast .eds-side-navigation__click-target[disabled] {
216
+ color: var(--components-menu-sidenavigation-contrast-text-disabled);
145
217
  }
146
218
  .eds-side-navigation__click-target:not([disabled]):hover {
147
- background-color: #d1d4e3;
219
+ background-color: var(--components-menu-sidenavigation-standard-fill-hover);
148
220
  }
149
221
  .eds-contrast .eds-side-navigation__click-target:not([disabled]):hover {
150
- background-color: #393d79;
222
+ background-color: var(--components-menu-sidenavigation-contrast-fill-hover);
151
223
  }
152
- .eds-side-navigation__click-target:not([disabled]):active, .eds-side-navigation__click-target:not([disabled]):focus {
224
+ .eds-side-navigation__click-target:not([disabled]).focus-visible {
153
225
  outline: 2px solid #181c56;
154
- outline-offset: -2px;
155
- background: #ebebf1;
226
+ outline-color: var(--basecolors-stroke-focus-standard);
227
+ outline-offset: 0.125rem;
156
228
  }
157
- .eds-contrast .eds-side-navigation__click-target:not([disabled]):active, .eds-contrast .eds-side-navigation__click-target:not([disabled]):focus {
158
- background-color: #54568c;
159
- outline: 2px solid #ffffff;
229
+ .eds-side-navigation__click-target:not([disabled]):focus-visible {
230
+ outline: 2px solid #181c56;
231
+ outline-color: var(--basecolors-stroke-focus-standard);
232
+ outline-offset: 0.125rem;
160
233
  }
161
-
162
- .eds-side-navigation-group {
163
- background-color: var(--primary-background-color);
164
- color: var(--primary-text-color);
234
+ .eds-contrast .eds-side-navigation__click-target:not([disabled]).focus-visible {
235
+ outline-color: var(--basecolors-stroke-focus-contrast);
236
+ }
237
+ .eds-contrast .eds-side-navigation__click-target:not([disabled]):focus-visible {
238
+ outline-color: var(--basecolors-stroke-focus-contrast);
165
239
  }
240
+
166
241
  .eds-side-navigation-group + .eds-side-navigation-group {
167
242
  padding-top: 0.5rem;
168
243
  }
@@ -177,11 +252,10 @@
177
252
  -webkit-appearance: none;
178
253
  -moz-appearance: none;
179
254
  appearance: none;
180
- background: none;
255
+ background-color: var(--components-menu-sidenavigation-standard-background);
181
256
  border: none;
182
- border-radius: 0;
183
- border-bottom: 0.125rem solid #e9e9e9;
184
- color: #656782;
257
+ border-bottom: 0.0625rem solid var(--components-menu-sidenavigation-standard-divide);
258
+ color: var(--components-menu-sidenavigation-standard-label);
185
259
  cursor: pointer;
186
260
  display: flex;
187
261
  font-size: 0.875rem;
@@ -198,69 +272,38 @@
198
272
  width: 100%;
199
273
  }
200
274
  .eds-contrast .eds-side-navigation-group__trigger {
201
- color: #aeb7e2;
202
- border-color: #292b6a;
275
+ color: var(--components-menu-sidenavigation-contrast-label);
276
+ background-color: var(--components-menu-sidenavigation-contrast-background);
277
+ border-color: var(--components-menu-sidenavigation-contrast-divide);
203
278
  }
204
279
  .eds-side-navigation-group__trigger-icon {
205
280
  margin-right: 0.75rem;
206
281
  }
207
282
  .eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
208
283
  margin-right: 2.5rem;
284
+ color: var(--components-menu-sidenavigation-standard-icon-label);
285
+ }
286
+ .eds-contrast .eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
287
+ color: var(--components-menu-sidenavigation-contrast-icon-label);
209
288
  }
210
289
  .eds-side-navigation--collapsed .eds-side-navigation-group__trigger {
211
290
  padding-left: 2rem;
212
291
  }
213
- .eds-side-navigation-group__trigger:focus {
292
+ .eds-side-navigation-group__trigger.focus-visible {
214
293
  outline: 2px solid #181c56;
294
+ outline-color: var(--basecolors-stroke-focus-standard);
295
+ outline-offset: 0.125rem;
215
296
  }
216
- .eds-contrast .eds-side-navigation-group__trigger:focus {
217
- outline: 2px solid #ffffff;
218
- }
219
- /* DO NOT CHANGE!*/
220
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
221
- .eds-breadcrumb {
222
- list-style: none;
223
- margin: 0;
224
- padding: 0;
225
- }
226
-
227
- .eds-breadcrumb__item {
228
- display: inline-block;
229
- }
230
-
231
- .eds-breadcrumb__separator {
232
- margin: 0 0.25rem 0 0.25rem;
233
- }
234
-
235
- .eds-breadcrumb__link {
236
- text-decoration: none;
237
- color: inherit;
238
- background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
239
- background-repeat: no-repeat;
240
- background-size: 100% 0.125rem;
241
- background-position: 0 100%;
242
- }
243
- .eds-contrast .eds-breadcrumb__link {
244
- background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
245
- }
246
- .eds-breadcrumb__link:hover {
247
- animation: eds-breadcrumb-underline 0.3s ease-in;
248
- }
249
- .eds-breadcrumb__link:focus {
250
- outline: none;
251
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
297
+ .eds-side-navigation-group__trigger:focus-visible {
298
+ outline: 2px solid #181c56;
299
+ outline-color: var(--basecolors-stroke-focus-standard);
252
300
  outline-offset: 0.125rem;
253
301
  }
254
- @keyframes eds-breadcrumb-underline {
255
- from {
256
- background-size: 0% 0.125rem;
257
- }
258
- to {
259
- background-size: 100% 0.125rem;
260
- }
302
+ .eds-contrast .eds-side-navigation-group__trigger.focus-visible {
303
+ outline-color: var(--basecolors-stroke-focus-contrast);
261
304
  }
262
- .eds-breadcrumb__link--current {
263
- font-weight: 600;
305
+ .eds-contrast .eds-side-navigation-group__trigger:focus-visible {
306
+ outline-color: var(--basecolors-stroke-focus-contrast);
264
307
  }
265
308
  /* DO NOT CHANGE!*/
266
309
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -268,7 +311,7 @@
268
311
  --show-active-line: 0;
269
312
  display: inline-block;
270
313
  cursor: pointer;
271
- color: inherit;
314
+ color: var(--components-menu-navigationbar-standard-text-unselected);
272
315
  text-decoration: none;
273
316
  position: relative;
274
317
  padding: 1rem;
@@ -288,16 +331,19 @@
288
331
  width: 0;
289
332
  margin: 0 auto;
290
333
  opacity: var(--show-active-line);
291
- background: #ff5959;
334
+ background: var(--components-menu-navigationbar-standard-stroke-selected);
292
335
  transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
293
336
  }
337
+ .eds-contrast .eds-top-navigation-item {
338
+ color: var(--components-menu-navigationbar-contrast-text-unselected);
339
+ }
294
340
  .eds-top-navigation-item:focus {
341
+ outline: 2px solid #181c56;
342
+ outline-color: var(--basecolors-stroke-focus-standard);
295
343
  outline-offset: 0.125rem;
296
- outline: none;
297
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
298
344
  }
299
345
  .eds-contrast .eds-top-navigation-item:focus {
300
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
346
+ outline-color: var(--basecolors-stroke-focus-contrast);
301
347
  }
302
348
  .eds-top-navigation-item:hover {
303
349
  --show-active-line: 1;
@@ -306,11 +352,15 @@
306
352
  width: 2rem;
307
353
  }
308
354
  .eds-top-navigation-item--active {
355
+ color: var(--components-menu-navigationbar-standard-text-selected);
309
356
  --show-active-line: 1;
310
357
  }
311
358
  .eds-top-navigation-item--active::after {
312
359
  width: 2rem;
313
360
  }
361
+ .eds-contrast .eds-top-navigation-item--active {
362
+ color: var(--components-menu-navigationbar-contrast-text-selected);
363
+ }
314
364
  /* DO NOT CHANGE!*/
315
365
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
316
366
  .eds-overflow-menu__item {
@@ -318,54 +368,46 @@
318
368
  -moz-appearance: none;
319
369
  appearance: none;
320
370
  border: none;
321
- font-size: 0.875rem;
371
+ font-size: 1rem;
322
372
  font-family: inherit;
323
- color: var(--primary-text-color);
324
- background: #f8f8f8;
373
+ color: var(--components-menu-overflowmenu-text);
374
+ background: var(--components-menu-overflowmenu-fill-default);
325
375
  display: block;
326
- height: 3rem;
327
376
  cursor: pointer;
328
377
  width: 100%;
329
378
  line-height: 1.375rem;
330
379
  text-align: left;
331
- padding: 0.75rem 1rem;
380
+ padding: 0.75rem;
332
381
  opacity: 1;
333
382
  }
334
- .eds-contrast .eds-overflow-menu__item {
335
- color: #181c56;
336
- }
337
383
  .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
338
- background: #e9e9e9;
339
- color: #949494;
384
+ background: var(--components-menu-overflowmenu-fill-default);
385
+ color: var(--components-menu-overflowmenu-text-disabled);
340
386
  }
341
387
  .eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
342
- background: #e9e9e9;
343
- color: #949494;
388
+ background: var(--components-menu-overflowmenu-fill-default);
389
+ color: var(--components-menu-overflowmenu-text-disabled);
344
390
  }
345
391
  .eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
346
392
  cursor: not-allowed;
347
- background: #e9e9e9;
348
- color: #949494;
393
+ background: var(--components-menu-overflowmenu-fill-default);
394
+ color: var(--components-menu-overflowmenu-text-disabled);
349
395
  }
350
396
  .eds-overflow-menu__item .eds-icon {
351
397
  margin-right: 0.75rem;
352
398
  }
353
399
  .eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
354
- background: #d1d4e3;
400
+ background: var(--components-menu-overflowmenu-fill-hover);
355
401
  }
356
402
  .eds-overflow-menu__item:focus {
357
403
  outline: none;
358
404
  }
359
405
 
360
- .eds-overflow-menu__item + .eds-overflow-menu__item {
361
- border-top: 0.0625rem solid #e9e9e9;
362
- }
363
-
364
406
  .eds-overflow-menu__menu-list[data-reach-menu-list] {
365
- border: 0.0625rem solid #e9e9e9;
366
- border-radius: 0.25rem;
367
407
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
368
408
  overflow: hidden;
409
+ border-radius: 0.25rem;
410
+ border: 1px solid var(--components-menu-overflowmenu-border);
369
411
  }
370
412
  .eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
371
413
  outline: none;
@@ -415,6 +457,12 @@
415
457
  .eds-pagination__results-label {
416
458
  margin-right: 0.5rem;
417
459
  }
460
+ .eds-pagination .eds-label {
461
+ color: var(--components-menu-pagination-standard-text-subdued);
462
+ }
463
+ .eds-contrast .eds-pagination .eds-label {
464
+ color: var(--components-menu-pagination-contrast-text-subdued);
465
+ }
418
466
  .eds-pagination__controls {
419
467
  align-items: center;
420
468
  display: flex;
@@ -429,9 +477,9 @@
429
477
  -moz-appearance: none;
430
478
  appearance: none;
431
479
  background: transparent;
432
- border: 0.0625rem solid #d1d3d3;
480
+ border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
433
481
  border-radius: 0.25rem;
434
- color: inherit;
482
+ color: var(--components-menu-pagination-standard-text-unselected);
435
483
  font-family: inherit;
436
484
  display: flex;
437
485
  align-items: center;
@@ -441,6 +489,10 @@
441
489
  margin-right: 1rem;
442
490
  width: 3.5rem;
443
491
  }
492
+ .eds-contrast .eds-pagination-menu__menu-button {
493
+ border-color: var(--components-menu-pagination-contrast-border-unselected);
494
+ color: var(--components-menu-pagination-contrast-text-unselected);
495
+ }
444
496
  .eds-pagination-menu__menu-button--open {
445
497
  border-color: currentColor;
446
498
  }
@@ -457,11 +509,10 @@
457
509
  -webkit-appearance: none;
458
510
  -moz-appearance: none;
459
511
  appearance: none;
460
- background: transparent;
461
- border: 0.0625rem solid #d1d3d3;
462
- border-color: #d1d3d3;
512
+ background-color: var(--components-menu-pagination-standard-default);
513
+ border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
463
514
  border-radius: 0.25rem;
464
- color: inherit;
515
+ color: var(--components-menu-pagination-standard-text-unselected);
465
516
  cursor: pointer;
466
517
  display: flex;
467
518
  font-family: inherit;
@@ -477,40 +528,53 @@
477
528
  min-width: 2rem;
478
529
  }
479
530
  .eds-contrast .eds-pagination__page {
480
- border-color: #54568c;
531
+ background-color: var(--components-menu-pagination-contrast-default);
532
+ border-color: var(--components-menu-pagination-contrast-border-unselected);
533
+ color: var(--components-menu-pagination-contrast-text-unselected);
481
534
  }
482
535
  .eds-pagination__page--selected {
483
- background: #d1d4e3;
484
- border-color: #181c56;
485
- color: inherit;
536
+ background: var(--components-menu-pagination-standard-active);
537
+ border-color: var(--components-menu-pagination-standard-border-selected);
538
+ color: var(--components-menu-pagination-standard-text-selected);
486
539
  opacity: 1;
487
540
  pointer-events: none;
488
541
  }
489
542
  .eds-contrast .eds-pagination__page--selected {
490
- border-color: #ffffff;
491
- background: #393d79;
543
+ background: var(--components-menu-pagination-contrast-active);
544
+ border-color: var(--components-menu-pagination-contrast-border-selected);
545
+ color: var(--components-menu-pagination-contrast-text-selected);
492
546
  }
493
547
  .eds-pagination__page--disabled {
494
548
  opacity: 0.5;
495
549
  pointer-events: none;
496
550
  }
497
551
  .eds-pagination__page:hover {
498
- background-color: #d1d4e3;
499
- border-color: #d1d4e3;
552
+ background-color: var(--components-menu-pagination-standard-hover);
553
+ border-color: var(--components-menu-pagination-standard-border-unselected);
500
554
  }
501
555
  .eds-contrast .eds-pagination__page:hover {
502
- background-color: #393d79;
503
- border-color: #393d79;
556
+ background-color: var(--components-menu-pagination-contrast-hover);
557
+ border-color: var(--components-menu-pagination-contrast-border-unselected);
504
558
  }
505
- .eds-pagination__page:focus {
506
- outline: none;
507
- border-color: #181c56;
559
+ .eds-pagination__page.focus-visible {
560
+ outline: 2px solid #181c56;
561
+ outline-color: var(--basecolors-stroke-focus-standard);
562
+ outline-offset: 0.125rem;
508
563
  }
509
- .eds-contrast .eds-pagination__page:focus {
510
- border-color: #ffffff;
564
+ .eds-pagination__page:focus-visible {
565
+ outline: 2px solid #181c56;
566
+ outline-color: var(--basecolors-stroke-focus-standard);
567
+ outline-offset: 0.125rem;
568
+ }
569
+ .eds-contrast .eds-pagination__page.focus-visible {
570
+ outline-color: var(--basecolors-stroke-focus-contrast);
571
+ }
572
+ .eds-contrast .eds-pagination__page:focus-visible {
573
+ outline-color: var(--basecolors-stroke-focus-contrast);
511
574
  }
512
575
 
513
576
  .eds-pagination__ellipsis {
577
+ color: var(--components-menu-pagination-standard-icon);
514
578
  align-items: baseline;
515
579
  cursor: default;
516
580
  display: flex;
@@ -523,45 +587,69 @@
523
587
  width: 2rem;
524
588
  margin: 0 2px;
525
589
  }
590
+ .eds-contrast .eds-pagination__ellipsis {
591
+ color: var(--components-menu-pagination-contrast-icon);
592
+ }
526
593
 
527
594
  .eds-pagination__input-wrapper {
528
595
  white-space: nowrap;
529
596
  }
530
597
  .eds-pagination__input-label {
531
- border-left: 0.0625rem solid #d1d3d3;
532
- color: #656782;
598
+ border-left: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
599
+ color: var(--components-menu-pagination-standard-text-subdued);
533
600
  font-size: 0.875rem;
534
601
  margin-left: 0.5rem;
535
602
  padding: 0 1rem;
536
603
  }
537
604
  .eds-contrast .eds-pagination__input-label {
538
- border-color: #393d79;
539
- color: #aeb7e2;
605
+ border-color: var(--components-menu-pagination-contrast-border-unselected);
606
+ color: var(--components-menu-pagination-contrast-text-subdued);
540
607
  }
541
608
  .eds-pagination__input-field {
542
609
  -webkit-appearance: none;
543
610
  -moz-appearance: none;
544
611
  appearance: none;
545
- background: transparent;
546
- border: 0.0625rem solid #d1d3d3;
612
+ background-color: var(--components-menu-pagination-standard-default);
613
+ border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
547
614
  border-radius: 0.25rem;
548
- color: inherit;
615
+ color: var(--components-menu-pagination-standard-text-unselected);
549
616
  font-family: inherit;
550
617
  font-size: 0.875rem;
551
618
  height: 2rem;
552
619
  text-align: center;
553
620
  width: 2rem;
554
621
  }
622
+ .eds-contrast .eds-pagination__input-field {
623
+ background-color: var(--components-menu-pagination-contrast-default);
624
+ border-color: var(--components-menu-pagination-contrast-border-unselected);
625
+ color: var(--components-menu-pagination-contrast-text-unselected);
626
+ }
555
627
  .eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
556
628
  -webkit-appearance: none;
557
629
  appearance: none;
558
630
  margin: 0;
559
631
  }
632
+ .eds-pagination__input-field.focus-visible {
633
+ outline: 2px solid #181c56;
634
+ outline-color: var(--basecolors-stroke-focus-standard);
635
+ outline-offset: 0.125rem;
636
+ }
637
+ .eds-pagination__input-field:focus-visible {
638
+ outline: 2px solid #181c56;
639
+ outline-color: var(--basecolors-stroke-focus-standard);
640
+ outline-offset: 0.125rem;
641
+ }
642
+ .eds-contrast .eds-pagination__input-field.focus-visible {
643
+ outline-color: var(--basecolors-stroke-focus-contrast);
644
+ }
645
+ .eds-contrast .eds-pagination__input-field:focus-visible {
646
+ outline-color: var(--basecolors-stroke-focus-contrast);
647
+ }
560
648
  /* DO NOT CHANGE!*/
561
649
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
562
650
  .eds-stepper {
563
- --text-color: #656782;
564
- --line-color: #e9e9e9;
651
+ --text-color: var(--components-menu-stepper-standard-text-uncompleted);
652
+ --line-color: var(--components-menu-stepper-standard-background);
565
653
  --label-font-weight: 500;
566
654
  --display-active-line: none;
567
655
  display: flex;
@@ -601,8 +689,8 @@
601
689
  outline: 2px solid #ffffff;
602
690
  }
603
691
  .eds-contrast .eds-stepper__step {
604
- --text-color: #aeb7e2;
605
- --line-color: #393d79;
692
+ --text-color: var(--components-menu-stepper-contrast-text-uncompleted);
693
+ --line-color: var(--components-menu-stepper-contrast-background);
606
694
  }
607
695
  .eds-stepper__step--interactive {
608
696
  all: unset;
@@ -612,20 +700,20 @@
612
700
  cursor: pointer;
613
701
  }
614
702
  .eds-stepper__step--active {
615
- --text-color: #181c56;
703
+ --text-color: var(--components-menu-stepper-standard-text-uncompleted);
616
704
  --label-font-weight: 600;
617
705
  --display-active-line: block;
618
706
  }
619
707
  .eds-contrast .eds-stepper__step--active {
620
- --text-color: #ffffff;
708
+ --text-color: var(--components-menu-stepper-contrast-text-uncompleted);
621
709
  }
622
710
  .eds-stepper__step--completed {
623
- --text-color: #181c56;
624
- --line-color: #181c56;
711
+ --text-color: var(--components-menu-stepper-standard-text-completed);
712
+ --line-color: var(--components-menu-stepper-standard-progressbar);
625
713
  }
626
714
  .eds-contrast .eds-stepper__step--completed {
627
- --text-color: #ffffff;
628
- --line-color: #aeb7e2;
715
+ --text-color: var(--components-menu-stepper-contrast-text-completed);
716
+ --line-color: var(--components-menu-stepper-contrast-progressbar);
629
717
  }
630
718
  .eds-stepper__step__label {
631
719
  flex-grow: 1;
@@ -642,8 +730,12 @@
642
730
  font-weight: var(--label-font-weight);
643
731
  }
644
732
  .eds-stepper__step--interactive:hover .eds-stepper__step__label {
645
- background-color: #656782;
646
- color: #ffffff;
733
+ background-color: var(--components-menu-stepper-standard-background);
734
+ color: var(--components-menu-stepper-standard-text-completed);
735
+ }
736
+ .eds-contrast .eds-stepper__step--interactive:hover .eds-stepper__step__label {
737
+ background-color: var(--components-menu-stepper-contrast-background);
738
+ color: var(--components-menu-stepper-contrast-text-completed);
647
739
  }
648
740
  .eds-stepper__step__line {
649
741
  height: 0.5rem;
@@ -657,17 +749,13 @@
657
749
  right: calc(50% - 0.2rem);
658
750
  bottom: 0.0625rem;
659
751
  border-radius: 0.0625rem;
660
- background: #181c56;
661
- width: calc(
662
- 0.5rem - 0.125rem - 0.01rem
663
- );
664
- height: calc(
665
- 0.5rem - 0.125rem - 0.01rem
666
- );
752
+ background: var(--components-menu-stepper-standard-progressbar);
753
+ width: calc(0.5rem - 0.125rem - 0.01rem);
754
+ height: calc(0.5rem - 0.125rem - 0.01rem);
667
755
  transform: rotate(45deg);
668
756
  }
669
757
  .eds-contrast .eds-stepper__step__line:before {
670
- background-color: #aeb7e2;
758
+ background: var(--components-menu-stepper-contrast-progressbar);
671
759
  }
672
760
  .eds-stepper__step__line:after {
673
761
  display: var(--display-active-line);
@@ -677,11 +765,473 @@
677
765
  bottom: 0;
678
766
  width: 50%;
679
767
  height: 0.5rem;
680
- background: #181c56;
768
+ background: var(--components-menu-stepper-standard-progressbar);
681
769
  }
682
770
  .eds-contrast .eds-stepper__step__line:after {
683
- background: #aeb7e2;
771
+ background: var(--components-menu-stepper-contrast-progressbar);
772
+ }
773
+ @import "~@entur/tokens/dist/primitive.css";
774
+ @import "~@entur/tokens/dist/semantic.css";
775
+ /* DO NOT CHANGE!*/
776
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
777
+ :root {
778
+ --fill-background-contrast-dark: var(--ebony-90);
779
+ --fill-background-contrast-light: var(--lavender-90);
780
+ --fill-background-contrast-lightalt: var(--blue-90);
781
+ --fill-background-contrast-lightalt-2: var(--blue-100);
782
+ --fill-background-overlay-solid: var(--ebony-80);
783
+ --fill-background-overlay-solidalt: var(--ebony-75);
784
+ --fill-background-overlay-transparent: var(--transparent-ebony-alpha15);
785
+ --fill-background-overlay-transparentalt: var(--transparent-ebony-alpha25);
786
+ --fill-background-standard-colorless: var(--white-alpha-0);
787
+ --fill-background-standard-dark: var(--ebony-100);
788
+ --fill-background-standard-light: var(--white-alpha-100);
789
+ --fill-background-subdued-dark: var(--ebony-85);
790
+ --fill-background-subdued-light: var(--blue-30);
791
+ --fill-background-tint-dark: var(--ebony-95);
792
+ --fill-background-tint-light: var(--blue-10);
793
+ --fill-background-tint-neutral: var(--grey-10);
794
+ --fill-background-tint-transparent: var(--transparent-blue-alpha10);
795
+ --fill-boolean-false-contrast: var(--blue-50);
796
+ --fill-boolean-false-dark: var(--transparent-ebony-alpha35);
797
+ --fill-boolean-false-light: var(--grey-60);
798
+ --fill-boolean-true-contrast: var(--mint-40);
799
+ --fill-boolean-true-dark: var(--mint-40);
800
+ --fill-boolean-true-light: var(--mint-60);
801
+ --fill-disabled-light: var(--grey-40);
802
+ --fill-disabled-transparent: var(--transparent-neutral-alpha15);
803
+ --fill-disabled-transparentalt: var(--transparent-neutral-alpha10);
804
+ --fill-information-contrast: var(--sky-30);
805
+ --fill-information-deep: var(--sky-50);
806
+ --fill-information-muted: var(--sky-10);
807
+ --fill-information-tint: var(--sky-20);
808
+ --fill-negative-contrast: var(--coral-40);
809
+ --fill-negative-dark: var(--coral-90);
810
+ --fill-negative-deep: var(--coral-60);
811
+ --fill-negative-muted: var(--coral-20);
812
+ --fill-negative-tint: var(--coral-30);
813
+ --fill-negative-transparent: var(--transparent-coral-alpha20);
814
+ --fill-primary-active-contrast: var(--lavender-50);
815
+ --fill-primary-active-light: var(--lavender-100);
816
+ --fill-primary-default-contrast: var(--lavender-40);
817
+ --fill-primary-default-light: var(--lavender-90);
818
+ --fill-primary-hover-contrast: var(--lavender-30);
819
+ --fill-primary-hover-light: var(--blue-90);
820
+ --fill-secondary-active-contrast: var(--lavender-50);
821
+ --fill-secondary-active-light: var(--lavender-40);
822
+ --fill-secondary-default-colorless: var(--white-alpha-0);
823
+ --fill-secondary-hover-contrast: var(--blue-70);
824
+ --fill-secondary-hover-light: var(--lavender-20);
825
+ --fill-selected-default-contrast: var(--blue-90);
826
+ --fill-selected-default-dark: var(--ebony-10);
827
+ --fill-selected-default-darkalt: var(--ebony-50);
828
+ --fill-selected-default-light: var(--blue-10);
829
+ --fill-selected-default-neutral: var(--grey-30);
830
+ --fill-selected-hover-contrast: var(--blue-80);
831
+ --fill-selected-hover-dark: var(--transparent-ebony-alpha35);
832
+ --fill-selected-hover-light: var(--blue-20);
833
+ --fill-selected-hover-neutral: var(--grey-20);
834
+ --fill-success-contrast: var(--mint-40);
835
+ --fill-success-deep: var(--mint-60);
836
+ --fill-success-muted: var(--mint-20);
837
+ --fill-success-subdued: var(--mint-50);
838
+ --fill-success-tint: var(--mint-30);
839
+ --fill-warning-contrast: var(--canary-40);
840
+ --fill-warning-deep: var(--canary-60);
841
+ --fill-warning-muted: var(--canary-20);
842
+ --fill-warning-tint: var(--canary-30);
843
+ --shape-accent: var(--lavender-90);
844
+ --shape-contrast: var(--lavender-40);
845
+ --shape-dark: var(--ebony-100);
846
+ --shape-darkalt: var(--ebony-30);
847
+ --shape-disabled: var(--grey-80);
848
+ --shape-highlight: var(--coral-40);
849
+ --shape-highlightalt: var(--coral-30);
850
+ --shape-inactive: var(--blue-40);
851
+ --shape-information: var(--sky-50);
852
+ --shape-informationalt: var(--sky-30);
853
+ --shape-light: var(--white-alpha-100);
854
+ --shape-lightalt: var(--ebony-10);
855
+ --shape-negative: var(--coral-60);
856
+ --shape-negativealt: var(--coral-30);
857
+ --shape-neutral: var(--grey-70);
858
+ --shape-neutralalt: var(--grey-50);
859
+ --shape-neutralalt2: var(--grey-60);
860
+ --shape-subdued: var(--blue-70);
861
+ --shape-subduedalt: var(--blue-30);
862
+ --shape-success: var(--mint-60);
863
+ --shape-successalt: var(--mint-40);
864
+ --shape-warning: var(--canary-60);
865
+ --shape-warningalt: var(--canary-40);
866
+ --stroke-accent: var(--lavender-90);
867
+ --stroke-colorless: var(--white-alpha-0);
868
+ --stroke-contrast: var(--lavender-40);
869
+ --stroke-contrastalt: var(--blue-80);
870
+ --stroke-dark: var(--ebony-30);
871
+ --stroke-darkalt: var(--ebony-50);
872
+ --stroke-darkalt-2: var(--ebony-100);
873
+ --stroke-highlight: var(--coral-40);
874
+ --stroke-highlightalt: var(--coral-30);
875
+ --stroke-information: var(--sky-50);
876
+ --stroke-light: var(--white-alpha-100);
877
+ --stroke-lightalt: var(--ebony-10);
878
+ --stroke-negative: var(--coral-60);
879
+ --stroke-negativealt: var(--coral-30);
880
+ --stroke-neutral: var(--grey-30);
881
+ --stroke-neutralalt: var(--grey-60);
882
+ --stroke-subdued: var(--blue-60);
883
+ --stroke-success: var(--mint-60);
884
+ --stroke-successalt: var(--mint-40);
885
+ --stroke-transparent: var(--transparent-blue-alpha40);
886
+ --stroke-transparentalt: var(--transparent-lavender-alpha70);
887
+ --stroke-warning: var(--canary-70);
888
+ --text-accent: var(--lavender-90);
889
+ --text-dark: var(--ebony-100);
890
+ --text-darkalt: var(--ebony-30);
891
+ --text-disabled: var(--grey-80);
892
+ --text-highlight: var(--lavender-40);
893
+ --text-highlightalt: var(--peach-40);
894
+ --text-light: var(--white-alpha-100);
895
+ --text-lightalt: var(--ebony-10);
896
+ --text-negative: var(--coral-60);
897
+ --text-negativealt: var(--coral-30);
898
+ --text-neutral: var(--grey-70);
899
+ --text-neutralalt: var(--grey-50);
900
+ --text-neutralalt2: var(--grey-60);
901
+ --text-subdued: var(--blue-70);
902
+ --text-subduedalt: var(--blue-30);
903
+ --text-success: var(--mint-60);
904
+ --text-successalt: var(--mint-40);
905
+ }
906
+
907
+ /* DO NOT CHANGE!*/
908
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
909
+ [data-color-mode=light],
910
+ :root {
911
+ --components-menu-breadcrumb-contrast-icon: var(--shape-light);
912
+ --components-menu-breadcrumb-contrast-text: var(--text-light);
913
+ --components-menu-breadcrumb-standard-icon: var(--shape-accent);
914
+ --components-menu-breadcrumb-standard-text: var(--text-accent);
915
+ --components-menu-navigationbar-contrast-background: var(--fill-background-contrast-lightalt);
916
+ --components-menu-navigationbar-contrast-divide: var(--stroke-colorless);
917
+ --components-menu-navigationbar-contrast-icon-selected: var(--shape-light);
918
+ --components-menu-navigationbar-contrast-icon-unselected: var(--shape-subduedalt);
919
+ --components-menu-navigationbar-contrast-stroke-selected: var(--stroke-highlight);
920
+ --components-menu-navigationbar-contrast-text-selected: var(--text-light);
921
+ --components-menu-navigationbar-contrast-text-unselected: var(--text-subduedalt);
922
+ --components-menu-navigationbar-standard-background: var(--fill-background-standard-light);
923
+ --components-menu-navigationbar-standard-divide: var(--stroke-neutral);
924
+ --components-menu-navigationbar-standard-icon-selected: var(--shape-accent);
925
+ --components-menu-navigationbar-standard-icon-unselected: var(--shape-subdued);
926
+ --components-menu-navigationbar-standard-stroke-selected: var(--stroke-highlight);
927
+ --components-menu-navigationbar-standard-text-selected: var(--text-accent);
928
+ --components-menu-navigationbar-standard-text-unselected: var(--text-subdued);
929
+ --components-menu-navigationlink-contrast-icon: var(--shape-light);
930
+ --components-menu-navigationlink-contrast-text: var(--text-light);
931
+ --components-menu-navigationlink-standard-icon: var(--shape-accent);
932
+ --components-menu-navigationlink-standard-text: var(--text-accent);
933
+ --components-menu-overflowmenu-border: var(--stroke-subdued);
934
+ --components-menu-overflowmenu-fill-default: var(--fill-background-tint-neutral);
935
+ --components-menu-overflowmenu-fill-hover: var(--fill-background-subdued-light);
936
+ --components-menu-overflowmenu-icon: var(--shape-accent);
937
+ --components-menu-overflowmenu-icon-disabled: var(--shape-neutral);
938
+ --components-menu-overflowmenu-text: var(--text-accent);
939
+ --components-menu-overflowmenu-text-disabled: var(--text-neutral);
940
+ --components-menu-pagination-contrast-active: var(--fill-secondary-active-contrast);
941
+ --components-menu-pagination-contrast-border-selected: var(--stroke-light);
942
+ --components-menu-pagination-contrast-border-unselected: var(--stroke-transparentalt);
943
+ --components-menu-pagination-contrast-default: var(--fill-background-standard-colorless);
944
+ --components-menu-pagination-contrast-hover: var(--fill-secondary-hover-contrast);
945
+ --components-menu-pagination-contrast-icon: var(--shape-light);
946
+ --components-menu-pagination-contrast-text-selected: var(--text-accent);
947
+ --components-menu-pagination-contrast-text-subdued: var(--text-subduedalt);
948
+ --components-menu-pagination-contrast-text-unselected: var(--text-light);
949
+ --components-menu-pagination-standard-active: var(--fill-secondary-active-light);
950
+ --components-menu-pagination-standard-border-selected: var(--stroke-accent);
951
+ --components-menu-pagination-standard-border-unselected: var(--stroke-transparent);
952
+ --components-menu-pagination-standard-default: var(--fill-background-standard-colorless);
953
+ --components-menu-pagination-standard-hover: var(--fill-secondary-hover-light);
954
+ --components-menu-pagination-standard-icon: var(--shape-accent);
955
+ --components-menu-pagination-standard-text-selected: var(--text-accent);
956
+ --components-menu-pagination-standard-text-subdued: var(--text-subdued);
957
+ --components-menu-pagination-standard-text-unselected: var(--text-accent);
958
+ --components-menu-sidenavigation-contrast-avatar: var(--fill-background-contrast-lightalt);
959
+ --components-menu-sidenavigation-contrast-background: var(--fill-background-contrast-light);
960
+ --components-menu-sidenavigation-contrast-divide: var(--stroke-subdued);
961
+ --components-menu-sidenavigation-contrast-fill-active: var(--fill-background-standard-colorless);
962
+ --components-menu-sidenavigation-contrast-fill-default: var(--fill-background-standard-colorless);
963
+ --components-menu-sidenavigation-contrast-fill-hover: var(--fill-background-contrast-lightalt);
964
+ --components-menu-sidenavigation-contrast-icon: var(--shape-light);
965
+ --components-menu-sidenavigation-contrast-icon-disabled: var(--shape-neutralalt);
966
+ --components-menu-sidenavigation-contrast-icon-label: var(--shape-contrast);
967
+ --components-menu-sidenavigation-contrast-label: var(--text-highlight);
968
+ --components-menu-sidenavigation-contrast-stroke-selected: var(--stroke-highlight);
969
+ --components-menu-sidenavigation-contrast-text: var(--text-light);
970
+ --components-menu-sidenavigation-contrast-text-disabled: var(--text-neutralalt);
971
+ --components-menu-sidenavigation-standard-avatar: var(--fill-background-standard-light);
972
+ --components-menu-sidenavigation-standard-background: var(--fill-background-tint-neutral);
973
+ --components-menu-sidenavigation-standard-divide: var(--stroke-neutral);
974
+ --components-menu-sidenavigation-standard-fill-active: var(--fill-background-standard-colorless);
975
+ --components-menu-sidenavigation-standard-fill-default: var(--fill-background-standard-colorless);
976
+ --components-menu-sidenavigation-standard-fill-hover: var(--fill-background-subdued-light);
977
+ --components-menu-sidenavigation-standard-icon: var(--shape-accent);
978
+ --components-menu-sidenavigation-standard-icon-disabled: var(--shape-neutral);
979
+ --components-menu-sidenavigation-standard-icon-label: var(--shape-subdued);
980
+ --components-menu-sidenavigation-standard-label: var(--text-subdued);
981
+ --components-menu-sidenavigation-standard-stroke-selected: var(--stroke-accent);
982
+ --components-menu-sidenavigation-standard-text: var(--text-accent);
983
+ --components-menu-sidenavigation-standard-text-disabled: var(--text-neutral);
984
+ --components-menu-stepper-contrast-background: var(--fill-secondary-hover-contrast);
985
+ --components-menu-stepper-contrast-progressbar: var(--fill-primary-default-contrast);
986
+ --components-menu-stepper-contrast-text-completed: var(--text-light);
987
+ --components-menu-stepper-contrast-text-uncompleted: var(--text-highlight);
988
+ --components-menu-stepper-standard-background: var(--fill-selected-default-neutral);
989
+ --components-menu-stepper-standard-progressbar: var(--fill-primary-default-light);
990
+ --components-menu-stepper-standard-text-completed: var(--text-accent);
991
+ --components-menu-stepper-standard-text-uncompleted: var(--text-neutral);
992
+ --components-menu-tableofcontent-contrast-icon-selected: var(--shape-light);
993
+ --components-menu-tableofcontent-contrast-icon-unselected: var(--shape-subduedalt);
994
+ --components-menu-tableofcontent-contrast-stroke-selected: var(--stroke-highlight);
995
+ --components-menu-tableofcontent-contrast-stroke-unselected: var(--stroke-contrastalt);
996
+ --components-menu-tableofcontent-contrast-text-selected: var(--text-light);
997
+ --components-menu-tableofcontent-contrast-text-unselected: var(--text-subduedalt);
998
+ --components-menu-tableofcontent-standard-icon-selected: var(--shape-accent);
999
+ --components-menu-tableofcontent-standard-icon-unselected: var(--shape-subdued);
1000
+ --components-menu-tableofcontent-standard-stroke-selected: var(--stroke-highlight);
1001
+ --components-menu-tableofcontent-standard-stroke-unselected: var(--stroke-neutral);
1002
+ --components-menu-tableofcontent-standard-text-selected: var(--text-accent);
1003
+ --components-menu-tableofcontent-standard-text-unselected: var(--text-subdued);
684
1004
  }
1005
+
1006
+ [data-color-mode=dark] {
1007
+ --components-menu-breadcrumb-contrast-icon: var(--shape-lightalt);
1008
+ --components-menu-breadcrumb-contrast-text: var(--text-lightalt);
1009
+ --components-menu-breadcrumb-standard-icon: var(--shape-lightalt);
1010
+ --components-menu-breadcrumb-standard-text: var(--text-lightalt);
1011
+ --components-menu-navigationbar-contrast-background: var(--fill-background-overlay-solid);
1012
+ --components-menu-navigationbar-contrast-divide: var(--stroke-colorless);
1013
+ --components-menu-navigationbar-contrast-icon-selected: var(--shape-lightalt);
1014
+ --components-menu-navigationbar-contrast-icon-unselected: var(--shape-neutralalt);
1015
+ --components-menu-navigationbar-contrast-stroke-selected: var(--stroke-highlightalt);
1016
+ --components-menu-navigationbar-contrast-text-selected: var(--text-lightalt);
1017
+ --components-menu-navigationbar-contrast-text-unselected: var(--text-neutralalt);
1018
+ --components-menu-navigationbar-standard-background: var(--fill-background-overlay-solid);
1019
+ --components-menu-navigationbar-standard-divide: var(--stroke-colorless);
1020
+ --components-menu-navigationbar-standard-icon-selected: var(--shape-lightalt);
1021
+ --components-menu-navigationbar-standard-icon-unselected: var(--shape-neutralalt);
1022
+ --components-menu-navigationbar-standard-stroke-selected: var(--stroke-highlightalt);
1023
+ --components-menu-navigationbar-standard-text-selected: var(--text-lightalt);
1024
+ --components-menu-navigationbar-standard-text-unselected: var(--text-neutralalt);
1025
+ --components-menu-navigationlink-contrast-icon: var(--shape-lightalt);
1026
+ --components-menu-navigationlink-contrast-text: var(--text-lightalt);
1027
+ --components-menu-navigationlink-standard-icon: var(--shape-lightalt);
1028
+ --components-menu-navigationlink-standard-text: var(--text-lightalt);
1029
+ --components-menu-overflowmenu-border: var(--stroke-colorless);
1030
+ --components-menu-overflowmenu-fill-default: var(--fill-background-overlay-solidalt);
1031
+ --components-menu-overflowmenu-fill-hover: var(--fill-secondary-hover-contrast);
1032
+ --components-menu-overflowmenu-icon: var(--shape-lightalt);
1033
+ --components-menu-overflowmenu-icon-disabled: var(--shape-neutralalt2);
1034
+ --components-menu-overflowmenu-text: var(--text-lightalt);
1035
+ --components-menu-overflowmenu-text-disabled: var(--text-neutralalt2);
1036
+ --components-menu-pagination-contrast-active: var(--fill-secondary-active-contrast);
1037
+ --components-menu-pagination-contrast-border-selected: var(--stroke-lightalt);
1038
+ --components-menu-pagination-contrast-border-unselected: var(--stroke-transparentalt);
1039
+ --components-menu-pagination-contrast-default: var(--fill-background-standard-colorless);
1040
+ --components-menu-pagination-contrast-hover: var(--fill-secondary-hover-contrast);
1041
+ --components-menu-pagination-contrast-icon: var(--shape-lightalt);
1042
+ --components-menu-pagination-contrast-text-selected: var(--text-dark);
1043
+ --components-menu-pagination-contrast-text-subdued: var(--text-darkalt);
1044
+ --components-menu-pagination-contrast-text-unselected: var(--text-lightalt);
1045
+ --components-menu-pagination-standard-active: var(--fill-secondary-active-contrast);
1046
+ --components-menu-pagination-standard-border-selected: var(--stroke-lightalt);
1047
+ --components-menu-pagination-standard-border-unselected: var(--stroke-transparentalt);
1048
+ --components-menu-pagination-standard-default: var(--fill-background-standard-colorless);
1049
+ --components-menu-pagination-standard-hover: var(--fill-secondary-hover-contrast);
1050
+ --components-menu-pagination-standard-icon: var(--shape-lightalt);
1051
+ --components-menu-pagination-standard-text-selected: var(--text-dark);
1052
+ --components-menu-pagination-standard-text-subdued: var(--text-darkalt);
1053
+ --components-menu-pagination-standard-text-unselected: var(--text-lightalt);
1054
+ --components-menu-sidenavigation-contrast-avatar: var(--fill-background-overlay-transparent);
1055
+ --components-menu-sidenavigation-contrast-background: var(--fill-background-contrast-dark);
1056
+ --components-menu-sidenavigation-contrast-divide: var(--stroke-darkalt);
1057
+ --components-menu-sidenavigation-contrast-fill-active: var(--fill-background-standard-colorless);
1058
+ --components-menu-sidenavigation-contrast-fill-default: var(--fill-background-standard-colorless);
1059
+ --components-menu-sidenavigation-contrast-fill-hover: var(--fill-background-overlay-transparent);
1060
+ --components-menu-sidenavigation-contrast-icon: var(--shape-lightalt);
1061
+ --components-menu-sidenavigation-contrast-icon-disabled: var(--shape-neutralalt2);
1062
+ --components-menu-sidenavigation-contrast-icon-label: var(--shape-darkalt);
1063
+ --components-menu-sidenavigation-contrast-label: var(--text-darkalt);
1064
+ --components-menu-sidenavigation-contrast-stroke-selected: var(--stroke-highlightalt);
1065
+ --components-menu-sidenavigation-contrast-text: var(--text-lightalt);
1066
+ --components-menu-sidenavigation-contrast-text-disabled: var(--text-neutralalt2);
1067
+ --components-menu-sidenavigation-standard-avatar: var(--fill-background-overlay-transparent);
1068
+ --components-menu-sidenavigation-standard-background: var(--fill-background-contrast-dark);
1069
+ --components-menu-sidenavigation-standard-divide: var(--stroke-darkalt);
1070
+ --components-menu-sidenavigation-standard-fill-active: var(--fill-secondary-default-colorless);
1071
+ --components-menu-sidenavigation-standard-fill-default: var(--fill-secondary-default-colorless);
1072
+ --components-menu-sidenavigation-standard-fill-hover: var(--fill-background-overlay-transparent);
1073
+ --components-menu-sidenavigation-standard-icon: var(--shape-lightalt);
1074
+ --components-menu-sidenavigation-standard-icon-disabled: var(--shape-neutralalt2);
1075
+ --components-menu-sidenavigation-standard-icon-label: var(--shape-darkalt);
1076
+ --components-menu-sidenavigation-standard-label: var(--text-darkalt);
1077
+ --components-menu-sidenavigation-standard-stroke-selected: var(--stroke-highlightalt);
1078
+ --components-menu-sidenavigation-standard-text: var(--text-lightalt);
1079
+ --components-menu-sidenavigation-standard-text-disabled: var(--text-neutralalt2);
1080
+ --components-menu-stepper-contrast-background: var(--fill-secondary-hover-contrast);
1081
+ --components-menu-stepper-contrast-progressbar: var(--fill-primary-default-contrast);
1082
+ --components-menu-stepper-contrast-text-completed: var(--text-lightalt);
1083
+ --components-menu-stepper-contrast-text-uncompleted: var(--text-neutralalt);
1084
+ --components-menu-stepper-standard-background: var(--fill-secondary-hover-contrast);
1085
+ --components-menu-stepper-standard-progressbar: var(--fill-primary-default-contrast);
1086
+ --components-menu-stepper-standard-text-completed: var(--text-lightalt);
1087
+ --components-menu-stepper-standard-text-uncompleted: var(--text-neutralalt);
1088
+ --components-menu-tableofcontent-contrast-icon-selected: var(--shape-lightalt);
1089
+ --components-menu-tableofcontent-contrast-icon-unselected: var(--shape-darkalt);
1090
+ --components-menu-tableofcontent-contrast-stroke-selected: var(--stroke-highlightalt);
1091
+ --components-menu-tableofcontent-contrast-stroke-unselected: var(--stroke-transparent);
1092
+ --components-menu-tableofcontent-contrast-text-selected: var(--text-lightalt);
1093
+ --components-menu-tableofcontent-contrast-text-unselected: var(--text-darkalt);
1094
+ --components-menu-tableofcontent-standard-icon-selected: var(--shape-lightalt);
1095
+ --components-menu-tableofcontent-standard-icon-unselected: var(--shape-darkalt);
1096
+ --components-menu-tableofcontent-standard-stroke-selected: var(--stroke-highlightalt);
1097
+ --components-menu-tableofcontent-standard-stroke-unselected: var(--stroke-transparent);
1098
+ --components-menu-tableofcontent-standard-text-selected: var(--text-lightalt);
1099
+ --components-menu-tableofcontent-standard-text-unselected: var(--text-darkalt);
1100
+ }
1101
+
1102
+ /* DO NOT CHANGE!*/
1103
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1104
+ [data-color-mode=light],
1105
+ :root {
1106
+ --basecolors-frame-contrast: var(--fill-background-contrast-light);
1107
+ --basecolors-frame-contrastalt: var(--fill-background-contrast-lightalt);
1108
+ --basecolors-frame-default: var(--fill-background-standard-light);
1109
+ --basecolors-frame-elevated: var(--fill-background-standard-light);
1110
+ --basecolors-frame-elevatedalt: var(--fill-background-tint-light);
1111
+ --basecolors-frame-subdued: var(--fill-background-subdued-light);
1112
+ --basecolors-frame-tint: var(--fill-background-tint-light);
1113
+ --basecolors-shape-accent: var(--shape-accent);
1114
+ --basecolors-shape-bicycle-contrast: var(--contrast-bicycle);
1115
+ --basecolors-shape-bicycle-default: var(--standard-bicycle);
1116
+ --basecolors-shape-bus-contrast: var(--contrast-bus);
1117
+ --basecolors-shape-bus-default: var(--standard-bus);
1118
+ --basecolors-shape-cableway-contrast: var(--contrast-cableway);
1119
+ --basecolors-shape-cableway-default: var(--standard-cableway);
1120
+ --basecolors-shape-disabled: var(--shape-neutral);
1121
+ --basecolors-shape-disabledalt: var(--shape-neutralalt);
1122
+ --basecolors-shape-ferry-contrast: var(--contrast-ferry);
1123
+ --basecolors-shape-ferry-default: var(--standard-ferry);
1124
+ --basecolors-shape-funicular-contrast: var(--contrast-funicular);
1125
+ --basecolors-shape-funicular-default: var(--standard-funicular);
1126
+ --basecolors-shape-helicopter-contrast: var(--contrast-helicopter);
1127
+ --basecolors-shape-helicopter-default: var(--standard-helicopter);
1128
+ --basecolors-shape-highlight: var(--stroke-highlight);
1129
+ --basecolors-shape-light: var(--shape-light);
1130
+ --basecolors-shape-mask: var(--shape-light);
1131
+ --basecolors-shape-maskalt: var(--shape-light);
1132
+ --basecolors-shape-metro-contrast: var(--contrast-metro);
1133
+ --basecolors-shape-metro-default: var(--standard-metro);
1134
+ --basecolors-shape-mobility-contrast: var(--contrast-mobility);
1135
+ --basecolors-shape-mobility-default: var(--standard-mobility);
1136
+ --basecolors-shape-plane-contrast: var(--contrast-plane);
1137
+ --basecolors-shape-plane-default: var(--standard-plane);
1138
+ --basecolors-shape-subdued: var(--shape-subdued);
1139
+ --basecolors-shape-subduedalt: var(--shape-subduedalt);
1140
+ --basecolors-shape-taxi-contrast: var(--contrast-taxi);
1141
+ --basecolors-shape-taxi-default: var(--standard-taxi);
1142
+ --basecolors-shape-train-contrast: var(--contrast-train);
1143
+ --basecolors-shape-train-default: var(--standard-train);
1144
+ --basecolors-shape-tram-contrast: var(--contrast-tram);
1145
+ --basecolors-shape-tram-default: var(--standard-tram);
1146
+ --basecolors-shape-walk-contrast: var(--contrast-walk);
1147
+ --basecolors-shape-walk-default: var(--standard-walk);
1148
+ --basecolors-shape-airportlinkbus-contrast: var(--contrast-airportlinkbus);
1149
+ --basecolors-shape-airportlinkbus-default: var(--standard-airportlinkbus);
1150
+ --basecolors-shape-airportlinkrail-contrast: var(--contrast-airportlinkrail);
1151
+ --basecolors-shape-airportlinkrail-default: var(--standard-airportlinkrail);
1152
+ --basecolors-stroke-contrast: var(--stroke-contrast);
1153
+ --basecolors-stroke-default: var(--stroke-accent);
1154
+ --basecolors-stroke-disabled: var(--stroke-neutralalt);
1155
+ --basecolors-stroke-focus-contrast: var(--stroke-contrast);
1156
+ --basecolors-stroke-focus-standard: var(--stroke-accent);
1157
+ --basecolors-stroke-highlight: var(--stroke-highlight);
1158
+ --basecolors-stroke-light: var(--stroke-light);
1159
+ --basecolors-stroke-subdued: var(--stroke-subdued);
1160
+ --basecolors-stroke-subduedalt: var(--stroke-neutral);
1161
+ --basecolors-text-accent: var(--text-accent);
1162
+ --basecolors-text-disabled: var(--text-neutral);
1163
+ --basecolors-text-disabledalt: var(--text-neutralalt);
1164
+ --basecolors-text-highlight: var(--stroke-highlight);
1165
+ --basecolors-text-light: var(--text-light);
1166
+ --basecolors-text-subdued: var(--text-subdued);
1167
+ --basecolors-text-subduedalt: var(--text-subduedalt);
1168
+ }
1169
+
1170
+ [data-color-mode=dark] {
1171
+ --basecolors-frame-contrast: var(--fill-background-contrast-dark);
1172
+ --basecolors-frame-contrastalt: var(--fill-background-tint-dark);
1173
+ --basecolors-frame-default: var(--fill-background-standard-dark);
1174
+ --basecolors-frame-elevated: var(--fill-background-overlay-transparent);
1175
+ --basecolors-frame-elevatedalt: var(--fill-background-overlay-solidalt);
1176
+ --basecolors-frame-subdued: var(--fill-background-subdued-dark);
1177
+ --basecolors-frame-tint: var(--fill-background-tint-dark);
1178
+ --basecolors-shape-accent: var(--shape-lightalt);
1179
+ --basecolors-shape-bicycle-contrast: var(--dark-bicycle);
1180
+ --basecolors-shape-bicycle-default: var(--dark-bicycle);
1181
+ --basecolors-shape-bus-contrast: var(--dark-bus);
1182
+ --basecolors-shape-bus-default: var(--dark-bus);
1183
+ --basecolors-shape-cableway-contrast: var(--dark-cableway);
1184
+ --basecolors-shape-cableway-default: var(--dark-cableway);
1185
+ --basecolors-shape-disabled: var(--shape-neutralalt);
1186
+ --basecolors-shape-disabledalt: var(--shape-darkalt);
1187
+ --basecolors-shape-ferry-contrast: var(--dark-ferry);
1188
+ --basecolors-shape-ferry-default: var(--dark-ferry);
1189
+ --basecolors-shape-funicular-contrast: var(--dark-funicular);
1190
+ --basecolors-shape-funicular-default: var(--dark-funicular);
1191
+ --basecolors-shape-helicopter-contrast: var(--dark-helicopter);
1192
+ --basecolors-shape-helicopter-default: var(--dark-helicopter);
1193
+ --basecolors-shape-highlight: var(--stroke-highlightalt);
1194
+ --basecolors-shape-light: var(--shape-lightalt);
1195
+ --basecolors-shape-mask: var(--fill-background-subdued-dark);
1196
+ --basecolors-shape-maskalt: var(--fill-background-overlay-solid);
1197
+ --basecolors-shape-metro-contrast: var(--dark-metro);
1198
+ --basecolors-shape-metro-default: var(--dark-metro);
1199
+ --basecolors-shape-mobility-contrast: var(--dark-mobility);
1200
+ --basecolors-shape-mobility-default: var(--dark-mobility);
1201
+ --basecolors-shape-plane-contrast: var(--dark-plane);
1202
+ --basecolors-shape-plane-default: var(--dark-plane);
1203
+ --basecolors-shape-subdued: var(--shape-darkalt);
1204
+ --basecolors-shape-subduedalt: var(--shape-darkalt);
1205
+ --basecolors-shape-taxi-contrast: var(--dark-taxi);
1206
+ --basecolors-shape-taxi-default: var(--dark-taxi);
1207
+ --basecolors-shape-train-contrast: var(--dark-train);
1208
+ --basecolors-shape-train-default: var(--dark-train);
1209
+ --basecolors-shape-tram-contrast: var(--dark-tram);
1210
+ --basecolors-shape-tram-default: var(--dark-tram);
1211
+ --basecolors-shape-walk-contrast: var(--dark-walk);
1212
+ --basecolors-shape-walk-default: var(--dark-walk);
1213
+ --basecolors-shape-airportlinkbus-contrast: var(--dark-airportlinkbus);
1214
+ --basecolors-shape-airportlinkbus-default: var(--dark-airportlinkbus);
1215
+ --basecolors-shape-airportlinkrail-contrast: var(--dark-airportlinkrail);
1216
+ --basecolors-shape-airportlinkrail-default: var(--dark-airportlinkrail);
1217
+ --basecolors-stroke-contrast: var(--stroke-contrast);
1218
+ --basecolors-stroke-default: var(--stroke-dark);
1219
+ --basecolors-stroke-disabled: var(--stroke-neutral);
1220
+ --basecolors-stroke-focus-contrast: var(--stroke-contrast);
1221
+ --basecolors-stroke-focus-standard: var(--stroke-contrast);
1222
+ --basecolors-stroke-highlight: var(--stroke-highlightalt);
1223
+ --basecolors-stroke-light: var(--stroke-dark);
1224
+ --basecolors-stroke-subdued: var(--stroke-darkalt);
1225
+ --basecolors-stroke-subduedalt: var(--stroke-darkalt);
1226
+ --basecolors-text-accent: var(--text-lightalt);
1227
+ --basecolors-text-disabled: var(--text-neutralalt);
1228
+ --basecolors-text-disabledalt: var(--text-neutralalt);
1229
+ --basecolors-text-highlight: var(--stroke-highlightalt);
1230
+ --basecolors-text-light: var(--text-lightalt);
1231
+ --basecolors-text-subdued: var(--text-darkalt);
1232
+ --basecolors-text-subduedalt: var(--text-darkalt);
1233
+ }
1234
+
685
1235
  :root {
686
1236
  --eds-menu: 1;
687
1237
  --reach-menu-button: 1;