@entur/typography 2.1.0 → 2.1.1-beta-automat.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1055 +0,0 @@
1
- @layer core, third-party, components, utilities, app;
2
- @layer core.reset, core.tokens, core.base;
3
- @layer third-party.imports, third-party.overrides;
4
- @layer components.primitives, components.composites, components.overrides;
5
- @layer core.base{
6
- @font-face{
7
- font-family:nationale;
8
- src:url("../../../fonts/Entur-Nationale-Light.eot");
9
- src:url("../../../fonts/Entur-Nationale-Light.eot?#iefix") format("embedded-opentype"), url("../../../fonts/Entur-Nationale-Light.woff2") format("woff2"), url("../../../fonts/Entur-Nationale-Light.woff") format("woff");
10
- font-weight:300;
11
- font-style:normal;
12
- font-display:swap;
13
- }
14
- @font-face{
15
- font-family:nationale;
16
- src:url("../../../fonts/Entur-Nationale-LightItalic.eot");
17
- src:url("../../../fonts/Entur-Nationale-LightItalic.eot?#iefix") format("embedded-opentype"), url("../../../fonts/Entur-Nationale-LightItalic.woff2") format("woff2"), url("../../../fonts/Entur-Nationale-LightItalic.woff") format("woff");
18
- font-weight:300;
19
- font-style:italic;
20
- font-display:swap;
21
- }
22
- @font-face{
23
- font-family:nationale;
24
- src:url("../../../fonts/Entur-Nationale-Regular.eot");
25
- src:url("../../../fonts/Entur-Nationale-Regular.eot?#iefix") format("embedded-opentype"), url("../../../fonts/Entur-Nationale-Regular.woff2") format("woff2"), url("../../../fonts/Entur-Nationale-Regular.woff") format("woff");
26
- font-weight:400;
27
- font-style:normal;
28
- font-display:swap;
29
- }
30
- @font-face{
31
- font-family:nationale;
32
- src:url("../../../fonts/Entur-Nationale-Italic.eot");
33
- src:url("../../../fonts/Entur-Nationale-Italic.eot?#iefix") format("embedded-opentype"), url("../../../fonts/Entur-Nationale-Italic.woff2") format("woff2"), url("../../../fonts/Entur-Nationale-Italic.woff") format("woff");
34
- font-weight:400;
35
- font-style:italic;
36
- font-display:swap;
37
- }
38
- @font-face{
39
- font-family:nationale;
40
- src:url("../../../fonts/Entur-Nationale-Medium.eot");
41
- src:url("../../../fonts/Entur-Nationale-Medium.eot?#iefix") format("embedded-opentype"), url("../../../fonts/Entur-Nationale-Medium.woff2") format("woff2"), url("../../../fonts/Entur-Nationale-Medium.woff") format("woff");
42
- font-weight:500;
43
- font-style:normal;
44
- font-display:swap;
45
- }
46
- @font-face{
47
- font-family:nationale;
48
- src:url("../../../fonts/Entur-Nationale-MediumItalic.eot");
49
- src:url("../../../fonts/Entur-Nationale-MediumItalic.eot?#iefix") format("embedded-opentype"), url("../../../fonts/Entur-Nationale-MediumItalic.woff2") format("woff2"), url("../../../fonts/Entur-Nationale-MediumItalic.woff") format("woff");
50
- font-weight:500;
51
- font-style:italic;
52
- font-display:swap;
53
- }
54
- @font-face{
55
- font-family:nationale;
56
- src:url("../../../fonts/Entur-Nationale-Demibold.eot");
57
- src:url("../../../fonts/Entur-Nationale-Demibold.eot?#iefix") format("embedded-opentype"), url("../../../fonts/Entur-Nationale-Demibold.woff2") format("woff2"), url("../../../fonts/Entur-Nationale-Demibold.woff") format("woff");
58
- font-weight:600;
59
- font-style:normal;
60
- font-display:swap;
61
- }
62
- @font-face{
63
- font-family:nationale;
64
- src:url("../../../fonts/Entur-Nationale-DemiboldItalic.eot");
65
- src:url("../../../fonts/Entur-Nationale-DemiboldItalic.eot?#iefix") format("embedded-opentype"), url("../../../fonts/Entur-Nationale-DemiboldItalic.woff2") format("woff2"), url("../../../fonts/Entur-Nationale-DemiboldItalic.woff") format("woff");
66
- font-weight:600;
67
- font-style:italic;
68
- font-display:swap;
69
- }
70
- }
71
- [data-color-mode=light],
72
- :root{
73
- --components-typography-basetext-contrast-text-accent:#ffffff;
74
- --components-typography-basetext-standard-text-accent:#181c56;
75
- --components-typography-blockquote-contrast-stroke:#8284ab;
76
- --components-typography-blockquote-contrast-text-accent:#ffffff;
77
- --components-typography-blockquote-contrast-text-subdued:#d9dae8;
78
- --components-typography-blockquote-standard-stroke:#8284ab;
79
- --components-typography-blockquote-standard-text-accent:#181c56;
80
- --components-typography-blockquote-standard-text-subdued:#626493;
81
- --components-typography-codetext-contrast-border:rgba(255, 255, 255, 0);
82
- --components-typography-codetext-contrast-border-interactive:#aeb7e2;
83
- --components-typography-codetext-contrast-fill:#f6f6f9;
84
- --components-typography-codetext-contrast-text:#181c56;
85
- --components-typography-codetext-standard-border:rgba(84, 86, 140, 0.4);
86
- --components-typography-codetext-standard-border-interactive:#181c56;
87
- --components-typography-codetext-standard-fill:#f6f6f9;
88
- --components-typography-codetext-standard-text:#181c56;
89
- --components-typography-label-contrast-text-accent:#d9dae8;
90
- --components-typography-label-standard-text-accent:#626493;
91
- --components-typography-list-contrast-border:#aeb7e2;
92
- --components-typography-list-contrast-text-accent:#ffffff;
93
- --components-typography-list-standard-border:#aeb7e2;
94
- --components-typography-list-standard-text-accent:#181c56;
95
- }
96
-
97
- [data-color-mode=dark]{
98
- --components-typography-basetext-contrast-text-accent:#e5e5e9;
99
- --components-typography-basetext-standard-text-accent:#e5e5e9;
100
- --components-typography-blockquote-contrast-stroke:#81828f;
101
- --components-typography-blockquote-contrast-text-accent:#e5e5e9;
102
- --components-typography-blockquote-contrast-text-subdued:#b3b4bd;
103
- --components-typography-blockquote-standard-stroke:#81828f;
104
- --components-typography-blockquote-standard-text-accent:#e5e5e9;
105
- --components-typography-blockquote-standard-text-subdued:#b3b4bd;
106
- --components-typography-codetext-contrast-border:rgba(255, 255, 255, 0);
107
- --components-typography-codetext-contrast-border-interactive:#e5e5e9;
108
- --components-typography-codetext-contrast-fill:#393a49;
109
- --components-typography-codetext-contrast-text:#e5e5e9;
110
- --components-typography-codetext-standard-border:rgba(255, 255, 255, 0);
111
- --components-typography-codetext-standard-border-interactive:#e5e5e9;
112
- --components-typography-codetext-standard-fill:#393a49;
113
- --components-typography-codetext-standard-text:#e5e5e9;
114
- --components-typography-label-contrast-text-accent:#e5e5e9;
115
- --components-typography-label-standard-text-accent:#e5e5e9;
116
- --components-typography-list-contrast-border:#aeb7e2;
117
- --components-typography-list-contrast-text-accent:#e5e5e9;
118
- --components-typography-list-standard-border:#aeb7e2;
119
- --components-typography-list-standard-text-accent:#e5e5e9;
120
- }
121
- /*
122
- * Typography Display Modes
123
- *
124
- * This system allows you to control typography scaling based on view size.
125
- * Use the vie-mode attribute to switch between different typography scales:
126
- *
127
- * - Compact: [data-view-mode='compact'] or no attribute (responsive)
128
- * - Display: [data-view-mode='display'] for big screens, kiosks, etc.
129
- *
130
- * Usage:
131
- * <html data-view-mode="display"> or <div data-view-mode="display">
132
- *
133
- * The system automatically handles responsive behavior within each mode.
134
- */
135
- :root,
136
- [data-view-mode=standard]{
137
- /* number */
138
- --font-line-height-body-xs:var(--size-8);
139
- --font-line-height-body-s:var(--size-9);
140
- --font-line-height-body-m:var(--size-10);
141
- --font-line-height-body-lg:var(--size-11);
142
- --font-line-height-body-xl:var(--size-12);
143
- --font-line-height-heading-xs:var(--size-8);
144
- --font-line-height-heading-s:var(--size-9);
145
- --font-line-height-heading-m:var(--size-10);
146
- --font-line-height-heading-lg:var(--size-11);
147
- --font-line-height-heading-xl:var(--size-13);
148
- --font-line-height-heading-2xl:var(--size-15);
149
- --font-line-height-label-s:var(--size-8);
150
- --font-line-height-label-m:var(--size-9);
151
- --font-line-height-label-lg:var(--size-10);
152
- --font-paragraph-spacing-body-xs:var(--size-5);
153
- --font-paragraph-spacing-body-s:var(--size-6);
154
- --font-paragraph-spacing-body-m:var(--size-8);
155
- --font-paragraph-spacing-body-lg:var(--size-10);
156
- --font-paragraph-spacing-body-xl:var(--size-10);
157
- --font-paragraph-spacing-heading-xs:var(--size-5);
158
- --font-paragraph-spacing-heading-m:var(--size-6);
159
- --font-paragraph-spacing-heading-s:var(--size-6);
160
- --font-paragraph-spacing-heading-lg:var(--size-8);
161
- --font-paragraph-spacing-heading-xl:var(--size-9);
162
- --font-paragraph-spacing-heading-2xl:var(--size-10);
163
- --font-size-body-xs:var(--size-6);
164
- --font-size-body-s:var(--size-7);
165
- --font-size-body-m:var(--size-8);
166
- --font-size-body-lg:var(--size-9);
167
- --font-size-body-xl:var(--size-10);
168
- --font-size-heading-xs:var(--size-7);
169
- --font-size-heading-s:var(--size-8);
170
- --font-size-heading-m:var(--size-9);
171
- --font-size-heading-lg:var(--size-10);
172
- --font-size-heading-xl:var(--size-12);
173
- --font-size-heading-2xl:var(--size-14);
174
- --font-size-label-s:var(--size-7);
175
- --font-size-label-m:var(--size-8);
176
- --font-size-label-lg:var(--size-9);
177
- /* string */
178
- --font-family-nationale:nationale;
179
- --font-weight-body:500;
180
- --font-weight-heading:600;
181
- }
182
-
183
- [data-view-mode=compact]{
184
- /* number */
185
- --font-line-height-body-xs:var(--size-8);
186
- --font-line-height-body-s:var(--size-9);
187
- --font-line-height-body-lg:var(--size-10);
188
- --font-line-height-body-m:var(--size-10);
189
- --font-line-height-body-xl:var(--size-11);
190
- --font-line-height-heading-s:var(--size-8);
191
- --font-line-height-heading-xs:var(--size-8);
192
- --font-line-height-heading-m:var(--size-9);
193
- --font-line-height-heading-lg:var(--size-10);
194
- --font-line-height-heading-xl:var(--size-11);
195
- --font-line-height-heading-2xl:var(--size-12);
196
- --font-line-height-label-m:var(--size-8);
197
- --font-line-height-label-s:var(--size-8);
198
- --font-line-height-label-lg:var(--size-9);
199
- --font-paragraph-spacing-body-xs:var(--size-5);
200
- --font-paragraph-spacing-body-s:var(--size-6);
201
- --font-paragraph-spacing-body-m:var(--size-8);
202
- --font-paragraph-spacing-body-lg:var(--size-9);
203
- --font-paragraph-spacing-body-xl:var(--size-9);
204
- --font-paragraph-spacing-heading-s:var(--size-5);
205
- --font-paragraph-spacing-heading-xs:var(--size-5);
206
- --font-paragraph-spacing-heading-lg:var(--size-6);
207
- --font-paragraph-spacing-heading-m:var(--size-6);
208
- --font-paragraph-spacing-heading-2xl:var(--size-8);
209
- --font-paragraph-spacing-heading-xl:var(--size-8);
210
- --font-size-body-xs:var(--size-6);
211
- --font-size-body-s:var(--size-7);
212
- --font-size-body-lg:var(--size-8);
213
- --font-size-body-m:var(--size-8);
214
- --font-size-body-xl:var(--size-9);
215
- --font-size-heading-xs:var(--size-6);
216
- --font-size-heading-s:var(--size-7);
217
- --font-size-heading-m:var(--size-8);
218
- --font-size-heading-lg:var(--size-9);
219
- --font-size-heading-xl:var(--size-10);
220
- --font-size-heading-2xl:var(--size-11);
221
- --font-size-label-s:var(--size-7);
222
- --font-size-label-m:var(--size-8);
223
- --font-size-label-lg:var(--size-9);
224
- /* string */
225
- --font-family-nationale:nationale;
226
- --font-weight-body:500;
227
- --font-weight-heading:600;
228
- }
229
-
230
- [data-view-mode=display]{
231
- /* number */
232
- --font-line-height-body-xs:var(--size-11);
233
- --font-line-height-body-s:var(--size-12);
234
- --font-line-height-body-m:var(--size-15);
235
- --font-line-height-body-lg:var(--size-18);
236
- --font-line-height-body-xl:var(--size-19);
237
- --font-line-height-heading-xs:var(--size-11);
238
- --font-line-height-heading-s:var(--size-13);
239
- --font-line-height-heading-m:var(--size-15);
240
- --font-line-height-heading-lg:var(--size-18);
241
- --font-line-height-heading-xl:var(--size-20);
242
- --font-line-height-heading-2xl:var(--size-21);
243
- --font-line-height-label-s:var(--size-11);
244
- --font-line-height-label-m:var(--size-13);
245
- --font-line-height-label-lg:var(--size-15);
246
- --font-paragraph-spacing-body-xs:var(--size-9);
247
- --font-paragraph-spacing-body-s:var(--size-10);
248
- --font-paragraph-spacing-body-m:var(--size-12);
249
- --font-paragraph-spacing-body-lg:var(--size-14);
250
- --font-paragraph-spacing-body-xl:var(--size-16);
251
- --font-paragraph-spacing-heading-xs:var(--size-6);
252
- --font-paragraph-spacing-heading-s:var(--size-8);
253
- --font-paragraph-spacing-heading-m:var(--size-9);
254
- --font-paragraph-spacing-heading-lg:var(--size-10);
255
- --font-paragraph-spacing-heading-xl:var(--size-12);
256
- --font-paragraph-spacing-heading-2xl:var(--size-13);
257
- --font-size-body-xs:var(--size-9);
258
- --font-size-body-s:var(--size-10);
259
- --font-size-body-m:var(--size-12);
260
- --font-size-body-lg:var(--size-14);
261
- --font-size-body-xl:var(--size-16);
262
- --font-size-heading-xs:var(--size-10);
263
- --font-size-heading-s:var(--size-12);
264
- --font-size-heading-m:var(--size-14);
265
- --font-size-heading-lg:var(--size-16);
266
- --font-size-heading-xl:var(--size-19);
267
- --font-size-heading-2xl:var(--size-20);
268
- --font-size-label-s:var(--size-10);
269
- --font-size-label-m:var(--size-12);
270
- --font-size-label-lg:var(--size-14);
271
- /* string */
272
- --font-family-nationale:nationale;
273
- --font-weight-body:500;
274
- --font-weight-heading:600;
275
- }
276
-
277
- @layer core.reset{
278
- /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
279
- /*
280
- Document
281
- ========
282
- */
283
- /**
284
- Use a better box model (opinionated).
285
- */
286
- *,
287
- ::before,
288
- ::after{
289
- -webkit-box-sizing:border-box;
290
- -moz-box-sizing:border-box;
291
- box-sizing:border-box;
292
- }
293
- html{
294
- /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
295
- font-family:system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
296
- line-height:1.15; /* 1. Correct the line height in all browsers. */
297
- -webkit-text-size-adjust:100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
298
- -moz-tab-size:4;
299
- -o-tab-size:4;
300
- tab-size:4; /* 3. Use a more readable tab size (opinionated). */
301
- }
302
- /*
303
- Sections
304
- ========
305
- */
306
- body{
307
- margin:0; /* Remove the margin in all browsers. */
308
- }
309
- /*
310
- Text-level semantics
311
- ====================
312
- */
313
- /**
314
- Add the correct font weight in Chrome and Safari.
315
- */
316
- b,
317
- strong{
318
- font-weight:bolder;
319
- }
320
- /**
321
- 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
322
- 2. Correct the odd 'em' font sizing in all browsers.
323
- */
324
- code,
325
- kbd,
326
- samp,
327
- pre{
328
- font-family:ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; /* 1 */
329
- font-size:1em; /* 2 */
330
- }
331
- /**
332
- Add the correct font size in all browsers.
333
- */
334
- small{
335
- font-size:80%;
336
- }
337
- /**
338
- Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
339
- */
340
- sub,
341
- sup{
342
- font-size:75%;
343
- line-height:0;
344
- position:relative;
345
- vertical-align:baseline;
346
- }
347
- sub{
348
- bottom:-0.25em;
349
- }
350
- sup{
351
- top:-0.5em;
352
- }
353
- /*
354
- Tabular data
355
- ============
356
- */
357
- /**
358
- Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
359
- */
360
- table{
361
- border-color:currentcolor;
362
- }
363
- /*
364
- Forms
365
- =====
366
- */
367
- /**
368
- 1. Change the font styles in all browsers.
369
- 2. Remove the margin in Firefox and Safari.
370
- */
371
- button,
372
- input,
373
- optgroup,
374
- select,
375
- textarea{
376
- font-family:inherit; /* 1 */
377
- font-size:100%; /* 1 */
378
- line-height:1.15; /* 1 */
379
- margin:0; /* 2 */
380
- }
381
- /**
382
- Correct the inability to style clickable types in iOS and Safari.
383
- */
384
- button,
385
- [type=button],
386
- [type=reset],
387
- [type=submit]{
388
- -webkit-appearance:button;
389
- }
390
- /**
391
- Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
392
- */
393
- legend{
394
- padding:0;
395
- }
396
- /**
397
- Add the correct vertical alignment in Chrome and Firefox.
398
- */
399
- progress{
400
- vertical-align:baseline;
401
- }
402
- /**
403
- Correct the cursor style of increment and decrement buttons in Safari.
404
- */
405
- ::-webkit-inner-spin-button,
406
- ::-webkit-outer-spin-button{
407
- height:auto;
408
- }
409
- /**
410
- 1. Correct the odd appearance in Chrome and Safari.
411
- 2. Correct the outline style in Safari.
412
- */
413
- [type=search]{
414
- -webkit-appearance:textfield; /* 1 */
415
- outline-offset:-2px; /* 2 */
416
- }
417
- /**
418
- Remove the inner padding in Chrome and Safari on macOS.
419
- */
420
- ::-webkit-search-decoration{
421
- -webkit-appearance:none;
422
- }
423
- /**
424
- 1. Correct the inability to style clickable types in iOS and Safari.
425
- 2. Change font properties to 'inherit' in Safari.
426
- */
427
- ::-webkit-file-upload-button{
428
- -webkit-appearance:button; /* 1 */
429
- font:inherit; /* 2 */
430
- }
431
- /*
432
- Interactive
433
- ===========
434
- */
435
- /*
436
- Add the correct display in Chrome and Safari.
437
- */
438
- summary{
439
- display:list-item;
440
- }
441
- }@layer components.primitives{
442
- .eds-heading{
443
- color:var(--components-typography-basetext-standard-text-accent);
444
- font-weight:var(--font-weight-heading);
445
- margin:0;
446
- }
447
- :where(.eds-contrast) .eds-heading{
448
- color:var(--components-typography-basetext-contrast-text-accent);
449
- }
450
- .eds-heading--2xl{
451
- font-size:var(--font-size-heading-2xl);
452
- line-height:var(--font-line-height-heading-2xl);
453
- }
454
- .eds-heading--xl{
455
- font-size:var(--font-size-heading-xl);
456
- line-height:var(--font-line-height-heading-xl);
457
- }
458
- .eds-heading--lg{
459
- font-size:var(--font-size-heading-lg);
460
- line-height:var(--font-line-height-heading-lg);
461
- }
462
- .eds-heading--m{
463
- font-size:var(--font-size-heading-m);
464
- line-height:var(--font-line-height-heading-m);
465
- }
466
- .eds-heading--s{
467
- font-size:var(--font-size-heading-s);
468
- line-height:var(--font-line-height-heading-s);
469
- }
470
- .eds-heading--xs{
471
- font-size:var(--font-size-heading-xs);
472
- line-height:var(--font-line-height-heading-xs);
473
- }
474
- .eds-heading--title-1{
475
- font-size:var(--font-size-heading-2xl);
476
- line-height:var(--font-line-height-heading-2xl);
477
- margin-bottom:var(--font-paragraph-spacing-heading-2xl);
478
- }
479
- .eds-heading--title-1:where(:not(:first-child)){
480
- margin-top:var(--font-paragraph-spacing-heading-2xl);
481
- }
482
- .eds-heading--title-2{
483
- font-size:var(--font-size-heading-xl);
484
- line-height:var(--font-line-height-heading-xl);
485
- margin-bottom:var(--font-paragraph-spacing-heading-xl);
486
- }
487
- .eds-heading--title-2:where(:not(:first-child)){
488
- margin-top:var(--font-paragraph-spacing-heading-xl);
489
- }
490
- .eds-heading--subtitle-1{
491
- font-size:var(--font-size-heading-lg);
492
- line-height:var(--font-line-height-heading-lg);
493
- margin-bottom:var(--font-paragraph-spacing-heading-lg);
494
- }
495
- .eds-heading--subtitle-1:where(:not(:first-child)){
496
- margin-top:var(--font-paragraph-spacing-heading-lg);
497
- }
498
- .eds-heading--subtitle-2{
499
- font-size:var(--font-size-heading-m);
500
- line-height:var(--font-line-height-heading-m);
501
- margin-bottom:var(--font-paragraph-spacing-heading-m);
502
- }
503
- .eds-heading--subtitle-2:where(:not(:first-child)){
504
- margin-top:var(--font-paragraph-spacing-heading-m);
505
- }
506
- .eds-heading--section-1{
507
- font-size:var(--font-size-heading-s);
508
- line-height:var(--font-line-height-heading-s);
509
- margin-bottom:var(--font-paragraph-spacing-heading-s);
510
- }
511
- .eds-heading--section-1:where(:not(:first-child)){
512
- margin-top:var(--font-paragraph-spacing-heading-s);
513
- }
514
- .eds-heading--section-2{
515
- font-size:var(--font-size-heading-xs);
516
- line-height:var(--font-line-height-heading-xs);
517
- margin-bottom:var(--font-paragraph-spacing-heading-xs);
518
- }
519
- .eds-heading--section-2:where(:not(:first-child)){
520
- margin-top:var(--font-paragraph-spacing-heading-xs);
521
- }
522
- .eds-heading--spacing-none{
523
- margin-top:0;
524
- margin-bottom:0;
525
- }
526
- .eds-heading--spacing-xs2{
527
- margin-top:0.25rem;
528
- margin-bottom:0.25rem;
529
- }
530
- .eds-heading--spacing-xs2-top{
531
- margin-top:0.25rem;
532
- margin-bottom:0;
533
- }
534
- .eds-heading--spacing-xs2-bottom{
535
- margin-top:0;
536
- margin-bottom:0.25rem;
537
- }
538
- .eds-heading--spacing-xs{
539
- margin-top:0.5rem;
540
- margin-bottom:0.5rem;
541
- }
542
- .eds-heading--spacing-xs-top{
543
- margin-top:0.5rem;
544
- margin-bottom:0;
545
- }
546
- .eds-heading--spacing-xs-bottom{
547
- margin-top:0;
548
- margin-bottom:0.5rem;
549
- }
550
- .eds-heading--spacing-sm{
551
- margin-top:0.75rem;
552
- margin-bottom:0.75rem;
553
- }
554
- .eds-heading--spacing-sm-top{
555
- margin-top:0.75rem;
556
- margin-bottom:0;
557
- }
558
- .eds-heading--spacing-sm-bottom{
559
- margin-top:0;
560
- margin-bottom:0.75rem;
561
- }
562
- .eds-heading--spacing-md{
563
- margin-top:1rem;
564
- margin-bottom:1rem;
565
- }
566
- .eds-heading--spacing-md-top{
567
- margin-top:1rem;
568
- margin-bottom:0;
569
- }
570
- .eds-heading--spacing-md-bottom{
571
- margin-top:0;
572
- margin-bottom:1rem;
573
- }
574
- .eds-heading--spacing-lg{
575
- margin-top:1.5rem;
576
- margin-bottom:1.5rem;
577
- }
578
- .eds-heading--spacing-lg-top{
579
- margin-top:1.5rem;
580
- margin-bottom:0;
581
- }
582
- .eds-heading--spacing-lg-bottom{
583
- margin-top:0;
584
- margin-bottom:1.5rem;
585
- }
586
- .eds-heading--spacing-xl{
587
- margin-top:2rem;
588
- margin-bottom:2rem;
589
- }
590
- .eds-heading--spacing-xl-top{
591
- margin-top:2rem;
592
- margin-bottom:0;
593
- }
594
- .eds-heading--spacing-xl-bottom{
595
- margin-top:0;
596
- margin-bottom:2rem;
597
- }
598
- }@layer components.primitives{
599
- .eds-text{
600
- color:var(--components-typography-basetext-standard-text-accent);
601
- font-weight:var(--font-weight-body);
602
- margin:0;
603
- }
604
- :where(.eds-contrast) .eds-text{
605
- color:var(--components-typography-basetext-contrast-text-accent);
606
- }
607
- .eds-text--xs{
608
- font-size:var(--font-size-body-xs);
609
- line-height:var(--font-line-height-body-xs);
610
- }
611
- .eds-text--s{
612
- font-size:var(--font-size-body-s);
613
- line-height:var(--font-line-height-body-s);
614
- }
615
- .eds-text--m{
616
- font-size:var(--font-size-body-m);
617
- line-height:var(--font-line-height-body-m);
618
- }
619
- .eds-text--xl{
620
- font-size:var(--font-size-body-xl);
621
- line-height:var(--font-line-height-body-xl);
622
- }
623
- .eds-text--paragraph:where(:has(+ .eds-heading)){
624
- margin-bottom:-webkit-calc(var(--font-line-height-body-m) + 1rem);
625
- margin-bottom:-moz-calc(var(--font-line-height-body-m) + 1rem);
626
- margin-bottom:calc(var(--font-line-height-body-m) + 1rem);
627
- }
628
- .eds-text--subparagraph:where(:has(+ .eds-heading)){
629
- margin-bottom:-webkit-calc(var(--font-line-height-body-s) + 1rem);
630
- margin-bottom:-moz-calc(var(--font-line-height-body-s) + 1rem);
631
- margin-bottom:calc(var(--font-line-height-body-s) + 1rem);
632
- }
633
- .eds-text--leading:where(:has(+ .eds-heading)){
634
- margin-bottom:-webkit-calc(var(--font-line-height-body-xl) + 1rem);
635
- margin-bottom:-moz-calc(var(--font-line-height-body-xl) + 1rem);
636
- margin-bottom:calc(var(--font-line-height-body-xl) + 1rem);
637
- }
638
- .eds-text--quote:where(:has(+ .eds-heading)){
639
- margin-bottom:-webkit-calc(var(--font-line-height-body-lg) + 1rem);
640
- margin-bottom:-moz-calc(var(--font-line-height-body-lg) + 1rem);
641
- margin-bottom:calc(var(--font-line-height-body-lg) + 1rem);
642
- }
643
- .eds-text--caption:where(:has(+ .eds-heading)){
644
- margin-bottom:-webkit-calc(var(--font-line-height-body-xs) + 1rem);
645
- margin-bottom:-moz-calc(var(--font-line-height-body-xs) + 1rem);
646
- margin-bottom:calc(var(--font-line-height-body-xs) + 1rem);
647
- }
648
- .eds-text--label:where(:has(+ .eds-heading)){
649
- margin-bottom:-webkit-calc(var(--font-paragraph-spacing-body-xs) + 1rem);
650
- margin-bottom:-moz-calc(var(--font-paragraph-spacing-body-xs) + 1rem);
651
- margin-bottom:calc(var(--font-paragraph-spacing-body-xs) + 1rem);
652
- }
653
- .eds-text--sublabel:where(:has(+ .eds-heading)){
654
- margin-bottom:-webkit-calc(var(--font-paragraph-spacing-body-xs) + 1rem);
655
- margin-bottom:-moz-calc(var(--font-paragraph-spacing-body-xs) + 1rem);
656
- margin-bottom:calc(var(--font-paragraph-spacing-body-xs) + 1rem);
657
- }
658
- .eds-text--unordered-list:where(:has(+ .eds-heading)){
659
- margin-bottom:-webkit-calc(var(--font-line-height-body-lg) + 1rem);
660
- margin-bottom:-moz-calc(var(--font-line-height-body-lg) + 1rem);
661
- margin-bottom:calc(var(--font-line-height-body-lg) + 1rem);
662
- }
663
- .eds-text--numbered-list:where(:has(+ .eds-heading)){
664
- margin-bottom:-webkit-calc(var(--font-line-height-body-lg) + 1rem);
665
- margin-bottom:-moz-calc(var(--font-line-height-body-lg) + 1rem);
666
- margin-bottom:calc(var(--font-line-height-body-lg) + 1rem);
667
- }
668
- .eds-text--blockquote:where(:has(+ .eds-heading)){
669
- margin-bottom:-webkit-calc(var(--font-line-height-body-lg) + 1rem);
670
- margin-bottom:-moz-calc(var(--font-line-height-body-lg) + 1rem);
671
- margin-bottom:calc(var(--font-line-height-body-lg) + 1rem);
672
- }
673
- .eds-text--preformatted-text:where(:has(+ .eds-heading)){
674
- margin-bottom:-webkit-calc(var(--font-line-height-body-lg) + 1rem);
675
- margin-bottom:-moz-calc(var(--font-line-height-body-lg) + 1rem);
676
- margin-bottom:calc(var(--font-line-height-body-lg) + 1rem);
677
- }
678
- .eds-text--code-text:where(:has(+ .eds-heading)){
679
- margin-bottom:-webkit-calc(var(--font-line-height-body-lg) + 1rem);
680
- margin-bottom:-moz-calc(var(--font-line-height-body-lg) + 1rem);
681
- margin-bottom:calc(var(--font-line-height-body-lg) + 1rem);
682
- }
683
- .eds-text--leading{
684
- font-size:var(--font-size-body-xl);
685
- line-height:var(--font-line-height-body-xl);
686
- margin-bottom:var(--font-line-height-body-xl);
687
- }
688
- .eds-text--quote{
689
- font-size:var(--font-size-body-lg);
690
- line-height:var(--font-line-height-body-lg);
691
- margin-bottom:var(--font-line-height-body-lg);
692
- }
693
- .eds-text--paragraph{
694
- font-size:var(--font-size-body-m);
695
- line-height:var(--font-line-height-body-m);
696
- margin-bottom:var(--font-line-height-body-m);
697
- }
698
- .eds-text--subparagraph{
699
- font-size:var(--font-size-body-s);
700
- line-height:var(--font-line-height-body-s);
701
- margin-bottom:var(--font-line-height-body-s);
702
- }
703
- .eds-text--caption{
704
- font-size:var(--font-size-body-xs);
705
- line-height:var(--font-line-height-body-xs);
706
- margin-bottom:var(--font-line-height-body-xs);
707
- }
708
- .eds-text--label{
709
- font-size:var(--font-size-label-lg);
710
- line-height:var(--font-line-height-label-lg);
711
- margin-bottom:var(--font-paragraph-spacing-body-xs);
712
- font-weight:600;
713
- }
714
- .eds-text--sublabel{
715
- font-size:var(--font-size-label-s);
716
- line-height:var(--font-line-height-label-s);
717
- margin-bottom:var(--font-paragraph-spacing-body-xs);
718
- font-weight:600;
719
- }
720
- .eds-text--overline{
721
- font-size:var(--font-size-body-xs);
722
- line-height:var(--font-line-height-body-xs);
723
- margin-top:var(--font-paragraph-spacing-body-xs);
724
- margin-bottom:var(--font-paragraph-spacing-body-m);
725
- font-weight:500;
726
- text-transform:uppercase;
727
- }
728
- .eds-text--emphasized{
729
- font-style:italic;
730
- font-weight:500;
731
- }
732
- .eds-text--code-text, .eds-text--preformatted-text{
733
- background-color:var(--components-typography-codetext-standard-fill);
734
- border:0.0625rem solid var(--components-typography-codetext-standard-border);
735
- -webkit-border-radius:0.25rem;
736
- -moz-border-radius:0.25rem;
737
- border-radius:0.25rem;
738
- color:var(--components-typography-codetext-standard-text);
739
- font-family:"Monaco", monospace;
740
- font-size:0.875rem;
741
- }
742
- :where(.eds-contrast) .eds-text--code-text, :where(.eds-contrast) .eds-text--preformatted-text{
743
- background-color:var(--components-typography-codetext-contrast-fill);
744
- border:0.0625rem solid var(--components-typography-codetext-contrast-border);
745
- color:var(--components-typography-codetext-contrast-text);
746
- }
747
- .eds-text--preformatted-text{
748
- padding:1rem;
749
- white-space:pre-wrap;
750
- word-break:keep-all;
751
- margin-bottom:-webkit-calc(var(--font-line-height-body-lg) + 1rem);
752
- margin-bottom:-moz-calc(var(--font-line-height-body-lg) + 1rem);
753
- margin-bottom:calc(var(--font-line-height-body-lg) + 1rem);
754
- }
755
- .eds-text--code-text{
756
- display:inline-block;
757
- word-wrap:break-word;
758
- word-wrap:anywhere;
759
- padding:0 0.25rem;
760
- }
761
- .eds-text--weight-400, .eds-text--weight-regular{
762
- font-weight:400;
763
- }
764
- .eds-text--weight-500, .eds-text--weight-medium{
765
- font-weight:500;
766
- }
767
- .eds-text--weight-600, .eds-text--weight-semibold{
768
- font-weight:600;
769
- }
770
- .eds-text--weight-700, .eds-text--weight-bold{
771
- font-weight:700;
772
- }
773
- .eds-text--spacing-none{
774
- margin-top:0;
775
- margin-bottom:0;
776
- }
777
- .eds-text--spacing-xs2{
778
- margin-top:0.25rem;
779
- margin-bottom:0.25rem;
780
- }
781
- .eds-text--spacing-xs2-top{
782
- margin-top:0.25rem;
783
- margin-bottom:0;
784
- }
785
- .eds-text--spacing-xs2-bottom{
786
- margin-top:0;
787
- margin-bottom:0.25rem;
788
- }
789
- .eds-text--spacing-xs{
790
- margin-top:0.5rem;
791
- margin-bottom:0.5rem;
792
- }
793
- .eds-text--spacing-xs-top{
794
- margin-top:0.5rem;
795
- margin-bottom:0;
796
- }
797
- .eds-text--spacing-xs-bottom{
798
- margin-top:0;
799
- margin-bottom:0.5rem;
800
- }
801
- .eds-text--spacing-sm{
802
- margin-top:0.75rem;
803
- margin-bottom:0.75rem;
804
- }
805
- .eds-text--spacing-sm-top{
806
- margin-top:0.75rem;
807
- margin-bottom:0;
808
- }
809
- .eds-text--spacing-sm-bottom{
810
- margin-top:0;
811
- margin-bottom:0.75rem;
812
- }
813
- .eds-text--spacing-md{
814
- margin-top:1rem;
815
- margin-bottom:1rem;
816
- }
817
- .eds-text--spacing-md-top{
818
- margin-top:1rem;
819
- margin-bottom:0;
820
- }
821
- .eds-text--spacing-md-bottom{
822
- margin-top:0;
823
- margin-bottom:1rem;
824
- }
825
- .eds-text--spacing-lg{
826
- margin-top:1.5rem;
827
- margin-bottom:1.5rem;
828
- }
829
- .eds-text--spacing-lg-top{
830
- margin-top:1.5rem;
831
- margin-bottom:0;
832
- }
833
- .eds-text--spacing-lg-bottom{
834
- margin-top:0;
835
- margin-bottom:1.5rem;
836
- }
837
- .eds-text--spacing-xl{
838
- margin-top:2rem;
839
- margin-bottom:2rem;
840
- }
841
- .eds-text--spacing-xl-top{
842
- margin-top:2rem;
843
- margin-bottom:0;
844
- }
845
- .eds-text--spacing-xl-bottom{
846
- margin-top:0;
847
- margin-bottom:2rem;
848
- }
849
- .eds-text--link{
850
- color:var(--components-typography-basetext-standard-text-accent);
851
- }
852
- :where(.eds-contrast) .eds-text--link{
853
- color:var(--components-typography-basetext-contrast-text-accent);
854
- }
855
- .eds-text--link, .eds-text--link:where(:link), .eds-text--link:where(:visited){
856
- font-size:inherit;
857
- -webkit-text-decoration:none;
858
- text-decoration:none;
859
- position:relative;
860
- background-image:-webkit-linear-gradient(330deg, var(--components-typography-basetext-standard-text-accent) 0%, var(--components-typography-basetext-standard-text-accent) 100%);
861
- background-image:-moz-linear-gradient(330deg, var(--components-typography-basetext-standard-text-accent) 0%, var(--components-typography-basetext-standard-text-accent) 100%);
862
- background-image:-o-linear-gradient(330deg, var(--components-typography-basetext-standard-text-accent) 0%, var(--components-typography-basetext-standard-text-accent) 100%);
863
- background-image:linear-gradient(120deg, var(--components-typography-basetext-standard-text-accent) 0%, var(--components-typography-basetext-standard-text-accent) 100%);
864
- background-repeat:no-repeat;
865
- -moz-background-size:100% 0.125rem;
866
- -o-background-size:100% 0.125rem;
867
- background-size:100% 0.125rem;
868
- background-position:0 100%;
869
- }
870
- :where(.eds-contrast) .eds-text--link, :where(.eds-contrast) .eds-text--link:where(:link), :where(.eds-contrast) .eds-text--link:where(:visited){
871
- background-image:-webkit-linear-gradient(330deg, var(--components-typography-basetext-contrast-text-accent) 0%, var(--components-typography-basetext-contrast-text-accent) 100%);
872
- background-image:-moz-linear-gradient(330deg, var(--components-typography-basetext-contrast-text-accent) 0%, var(--components-typography-basetext-contrast-text-accent) 100%);
873
- background-image:-o-linear-gradient(330deg, var(--components-typography-basetext-contrast-text-accent) 0%, var(--components-typography-basetext-contrast-text-accent) 100%);
874
- background-image:linear-gradient(120deg, var(--components-typography-basetext-contrast-text-accent) 0%, var(--components-typography-basetext-contrast-text-accent) 100%);
875
- }
876
- .eds-text--link:where(:hover){
877
- -webkit-animation:eds-link-underline 0.3s ease-in;
878
- -moz-animation:eds-link-underline 0.3s ease-in;
879
- -o-animation:eds-link-underline 0.3s ease-in;
880
- animation:eds-link-underline 0.3s ease-in;
881
- cursor:pointer;
882
- }
883
- @-webkit-keyframes eds-link-underline{
884
- from{
885
- background-size:0% 0.125rem;
886
- }
887
- to{
888
- background-size:100% 0.125rem;
889
- }
890
- }
891
- @-moz-keyframes eds-link-underline{
892
- from{
893
- -moz-background-size:0% 0.125rem;
894
- background-size:0% 0.125rem;
895
- }
896
- to{
897
- -moz-background-size:100% 0.125rem;
898
- background-size:100% 0.125rem;
899
- }
900
- }
901
- @-o-keyframes eds-link-underline{
902
- from{
903
- -o-background-size:0% 0.125rem;
904
- background-size:0% 0.125rem;
905
- }
906
- to{
907
- -o-background-size:100% 0.125rem;
908
- background-size:100% 0.125rem;
909
- }
910
- }
911
- @keyframes eds-link-underline{
912
- from{
913
- -moz-background-size:0% 0.125rem;
914
- -o-background-size:0% 0.125rem;
915
- background-size:0% 0.125rem;
916
- }
917
- to{
918
- -moz-background-size:100% 0.125rem;
919
- -o-background-size:100% 0.125rem;
920
- background-size:100% 0.125rem;
921
- }
922
- }
923
- .eds-text--link:where(:focus-visible){
924
- outline:2px solid #181c56;
925
- outline-color:var(--basecolors-stroke-focus-standard);
926
- outline-offset:0.125rem;
927
- }
928
- :where(.eds-contrast) .eds-text--link:where(:focus-visible){
929
- outline-color:var(--basecolors-stroke-focus-contrast);
930
- }
931
- @media screen and (min-width: 50rem){
932
- .eds-text--link{
933
- font-size:1rem;
934
- line-height:1.5rem;
935
- }
936
- }
937
- .eds-text--link--ext-icon{
938
- margin-left:0.25rem;
939
- }
940
- p .eds-text--link--ext-icon{
941
- top:0;
942
- }
943
- .eds-text--blockquote{
944
- border-left:0.25rem solid var(--components-typography-blockquote-standard-stroke);
945
- font-family:inherit;
946
- margin:0;
947
- padding:0.5rem;
948
- padding-left:2rem;
949
- font-size:var(--font-size-body-lg);
950
- line-height:var(--font-line-height-body-lg);
951
- margin-bottom:var(--font-line-height-body-lg);
952
- color:var(--components-typography-blockquote-standard-text-accent);
953
- }
954
- :where(.eds-contrast) .eds-text--blockquote{
955
- color:var(--components-typography-blockquote-contrast-text-accent);
956
- }
957
- .eds-text--blockquote__footer{
958
- font-size:var(--font-size-body-s);
959
- line-height:1.375rem;
960
- letter-spacing:1px;
961
- margin-top:1.5rem;
962
- text-transform:uppercase;
963
- color:var(--components-typography-blockquote-standard-text-accent);
964
- }
965
- :where(.eds-contrast) .eds-text--blockquote__footer{
966
- color:var(--components-typography-blockquote-contrast-text-accent);
967
- }
968
- .eds-text--unordered-list{
969
- list-style:none;
970
- margin-bottom:var(--font-line-height-body-lg);
971
- color:var(--components-typography-list-standard-text-accent);
972
- }
973
- :where(.eds-contrast) .eds-text--unordered-list{
974
- color:var(--components-typography-list-contrast-text-accent);
975
- }
976
- .eds-text--unordered-list .eds-text--list-item::before{
977
- content:"";
978
- background:var(--components-typography-list-standard-border);
979
- display:block;
980
- height:0.125rem;
981
- left:-1.75rem;
982
- top:0.75rem;
983
- position:relative;
984
- width:0.75rem;
985
- }
986
- .eds-text--numbered-list{
987
- counter-reset:eds-numbered-list-counter;
988
- list-style:none;
989
- margin-bottom:var(--font-line-height-body-lg);
990
- color:var(--components-typography-list-standard-text-accent);
991
- }
992
- :where(.eds-contrast) .eds-text--numbered-list{
993
- color:var(--components-typography-list-contrast-text-accent);
994
- }
995
- .eds-text--numbered-list--type-a > .eds-text--list-item::before{
996
- content:counter(eds-numbered-list-counter, lower-alpha);
997
- }
998
- .eds-text--numbered-list--type-A > .eds-text--list-item::before{
999
- content:counter(eds-numbered-list-counter, upper-alpha);
1000
- }
1001
- .eds-text--numbered-list--type-1 > .eds-text--list-item::before{
1002
- content:counter(eds-numbered-list-counter, decimal);
1003
- }
1004
- .eds-text--numbered-list--type-i > .eds-text--list-item::before{
1005
- content:counter(eds-numbered-list-counter, lower-roman);
1006
- }
1007
- .eds-text--numbered-list--type-I > .eds-text--list-item::before{
1008
- content:counter(eds-numbered-list-counter, upper-roman);
1009
- }
1010
- .eds-text--list-item{
1011
- padding-left:0.5rem;
1012
- }
1013
- .eds-text--numbered-list > .eds-text--list-item{
1014
- counter-increment:eds-numbered-list-counter;
1015
- margin-bottom:var(--font-paragraph-spacing-body-m);
1016
- position:relative;
1017
- color:var(--components-typography-list-standard-text-accent);
1018
- }
1019
- :where(.eds-contrast) .eds-text--numbered-list > .eds-text--list-item{
1020
- color:var(--components-typography-list-contrast-text-accent);
1021
- }
1022
- .eds-text--numbered-list > .eds-text--list-item::before{
1023
- color:var(--primary-text-color);
1024
- position:absolute;
1025
- font-weight:var(--font-weight-heading);
1026
- left:-2.5rem;
1027
- border:0.125rem solid var(--components-typography-list-standard-border);
1028
- -webkit-border-radius:50%;
1029
- -moz-border-radius:50%;
1030
- border-radius:50%;
1031
- height:2rem;
1032
- width:2rem;
1033
- display:-webkit-box;
1034
- display:-webkit-flex;
1035
- display:-moz-box;
1036
- display:flex;
1037
- -webkit-box-align:center;
1038
- -webkit-align-items:center;
1039
- -moz-box-align:center;
1040
- align-items:center;
1041
- -webkit-box-pack:center;
1042
- -webkit-justify-content:center;
1043
- -moz-box-pack:center;
1044
- justify-content:center;
1045
- top:-0.25rem;
1046
- }
1047
- :where(.eds-contrast) .eds-text--numbered-list > .eds-text--list-item::before{
1048
- border:0.125rem solid var(--components-typography-list-contrast-border);
1049
- }
1050
- .eds-text--list-item__title{
1051
- display:block;
1052
- font-weight:var(--font-weight-heading);
1053
- margin-bottom:0.5rem;
1054
- }
1055
- }