@entur/typography 1.9.13 → 1.10.0-beta.10
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/README.md +101 -4
- package/dist/BaseHeading.d.ts +18 -0
- package/dist/Blockquote.d.ts +12 -0
- package/dist/CodeText.d.ts +16 -0
- package/dist/EmphasizedText.d.ts +20 -0
- package/dist/Heading1.d.ts +20 -0
- package/dist/Heading2.d.ts +20 -0
- package/dist/Heading3.d.ts +20 -0
- package/dist/Heading4.d.ts +20 -0
- package/dist/Heading5.d.ts +20 -0
- package/dist/Heading6.d.ts +20 -0
- package/dist/Label.d.ts +20 -0
- package/dist/LeadParagraph.d.ts +20 -0
- package/dist/Link.d.ts +22 -0
- package/dist/ListItem.d.ts +11 -0
- package/dist/NumberedList.d.ts +8 -0
- package/dist/Paragraph.d.ts +20 -0
- package/dist/PreformattedText.d.ts +16 -0
- package/dist/SmallText.d.ts +20 -0
- package/dist/StrongText.d.ts +20 -0
- package/dist/SubLabel.d.ts +20 -0
- package/dist/SubParagraph.d.ts +20 -0
- package/dist/UnorderedList.d.ts +8 -0
- package/dist/beta/BlockquoteBeta.d.ts +12 -0
- package/dist/beta/Heading.d.ts +21 -0
- package/dist/beta/LinkBeta.d.ts +16 -0
- package/dist/beta/Text.d.ts +21 -0
- package/dist/beta/index.d.ts +6 -0
- package/dist/beta/types.d.ts +5 -0
- package/dist/beta/utils.d.ts +10 -0
- package/dist/index.d.ts +26 -426
- package/dist/index.js +8 -0
- package/dist/styles.css +838 -2
- package/dist/typography.cjs.development.js +528 -0
- package/dist/typography.cjs.development.js.map +1 -0
- package/dist/typography.cjs.production.min.js +2 -0
- package/dist/typography.cjs.production.min.js.map +1 -0
- package/dist/typography.esm.js +474 -392
- package/dist/typography.esm.js.map +1 -1
- package/package.json +21 -25
- package/scripts/migrate-typography.js +1259 -0
- package/dist/typography.cjs.js +0 -416
- package/dist/typography.cjs.js.map +0 -1
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,817 @@
|
|
|
1
|
+
@import '~modern-normalize/modern-normalize.css';
|
|
2
|
+
/* DO NOT CHANGE!*/
|
|
3
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
4
|
+
/* DO NOT CHANGE!*/
|
|
5
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
+
/* DO NOT CHANGE!*/
|
|
7
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
8
|
+
/* DO NOT CHANGE!*/
|
|
9
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
10
|
+
/* DO NOT CHANGE!*/
|
|
11
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
12
|
+
[data-color-mode=light],
|
|
13
|
+
:root {
|
|
14
|
+
--basecolors-frame-contrast: #181c56;
|
|
15
|
+
--basecolors-frame-contrastalt: #393d79;
|
|
16
|
+
--basecolors-frame-contrastalt-2: #292b6a;
|
|
17
|
+
--basecolors-frame-default: #ffffff;
|
|
18
|
+
--basecolors-frame-elevated: #ffffff;
|
|
19
|
+
--basecolors-frame-elevatedalt: #f6f6f9;
|
|
20
|
+
--basecolors-frame-subdued: #d9dae8;
|
|
21
|
+
--basecolors-frame-tint: #f6f6f9;
|
|
22
|
+
--basecolors-shape-accent: #181c56;
|
|
23
|
+
--basecolors-shape-bicycle-contrast: #00db9b;
|
|
24
|
+
--basecolors-shape-bicycle-default: #388f76;
|
|
25
|
+
--basecolors-shape-bus-contrast: #ff6392;
|
|
26
|
+
--basecolors-shape-bus-default: #c5044e;
|
|
27
|
+
--basecolors-shape-cableway-contrast: #b482fb;
|
|
28
|
+
--basecolors-shape-cableway-default: #78469a;
|
|
29
|
+
--basecolors-shape-disabled: #6e6f73;
|
|
30
|
+
--basecolors-shape-disabledalt: #b6b8ba;
|
|
31
|
+
--basecolors-shape-ferry-contrast: #6fdfff;
|
|
32
|
+
--basecolors-shape-ferry-default: #0c6693;
|
|
33
|
+
--basecolors-shape-funicular-contrast: #b482fb;
|
|
34
|
+
--basecolors-shape-funicular-default: #78469a;
|
|
35
|
+
--basecolors-shape-helicopter-contrast: #fbafea;
|
|
36
|
+
--basecolors-shape-helicopter-default: #800664;
|
|
37
|
+
--basecolors-shape-highlight: #ff5959;
|
|
38
|
+
--basecolors-shape-light: #ffffff;
|
|
39
|
+
--basecolors-shape-mask: #ffffff;
|
|
40
|
+
--basecolors-shape-maskalt: #ffffff;
|
|
41
|
+
--basecolors-shape-metro-contrast: #f08901;
|
|
42
|
+
--basecolors-shape-metro-default: #bf5826;
|
|
43
|
+
--basecolors-shape-mobility-contrast: #00db9b;
|
|
44
|
+
--basecolors-shape-mobility-default: #388f76;
|
|
45
|
+
--basecolors-shape-plane-contrast: #fbafea;
|
|
46
|
+
--basecolors-shape-plane-default: #800664;
|
|
47
|
+
--basecolors-shape-subdued: #626493;
|
|
48
|
+
--basecolors-shape-subduedalt: #d9dae8;
|
|
49
|
+
--basecolors-shape-taxi-contrast: #ffe082;
|
|
50
|
+
--basecolors-shape-taxi-default: #3d3e40;
|
|
51
|
+
--basecolors-shape-train-contrast: #42a5f5;
|
|
52
|
+
--basecolors-shape-train-default: #00367f;
|
|
53
|
+
--basecolors-shape-tram-contrast: #b482fb;
|
|
54
|
+
--basecolors-shape-tram-default: #78469a;
|
|
55
|
+
--basecolors-shape-walk-contrast: #8284ab;
|
|
56
|
+
--basecolors-shape-walk-default: #8d8e9c;
|
|
57
|
+
--basecolors-shape-airportlinkbus-contrast: #fbafea;
|
|
58
|
+
--basecolors-shape-airportlinkbus-default: #800664;
|
|
59
|
+
--basecolors-shape-airportlinkrail-contrast: #fbafea;
|
|
60
|
+
--basecolors-shape-airportlinkrail-default: #800664;
|
|
61
|
+
--basecolors-stroke-contrast: #aeb7e2;
|
|
62
|
+
--basecolors-stroke-default: #181c56;
|
|
63
|
+
--basecolors-stroke-disabled: #949699;
|
|
64
|
+
--basecolors-stroke-focus-contrast: #aeb7e2;
|
|
65
|
+
--basecolors-stroke-focus-standard: #181c56;
|
|
66
|
+
--basecolors-stroke-highlight: #ff5959;
|
|
67
|
+
--basecolors-stroke-light: #ffffff;
|
|
68
|
+
--basecolors-stroke-subdued: #8284ab;
|
|
69
|
+
--basecolors-stroke-subduedalt: #e3e6e8;
|
|
70
|
+
--basecolors-text-accent: #181c56;
|
|
71
|
+
--basecolors-text-disabled: #6e6f73;
|
|
72
|
+
--basecolors-text-disabledalt: #b6b8ba;
|
|
73
|
+
--basecolors-text-highlight: #ff5959;
|
|
74
|
+
--basecolors-text-light: #ffffff;
|
|
75
|
+
--basecolors-text-subdued: #626493;
|
|
76
|
+
--basecolors-text-subduedalt: #d9dae8;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
[data-color-mode=dark] {
|
|
80
|
+
--basecolors-frame-contrast: #212233;
|
|
81
|
+
--basecolors-frame-contrastalt: #141527;
|
|
82
|
+
--basecolors-frame-contrastalt-2: #08091c;
|
|
83
|
+
--basecolors-frame-default: #08091c;
|
|
84
|
+
--basecolors-frame-elevated: rgba(229, 229, 233, 0.1490196078);
|
|
85
|
+
--basecolors-frame-elevatedalt: #464755;
|
|
86
|
+
--basecolors-frame-subdued: #2d2e3e;
|
|
87
|
+
--basecolors-frame-tint: #141527;
|
|
88
|
+
--basecolors-shape-accent: #e5e5e9;
|
|
89
|
+
--basecolors-shape-bicycle-contrast: #4db295;
|
|
90
|
+
--basecolors-shape-bicycle-default: #4db295;
|
|
91
|
+
--basecolors-shape-bus-contrast: #ef7398;
|
|
92
|
+
--basecolors-shape-bus-default: #ef7398;
|
|
93
|
+
--basecolors-shape-cableway-contrast: #b898e5;
|
|
94
|
+
--basecolors-shape-cableway-default: #b898e5;
|
|
95
|
+
--basecolors-shape-disabled: #b6b8ba;
|
|
96
|
+
--basecolors-shape-disabledalt: #b3b4bd;
|
|
97
|
+
--basecolors-shape-ferry-contrast: #8ccfe2;
|
|
98
|
+
--basecolors-shape-ferry-default: #8ccfe2;
|
|
99
|
+
--basecolors-shape-funicular-contrast: #b898e5;
|
|
100
|
+
--basecolors-shape-funicular-default: #b898e5;
|
|
101
|
+
--basecolors-shape-helicopter-contrast: #f2b8e5;
|
|
102
|
+
--basecolors-shape-helicopter-default: #f2b8e5;
|
|
103
|
+
--basecolors-shape-highlight: #ff9494;
|
|
104
|
+
--basecolors-shape-light: #e5e5e9;
|
|
105
|
+
--basecolors-shape-mask: #2d2e3e;
|
|
106
|
+
--basecolors-shape-maskalt: #393a49;
|
|
107
|
+
--basecolors-shape-metro-contrast: #dd973c;
|
|
108
|
+
--basecolors-shape-metro-default: #dd973c;
|
|
109
|
+
--basecolors-shape-mobility-contrast: #4db295;
|
|
110
|
+
--basecolors-shape-mobility-default: #4db295;
|
|
111
|
+
--basecolors-shape-plane-contrast: #f2b8e5;
|
|
112
|
+
--basecolors-shape-plane-default: #f2b8e5;
|
|
113
|
+
--basecolors-shape-subdued: #b3b4bd;
|
|
114
|
+
--basecolors-shape-subduedalt: #b3b4bd;
|
|
115
|
+
--basecolors-shape-taxi-contrast: #ffe082;
|
|
116
|
+
--basecolors-shape-taxi-default: #ffe082;
|
|
117
|
+
--basecolors-shape-train-contrast: #60a2d7;
|
|
118
|
+
--basecolors-shape-train-default: #60a2d7;
|
|
119
|
+
--basecolors-shape-tram-contrast: #b898e5;
|
|
120
|
+
--basecolors-shape-tram-default: #b898e5;
|
|
121
|
+
--basecolors-shape-walk-contrast: #8d8e9c;
|
|
122
|
+
--basecolors-shape-walk-default: #8d8e9c;
|
|
123
|
+
--basecolors-shape-airportlinkbus-contrast: #f2b8e5;
|
|
124
|
+
--basecolors-shape-airportlinkbus-default: #f2b8e5;
|
|
125
|
+
--basecolors-shape-airportlinkrail-contrast: #f2b8e5;
|
|
126
|
+
--basecolors-shape-airportlinkrail-default: #f2b8e5;
|
|
127
|
+
--basecolors-stroke-contrast: #aeb7e2;
|
|
128
|
+
--basecolors-stroke-default: #b3b4bd;
|
|
129
|
+
--basecolors-stroke-disabled: #e3e6e8;
|
|
130
|
+
--basecolors-stroke-focus-contrast: #aeb7e2;
|
|
131
|
+
--basecolors-stroke-focus-standard: #aeb7e2;
|
|
132
|
+
--basecolors-stroke-highlight: #ff9494;
|
|
133
|
+
--basecolors-stroke-light: #b3b4bd;
|
|
134
|
+
--basecolors-stroke-subdued: #81828f;
|
|
135
|
+
--basecolors-stroke-subduedalt: #949699;
|
|
136
|
+
--basecolors-text-accent: #e5e5e9;
|
|
137
|
+
--basecolors-text-disabled: #b6b8ba;
|
|
138
|
+
--basecolors-text-disabledalt: #b6b8ba;
|
|
139
|
+
--basecolors-text-highlight: #ff9494;
|
|
140
|
+
--basecolors-text-light: #e5e5e9;
|
|
141
|
+
--basecolors-text-subdued: #b3b4bd;
|
|
142
|
+
--basecolors-text-subduedalt: #b3b4bd;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/*
|
|
146
|
+
* Typography Display Modes
|
|
147
|
+
*
|
|
148
|
+
* This system allows you to control typography scaling based on display size.
|
|
149
|
+
* Use the display-mode attribute to switch between different typography scales:
|
|
150
|
+
*
|
|
151
|
+
* - Default/Mobile: [display-mode='mobile'] or no attribute (responsive)
|
|
152
|
+
* - Large Display: [display-mode='large'] for big screens, kiosks, etc.
|
|
153
|
+
*
|
|
154
|
+
* Usage:
|
|
155
|
+
* <html display-mode="large"> or <div display-mode="large">
|
|
156
|
+
*
|
|
157
|
+
* The system automatically handles responsive behavior within each mode.
|
|
158
|
+
*/
|
|
159
|
+
/* Primitive size */
|
|
160
|
+
:root {
|
|
161
|
+
/* Mode 1 */
|
|
162
|
+
/* number */
|
|
163
|
+
--size-0: 0rem;
|
|
164
|
+
--size-1: 0.125rem;
|
|
165
|
+
--size-2: 0.25rem;
|
|
166
|
+
--size-3: 0.5rem;
|
|
167
|
+
--size-4: 0.75rem;
|
|
168
|
+
--size-5: 0.875rem;
|
|
169
|
+
--size-6: 1rem;
|
|
170
|
+
--size-7: 1.25rem;
|
|
171
|
+
--size-8: 1.5rem;
|
|
172
|
+
--size-9: 1.75rem;
|
|
173
|
+
--size-10: 2rem;
|
|
174
|
+
--size-11: 2.25rem;
|
|
175
|
+
--size-12: 2.5rem;
|
|
176
|
+
--size-13: 2.75rem;
|
|
177
|
+
--size-14: 3rem;
|
|
178
|
+
--size-15: 3.25rem;
|
|
179
|
+
--size-16: 3.5rem;
|
|
180
|
+
--size-17: 4rem;
|
|
181
|
+
--size-18: 4.5rem;
|
|
182
|
+
--size-19: 5rem;
|
|
183
|
+
--size-20: 5.5rem;
|
|
184
|
+
--size-21: 6rem;
|
|
185
|
+
--size-22: 6.5rem;
|
|
186
|
+
--size-23: 7rem;
|
|
187
|
+
--size-24: 7.5rem;
|
|
188
|
+
--size-25: 8.5rem;
|
|
189
|
+
--size-26: 10rem;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:root,
|
|
193
|
+
[display-mode=mobile] {
|
|
194
|
+
/* Mobile/Default mode - number */
|
|
195
|
+
--font-line-height-body-lg: var(--size-8);
|
|
196
|
+
--font-line-height-body-m: var(--size-8);
|
|
197
|
+
--font-line-height-body-s: var(--size-7);
|
|
198
|
+
--font-line-height-body-xl: var(--size-9);
|
|
199
|
+
--font-line-height-body-xs: var(--size-6);
|
|
200
|
+
--font-line-height-heading-2xl: var(--size-10);
|
|
201
|
+
--font-line-height-heading-lg: var(--size-8);
|
|
202
|
+
--font-line-height-heading-m: var(--size-7);
|
|
203
|
+
--font-line-height-heading-s: var(--size-6);
|
|
204
|
+
--font-line-height-heading-xl: var(--size-9);
|
|
205
|
+
--font-line-height-heading-xs: var(--size-6);
|
|
206
|
+
--font-paragraph-spacing-body-lg: var(--size-7);
|
|
207
|
+
--font-paragraph-spacing-body-m: var(--size-6);
|
|
208
|
+
--font-paragraph-spacing-body-s: var(--size-4);
|
|
209
|
+
--font-paragraph-spacing-body-xl: var(--size-7);
|
|
210
|
+
--font-paragraph-spacing-body-xs: var(--size-3);
|
|
211
|
+
--font-paragraph-spacing-heading-2xl: var(--size-6);
|
|
212
|
+
--font-paragraph-spacing-heading-lg: var(--size-4);
|
|
213
|
+
--font-paragraph-spacing-heading-m: var(--size-4);
|
|
214
|
+
--font-paragraph-spacing-heading-s: var(--size-3);
|
|
215
|
+
--font-paragraph-spacing-heading-xl: var(--size-6);
|
|
216
|
+
--font-paragraph-spacing-heading-xs: var(--size-3);
|
|
217
|
+
--font-size-body-lg: var(--size-6);
|
|
218
|
+
--font-size-body-m: var(--size-6);
|
|
219
|
+
--font-size-body-s: var(--size-5);
|
|
220
|
+
--font-size-body-xl: var(--size-7);
|
|
221
|
+
--font-size-body-xs: var(--size-4);
|
|
222
|
+
--font-size-heading-2xl: var(--size-9);
|
|
223
|
+
--font-size-heading-lg: var(--size-7);
|
|
224
|
+
--font-size-heading-m: var(--size-6);
|
|
225
|
+
--font-size-heading-s: var(--size-5);
|
|
226
|
+
--font-size-heading-xl: var(--size-8);
|
|
227
|
+
--font-size-heading-xs: var(--size-4);
|
|
228
|
+
/* string */
|
|
229
|
+
--font-family-nationale: Nationale;
|
|
230
|
+
--font-weight-body: 500;
|
|
231
|
+
--font-weight-heading: 600;
|
|
232
|
+
}
|
|
233
|
+
@media screen and (min-width: 50rem) {
|
|
234
|
+
:root,
|
|
235
|
+
[display-mode=mobile] {
|
|
236
|
+
/* Desktop override for mobile mode - number */
|
|
237
|
+
--font-line-height-body-lg: var(--size-9);
|
|
238
|
+
--font-line-height-body-m: var(--size-8);
|
|
239
|
+
--font-line-height-body-s: var(--size-7);
|
|
240
|
+
--font-line-height-body-xl: var(--size-10);
|
|
241
|
+
--font-line-height-body-xs: var(--size-6);
|
|
242
|
+
--font-line-height-heading-2xl: var(--size-13);
|
|
243
|
+
--font-line-height-heading-lg: var(--size-9);
|
|
244
|
+
--font-line-height-heading-m: var(--size-8);
|
|
245
|
+
--font-line-height-heading-s: var(--size-7);
|
|
246
|
+
--font-line-height-heading-xl: var(--size-11);
|
|
247
|
+
--font-line-height-heading-xs: var(--size-6);
|
|
248
|
+
--font-paragraph-spacing-body-lg: var(--size-8);
|
|
249
|
+
--font-paragraph-spacing-body-m: var(--size-6);
|
|
250
|
+
--font-paragraph-spacing-body-s: var(--size-4);
|
|
251
|
+
--font-paragraph-spacing-body-xl: var(--size-8);
|
|
252
|
+
--font-paragraph-spacing-body-xs: var(--size-3);
|
|
253
|
+
--font-paragraph-spacing-heading-2xl: var(--size-8);
|
|
254
|
+
--font-paragraph-spacing-heading-lg: var(--size-6);
|
|
255
|
+
--font-paragraph-spacing-heading-m: var(--size-4);
|
|
256
|
+
--font-paragraph-spacing-heading-s: var(--size-4);
|
|
257
|
+
--font-paragraph-spacing-heading-xl: var(--size-7);
|
|
258
|
+
--font-paragraph-spacing-heading-xs: var(--size-3);
|
|
259
|
+
--font-size-body-lg: var(--size-7);
|
|
260
|
+
--font-size-body-m: var(--size-6);
|
|
261
|
+
--font-size-body-s: var(--size-5);
|
|
262
|
+
--font-size-body-xl: var(--size-8);
|
|
263
|
+
--font-size-body-xs: var(--size-4);
|
|
264
|
+
--font-size-heading-2xl: var(--size-12);
|
|
265
|
+
--font-size-heading-lg: var(--size-8);
|
|
266
|
+
--font-size-heading-m: var(--size-7);
|
|
267
|
+
--font-size-heading-s: var(--size-6);
|
|
268
|
+
--font-size-heading-xl: var(--size-10);
|
|
269
|
+
--font-size-heading-xs: var(--size-5);
|
|
270
|
+
/* string */
|
|
271
|
+
--font-family-nationale: Nationale;
|
|
272
|
+
--font-weight-body: 500;
|
|
273
|
+
--font-weight-heading: 600;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
[display-mode=large] {
|
|
278
|
+
/* Large display mode - optimized for big screens - number */
|
|
279
|
+
--font-line-height-body-lg: var(--size-16);
|
|
280
|
+
--font-line-height-body-m: var(--size-13);
|
|
281
|
+
--font-line-height-body-s: var(--size-10);
|
|
282
|
+
--font-line-height-body-xl: var(--size-17);
|
|
283
|
+
--font-line-height-body-xs: var(--size-9);
|
|
284
|
+
--font-line-height-heading-2xl: var(--size-19);
|
|
285
|
+
--font-line-height-heading-lg: var(--size-16);
|
|
286
|
+
--font-line-height-heading-m: var(--size-13);
|
|
287
|
+
--font-line-height-heading-s: var(--size-11);
|
|
288
|
+
--font-line-height-heading-xl: var(--size-18);
|
|
289
|
+
--font-line-height-heading-xs: var(--size-9);
|
|
290
|
+
--font-paragraph-spacing-body-lg: var(--size-12);
|
|
291
|
+
--font-paragraph-spacing-body-m: var(--size-10);
|
|
292
|
+
--font-paragraph-spacing-body-s: var(--size-8);
|
|
293
|
+
--font-paragraph-spacing-body-xl: var(--size-14);
|
|
294
|
+
--font-paragraph-spacing-body-xs: var(--size-7);
|
|
295
|
+
--font-paragraph-spacing-heading-2xl: var(--size-11);
|
|
296
|
+
--font-paragraph-spacing-heading-lg: var(--size-8);
|
|
297
|
+
--font-paragraph-spacing-heading-m: var(--size-7);
|
|
298
|
+
--font-paragraph-spacing-heading-s: var(--size-6);
|
|
299
|
+
--font-paragraph-spacing-heading-xl: var(--size-10);
|
|
300
|
+
--font-paragraph-spacing-heading-xs: var(--size-4);
|
|
301
|
+
--font-size-body-lg: var(--size-12);
|
|
302
|
+
--font-size-body-m: var(--size-10);
|
|
303
|
+
--font-size-body-s: var(--size-8);
|
|
304
|
+
--font-size-body-xl: var(--size-14);
|
|
305
|
+
--font-size-body-xs: var(--size-7);
|
|
306
|
+
--font-size-heading-2xl: var(--size-18);
|
|
307
|
+
--font-size-heading-lg: var(--size-14);
|
|
308
|
+
--font-size-heading-m: var(--size-12);
|
|
309
|
+
--font-size-heading-s: var(--size-10);
|
|
310
|
+
--font-size-heading-xl: var(--size-17);
|
|
311
|
+
--font-size-heading-xs: var(--size-8);
|
|
312
|
+
/* string */
|
|
313
|
+
--font-family-nationale: Nationale;
|
|
314
|
+
--font-weight-body: 500;
|
|
315
|
+
--font-weight-heading: 600;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
[data-color-mode=light],
|
|
319
|
+
[data-color-mode=dark],
|
|
320
|
+
:root {
|
|
321
|
+
--eds-typography: 1;
|
|
322
|
+
--primary-background-color: var(--basecolors-frame-default);
|
|
323
|
+
--primary-text-color: var(--components-typography-basetext-standard-text-accent);
|
|
324
|
+
--primary-label-color: var(--components-typography-label-standard-text-accent);
|
|
325
|
+
--eds-font-family: "Nationale", Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
|
|
326
|
+
"Helvetica Neue", sans-serif;
|
|
327
|
+
color: var(--primary-text-color);
|
|
328
|
+
background-color: #ffffff;
|
|
329
|
+
background-color: var(--primary-background-color);
|
|
330
|
+
font-family: "Nationale", Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
331
|
+
font-weight: 500;
|
|
332
|
+
font-weight: var(--font-weight-body);
|
|
333
|
+
font-size: 1rem;
|
|
334
|
+
font-size: var(--font-size-body-m);
|
|
335
|
+
line-height: 1.375rem;
|
|
336
|
+
}
|
|
337
|
+
[data-color-mode=light] .eds-contrast,
|
|
338
|
+
[data-color-mode=dark] .eds-contrast,
|
|
339
|
+
:root .eds-contrast {
|
|
340
|
+
--primary-background-color: var(--basecolors-frame-contrast);
|
|
341
|
+
--primary-text-color: var(--components-typography-basetext-contrast-text-accent);
|
|
342
|
+
--primary-label-color: var(--components-typography-label-contrast-text-accent);
|
|
343
|
+
color: var(--primary-text-color);
|
|
344
|
+
background-color: #181c56;
|
|
345
|
+
background-color: var(--primary-background-color);
|
|
346
|
+
}
|
|
347
|
+
@media screen and (min-width: 50rem) {
|
|
348
|
+
[data-color-mode=light],
|
|
349
|
+
[data-color-mode=dark],
|
|
350
|
+
:root {
|
|
351
|
+
font-size: 1rem;
|
|
352
|
+
line-height: 1.5rem;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
*,
|
|
357
|
+
*::before,
|
|
358
|
+
*::after {
|
|
359
|
+
box-sizing: inherit;
|
|
360
|
+
font-weight: inherit;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.eds-heading {
|
|
364
|
+
color: var(--primary-text-color);
|
|
365
|
+
font-weight: 600;
|
|
366
|
+
font-weight: var(--font-weight-heading);
|
|
367
|
+
-webkit-font-smoothing: antialiased;
|
|
368
|
+
margin: 0;
|
|
369
|
+
}
|
|
370
|
+
.eds-heading--2xl {
|
|
371
|
+
font-size: 1.75rem;
|
|
372
|
+
font-size: var(--font-size-heading-2xl);
|
|
373
|
+
line-height: 2rem;
|
|
374
|
+
line-height: var(--font-line-height-heading-2xl);
|
|
375
|
+
}
|
|
376
|
+
.eds-heading--xl {
|
|
377
|
+
font-size: 1.5rem;
|
|
378
|
+
font-size: var(--font-size-heading-xl);
|
|
379
|
+
line-height: 1.75rem;
|
|
380
|
+
line-height: var(--font-line-height-heading-xl);
|
|
381
|
+
}
|
|
382
|
+
.eds-heading--lg {
|
|
383
|
+
font-size: 1.25rem;
|
|
384
|
+
font-size: var(--font-size-heading-lg);
|
|
385
|
+
line-height: 1.5rem;
|
|
386
|
+
line-height: var(--font-line-height-heading-lg);
|
|
387
|
+
}
|
|
388
|
+
.eds-heading--m {
|
|
389
|
+
font-size: 1rem;
|
|
390
|
+
font-size: var(--font-size-heading-m);
|
|
391
|
+
line-height: 1.25rem;
|
|
392
|
+
line-height: var(--font-line-height-heading-m);
|
|
393
|
+
}
|
|
394
|
+
.eds-heading--s {
|
|
395
|
+
font-size: 0.875rem;
|
|
396
|
+
font-size: var(--font-size-heading-s);
|
|
397
|
+
line-height: 1rem;
|
|
398
|
+
line-height: var(--font-line-height-heading-s);
|
|
399
|
+
}
|
|
400
|
+
.eds-heading--xs {
|
|
401
|
+
font-size: 0.75rem;
|
|
402
|
+
font-size: var(--font-size-heading-xs);
|
|
403
|
+
line-height: 1rem;
|
|
404
|
+
line-height: var(--font-line-height-heading-xs);
|
|
405
|
+
}
|
|
406
|
+
.eds-heading--title-1 {
|
|
407
|
+
font-size: 1.75rem;
|
|
408
|
+
font-size: var(--font-size-heading-2xl);
|
|
409
|
+
line-height: 2rem;
|
|
410
|
+
line-height: var(--font-line-height-heading-2xl);
|
|
411
|
+
margin-bottom: 0.75rem;
|
|
412
|
+
margin-bottom: var(--font-paragraph-spacing-heading-lg);
|
|
413
|
+
}
|
|
414
|
+
.eds-heading--title-2 {
|
|
415
|
+
font-size: 1.5rem;
|
|
416
|
+
font-size: var(--font-size-heading-xl);
|
|
417
|
+
line-height: 1.75rem;
|
|
418
|
+
line-height: var(--font-line-height-heading-xl);
|
|
419
|
+
margin-top: 1rem;
|
|
420
|
+
margin-top: var(--font-paragraph-spacing-heading-xl);
|
|
421
|
+
margin-bottom: 1rem;
|
|
422
|
+
margin-bottom: var(--font-paragraph-spacing-heading-xl);
|
|
423
|
+
}
|
|
424
|
+
.eds-heading--subtitle-1 {
|
|
425
|
+
font-size: 1.25rem;
|
|
426
|
+
font-size: var(--font-size-heading-lg);
|
|
427
|
+
line-height: 1.5rem;
|
|
428
|
+
line-height: var(--font-line-height-heading-lg);
|
|
429
|
+
margin-top: 0.75rem;
|
|
430
|
+
margin-top: var(--font-paragraph-spacing-heading-lg);
|
|
431
|
+
margin-bottom: 0.75rem;
|
|
432
|
+
margin-bottom: var(--font-paragraph-spacing-heading-lg);
|
|
433
|
+
}
|
|
434
|
+
.eds-heading--subtitle-2 {
|
|
435
|
+
font-size: 1rem;
|
|
436
|
+
font-size: var(--font-size-heading-m);
|
|
437
|
+
line-height: 1.25rem;
|
|
438
|
+
line-height: var(--font-line-height-heading-m);
|
|
439
|
+
margin-top: 1rem;
|
|
440
|
+
margin-top: var(--font-paragraph-spacing-heading-xl);
|
|
441
|
+
margin-bottom: 0.75rem;
|
|
442
|
+
margin-bottom: var(--font-paragraph-spacing-heading-m);
|
|
443
|
+
}
|
|
444
|
+
.eds-heading--section-1 {
|
|
445
|
+
font-size: 0.875rem;
|
|
446
|
+
font-size: var(--font-size-heading-s);
|
|
447
|
+
line-height: 1rem;
|
|
448
|
+
line-height: var(--font-line-height-heading-s);
|
|
449
|
+
margin-top: 0.75rem;
|
|
450
|
+
margin-top: var(--font-paragraph-spacing-heading-lg);
|
|
451
|
+
margin-bottom: 0.5rem;
|
|
452
|
+
margin-bottom: var(--font-paragraph-spacing-heading-s);
|
|
453
|
+
}
|
|
454
|
+
.eds-heading--section-2 {
|
|
455
|
+
font-size: 0.875rem;
|
|
456
|
+
font-size: var(--font-size-heading-s);
|
|
457
|
+
line-height: 1rem;
|
|
458
|
+
line-height: var(--font-line-height-heading-s);
|
|
459
|
+
margin-top: 0.75rem;
|
|
460
|
+
margin-top: var(--font-paragraph-spacing-heading-lg);
|
|
461
|
+
margin-bottom: 0.5rem;
|
|
462
|
+
margin-bottom: var(--font-paragraph-spacing-heading-xs);
|
|
463
|
+
}
|
|
464
|
+
.eds-heading--spacing-none {
|
|
465
|
+
margin-top: 0;
|
|
466
|
+
margin-bottom: 0;
|
|
467
|
+
}
|
|
468
|
+
.eds-heading--spacing-xs2 {
|
|
469
|
+
margin-top: 0.25rem;
|
|
470
|
+
margin-bottom: 0.25rem;
|
|
471
|
+
}
|
|
472
|
+
.eds-heading--spacing-xs2-top {
|
|
473
|
+
margin-top: 0.25rem;
|
|
474
|
+
margin-bottom: 0;
|
|
475
|
+
}
|
|
476
|
+
.eds-heading--spacing-xs2-bottom {
|
|
477
|
+
margin-top: 0;
|
|
478
|
+
margin-bottom: 0.25rem;
|
|
479
|
+
}
|
|
480
|
+
.eds-heading--spacing-xs {
|
|
481
|
+
margin-top: 0.5rem;
|
|
482
|
+
margin-bottom: 0.5rem;
|
|
483
|
+
}
|
|
484
|
+
.eds-heading--spacing-xs-top {
|
|
485
|
+
margin-top: 0.5rem;
|
|
486
|
+
margin-bottom: 0;
|
|
487
|
+
}
|
|
488
|
+
.eds-heading--spacing-xs-bottom {
|
|
489
|
+
margin-top: 0;
|
|
490
|
+
margin-bottom: 0.5rem;
|
|
491
|
+
}
|
|
492
|
+
.eds-heading--spacing-sm {
|
|
493
|
+
margin-top: 0.75rem;
|
|
494
|
+
margin-bottom: 0.75rem;
|
|
495
|
+
}
|
|
496
|
+
.eds-heading--spacing-sm-top {
|
|
497
|
+
margin-top: 0.75rem;
|
|
498
|
+
margin-bottom: 0;
|
|
499
|
+
}
|
|
500
|
+
.eds-heading--spacing-sm-bottom {
|
|
501
|
+
margin-top: 0;
|
|
502
|
+
margin-bottom: 0.75rem;
|
|
503
|
+
}
|
|
504
|
+
.eds-heading--spacing-md {
|
|
505
|
+
margin-top: 1rem;
|
|
506
|
+
margin-bottom: 1rem;
|
|
507
|
+
}
|
|
508
|
+
.eds-heading--spacing-md-top {
|
|
509
|
+
margin-top: 1rem;
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
512
|
+
.eds-heading--spacing-md-bottom {
|
|
513
|
+
margin-top: 0;
|
|
514
|
+
margin-bottom: 1rem;
|
|
515
|
+
}
|
|
516
|
+
.eds-heading--spacing-lg {
|
|
517
|
+
margin-top: 1.5rem;
|
|
518
|
+
margin-bottom: 1.5rem;
|
|
519
|
+
}
|
|
520
|
+
.eds-heading--spacing-lg-top {
|
|
521
|
+
margin-top: 1.5rem;
|
|
522
|
+
margin-bottom: 0;
|
|
523
|
+
}
|
|
524
|
+
.eds-heading--spacing-lg-bottom {
|
|
525
|
+
margin-top: 0;
|
|
526
|
+
margin-bottom: 1.5rem;
|
|
527
|
+
}
|
|
528
|
+
.eds-heading--spacing-xl {
|
|
529
|
+
margin-top: 2rem;
|
|
530
|
+
margin-bottom: 2rem;
|
|
531
|
+
}
|
|
532
|
+
.eds-heading--spacing-xl-top {
|
|
533
|
+
margin-top: 2rem;
|
|
534
|
+
margin-bottom: 0;
|
|
535
|
+
}
|
|
536
|
+
.eds-heading--spacing-xl-bottom {
|
|
537
|
+
margin-top: 0;
|
|
538
|
+
margin-bottom: 2rem;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.eds-text {
|
|
542
|
+
color: var(--primary-text-color);
|
|
543
|
+
font-weight: 500;
|
|
544
|
+
font-weight: var(--font-weight-body);
|
|
545
|
+
margin: 0;
|
|
546
|
+
}
|
|
547
|
+
.eds-text--xs {
|
|
548
|
+
font-size: 0.75rem;
|
|
549
|
+
font-size: var(--font-size-body-xs);
|
|
550
|
+
line-height: 1rem;
|
|
551
|
+
line-height: var(--font-line-height-body-xs);
|
|
552
|
+
}
|
|
553
|
+
.eds-text--s {
|
|
554
|
+
font-size: 0.875rem;
|
|
555
|
+
font-size: var(--font-size-body-s);
|
|
556
|
+
line-height: 1.25rem;
|
|
557
|
+
line-height: var(--font-line-height-body-s);
|
|
558
|
+
}
|
|
559
|
+
.eds-text--m {
|
|
560
|
+
font-size: 1rem;
|
|
561
|
+
font-size: var(--font-size-body-m);
|
|
562
|
+
line-height: 1.5rem;
|
|
563
|
+
line-height: var(--font-line-height-body-m);
|
|
564
|
+
}
|
|
565
|
+
.eds-text--xl {
|
|
566
|
+
font-size: 1.25rem;
|
|
567
|
+
font-size: var(--font-size-body-xl);
|
|
568
|
+
line-height: 1.75rem;
|
|
569
|
+
line-height: var(--font-line-height-body-xl);
|
|
570
|
+
}
|
|
571
|
+
.eds-text--leading {
|
|
572
|
+
font-size: 1.25rem;
|
|
573
|
+
font-size: var(--font-size-body-xl);
|
|
574
|
+
line-height: 1.75rem;
|
|
575
|
+
line-height: var(--font-line-height-body-xl);
|
|
576
|
+
margin: 1.25rem 0;
|
|
577
|
+
margin: var(--font-paragraph-spacing-body-xl) 0;
|
|
578
|
+
}
|
|
579
|
+
.eds-text--quote {
|
|
580
|
+
font-size: 1rem;
|
|
581
|
+
font-size: var(--font-size-body-lg);
|
|
582
|
+
line-height: 1.5rem;
|
|
583
|
+
line-height: var(--font-line-height-body-lg);
|
|
584
|
+
margin: 1.25rem 0;
|
|
585
|
+
margin: var(--font-paragraph-spacing-body-lg) 0;
|
|
586
|
+
}
|
|
587
|
+
.eds-text--paragraph {
|
|
588
|
+
font-size: 1rem;
|
|
589
|
+
font-size: var(--font-size-body-m);
|
|
590
|
+
line-height: 1.5rem;
|
|
591
|
+
line-height: var(--font-line-height-body-m);
|
|
592
|
+
margin: 1rem 0;
|
|
593
|
+
margin: var(--font-paragraph-spacing-body-m) 0;
|
|
594
|
+
}
|
|
595
|
+
.eds-text--sub-paragraph {
|
|
596
|
+
font-size: 0.875rem;
|
|
597
|
+
font-size: var(--font-size-body-s);
|
|
598
|
+
line-height: 1.25rem;
|
|
599
|
+
line-height: var(--font-line-height-body-s);
|
|
600
|
+
margin: 0.75rem 0;
|
|
601
|
+
margin: var(--font-paragraph-spacing-body-s) 0;
|
|
602
|
+
}
|
|
603
|
+
.eds-text--caption {
|
|
604
|
+
font-size: 0.75rem;
|
|
605
|
+
font-size: var(--font-size-body-xs);
|
|
606
|
+
line-height: 1rem;
|
|
607
|
+
line-height: var(--font-line-height-body-xs);
|
|
608
|
+
margin-bottom: 0.5rem;
|
|
609
|
+
margin-bottom: var(--font-paragraph-spacing-body-xs);
|
|
610
|
+
}
|
|
611
|
+
.eds-text--label {
|
|
612
|
+
font-size: 1rem;
|
|
613
|
+
font-size: var(--font-size-body-m);
|
|
614
|
+
line-height: 1.5rem;
|
|
615
|
+
line-height: var(--font-line-height-body-m);
|
|
616
|
+
margin-bottom: 0.5rem;
|
|
617
|
+
margin-bottom: var(--font-paragraph-spacing-body-xs);
|
|
618
|
+
font-weight: 600;
|
|
619
|
+
}
|
|
620
|
+
.eds-text--sublabel {
|
|
621
|
+
font-size: 0.875rem;
|
|
622
|
+
font-size: var(--font-size-body-s);
|
|
623
|
+
line-height: 1.25rem;
|
|
624
|
+
line-height: var(--font-line-height-body-s);
|
|
625
|
+
margin-bottom: 0.5rem;
|
|
626
|
+
margin-bottom: var(--font-paragraph-spacing-body-xs);
|
|
627
|
+
font-weight: 600;
|
|
628
|
+
}
|
|
629
|
+
.eds-text--overline {
|
|
630
|
+
font-size: 0.75rem;
|
|
631
|
+
font-size: var(--font-size-body-xs);
|
|
632
|
+
line-height: 1rem;
|
|
633
|
+
line-height: var(--font-line-height-body-xs);
|
|
634
|
+
margin-top: 0.5rem;
|
|
635
|
+
margin-top: var(--font-paragraph-spacing-body-xs);
|
|
636
|
+
margin-bottom: 1rem;
|
|
637
|
+
margin-bottom: var(--font-paragraph-spacing-body-m);
|
|
638
|
+
font-weight: 500;
|
|
639
|
+
text-transform: uppercase;
|
|
640
|
+
}
|
|
641
|
+
.eds-text--emphasized {
|
|
642
|
+
font-style: italic;
|
|
643
|
+
font-weight: 500;
|
|
644
|
+
}
|
|
645
|
+
.eds-text--code-text, .eds-text--preformatted-text {
|
|
646
|
+
background-color: var(--components-typography-codetext-standard-fill);
|
|
647
|
+
border: 0.0625rem solid var(--components-typography-codetext-standard-border);
|
|
648
|
+
border-radius: 0.25rem;
|
|
649
|
+
color: var(--components-typography-codetext-standard-text);
|
|
650
|
+
font-family: "Monaco", monospace;
|
|
651
|
+
font-size: 0.875rem;
|
|
652
|
+
}
|
|
653
|
+
.eds-text--preformatted-text {
|
|
654
|
+
padding: 1rem;
|
|
655
|
+
white-space: pre-wrap;
|
|
656
|
+
word-break: keep-all;
|
|
657
|
+
}
|
|
658
|
+
.eds-text--weight-400, .eds-text--weight-regular {
|
|
659
|
+
font-weight: 400;
|
|
660
|
+
}
|
|
661
|
+
.eds-text--weight-500, .eds-text--weight-medium {
|
|
662
|
+
font-weight: 500;
|
|
663
|
+
}
|
|
664
|
+
.eds-text--weight-600, .eds-text--weight-semibold {
|
|
665
|
+
font-weight: 600;
|
|
666
|
+
}
|
|
667
|
+
.eds-text--weight-700, .eds-text--weight-bold {
|
|
668
|
+
font-weight: 700;
|
|
669
|
+
}
|
|
670
|
+
.eds-text--spacing-none {
|
|
671
|
+
margin-top: 0;
|
|
672
|
+
margin-bottom: 0;
|
|
673
|
+
}
|
|
674
|
+
.eds-text--spacing-xs2 {
|
|
675
|
+
margin-top: 0.25rem;
|
|
676
|
+
margin-bottom: 0.25rem;
|
|
677
|
+
}
|
|
678
|
+
.eds-text--spacing-xs2-top {
|
|
679
|
+
margin-top: 0.25rem;
|
|
680
|
+
margin-bottom: 0;
|
|
681
|
+
}
|
|
682
|
+
.eds-text--spacing-xs2-bottom {
|
|
683
|
+
margin-top: 0;
|
|
684
|
+
margin-bottom: 0.25rem;
|
|
685
|
+
}
|
|
686
|
+
.eds-text--spacing-xs {
|
|
687
|
+
margin-top: 0.5rem;
|
|
688
|
+
margin-bottom: 0.5rem;
|
|
689
|
+
}
|
|
690
|
+
.eds-text--spacing-xs-top {
|
|
691
|
+
margin-top: 0.5rem;
|
|
692
|
+
margin-bottom: 0;
|
|
693
|
+
}
|
|
694
|
+
.eds-text--spacing-xs-bottom {
|
|
695
|
+
margin-top: 0;
|
|
696
|
+
margin-bottom: 0.5rem;
|
|
697
|
+
}
|
|
698
|
+
.eds-text--spacing-sm {
|
|
699
|
+
margin-top: 0.75rem;
|
|
700
|
+
margin-bottom: 0.75rem;
|
|
701
|
+
}
|
|
702
|
+
.eds-text--spacing-sm-top {
|
|
703
|
+
margin-top: 0.75rem;
|
|
704
|
+
margin-bottom: 0;
|
|
705
|
+
}
|
|
706
|
+
.eds-text--spacing-sm-bottom {
|
|
707
|
+
margin-top: 0;
|
|
708
|
+
margin-bottom: 0.75rem;
|
|
709
|
+
}
|
|
710
|
+
.eds-text--spacing-md {
|
|
711
|
+
margin-top: 1rem;
|
|
712
|
+
margin-bottom: 1rem;
|
|
713
|
+
}
|
|
714
|
+
.eds-text--spacing-md-top {
|
|
715
|
+
margin-top: 1rem;
|
|
716
|
+
margin-bottom: 0;
|
|
717
|
+
}
|
|
718
|
+
.eds-text--spacing-md-bottom {
|
|
719
|
+
margin-top: 0;
|
|
720
|
+
margin-bottom: 1rem;
|
|
721
|
+
}
|
|
722
|
+
.eds-text--spacing-lg {
|
|
723
|
+
margin-top: 1.5rem;
|
|
724
|
+
margin-bottom: 1.5rem;
|
|
725
|
+
}
|
|
726
|
+
.eds-text--spacing-lg-top {
|
|
727
|
+
margin-top: 1.5rem;
|
|
728
|
+
margin-bottom: 0;
|
|
729
|
+
}
|
|
730
|
+
.eds-text--spacing-lg-bottom {
|
|
731
|
+
margin-top: 0;
|
|
732
|
+
margin-bottom: 1.5rem;
|
|
733
|
+
}
|
|
734
|
+
.eds-text--spacing-xl {
|
|
735
|
+
margin-top: 2rem;
|
|
736
|
+
margin-bottom: 2rem;
|
|
737
|
+
}
|
|
738
|
+
.eds-text--spacing-xl-top {
|
|
739
|
+
margin-top: 2rem;
|
|
740
|
+
margin-bottom: 0;
|
|
741
|
+
}
|
|
742
|
+
.eds-text--spacing-xl-bottom {
|
|
743
|
+
margin-top: 0;
|
|
744
|
+
margin-bottom: 2rem;
|
|
745
|
+
}
|
|
746
|
+
.eds-text--link {
|
|
747
|
+
color: var(--primary-text-color);
|
|
748
|
+
}
|
|
749
|
+
.eds-text--link, .eds-text--link:link, .eds-text--link:visited {
|
|
750
|
+
font-size: inherit;
|
|
751
|
+
-webkit-text-decoration: none;
|
|
752
|
+
text-decoration: none;
|
|
753
|
+
position: relative;
|
|
754
|
+
background-image: linear-gradient(120deg, var(--primary-text-color) 0%, var(--primary-text-color) 100%);
|
|
755
|
+
background-repeat: no-repeat;
|
|
756
|
+
background-size: 100% 0.125rem;
|
|
757
|
+
background-position: 0 100%;
|
|
758
|
+
}
|
|
759
|
+
.eds-text--link:hover {
|
|
760
|
+
animation: eds-link-underline 0.3s ease-in;
|
|
761
|
+
cursor: pointer;
|
|
762
|
+
}
|
|
763
|
+
@keyframes eds-link-underline {
|
|
764
|
+
from {
|
|
765
|
+
background-size: 0% 0.125rem;
|
|
766
|
+
}
|
|
767
|
+
to {
|
|
768
|
+
background-size: 100% 0.125rem;
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
.eds-text--link:focus-visible {
|
|
772
|
+
outline: 2px solid #181c56;
|
|
773
|
+
outline-color: #181c56;
|
|
774
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
775
|
+
outline-offset: 0.125rem;
|
|
776
|
+
}
|
|
777
|
+
.eds-contrast .eds-text--link:focus-visible {
|
|
778
|
+
outline-color: #aeb7e2;
|
|
779
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
780
|
+
}
|
|
781
|
+
@media screen and (min-width: 50rem) {
|
|
782
|
+
.eds-text--link {
|
|
783
|
+
font-size: 1rem;
|
|
784
|
+
line-height: 1.5rem;
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
.eds-text--link--ext-icon {
|
|
788
|
+
margin-left: 0.25rem;
|
|
789
|
+
}
|
|
790
|
+
p .eds-text--link--ext-icon {
|
|
791
|
+
top: 0;
|
|
792
|
+
}
|
|
793
|
+
.eds-text--blockquote {
|
|
794
|
+
border-left: 0.25rem solid var(--components-typography-blockquote-standard-stroke);
|
|
795
|
+
font-family: inherit;
|
|
796
|
+
margin: 0;
|
|
797
|
+
padding: 0.5rem;
|
|
798
|
+
padding-left: 2rem;
|
|
799
|
+
font-size: 1rem;
|
|
800
|
+
font-size: var(--font-size-body-lg);
|
|
801
|
+
line-height: 1.5rem;
|
|
802
|
+
line-height: var(--font-line-height-body-lg);
|
|
803
|
+
margin-bottom: 1.25rem;
|
|
804
|
+
margin-bottom: var(--font-paragraph-spacing-body-lg);
|
|
805
|
+
}
|
|
806
|
+
.eds-text--blockquote__footer {
|
|
807
|
+
font-size: 0.875rem;
|
|
808
|
+
font-size: var(--font-size-body-s);
|
|
809
|
+
line-height: 1.375rem;
|
|
810
|
+
letter-spacing: 1px;
|
|
811
|
+
margin-top: 1.5rem;
|
|
812
|
+
text-transform: uppercase;
|
|
813
|
+
}
|
|
814
|
+
@import '~modern-normalize/modern-normalize.css';
|
|
1
815
|
/* DO NOT CHANGE!*/
|
|
2
816
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
817
|
/* DO NOT CHANGE!*/
|
|
@@ -268,7 +1082,9 @@
|
|
|
268
1082
|
--eds-font-family: "Nationale", Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
|
|
269
1083
|
"Helvetica Neue", sans-serif;
|
|
270
1084
|
box-sizing: border-box;
|
|
1085
|
+
color: #181c56;
|
|
271
1086
|
color: var(--primary-text-color);
|
|
1087
|
+
background-color: #ffffff;
|
|
272
1088
|
background-color: var(--primary-background-color);
|
|
273
1089
|
font-family: "Nationale", Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
274
1090
|
font-weight: 500;
|
|
@@ -281,7 +1097,9 @@
|
|
|
281
1097
|
--primary-background-color: var(--basecolors-frame-contrast);
|
|
282
1098
|
--primary-text-color: var(--components-typography-basetext-contrast-text-accent);
|
|
283
1099
|
--primary-label-color: var(--components-typography-label-contrast-text-accent);
|
|
1100
|
+
color: #ffffff;
|
|
284
1101
|
color: var(--primary-text-color);
|
|
1102
|
+
background-color: #181c56;
|
|
285
1103
|
background-color: var(--primary-background-color);
|
|
286
1104
|
}
|
|
287
1105
|
@media screen and (min-width: 50rem) {
|
|
@@ -306,6 +1124,7 @@
|
|
|
306
1124
|
.eds-h4,
|
|
307
1125
|
.eds-h5,
|
|
308
1126
|
.eds-h6 {
|
|
1127
|
+
color: #181c56;
|
|
309
1128
|
color: var(--primary-text-color);
|
|
310
1129
|
font-weight: 600;
|
|
311
1130
|
-webkit-font-smoothing: antialiased;
|
|
@@ -384,6 +1203,7 @@
|
|
|
384
1203
|
}
|
|
385
1204
|
|
|
386
1205
|
.eds-paragraph {
|
|
1206
|
+
color: #181c56;
|
|
387
1207
|
color: var(--primary-text-color);
|
|
388
1208
|
font-size: 1rem;
|
|
389
1209
|
line-height: 1.5rem;
|
|
@@ -397,6 +1217,7 @@
|
|
|
397
1217
|
}
|
|
398
1218
|
|
|
399
1219
|
.eds-lead-paragraph {
|
|
1220
|
+
color: #181c56;
|
|
400
1221
|
color: var(--primary-text-color);
|
|
401
1222
|
font-size: 1.25rem;
|
|
402
1223
|
line-height: 1.875rem;
|
|
@@ -410,6 +1231,7 @@
|
|
|
410
1231
|
}
|
|
411
1232
|
|
|
412
1233
|
.eds-sub-paragraph {
|
|
1234
|
+
color: #181c56;
|
|
413
1235
|
color: var(--primary-text-color);
|
|
414
1236
|
font-size: 0.875rem;
|
|
415
1237
|
line-height: 1.25rem;
|
|
@@ -421,6 +1243,7 @@
|
|
|
421
1243
|
}
|
|
422
1244
|
|
|
423
1245
|
.eds-small-text {
|
|
1246
|
+
color: #181c56;
|
|
424
1247
|
color: var(--primary-text-color);
|
|
425
1248
|
font-size: 0.625rem;
|
|
426
1249
|
line-height: 1rem;
|
|
@@ -433,12 +1256,15 @@
|
|
|
433
1256
|
}
|
|
434
1257
|
|
|
435
1258
|
.eds-link {
|
|
1259
|
+
color: #181c56;
|
|
436
1260
|
color: var(--primary-text-color);
|
|
437
1261
|
}
|
|
438
1262
|
.eds-link, .eds-link:link, .eds-link:visited {
|
|
439
1263
|
font-size: inherit;
|
|
1264
|
+
-webkit-text-decoration: none;
|
|
440
1265
|
text-decoration: none;
|
|
441
1266
|
position: relative;
|
|
1267
|
+
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
442
1268
|
background-image: linear-gradient(120deg, var(--primary-text-color) 0%, var(--primary-text-color) 100%);
|
|
443
1269
|
background-repeat: no-repeat;
|
|
444
1270
|
background-size: 100% 0.125rem;
|
|
@@ -458,10 +1284,12 @@
|
|
|
458
1284
|
}
|
|
459
1285
|
.eds-link:focus-visible {
|
|
460
1286
|
outline: 2px solid #181c56;
|
|
1287
|
+
outline-color: #181c56;
|
|
461
1288
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
462
1289
|
outline-offset: 0.125rem;
|
|
463
1290
|
}
|
|
464
1291
|
.eds-contrast .eds-link:focus-visible {
|
|
1292
|
+
outline-color: #aeb7e2;
|
|
465
1293
|
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
466
1294
|
}
|
|
467
1295
|
@media screen and (min-width: 50rem) {
|
|
@@ -479,6 +1307,7 @@ p .eds-link--ext-icon {
|
|
|
479
1307
|
|
|
480
1308
|
.eds-label,
|
|
481
1309
|
.eds-sub-label {
|
|
1310
|
+
color: #626493;
|
|
482
1311
|
color: var(--primary-label-color);
|
|
483
1312
|
}
|
|
484
1313
|
|
|
@@ -512,9 +1341,12 @@ p .eds-link--ext-icon {
|
|
|
512
1341
|
|
|
513
1342
|
.eds-preformatted-text,
|
|
514
1343
|
.eds-code-text {
|
|
1344
|
+
background-color: #f6f6f9;
|
|
515
1345
|
background-color: var(--components-typography-codetext-standard-fill);
|
|
1346
|
+
border: 0.0625rem solid rgba(84, 86, 140, 0.4);
|
|
516
1347
|
border: 0.0625rem solid var(--components-typography-codetext-standard-border);
|
|
517
1348
|
border-radius: 0.25rem;
|
|
1349
|
+
color: #181c56;
|
|
518
1350
|
color: var(--components-typography-codetext-standard-text);
|
|
519
1351
|
font-family: "Monaco", monospace;
|
|
520
1352
|
font-size: 0.875rem;
|
|
@@ -529,7 +1361,7 @@ p .eds-link--ext-icon {
|
|
|
529
1361
|
.eds-code-text {
|
|
530
1362
|
display: inline-block;
|
|
531
1363
|
word-wrap: break-word;
|
|
532
|
-
|
|
1364
|
+
word-wrap: anywhere;
|
|
533
1365
|
padding: 0.125rem 0.25rem;
|
|
534
1366
|
}
|
|
535
1367
|
|
|
@@ -543,6 +1375,7 @@ p .eds-link--ext-icon {
|
|
|
543
1375
|
}
|
|
544
1376
|
.eds-unordered-list .eds-list-item::before {
|
|
545
1377
|
content: "";
|
|
1378
|
+
background: #aeb7e2;
|
|
546
1379
|
background: var(--components-typography-list-standard-border);
|
|
547
1380
|
display: block;
|
|
548
1381
|
height: 0.125rem;
|
|
@@ -582,10 +1415,12 @@ p .eds-link--ext-icon {
|
|
|
582
1415
|
position: relative;
|
|
583
1416
|
}
|
|
584
1417
|
.eds-numbered-list > .eds-list-item::before {
|
|
1418
|
+
color: #181c56;
|
|
585
1419
|
color: var(--primary-text-color);
|
|
586
1420
|
position: absolute;
|
|
587
1421
|
font-weight: 600;
|
|
588
1422
|
left: -2.5rem;
|
|
1423
|
+
border: 0.125rem solid #aeb7e2;
|
|
589
1424
|
border: 0.125rem solid var(--components-typography-list-standard-border);
|
|
590
1425
|
border-radius: 50%;
|
|
591
1426
|
height: 2rem;
|
|
@@ -606,6 +1441,7 @@ p .eds-link--ext-icon {
|
|
|
606
1441
|
}
|
|
607
1442
|
|
|
608
1443
|
.eds-blockquote {
|
|
1444
|
+
border-left: 0.25rem solid #8284ab;
|
|
609
1445
|
border-left: 0.25rem solid var(--components-typography-blockquote-standard-stroke);
|
|
610
1446
|
font-family: inherit;
|
|
611
1447
|
font-size: 1.25rem;
|
|
@@ -682,4 +1518,4 @@ p .eds-link--ext-icon {
|
|
|
682
1518
|
100% {
|
|
683
1519
|
width: 100%;
|
|
684
1520
|
}
|
|
685
|
-
}
|
|
1521
|
+
}
|