@entur/typography 3.0.7 → 3.1.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.
- package/README.md +9 -38
- package/dist/beta/cjs/components/Heading.cjs +39 -29
- package/dist/beta/cjs/components/Heading.cjs.map +1 -1
- package/dist/beta/cjs/components/Label.cjs +22 -0
- package/dist/beta/cjs/components/Label.cjs.map +1 -0
- package/dist/beta/cjs/components/Link.cjs +18 -33
- package/dist/beta/cjs/components/Link.cjs.map +1 -1
- package/dist/beta/cjs/components/ListItem.cjs +29 -25
- package/dist/beta/cjs/components/ListItem.cjs.map +1 -1
- package/dist/beta/cjs/components/NumberedList.cjs +34 -24
- package/dist/beta/cjs/components/NumberedList.cjs.map +1 -1
- package/dist/beta/cjs/components/Text.cjs +40 -28
- package/dist/beta/cjs/components/Text.cjs.map +1 -1
- package/dist/beta/cjs/components/TextContainer.cjs +26 -0
- package/dist/beta/cjs/components/TextContainer.cjs.map +1 -0
- package/dist/beta/cjs/components/UnorderedList.cjs +19 -21
- package/dist/beta/cjs/components/UnorderedList.cjs.map +1 -1
- package/dist/beta/cjs/index.cjs +8 -3
- package/dist/beta/cjs/index.cjs.map +1 -1
- package/dist/beta/cjs/utils/utils.cjs +73 -41
- package/dist/beta/cjs/utils/utils.cjs.map +1 -1
- package/dist/beta/cjs/utils/warnAboutGlobalStyles.cjs +113 -0
- package/dist/beta/cjs/utils/warnAboutGlobalStyles.cjs.map +1 -0
- package/dist/beta/esm/components/Heading.mjs +40 -30
- package/dist/beta/esm/components/Heading.mjs.map +1 -1
- package/dist/beta/esm/components/Label.mjs +22 -0
- package/dist/beta/esm/components/Label.mjs.map +1 -0
- package/dist/beta/esm/components/Link.mjs +20 -35
- package/dist/beta/esm/components/Link.mjs.map +1 -1
- package/dist/beta/esm/components/ListItem.mjs +30 -26
- package/dist/beta/esm/components/ListItem.mjs.map +1 -1
- package/dist/beta/esm/components/NumberedList.mjs +35 -25
- package/dist/beta/esm/components/NumberedList.mjs.map +1 -1
- package/dist/beta/esm/components/Text.mjs +41 -29
- package/dist/beta/esm/components/Text.mjs.map +1 -1
- package/dist/beta/esm/components/TextContainer.mjs +26 -0
- package/dist/beta/esm/components/TextContainer.mjs.map +1 -0
- package/dist/beta/esm/components/UnorderedList.mjs +20 -22
- package/dist/beta/esm/components/UnorderedList.mjs.map +1 -1
- package/dist/beta/esm/index.mjs +8 -3
- package/dist/beta/esm/index.mjs.map +1 -1
- package/dist/beta/esm/utils/utils.mjs +73 -41
- package/dist/beta/esm/utils/utils.mjs.map +1 -1
- package/dist/beta/esm/utils/warnAboutGlobalStyles.mjs +113 -0
- package/dist/beta/esm/utils/warnAboutGlobalStyles.mjs.map +1 -0
- package/dist/beta/styles/index.css +878 -609
- package/dist/beta/types/components/Heading.d.ts +27 -11
- package/dist/beta/types/components/Label.d.ts +22 -0
- package/dist/beta/types/components/Link.d.ts +11 -9
- package/dist/beta/types/components/ListItem.d.ts +11 -7
- package/dist/beta/types/components/NumberedList.d.ts +15 -7
- package/dist/beta/types/components/Text.d.ts +33 -13
- package/dist/beta/types/components/TextContainer.d.ts +25 -0
- package/dist/beta/types/components/UnorderedList.d.ts +11 -7
- package/dist/beta/types/index.d.ts +11 -2
- package/dist/beta/types/tests/styles.test.d.ts +1 -0
- package/dist/beta/types/tests/warnAboutGlobalStyles.test.d.ts +1 -0
- package/dist/beta/types/types.d.ts +16 -5
- package/dist/beta/types/utils/utils.d.ts +15 -4
- package/dist/beta/types/utils/warnAboutGlobalStyles.d.ts +4 -0
- package/dist/styles.css +13 -5
- package/dist/styles.no-base-tokens.css +822 -0
- package/package.json +8 -12
- package/dist/beta/cjs/components/Blockquote.cjs +0 -29
- package/dist/beta/cjs/components/Blockquote.cjs.map +0 -1
- package/dist/beta/esm/components/Blockquote.mjs +0 -29
- package/dist/beta/esm/components/Blockquote.mjs.map +0 -1
- package/dist/beta/types/components/Blockquote.d.ts +0 -12
- package/scripts/migrate-typography.mjs +0 -1462
|
@@ -2,6 +2,235 @@
|
|
|
2
2
|
@layer core.reset, core.tokens, core.base;
|
|
3
3
|
@layer third-party.imports, third-party.overrides;
|
|
4
4
|
@layer components.primitives, components.composites, components.overrides;
|
|
5
|
+
[data-view-mode=standard],
|
|
6
|
+
:root{
|
|
7
|
+
--spacing-2xs:0.25rem;
|
|
8
|
+
--spacing-xs:0.5rem;
|
|
9
|
+
--spacing-s:0.75rem;
|
|
10
|
+
--spacing-m:1rem;
|
|
11
|
+
--spacing-lg:1.25rem;
|
|
12
|
+
--spacing-xl:1.5rem;
|
|
13
|
+
--spacing-2xl:1.75rem;
|
|
14
|
+
--spacing-3xl:2rem;
|
|
15
|
+
--spacing-4xl:2.25rem;
|
|
16
|
+
--spacing-5xl:2.5rem;
|
|
17
|
+
--spacing-6xl:3rem;
|
|
18
|
+
--spacing-7xl:3.25rem;
|
|
19
|
+
--spacing-8xl:3.5rem;
|
|
20
|
+
--spacing-9xl:4rem;
|
|
21
|
+
--spacing-10xl:4.5rem;
|
|
22
|
+
--spacing-11xl:5rem;
|
|
23
|
+
--spacing-12xl:5.5rem;
|
|
24
|
+
--spacing-13xl:6rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-view-mode=compact]{
|
|
28
|
+
--spacing-2xs:0.125rem;
|
|
29
|
+
--spacing-xs:0.25rem;
|
|
30
|
+
--spacing-s:0.5rem;
|
|
31
|
+
--spacing-m:0.75rem;
|
|
32
|
+
--spacing-lg:1rem;
|
|
33
|
+
--spacing-xl:1.25rem;
|
|
34
|
+
--spacing-2xl:1.5rem;
|
|
35
|
+
--spacing-3xl:1.75rem;
|
|
36
|
+
--spacing-4xl:2rem;
|
|
37
|
+
--spacing-5xl:2.25rem;
|
|
38
|
+
--spacing-6xl:2.5rem;
|
|
39
|
+
--spacing-7xl:3rem;
|
|
40
|
+
--spacing-8xl:3.25rem;
|
|
41
|
+
--spacing-9xl:3.5rem;
|
|
42
|
+
--spacing-10xl:4rem;
|
|
43
|
+
--spacing-11xl:4.5rem;
|
|
44
|
+
--spacing-12xl:5rem;
|
|
45
|
+
--spacing-13xl:5.5rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[data-view-mode=display]{
|
|
49
|
+
--spacing-2xs:0.5rem;
|
|
50
|
+
--spacing-xs:1rem;
|
|
51
|
+
--spacing-s:1.5rem;
|
|
52
|
+
--spacing-m:1.75rem;
|
|
53
|
+
--spacing-lg:2.25rem;
|
|
54
|
+
--spacing-xl:2.75rem;
|
|
55
|
+
--spacing-2xl:3.5rem;
|
|
56
|
+
--spacing-3xl:4rem;
|
|
57
|
+
--spacing-4xl:4.5rem;
|
|
58
|
+
--spacing-5xl:5rem;
|
|
59
|
+
--spacing-6xl:6rem;
|
|
60
|
+
--spacing-7xl:6.5rem;
|
|
61
|
+
--spacing-8xl:7rem;
|
|
62
|
+
--spacing-9xl:8rem;
|
|
63
|
+
--spacing-10xl:8.5rem;
|
|
64
|
+
--spacing-11xl:9rem;
|
|
65
|
+
--spacing-12xl:9.5rem;
|
|
66
|
+
--spacing-13xl:10rem;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[data-view-mode=standard],
|
|
70
|
+
:root{
|
|
71
|
+
--font-line-height-body-xs:1rem;
|
|
72
|
+
--font-line-height-body-s:1.25rem;
|
|
73
|
+
--font-line-height-body-m:1.5rem;
|
|
74
|
+
--font-line-height-body-lg:1.75rem;
|
|
75
|
+
--font-line-height-body-xl:2rem;
|
|
76
|
+
--font-line-height-heading-xs:1rem;
|
|
77
|
+
--font-line-height-heading-s:1.25rem;
|
|
78
|
+
--font-line-height-heading-m:1.5rem;
|
|
79
|
+
--font-line-height-heading-lg:1.75rem;
|
|
80
|
+
--font-line-height-heading-xl:2.25rem;
|
|
81
|
+
--font-line-height-heading-2xl:2.75rem;
|
|
82
|
+
--font-line-height-label-s:1rem;
|
|
83
|
+
--font-line-height-label-m:1.25rem;
|
|
84
|
+
--font-line-height-label-lg:1.5rem;
|
|
85
|
+
--font-paragraph-spacing-body-xs:0.5rem;
|
|
86
|
+
--font-paragraph-spacing-body-s:0.75rem;
|
|
87
|
+
--font-paragraph-spacing-body-m:1rem;
|
|
88
|
+
--font-paragraph-spacing-body-lg:1.5rem;
|
|
89
|
+
--font-paragraph-spacing-body-xl:1.5rem;
|
|
90
|
+
--font-paragraph-spacing-heading-xs:0.5rem;
|
|
91
|
+
--font-paragraph-spacing-heading-m:0.75rem;
|
|
92
|
+
--font-paragraph-spacing-heading-s:0.75rem;
|
|
93
|
+
--font-paragraph-spacing-heading-lg:1rem;
|
|
94
|
+
--font-paragraph-spacing-heading-xl:1.25rem;
|
|
95
|
+
--font-paragraph-spacing-heading-2xl:1.5rem;
|
|
96
|
+
--font-size-body-xs:0.75rem;
|
|
97
|
+
--font-size-body-s:0.875rem;
|
|
98
|
+
--font-size-body-m:1rem;
|
|
99
|
+
--font-size-body-lg:1.25rem;
|
|
100
|
+
--font-size-body-xl:1.5rem;
|
|
101
|
+
--font-size-heading-xs:0.875rem;
|
|
102
|
+
--font-size-heading-s:1rem;
|
|
103
|
+
--font-size-heading-m:1.25rem;
|
|
104
|
+
--font-size-heading-lg:1.5rem;
|
|
105
|
+
--font-size-heading-xl:2rem;
|
|
106
|
+
--font-size-heading-2xl:2.5rem;
|
|
107
|
+
--font-size-label-s:0.875rem;
|
|
108
|
+
--font-size-label-m:1rem;
|
|
109
|
+
--font-size-label-lg:1.25rem;
|
|
110
|
+
--font-family-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
111
|
+
--font-family-nationale:Nationale;
|
|
112
|
+
--font-weight-body:500;
|
|
113
|
+
--font-weight-heading:600;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[data-view-mode=compact]{
|
|
117
|
+
--font-line-height-body-xs:1rem;
|
|
118
|
+
--font-line-height-body-s:1.25rem;
|
|
119
|
+
--font-line-height-body-lg:1.5rem;
|
|
120
|
+
--font-line-height-body-m:1.5rem;
|
|
121
|
+
--font-line-height-body-xl:1.75rem;
|
|
122
|
+
--font-line-height-heading-s:1rem;
|
|
123
|
+
--font-line-height-heading-xs:1rem;
|
|
124
|
+
--font-line-height-heading-m:1.25rem;
|
|
125
|
+
--font-line-height-heading-lg:1.5rem;
|
|
126
|
+
--font-line-height-heading-xl:1.75rem;
|
|
127
|
+
--font-line-height-heading-2xl:2rem;
|
|
128
|
+
--font-line-height-label-m:1rem;
|
|
129
|
+
--font-line-height-label-s:1rem;
|
|
130
|
+
--font-line-height-label-lg:1.25rem;
|
|
131
|
+
--font-paragraph-spacing-body-xs:0.5rem;
|
|
132
|
+
--font-paragraph-spacing-body-s:0.75rem;
|
|
133
|
+
--font-paragraph-spacing-body-m:1rem;
|
|
134
|
+
--font-paragraph-spacing-body-lg:1.25rem;
|
|
135
|
+
--font-paragraph-spacing-body-xl:1.25rem;
|
|
136
|
+
--font-paragraph-spacing-heading-s:0.5rem;
|
|
137
|
+
--font-paragraph-spacing-heading-xs:0.5rem;
|
|
138
|
+
--font-paragraph-spacing-heading-lg:0.75rem;
|
|
139
|
+
--font-paragraph-spacing-heading-m:0.75rem;
|
|
140
|
+
--font-paragraph-spacing-heading-2xl:1rem;
|
|
141
|
+
--font-paragraph-spacing-heading-xl:1rem;
|
|
142
|
+
--font-size-body-xs:0.75rem;
|
|
143
|
+
--font-size-body-s:0.875rem;
|
|
144
|
+
--font-size-body-lg:1rem;
|
|
145
|
+
--font-size-body-m:1rem;
|
|
146
|
+
--font-size-body-xl:1.25rem;
|
|
147
|
+
--font-size-heading-xs:0.75rem;
|
|
148
|
+
--font-size-heading-s:0.875rem;
|
|
149
|
+
--font-size-heading-m:1rem;
|
|
150
|
+
--font-size-heading-lg:1.25rem;
|
|
151
|
+
--font-size-heading-xl:1.5rem;
|
|
152
|
+
--font-size-heading-2xl:1.75rem;
|
|
153
|
+
--font-size-label-s:0.875rem;
|
|
154
|
+
--font-size-label-m:1rem;
|
|
155
|
+
--font-size-label-lg:1.25rem;
|
|
156
|
+
--font-family-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
157
|
+
--font-family-nationale:Nationale;
|
|
158
|
+
--font-weight-body:500;
|
|
159
|
+
--font-weight-heading:600;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
[data-view-mode=display]{
|
|
163
|
+
--font-line-height-body-xs:1.75rem;
|
|
164
|
+
--font-line-height-body-s:2rem;
|
|
165
|
+
--font-line-height-body-m:2.75rem;
|
|
166
|
+
--font-line-height-body-lg:3.5rem;
|
|
167
|
+
--font-line-height-body-xl:4rem;
|
|
168
|
+
--font-line-height-heading-xs:1.75rem;
|
|
169
|
+
--font-line-height-heading-s:2.25rem;
|
|
170
|
+
--font-line-height-heading-m:2.75rem;
|
|
171
|
+
--font-line-height-heading-lg:3.5rem;
|
|
172
|
+
--font-line-height-heading-xl:4.5rem;
|
|
173
|
+
--font-line-height-heading-2xl:5rem;
|
|
174
|
+
--font-line-height-label-s:1.75rem;
|
|
175
|
+
--font-line-height-label-m:2.25rem;
|
|
176
|
+
--font-line-height-label-lg:2.75rem;
|
|
177
|
+
--font-paragraph-spacing-body-xs:1.25rem;
|
|
178
|
+
--font-paragraph-spacing-body-s:1.5rem;
|
|
179
|
+
--font-paragraph-spacing-body-m:2rem;
|
|
180
|
+
--font-paragraph-spacing-body-lg:2.5rem;
|
|
181
|
+
--font-paragraph-spacing-body-xl:3rem;
|
|
182
|
+
--font-paragraph-spacing-heading-xs:0.75rem;
|
|
183
|
+
--font-paragraph-spacing-heading-s:1rem;
|
|
184
|
+
--font-paragraph-spacing-heading-m:1.25rem;
|
|
185
|
+
--font-paragraph-spacing-heading-lg:1.5rem;
|
|
186
|
+
--font-paragraph-spacing-heading-xl:2rem;
|
|
187
|
+
--font-paragraph-spacing-heading-2xl:2.25rem;
|
|
188
|
+
--font-size-body-xs:1.25rem;
|
|
189
|
+
--font-size-body-s:1.5rem;
|
|
190
|
+
--font-size-body-m:2rem;
|
|
191
|
+
--font-size-body-lg:2.5rem;
|
|
192
|
+
--font-size-body-xl:3rem;
|
|
193
|
+
--font-size-heading-xs:1.5rem;
|
|
194
|
+
--font-size-heading-s:2rem;
|
|
195
|
+
--font-size-heading-m:2.5rem;
|
|
196
|
+
--font-size-heading-lg:3rem;
|
|
197
|
+
--font-size-heading-xl:4rem;
|
|
198
|
+
--font-size-heading-2xl:4.5rem;
|
|
199
|
+
--font-size-label-s:1.5rem;
|
|
200
|
+
--font-size-label-m:2rem;
|
|
201
|
+
--font-size-label-lg:2.5rem;
|
|
202
|
+
--font-family-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
203
|
+
--font-family-nationale:Nationale;
|
|
204
|
+
--font-weight-body:500;
|
|
205
|
+
--font-weight-heading:600;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
@media (max-width: 599.98px){
|
|
209
|
+
:root:where(:not([data-view-mode])),
|
|
210
|
+
[data-view-mode=standard]{
|
|
211
|
+
--font-line-height-body-xl:1.75rem;
|
|
212
|
+
--font-line-height-heading-s:1rem;
|
|
213
|
+
--font-line-height-heading-xs:1rem;
|
|
214
|
+
--font-line-height-heading-m:1.25rem;
|
|
215
|
+
--font-line-height-heading-lg:1.5rem;
|
|
216
|
+
--font-line-height-heading-xl:1.75rem;
|
|
217
|
+
--font-line-height-heading-2xl:2rem;
|
|
218
|
+
--font-paragraph-spacing-body-xl:1.25rem;
|
|
219
|
+
--font-paragraph-spacing-heading-s:0.5rem;
|
|
220
|
+
--font-paragraph-spacing-heading-xs:0.5rem;
|
|
221
|
+
--font-paragraph-spacing-heading-lg:0.75rem;
|
|
222
|
+
--font-paragraph-spacing-heading-m:0.75rem;
|
|
223
|
+
--font-paragraph-spacing-heading-2xl:1rem;
|
|
224
|
+
--font-paragraph-spacing-heading-xl:1rem;
|
|
225
|
+
--font-size-body-xl:1.25rem;
|
|
226
|
+
--font-size-heading-xs:0.75rem;
|
|
227
|
+
--font-size-heading-s:0.875rem;
|
|
228
|
+
--font-size-heading-m:1rem;
|
|
229
|
+
--font-size-heading-lg:1.25rem;
|
|
230
|
+
--font-size-heading-xl:1.5rem;
|
|
231
|
+
--font-size-heading-2xl:1.75rem;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
5
234
|
@layer core.base{
|
|
6
235
|
@font-face{
|
|
7
236
|
font-family:nationale;
|
|
@@ -71,7 +300,9 @@
|
|
|
71
300
|
[data-color-mode=light],
|
|
72
301
|
:root{
|
|
73
302
|
--components-typography-basetext-contrast-text-accent:#ffffff;
|
|
303
|
+
--components-typography-basetext-contrast-text-subdued:#d9dae8;
|
|
74
304
|
--components-typography-basetext-standard-text-accent:#181c56;
|
|
305
|
+
--components-typography-basetext-standard-text-subdued:#626493;
|
|
75
306
|
--components-typography-blockquote-contrast-stroke:#8284ab;
|
|
76
307
|
--components-typography-blockquote-contrast-text-accent:#ffffff;
|
|
77
308
|
--components-typography-blockquote-contrast-text-subdued:#d9dae8;
|
|
@@ -80,23 +311,27 @@
|
|
|
80
311
|
--components-typography-blockquote-standard-text-subdued:#626493;
|
|
81
312
|
--components-typography-codetext-contrast-border:rgba(255, 255, 255, 0);
|
|
82
313
|
--components-typography-codetext-contrast-border-interactive:#aeb7e2;
|
|
83
|
-
--components-typography-codetext-contrast-fill:#
|
|
314
|
+
--components-typography-codetext-contrast-fill:#292b6a;
|
|
84
315
|
--components-typography-codetext-contrast-text:#181c56;
|
|
85
316
|
--components-typography-codetext-standard-border:rgba(84, 86, 140, 0.4);
|
|
86
317
|
--components-typography-codetext-standard-border-interactive:#181c56;
|
|
87
|
-
--components-typography-codetext-standard-fill:#
|
|
318
|
+
--components-typography-codetext-standard-fill:#eaeaf1;
|
|
88
319
|
--components-typography-codetext-standard-text:#181c56;
|
|
89
320
|
--components-typography-label-contrast-text-accent:#d9dae8;
|
|
90
321
|
--components-typography-label-standard-text-accent:#626493;
|
|
91
322
|
--components-typography-list-contrast-border:#aeb7e2;
|
|
323
|
+
--components-typography-list-contrast-fill:#292b6a;
|
|
92
324
|
--components-typography-list-contrast-text-accent:#ffffff;
|
|
93
325
|
--components-typography-list-standard-border:#aeb7e2;
|
|
326
|
+
--components-typography-list-standard-fill:#eaeaf1;
|
|
94
327
|
--components-typography-list-standard-text-accent:#181c56;
|
|
95
328
|
}
|
|
96
329
|
|
|
97
330
|
[data-color-mode=dark]{
|
|
98
331
|
--components-typography-basetext-contrast-text-accent:#e5e5e9;
|
|
332
|
+
--components-typography-basetext-contrast-text-subdued:#b3b4bd;
|
|
99
333
|
--components-typography-basetext-standard-text-accent:#e5e5e9;
|
|
334
|
+
--components-typography-basetext-standard-text-subdued:#b3b4bd;
|
|
100
335
|
--components-typography-blockquote-contrast-stroke:#81828f;
|
|
101
336
|
--components-typography-blockquote-contrast-text-accent:#e5e5e9;
|
|
102
337
|
--components-typography-blockquote-contrast-text-subdued:#b3b4bd;
|
|
@@ -105,175 +340,48 @@
|
|
|
105
340
|
--components-typography-blockquote-standard-text-subdued:#b3b4bd;
|
|
106
341
|
--components-typography-codetext-contrast-border:rgba(255, 255, 255, 0);
|
|
107
342
|
--components-typography-codetext-contrast-border-interactive:#e5e5e9;
|
|
108
|
-
--components-typography-codetext-contrast-fill:#
|
|
343
|
+
--components-typography-codetext-contrast-fill:#212233;
|
|
109
344
|
--components-typography-codetext-contrast-text:#e5e5e9;
|
|
110
345
|
--components-typography-codetext-standard-border:rgba(255, 255, 255, 0);
|
|
111
346
|
--components-typography-codetext-standard-border-interactive:#e5e5e9;
|
|
112
|
-
--components-typography-codetext-standard-fill:#
|
|
347
|
+
--components-typography-codetext-standard-fill:#212233;
|
|
113
348
|
--components-typography-codetext-standard-text:#e5e5e9;
|
|
114
349
|
--components-typography-label-contrast-text-accent:#e5e5e9;
|
|
115
350
|
--components-typography-label-standard-text-accent:#e5e5e9;
|
|
116
351
|
--components-typography-list-contrast-border:#aeb7e2;
|
|
352
|
+
--components-typography-list-contrast-fill:#212233;
|
|
117
353
|
--components-typography-list-contrast-text-accent:#e5e5e9;
|
|
118
354
|
--components-typography-list-standard-border:#aeb7e2;
|
|
355
|
+
--components-typography-list-standard-fill:#212233;
|
|
119
356
|
--components-typography-list-standard-text-accent:#e5e5e9;
|
|
120
357
|
}
|
|
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
358
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
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;
|
|
359
|
+
@property --eds-text-spacing-top{
|
|
360
|
+
syntax:"*";
|
|
361
|
+
inherits:false;
|
|
228
362
|
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
--
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
--
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
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;
|
|
363
|
+
@property --eds-text-spacing-bottom{
|
|
364
|
+
syntax:"*";
|
|
365
|
+
inherits:false;
|
|
366
|
+
}
|
|
367
|
+
@layer components.primitives{
|
|
368
|
+
:where(.eds-heading, .eds-text, .eds-text--link, .eds-text--unordered-list, .eds-text--numbered-list, .eds-text--list-item, .eds-text-container){
|
|
369
|
+
margin:0 0 0;
|
|
370
|
+
margin:var(--eds-text-spacing-top, 0) 0 var(--eds-text-spacing-bottom, 0);
|
|
371
|
+
}
|
|
372
|
+
:where(.eds-text--max-lines, .eds-heading--max-lines){
|
|
373
|
+
display:-webkit-box;
|
|
374
|
+
-webkit-box-orient:vertical;
|
|
375
|
+
-webkit-line-clamp:var(--eds-text-max-lines);
|
|
376
|
+
line-clamp:var(--eds-text-max-lines);
|
|
377
|
+
overflow:hidden;
|
|
378
|
+
}
|
|
379
|
+
@supports (text-box: trim-both cap alphabetic){
|
|
380
|
+
:where(.eds-text--trim, .eds-heading--trim){
|
|
381
|
+
text-box:trim-both cap alphabetic;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
275
384
|
}
|
|
276
|
-
|
|
277
385
|
@layer core.reset{
|
|
278
386
|
/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
|
279
387
|
/*
|
|
@@ -442,286 +550,139 @@
|
|
|
442
550
|
.eds-heading{
|
|
443
551
|
color:var(--components-typography-basetext-standard-text-accent);
|
|
444
552
|
font-weight:var(--font-weight-heading);
|
|
445
|
-
|
|
553
|
+
word-wrap:break-word;
|
|
554
|
+
text-wrap:balance;
|
|
555
|
+
}
|
|
556
|
+
.eds-heading:where(:lang(nb), :lang(nn), :lang(no)){
|
|
557
|
+
hyphenate-limit-chars:12 5 5;
|
|
558
|
+
-webkit-hyphens:auto;
|
|
559
|
+
-moz-hyphens:auto;
|
|
560
|
+
-ms-hyphens:auto;
|
|
561
|
+
hyphens:auto;
|
|
446
562
|
}
|
|
447
563
|
:where(.eds-contrast) .eds-heading{
|
|
448
564
|
color:var(--components-typography-basetext-contrast-text-accent);
|
|
449
565
|
}
|
|
450
|
-
.eds-heading--
|
|
566
|
+
.eds-heading--title-1{
|
|
451
567
|
font-size:var(--font-size-heading-2xl);
|
|
452
568
|
line-height:var(--font-line-height-heading-2xl);
|
|
453
569
|
}
|
|
454
|
-
.eds-heading--
|
|
570
|
+
.eds-heading--title-2{
|
|
455
571
|
font-size:var(--font-size-heading-xl);
|
|
456
572
|
line-height:var(--font-line-height-heading-xl);
|
|
457
573
|
}
|
|
458
|
-
.eds-heading--
|
|
574
|
+
.eds-heading--subtitle-1{
|
|
459
575
|
font-size:var(--font-size-heading-lg);
|
|
460
576
|
line-height:var(--font-line-height-heading-lg);
|
|
461
577
|
}
|
|
462
|
-
.eds-heading--
|
|
578
|
+
.eds-heading--subtitle-2{
|
|
463
579
|
font-size:var(--font-size-heading-m);
|
|
464
580
|
line-height:var(--font-line-height-heading-m);
|
|
465
581
|
}
|
|
466
|
-
.eds-heading--
|
|
582
|
+
.eds-heading--section-1{
|
|
467
583
|
font-size:var(--font-size-heading-s);
|
|
468
584
|
line-height:var(--font-line-height-heading-s);
|
|
469
585
|
}
|
|
470
|
-
.eds-heading--
|
|
586
|
+
.eds-heading--section-2{
|
|
471
587
|
font-size:var(--font-size-heading-xs);
|
|
472
588
|
line-height:var(--font-line-height-heading-xs);
|
|
473
589
|
}
|
|
474
|
-
.eds-heading--
|
|
590
|
+
.eds-heading--2xl{
|
|
475
591
|
font-size:var(--font-size-heading-2xl);
|
|
476
592
|
line-height:var(--font-line-height-heading-2xl);
|
|
477
|
-
margin-bottom:var(--font-paragraph-spacing-heading-2xl);
|
|
478
593
|
}
|
|
479
|
-
.eds-heading--
|
|
480
|
-
margin-top:var(--font-paragraph-spacing-heading-2xl);
|
|
481
|
-
}
|
|
482
|
-
.eds-heading--title-2{
|
|
594
|
+
.eds-heading--xl{
|
|
483
595
|
font-size:var(--font-size-heading-xl);
|
|
484
596
|
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
597
|
}
|
|
490
|
-
.eds-heading--
|
|
598
|
+
.eds-heading--lg{
|
|
491
599
|
font-size:var(--font-size-heading-lg);
|
|
492
600
|
line-height:var(--font-line-height-heading-lg);
|
|
493
|
-
margin-bottom:var(--font-paragraph-spacing-heading-lg);
|
|
494
601
|
}
|
|
495
|
-
.eds-heading--
|
|
496
|
-
margin-top:var(--font-paragraph-spacing-heading-lg);
|
|
497
|
-
}
|
|
498
|
-
.eds-heading--subtitle-2{
|
|
602
|
+
.eds-heading--m{
|
|
499
603
|
font-size:var(--font-size-heading-m);
|
|
500
604
|
line-height:var(--font-line-height-heading-m);
|
|
501
|
-
margin-bottom:var(--font-paragraph-spacing-heading-m);
|
|
502
605
|
}
|
|
503
|
-
.eds-heading--
|
|
504
|
-
margin-top:var(--font-paragraph-spacing-heading-m);
|
|
505
|
-
}
|
|
506
|
-
.eds-heading--section-1{
|
|
606
|
+
.eds-heading--s{
|
|
507
607
|
font-size:var(--font-size-heading-s);
|
|
508
608
|
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
609
|
}
|
|
514
|
-
.eds-heading--
|
|
610
|
+
.eds-heading--xs{
|
|
515
611
|
font-size:var(--font-size-heading-xs);
|
|
516
612
|
line-height:var(--font-line-height-heading-xs);
|
|
517
|
-
margin-bottom:var(--font-paragraph-spacing-heading-xs);
|
|
518
613
|
}
|
|
519
|
-
.eds-heading--
|
|
520
|
-
|
|
614
|
+
.eds-heading--tone-subdued{
|
|
615
|
+
color:var(--components-typography-basetext-standard-text-subdued);
|
|
521
616
|
}
|
|
522
|
-
.eds-heading--
|
|
523
|
-
|
|
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;
|
|
617
|
+
:where(.eds-contrast) .eds-heading--tone-subdued{
|
|
618
|
+
color:var(--components-typography-basetext-contrast-text-subdued);
|
|
597
619
|
}
|
|
598
620
|
}@layer components.primitives{
|
|
621
|
+
:where(.eds-text, .eds-text-container) :where(code, kbd, samp, pre){
|
|
622
|
+
-webkit-hyphens:manual;
|
|
623
|
+
-moz-hyphens:manual;
|
|
624
|
+
-ms-hyphens:manual;
|
|
625
|
+
hyphens:manual;
|
|
626
|
+
}
|
|
599
627
|
.eds-text{
|
|
600
628
|
color:var(--components-typography-basetext-standard-text-accent);
|
|
601
629
|
font-weight:var(--font-weight-body);
|
|
602
|
-
|
|
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);
|
|
630
|
+
text-wrap:pretty;
|
|
614
631
|
}
|
|
615
|
-
.eds-text--
|
|
616
|
-
|
|
617
|
-
line-height:var(--font-line-height-body-m);
|
|
632
|
+
.eds-text--leading, .eds-text--paragraph, .eds-text--subparagraph, .eds-text--quote, .eds-text--unordered-list, .eds-text--numbered-list{
|
|
633
|
+
word-wrap:break-word;
|
|
618
634
|
}
|
|
619
|
-
.eds-text--
|
|
620
|
-
|
|
621
|
-
|
|
635
|
+
.eds-text--leading:where(:lang(nb), :lang(nn), :lang(no)), .eds-text--paragraph:where(:lang(nb), :lang(nn), :lang(no)), .eds-text--subparagraph:where(:lang(nb), :lang(nn), :lang(no)), .eds-text--quote:where(:lang(nb), :lang(nn), :lang(no)), .eds-text--unordered-list:where(:lang(nb), :lang(nn), :lang(no)), .eds-text--numbered-list:where(:lang(nb), :lang(nn), :lang(no)){
|
|
636
|
+
-webkit-hyphens:auto;
|
|
637
|
+
-moz-hyphens:auto;
|
|
638
|
+
-ms-hyphens:auto;
|
|
639
|
+
hyphens:auto;
|
|
622
640
|
}
|
|
623
|
-
.eds-
|
|
624
|
-
|
|
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);
|
|
641
|
+
:where(.eds-contrast) .eds-text{
|
|
642
|
+
color:var(--components-typography-basetext-contrast-text-accent);
|
|
682
643
|
}
|
|
683
644
|
.eds-text--leading{
|
|
684
645
|
font-size:var(--font-size-body-xl);
|
|
685
646
|
line-height:var(--font-line-height-body-xl);
|
|
686
|
-
|
|
647
|
+
letter-spacing:-0.0025em;
|
|
687
648
|
}
|
|
688
649
|
.eds-text--quote{
|
|
650
|
+
border-left:0.25rem solid var(--components-typography-blockquote-standard-stroke);
|
|
651
|
+
padding-left:var(--font-paragraph-spacing-body-lg);
|
|
689
652
|
font-size:var(--font-size-body-lg);
|
|
690
653
|
line-height:var(--font-line-height-body-lg);
|
|
691
|
-
|
|
654
|
+
}
|
|
655
|
+
:where(.eds-contrast) .eds-text--quote{
|
|
656
|
+
border-left-color:var(--components-typography-blockquote-contrast-stroke);
|
|
692
657
|
}
|
|
693
658
|
.eds-text--paragraph{
|
|
694
659
|
font-size:var(--font-size-body-m);
|
|
695
660
|
line-height:var(--font-line-height-body-m);
|
|
696
|
-
margin-bottom:var(--font-line-height-body-m);
|
|
697
661
|
}
|
|
698
662
|
.eds-text--subparagraph{
|
|
699
663
|
font-size:var(--font-size-body-s);
|
|
700
664
|
line-height:var(--font-line-height-body-s);
|
|
701
|
-
margin-bottom:var(--font-line-height-body-s);
|
|
702
665
|
}
|
|
703
666
|
.eds-text--caption{
|
|
704
667
|
font-size:var(--font-size-body-xs);
|
|
705
668
|
line-height:var(--font-line-height-body-xs);
|
|
706
|
-
margin-bottom:var(--font-line-height-body-xs);
|
|
707
669
|
}
|
|
708
670
|
.eds-text--label{
|
|
709
|
-
font-size:var(--font-size-label-
|
|
710
|
-
line-height:var(--font-line-height-label-
|
|
711
|
-
margin-bottom:var(--font-paragraph-spacing-body-xs);
|
|
671
|
+
font-size:var(--font-size-label-m);
|
|
672
|
+
line-height:var(--font-line-height-label-m);
|
|
712
673
|
font-weight:600;
|
|
713
674
|
}
|
|
675
|
+
.eds-text--label:where(label){
|
|
676
|
+
display:block;
|
|
677
|
+
}
|
|
714
678
|
.eds-text--sublabel{
|
|
715
679
|
font-size:var(--font-size-label-s);
|
|
716
680
|
line-height:var(--font-line-height-label-s);
|
|
717
|
-
margin-bottom:var(--font-paragraph-spacing-body-xs);
|
|
718
681
|
font-weight:600;
|
|
719
682
|
}
|
|
720
683
|
.eds-text--overline{
|
|
721
684
|
font-size:var(--font-size-body-xs);
|
|
722
685
|
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
686
|
font-weight:500;
|
|
726
687
|
text-transform:uppercase;
|
|
727
688
|
}
|
|
@@ -729,122 +690,91 @@
|
|
|
729
690
|
font-style:italic;
|
|
730
691
|
font-weight:500;
|
|
731
692
|
}
|
|
732
|
-
.eds-text--code
|
|
693
|
+
.eds-text--code, .eds-text--preformatted{
|
|
733
694
|
background-color:var(--components-typography-codetext-standard-fill);
|
|
734
|
-
|
|
695
|
+
font-family:var(--font-family-mono);
|
|
696
|
+
font-size:0.875em;
|
|
697
|
+
font-weight:inherit;
|
|
698
|
+
-webkit-hyphens:manual;
|
|
699
|
+
-moz-hyphens:manual;
|
|
700
|
+
-ms-hyphens:manual;
|
|
701
|
+
hyphens:manual;
|
|
702
|
+
}
|
|
703
|
+
:where(.eds-contrast) .eds-text--code, :where(.eds-contrast) .eds-text--preformatted{
|
|
704
|
+
background-color:var(--components-typography-codetext-contrast-fill);
|
|
705
|
+
}
|
|
706
|
+
@media (forced-colors: active){
|
|
707
|
+
.eds-text--code, .eds-text--preformatted{
|
|
708
|
+
outline:1px solid transparent;
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
.eds-text--code{
|
|
712
|
+
color:inherit;
|
|
735
713
|
-webkit-border-radius:0.25rem;
|
|
736
714
|
-moz-border-radius:0.25rem;
|
|
737
715
|
border-radius:0.25rem;
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
716
|
+
padding:0.125em 0.3em;
|
|
717
|
+
-webkit-box-decoration-break:clone;
|
|
718
|
+
box-decoration-break:clone;
|
|
719
|
+
word-wrap:break-word;
|
|
741
720
|
}
|
|
742
|
-
:where(.eds-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
color:var(--components-typography-codetext-contrast-text);
|
|
721
|
+
:where(.eds-text--link) .eds-text--code{
|
|
722
|
+
-webkit-padding-after:0;
|
|
723
|
+
padding-block-end:0;
|
|
746
724
|
}
|
|
747
|
-
.eds-text--preformatted
|
|
725
|
+
.eds-text--preformatted{
|
|
726
|
+
-webkit-border-radius:0.5rem;
|
|
727
|
+
-moz-border-radius:0.5rem;
|
|
728
|
+
border-radius:0.5rem;
|
|
729
|
+
line-height:1.5;
|
|
748
730
|
padding:1rem;
|
|
731
|
+
-moz-tab-size:4;
|
|
732
|
+
-o-tab-size:4;
|
|
733
|
+
tab-size:4;
|
|
749
734
|
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
735
|
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
736
|
}
|
|
764
|
-
.eds-text--
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
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;
|
|
737
|
+
.eds-text--preformatted > :where(code){
|
|
738
|
+
background:none;
|
|
739
|
+
font:inherit;
|
|
740
|
+
padding:0;
|
|
812
741
|
}
|
|
813
|
-
.eds-text--
|
|
814
|
-
|
|
815
|
-
|
|
742
|
+
.eds-text--inherit{
|
|
743
|
+
color:inherit;
|
|
744
|
+
font-weight:inherit;
|
|
745
|
+
-webkit-hyphens:inherit;
|
|
746
|
+
-moz-hyphens:inherit;
|
|
747
|
+
-ms-hyphens:inherit;
|
|
748
|
+
hyphens:inherit;
|
|
816
749
|
}
|
|
817
|
-
.eds-text--
|
|
818
|
-
|
|
819
|
-
margin-bottom:0;
|
|
750
|
+
.eds-text--inherit:where(h1, h2, h3, h4, h5, h6){
|
|
751
|
+
font-size:inherit;
|
|
820
752
|
}
|
|
821
|
-
.eds-text--
|
|
822
|
-
|
|
823
|
-
|
|
753
|
+
.eds-text--xs{
|
|
754
|
+
font-size:var(--font-size-body-xs);
|
|
755
|
+
line-height:var(--font-line-height-body-xs);
|
|
824
756
|
}
|
|
825
|
-
.eds-text--
|
|
826
|
-
|
|
827
|
-
|
|
757
|
+
.eds-text--s{
|
|
758
|
+
font-size:var(--font-size-body-s);
|
|
759
|
+
line-height:var(--font-line-height-body-s);
|
|
828
760
|
}
|
|
829
|
-
.eds-text--
|
|
830
|
-
|
|
831
|
-
|
|
761
|
+
.eds-text--m{
|
|
762
|
+
font-size:var(--font-size-body-m);
|
|
763
|
+
line-height:var(--font-line-height-body-m);
|
|
832
764
|
}
|
|
833
|
-
.eds-text--
|
|
834
|
-
|
|
835
|
-
|
|
765
|
+
.eds-text--lg{
|
|
766
|
+
font-size:var(--font-size-body-lg);
|
|
767
|
+
line-height:var(--font-line-height-body-lg);
|
|
836
768
|
}
|
|
837
|
-
.eds-text--
|
|
838
|
-
|
|
839
|
-
|
|
769
|
+
.eds-text--xl{
|
|
770
|
+
font-size:var(--font-size-body-xl);
|
|
771
|
+
line-height:var(--font-line-height-body-xl);
|
|
840
772
|
}
|
|
841
|
-
.eds-text--
|
|
842
|
-
|
|
843
|
-
margin-bottom:0;
|
|
773
|
+
.eds-text--weight-medium{
|
|
774
|
+
font-weight:var(--font-weight-body);
|
|
844
775
|
}
|
|
845
|
-
.eds-text--
|
|
846
|
-
|
|
847
|
-
margin-bottom:2rem;
|
|
776
|
+
.eds-text--weight-bold{
|
|
777
|
+
font-weight:var(--font-weight-heading);
|
|
848
778
|
}
|
|
849
779
|
.eds-text--link{
|
|
850
780
|
color:var(--components-typography-basetext-standard-text-accent);
|
|
@@ -857,68 +787,65 @@
|
|
|
857
787
|
-webkit-text-decoration:none;
|
|
858
788
|
text-decoration:none;
|
|
859
789
|
position:relative;
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
background-image:-
|
|
863
|
-
background-image
|
|
790
|
+
-webkit-padding-after:0.1em;
|
|
791
|
+
padding-block-end:0.1em;
|
|
792
|
+
background-image:-webkit-gradient(linear, left top, left bottom, from(currentcolor), to(currentcolor)), -webkit-gradient(linear, left top, left bottom, from(currentcolor), to(currentcolor));
|
|
793
|
+
background-image:-webkit-linear-gradient(currentcolor, currentcolor), -webkit-linear-gradient(currentcolor, currentcolor);
|
|
794
|
+
background-image:-moz-linear-gradient(currentcolor, currentcolor), -moz-linear-gradient(currentcolor, currentcolor);
|
|
795
|
+
background-image:-o-linear-gradient(currentcolor, currentcolor), -o-linear-gradient(currentcolor, currentcolor);
|
|
796
|
+
background-image:linear-gradient(currentcolor, currentcolor), linear-gradient(currentcolor, currentcolor);
|
|
797
|
+
background-position:0 100%, 0 -webkit-calc(100% - 0.0625em);
|
|
798
|
+
background-position:0 100%, 0 -moz-calc(100% - 0.0625em);
|
|
799
|
+
background-position:0 100%, 0 calc(100% - 0.0625em);
|
|
864
800
|
background-repeat:no-repeat;
|
|
865
|
-
-moz-background-size:100% 0.
|
|
866
|
-
-o-background-size:100% 0.
|
|
867
|
-
background-size:100% 0.
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
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;
|
|
801
|
+
-moz-background-size:0% 0.125em, 100% 0.0625em;
|
|
802
|
+
-o-background-size:0% 0.125em, 100% 0.0625em;
|
|
803
|
+
background-size:0% 0.125em, 100% 0.0625em;
|
|
804
|
+
}
|
|
805
|
+
@media (prefers-reduced-motion: no-preference){
|
|
806
|
+
.eds-text--link, .eds-text--link:where(:link), .eds-text--link:where(:visited){
|
|
807
|
+
-webkit-transition:background-size 0.3s ease-out;
|
|
808
|
+
-o-transition:-o-background-size 0.3s ease-out;
|
|
809
|
+
-moz-transition:background-size 0.3s ease-out, -moz-background-size 0.3s ease-out;
|
|
810
|
+
transition:background-size 0.3s ease-out;
|
|
811
|
+
transition:background-size 0.3s ease-out, -moz-background-size 0.3s ease-out, -o-background-size 0.3s ease-out;
|
|
889
812
|
}
|
|
890
813
|
}
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
to{
|
|
897
|
-
-moz-background-size:100% 0.125rem;
|
|
898
|
-
background-size:100% 0.125rem;
|
|
814
|
+
@media (forced-colors: active){
|
|
815
|
+
.eds-text--link, .eds-text--link:where(:link), .eds-text--link:where(:visited){
|
|
816
|
+
background-image:none;
|
|
817
|
+
-webkit-text-decoration:underline;
|
|
818
|
+
text-decoration:underline;
|
|
899
819
|
}
|
|
900
820
|
}
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
-o-background-size:0% 0.
|
|
904
|
-
background-size:0% 0.
|
|
905
|
-
|
|
906
|
-
to{
|
|
907
|
-
-o-background-size:100% 0.125rem;
|
|
908
|
-
background-size:100% 0.125rem;
|
|
909
|
-
}
|
|
821
|
+
.eds-text--link:where(:hover){
|
|
822
|
+
-moz-background-size:100% 0.125em, 100% 0.0625em;
|
|
823
|
+
-o-background-size:100% 0.125em, 100% 0.0625em;
|
|
824
|
+
background-size:100% 0.125em, 100% 0.0625em;
|
|
825
|
+
cursor:pointer;
|
|
910
826
|
}
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
827
|
+
.eds-text--link:where(button){
|
|
828
|
+
-webkit-appearance:none;
|
|
829
|
+
-moz-appearance:none;
|
|
830
|
+
appearance:none;
|
|
831
|
+
background:none;
|
|
832
|
+
border:0;
|
|
833
|
+
-webkit-border-radius:0;
|
|
834
|
+
-moz-border-radius:0;
|
|
835
|
+
border-radius:0;
|
|
836
|
+
padding:0;
|
|
837
|
+
font:inherit;
|
|
838
|
+
letter-spacing:inherit;
|
|
839
|
+
text-align:inherit;
|
|
840
|
+
-webkit-text-decoration:underline;
|
|
841
|
+
text-decoration:underline;
|
|
842
|
+
text-decoration-thickness:0.0625em;
|
|
843
|
+
text-underline-offset:0.275em;
|
|
844
|
+
-webkit-text-decoration-skip-ink:none;
|
|
845
|
+
text-decoration-skip-ink:none;
|
|
846
|
+
}
|
|
847
|
+
.eds-text--link:where(button:hover){
|
|
848
|
+
text-decoration-thickness:0.125em;
|
|
922
849
|
}
|
|
923
850
|
.eds-text--link:where(:focus-visible){
|
|
924
851
|
-webkit-border-radius:0.25rem;
|
|
@@ -931,128 +858,470 @@
|
|
|
931
858
|
:where(.eds-contrast) .eds-text--link:where(:focus-visible){
|
|
932
859
|
outline-color:var(--basecolors-stroke-focus-contrast);
|
|
933
860
|
}
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
861
|
+
.eds-text--unordered-list, .eds-text--numbered-list{
|
|
862
|
+
--eds-list-indent:1.5em;
|
|
863
|
+
color:var(--components-typography-list-standard-text-accent);
|
|
864
|
+
font-size:var(--font-size-body-m);
|
|
865
|
+
font-weight:var(--font-weight-body);
|
|
866
|
+
line-height:var(--font-line-height-body-m);
|
|
867
|
+
-webkit-padding-start:1.5em;
|
|
868
|
+
-moz-padding-start:1.5em;
|
|
869
|
+
padding-inline-start:1.5em;
|
|
870
|
+
-webkit-padding-start:var(--eds-list-indent);
|
|
871
|
+
-moz-padding-start:var(--eds-list-indent);
|
|
872
|
+
padding-inline-start:var(--eds-list-indent);
|
|
873
|
+
}
|
|
874
|
+
:where(.eds-contrast) .eds-text--unordered-list, :where(.eds-contrast) .eds-text--numbered-list{
|
|
875
|
+
color:var(--components-typography-list-contrast-text-accent);
|
|
876
|
+
}
|
|
877
|
+
:where(.eds-text--list-item) .eds-text--unordered-list, :where(.eds-text--list-item) .eds-text--numbered-list{
|
|
878
|
+
font-size:inherit;
|
|
879
|
+
line-height:inherit;
|
|
880
|
+
-webkit-margin-before:var(--eds-text-spacing-top, var(--spacing-2xs));
|
|
881
|
+
margin-block-start:var(--eds-text-spacing-top, var(--spacing-2xs));
|
|
939
882
|
}
|
|
940
|
-
.eds-text--
|
|
941
|
-
|
|
883
|
+
.eds-text--unordered-list{
|
|
884
|
+
list-style:none;
|
|
885
|
+
-webkit-padding-start:0;
|
|
886
|
+
-moz-padding-start:0;
|
|
887
|
+
padding-inline-start:0;
|
|
942
888
|
}
|
|
943
|
-
|
|
944
|
-
|
|
889
|
+
.eds-text--list-item{
|
|
890
|
+
position:relative;
|
|
945
891
|
}
|
|
946
|
-
.eds-text--
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
font-
|
|
953
|
-
line-height:var(--font-line-height-body-lg);
|
|
954
|
-
margin-bottom:var(--font-line-height-body-lg);
|
|
955
|
-
color:var(--components-typography-blockquote-standard-text-accent);
|
|
892
|
+
.eds-text--list-item + :where(.eds-text--list-item){
|
|
893
|
+
-webkit-margin-before:var(--eds-text-spacing-top, var(--spacing-2xs));
|
|
894
|
+
margin-block-start:var(--eds-text-spacing-top, var(--spacing-2xs));
|
|
895
|
+
}
|
|
896
|
+
.eds-text--list-item__title{
|
|
897
|
+
display:block;
|
|
898
|
+
font-weight:var(--font-weight-heading);
|
|
956
899
|
}
|
|
957
|
-
|
|
958
|
-
|
|
900
|
+
.eds-text--numbered-list--type-a{
|
|
901
|
+
list-style-type:lower-alpha;
|
|
959
902
|
}
|
|
960
|
-
.eds-text--
|
|
961
|
-
|
|
962
|
-
line-height:1.375rem;
|
|
963
|
-
letter-spacing:1px;
|
|
964
|
-
margin-top:1.5rem;
|
|
965
|
-
text-transform:uppercase;
|
|
966
|
-
color:var(--components-typography-blockquote-standard-text-accent);
|
|
903
|
+
.eds-text--numbered-list--type-A{
|
|
904
|
+
list-style-type:upper-alpha;
|
|
967
905
|
}
|
|
968
|
-
|
|
969
|
-
|
|
906
|
+
.eds-text--numbered-list--type-i{
|
|
907
|
+
list-style-type:lower-roman;
|
|
970
908
|
}
|
|
971
|
-
.eds-text--
|
|
909
|
+
.eds-text--numbered-list--type-I{
|
|
910
|
+
list-style-type:upper-roman;
|
|
911
|
+
}
|
|
912
|
+
.eds-text--steps{
|
|
913
|
+
--eds-list-indent:2.25em;
|
|
914
|
+
--eds-list-fill:var(--components-typography-list-standard-fill);
|
|
972
915
|
list-style:none;
|
|
973
|
-
|
|
974
|
-
|
|
916
|
+
-webkit-padding-start:0;
|
|
917
|
+
-moz-padding-start:0;
|
|
918
|
+
padding-inline-start:0;
|
|
975
919
|
}
|
|
976
|
-
:where(.eds-contrast) .eds-text--
|
|
977
|
-
|
|
920
|
+
:where(.eds-contrast) .eds-text--steps{
|
|
921
|
+
--eds-list-fill:var(--components-typography-list-contrast-fill);
|
|
978
922
|
}
|
|
979
|
-
.eds-text--unordered-list .eds-text--list-item
|
|
923
|
+
:where(.eds-text--unordered-list > .eds-text--list-item){
|
|
924
|
+
-webkit-padding-start:var(--eds-list-indent);
|
|
925
|
+
-moz-padding-start:var(--eds-list-indent);
|
|
926
|
+
padding-inline-start:var(--eds-list-indent);
|
|
927
|
+
}
|
|
928
|
+
:where(.eds-text--unordered-list > .eds-text--list-item)::before{
|
|
929
|
+
background:currentcolor;
|
|
930
|
+
-webkit-border-radius:50%;
|
|
931
|
+
-moz-border-radius:50%;
|
|
932
|
+
border-radius:50%;
|
|
980
933
|
content:"";
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
934
|
+
height:0.375em;
|
|
935
|
+
inset-inline-start:-webkit-calc(var(--eds-list-indent) * 0.35);
|
|
936
|
+
inset-inline-start:-moz-calc(var(--eds-list-indent) * 0.35);
|
|
937
|
+
inset-inline-start:calc(var(--eds-list-indent) * 0.35);
|
|
938
|
+
position:absolute;
|
|
939
|
+
top:-webkit-calc((1lh - 0.375em) / 2);
|
|
940
|
+
top:-moz-calc((1lh - 0.375em) / 2);
|
|
941
|
+
top:calc((1lh - 0.375em) / 2);
|
|
942
|
+
width:0.375em;
|
|
943
|
+
}
|
|
944
|
+
@media (forced-colors: active){
|
|
945
|
+
:where(.eds-text--unordered-list > .eds-text--list-item)::before{
|
|
946
|
+
background:CanvasText;
|
|
947
|
+
forced-color-adjust:none;
|
|
948
|
+
}
|
|
988
949
|
}
|
|
989
|
-
.eds-text--
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
950
|
+
:where(.eds-text--list-item .eds-text--unordered-list > .eds-text--list-item)::before{
|
|
951
|
+
background:none;
|
|
952
|
+
border:0.094em solid currentcolor;
|
|
953
|
+
-webkit-box-sizing:border-box;
|
|
954
|
+
-moz-box-sizing:border-box;
|
|
955
|
+
box-sizing:border-box;
|
|
994
956
|
}
|
|
995
|
-
:where(.eds-
|
|
996
|
-
|
|
957
|
+
:where(.eds-text--numbered-list > .eds-text--list-item){
|
|
958
|
+
-webkit-padding-start:0.25em;
|
|
959
|
+
-moz-padding-start:0.25em;
|
|
960
|
+
padding-inline-start:0.25em;
|
|
961
|
+
}
|
|
962
|
+
:where(.eds-text--numbered-list > .eds-text--list-item)::marker{
|
|
963
|
+
-webkit-font-feature-settings:"tnum";
|
|
964
|
+
-moz-font-feature-settings:"tnum";
|
|
965
|
+
font-feature-settings:"tnum";
|
|
966
|
+
font-variant-numeric:tabular-nums;
|
|
967
|
+
font-weight:var(--font-weight-heading);
|
|
968
|
+
}
|
|
969
|
+
:where(.eds-text--steps > .eds-text--list-item){
|
|
970
|
+
-webkit-padding-start:var(--eds-list-indent);
|
|
971
|
+
-moz-padding-start:var(--eds-list-indent);
|
|
972
|
+
padding-inline-start:var(--eds-list-indent);
|
|
973
|
+
}
|
|
974
|
+
:where(.eds-text--steps > .eds-text--list-item)::before{
|
|
975
|
+
background:var(--eds-list-fill);
|
|
976
|
+
-webkit-border-radius:1em;
|
|
977
|
+
-moz-border-radius:1em;
|
|
978
|
+
border-radius:1em;
|
|
979
|
+
-webkit-box-sizing:border-box;
|
|
980
|
+
-moz-box-sizing:border-box;
|
|
981
|
+
box-sizing:border-box;
|
|
982
|
+
content:counter(list-item);
|
|
983
|
+
font-size:0.875em;
|
|
984
|
+
-webkit-font-feature-settings:"tnum";
|
|
985
|
+
-moz-font-feature-settings:"tnum";
|
|
986
|
+
font-feature-settings:"tnum";
|
|
987
|
+
font-variant-numeric:tabular-nums;
|
|
988
|
+
font-weight:var(--font-weight-heading);
|
|
989
|
+
height:1.7142857143em;
|
|
990
|
+
inset-inline-start:0;
|
|
991
|
+
line-height:1.7142857143em;
|
|
992
|
+
min-width:1.7142857143em;
|
|
993
|
+
padding-inline:0.375em;
|
|
994
|
+
position:absolute;
|
|
995
|
+
text-align:center;
|
|
996
|
+
top:-webkit-calc((1lh - 1.7142857143em) / 2);
|
|
997
|
+
top:-moz-calc((1lh - 1.7142857143em) / 2);
|
|
998
|
+
top:calc((1lh - 1.7142857143em) / 2);
|
|
999
|
+
}
|
|
1000
|
+
@media (forced-colors: active){
|
|
1001
|
+
:where(.eds-text--steps > .eds-text--list-item)::before{
|
|
1002
|
+
outline:1px solid transparent;
|
|
1003
|
+
}
|
|
997
1004
|
}
|
|
998
|
-
.eds-text--numbered-list--type-a > .eds-text--list-item::before{
|
|
999
|
-
content:counter(
|
|
1005
|
+
:where(.eds-text--steps.eds-text--numbered-list--type-a > .eds-text--list-item)::before{
|
|
1006
|
+
content:counter(list-item, lower-alpha);
|
|
1000
1007
|
}
|
|
1001
|
-
.eds-text--numbered-list--type-A > .eds-text--list-item::before{
|
|
1002
|
-
content:counter(
|
|
1008
|
+
:where(.eds-text--steps.eds-text--numbered-list--type-A > .eds-text--list-item)::before{
|
|
1009
|
+
content:counter(list-item, upper-alpha);
|
|
1003
1010
|
}
|
|
1004
|
-
.eds-text--numbered-list--type-
|
|
1005
|
-
content:counter(
|
|
1011
|
+
:where(.eds-text--steps.eds-text--numbered-list--type-i > .eds-text--list-item)::before{
|
|
1012
|
+
content:counter(list-item, lower-roman);
|
|
1006
1013
|
}
|
|
1007
|
-
.eds-text--numbered-list--type-
|
|
1008
|
-
content:counter(
|
|
1014
|
+
:where(.eds-text--steps.eds-text--numbered-list--type-I > .eds-text--list-item)::before{
|
|
1015
|
+
content:counter(list-item, upper-roman);
|
|
1009
1016
|
}
|
|
1010
|
-
.eds-text--
|
|
1011
|
-
|
|
1017
|
+
.eds-text--tone-subdued{
|
|
1018
|
+
color:var(--components-typography-basetext-standard-text-subdued);
|
|
1012
1019
|
}
|
|
1013
|
-
.eds-text--
|
|
1014
|
-
|
|
1020
|
+
:where(.eds-contrast) .eds-text--tone-subdued{
|
|
1021
|
+
color:var(--components-typography-basetext-contrast-text-subdued);
|
|
1015
1022
|
}
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1023
|
+
}@property --eds-text-container-after{
|
|
1024
|
+
syntax:"*";
|
|
1025
|
+
inherits:false;
|
|
1026
|
+
}
|
|
1027
|
+
@property --eds-text-container-before{
|
|
1028
|
+
syntax:"*";
|
|
1029
|
+
inherits:false;
|
|
1030
|
+
}
|
|
1031
|
+
@layer components.primitives{
|
|
1032
|
+
.eds-text-container{
|
|
1033
|
+
display:flow-root;
|
|
1034
|
+
color:var(--components-typography-basetext-standard-text-accent);
|
|
1035
|
+
font-size:var(--font-size-body-m);
|
|
1036
|
+
font-weight:var(--font-weight-body);
|
|
1037
|
+
line-height:var(--font-line-height-body-m);
|
|
1021
1038
|
}
|
|
1022
|
-
:where(.eds-contrast) .eds-text
|
|
1023
|
-
color:var(--components-typography-
|
|
1039
|
+
:where(.eds-contrast) .eds-text-container{
|
|
1040
|
+
color:var(--components-typography-basetext-contrast-text-accent);
|
|
1024
1041
|
}
|
|
1025
|
-
.eds-text
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
-webkit-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
|
|
1042
|
+
.eds-text-container > *,
|
|
1043
|
+
.eds-text-container > :where(hgroup) > *{
|
|
1044
|
+
margin-block:0 0;
|
|
1045
|
+
margin-block:0 var(--eds-text-spacing-bottom, 0);
|
|
1046
|
+
}
|
|
1047
|
+
.eds-text-container > * + *,
|
|
1048
|
+
.eds-text-container > :where(hgroup) > * + *{
|
|
1049
|
+
--eds-text-container-gap:-webkit-calc(
|
|
1050
|
+
var(--eds-text-container-after, var(--font-line-height-body-m)) + var(--eds-text-spacing-top, var(--eds-text-container-before, 0px))
|
|
1051
|
+
);
|
|
1052
|
+
--eds-text-container-gap:-moz-calc(
|
|
1053
|
+
var(--eds-text-container-after, var(--font-line-height-body-m)) + var(--eds-text-spacing-top, var(--eds-text-container-before, 0px))
|
|
1054
|
+
);
|
|
1055
|
+
--eds-text-container-gap:calc(
|
|
1056
|
+
var(--eds-text-container-after, var(--font-line-height-body-m)) + var(--eds-text-spacing-top, var(--eds-text-container-before, 0px))
|
|
1057
|
+
);
|
|
1058
|
+
-webkit-margin-before:var(--eds-text-container-gap);
|
|
1059
|
+
margin-block-start:var(--eds-text-container-gap);
|
|
1060
|
+
}
|
|
1061
|
+
.eds-text-container > :where(p, ul, ol, blockquote, .eds-text--leading, .eds-text--paragraph, .eds-text--subparagraph, .eds-text--quote, .eds-text--unordered-list, .eds-text--numbered-list),
|
|
1062
|
+
.eds-text-container > :where(figure) > :where(blockquote, .eds-text--quote),
|
|
1063
|
+
.eds-text-container > :where(hgroup) > :where(p, ul, ol, blockquote, .eds-text--leading, .eds-text--paragraph, .eds-text--subparagraph, .eds-text--quote, .eds-text--unordered-list, .eds-text--numbered-list),
|
|
1064
|
+
.eds-text-container > :where(hgroup) > :where(figure) > :where(blockquote, .eds-text--quote){
|
|
1065
|
+
max-inline-size:70ch;
|
|
1066
|
+
}
|
|
1067
|
+
.eds-text-container > :where(p, li, ul, ol, blockquote):where(:not(.eds-text)):where(:lang(nb), :lang(nn), :lang(no)),
|
|
1068
|
+
.eds-text-container > :where(hgroup) > :where(p, li, ul, ol, blockquote):where(:not(.eds-text)):where(:lang(nb), :lang(nn), :lang(no)){
|
|
1069
|
+
-webkit-hyphens:auto;
|
|
1070
|
+
-moz-hyphens:auto;
|
|
1071
|
+
-ms-hyphens:auto;
|
|
1072
|
+
hyphens:auto;
|
|
1073
|
+
}
|
|
1074
|
+
.eds-text-container > :where(figure, blockquote),
|
|
1075
|
+
.eds-text-container > :where(hgroup) > :where(figure, blockquote){
|
|
1076
|
+
margin-inline:0;
|
|
1077
|
+
}
|
|
1078
|
+
.eds-text-container > :where(figure) > :where(figcaption:not(:first-child)),
|
|
1079
|
+
.eds-text-container > :where(hgroup) > :where(figure) > :where(figcaption:not(:first-child)){
|
|
1080
|
+
-webkit-margin-before:var(--font-paragraph-spacing-body-xs);
|
|
1081
|
+
margin-block-start:var(--font-paragraph-spacing-body-xs);
|
|
1082
|
+
}
|
|
1083
|
+
.eds-text-container > :where(figure) > :where(figcaption:first-child),
|
|
1084
|
+
.eds-text-container > :where(hgroup) > :where(figure) > :where(figcaption:first-child){
|
|
1085
|
+
-webkit-margin-after:var(--font-paragraph-spacing-body-xs);
|
|
1086
|
+
margin-block-end:var(--font-paragraph-spacing-body-xs);
|
|
1087
|
+
}
|
|
1088
|
+
.eds-text-container > :where(:first-child, [hidden]:first-child + *, [aria-hidden=true]:first-child + *),
|
|
1089
|
+
.eds-text-container > :where(hgroup) > :where(:first-child, [hidden]:first-child + *, [aria-hidden=true]:first-child + *){
|
|
1090
|
+
-webkit-margin-before:0;
|
|
1091
|
+
margin-block-start:0;
|
|
1092
|
+
-webkit-margin-before:var(--eds-text-spacing-top, 0);
|
|
1093
|
+
margin-block-start:var(--eds-text-spacing-top, 0);
|
|
1094
|
+
}
|
|
1095
|
+
.eds-text-container > :where(:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)) + :where(.eds-heading, h1, h2, h3, h4, h5, h6, hgroup),
|
|
1096
|
+
.eds-text-container > :where(hgroup) > :where(:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)) + :where(.eds-heading, h1, h2, h3, h4, h5, h6, hgroup){
|
|
1097
|
+
--eds-text-container-before:var(--font-paragraph-spacing-heading-lg);
|
|
1098
|
+
}
|
|
1099
|
+
.eds-text-container > :where(h1, h2, hgroup:has(> :is(h1, h2))) + *,
|
|
1100
|
+
.eds-text-container > :where(hgroup) > :where(h1, h2, hgroup:has(> :is(h1, h2))) + *{
|
|
1101
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-xl);
|
|
1052
1102
|
}
|
|
1053
|
-
.eds-text
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1103
|
+
.eds-text-container > :where(h3, hgroup:has(> :is(h3))) + *,
|
|
1104
|
+
.eds-text-container > :where(hgroup) > :where(h3, hgroup:has(> :is(h3))) + *{
|
|
1105
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-lg);
|
|
1106
|
+
}
|
|
1107
|
+
.eds-text-container > :where(h4, hgroup:has(> :is(h4))) + *,
|
|
1108
|
+
.eds-text-container > :where(hgroup) > :where(h4, hgroup:has(> :is(h4))) + *{
|
|
1109
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-m);
|
|
1110
|
+
}
|
|
1111
|
+
.eds-text-container > :where(h5, hgroup:has(> :is(h5))) + *,
|
|
1112
|
+
.eds-text-container > :where(hgroup) > :where(h5, hgroup:has(> :is(h5))) + *{
|
|
1113
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-s);
|
|
1114
|
+
}
|
|
1115
|
+
.eds-text-container > :where(h6, hgroup:has(> :is(h6))) + *,
|
|
1116
|
+
.eds-text-container > :where(hgroup) > :where(h6, hgroup:has(> :is(h6))) + *{
|
|
1117
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-xs);
|
|
1118
|
+
}
|
|
1119
|
+
.eds-text-container > :where(ul, ol, blockquote, pre) + *,
|
|
1120
|
+
.eds-text-container > :where(hgroup) > :where(ul, ol, blockquote, pre) + *{
|
|
1121
|
+
--eds-text-container-after:var(--font-line-height-body-lg);
|
|
1122
|
+
}
|
|
1123
|
+
.eds-text-container > :where(.eds-text--leading) + *,
|
|
1124
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--leading) + *{
|
|
1125
|
+
--eds-text-container-after:var(--font-line-height-body-xl);
|
|
1126
|
+
}
|
|
1127
|
+
.eds-text-container > :where(.eds-text--quote, .eds-text--unordered-list, .eds-text--numbered-list, .eds-text--preformatted) + *,
|
|
1128
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--quote, .eds-text--unordered-list, .eds-text--numbered-list, .eds-text--preformatted) + *{
|
|
1129
|
+
--eds-text-container-after:var(--font-line-height-body-lg);
|
|
1130
|
+
}
|
|
1131
|
+
.eds-text-container > :where(.eds-text--paragraph) + *,
|
|
1132
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--paragraph) + *{
|
|
1133
|
+
--eds-text-container-after:var(--font-line-height-body-m);
|
|
1134
|
+
}
|
|
1135
|
+
.eds-text-container > :where(.eds-text--subparagraph) + *,
|
|
1136
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--subparagraph) + *{
|
|
1137
|
+
--eds-text-container-after:var(--font-line-height-body-s);
|
|
1138
|
+
}
|
|
1139
|
+
.eds-text-container > :where(.eds-text--caption) + *,
|
|
1140
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--caption) + *{
|
|
1141
|
+
--eds-text-container-after:var(--font-line-height-body-xs);
|
|
1142
|
+
}
|
|
1143
|
+
.eds-text-container > :where(.eds-text--label, .eds-text--sublabel) + *,
|
|
1144
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--label, .eds-text--sublabel) + *{
|
|
1145
|
+
--eds-text-container-after:var(--font-paragraph-spacing-body-xs);
|
|
1146
|
+
}
|
|
1147
|
+
.eds-text-container > :where(.eds-text--overline) + *,
|
|
1148
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--overline) + *{
|
|
1149
|
+
--eds-text-container-after:var(--font-paragraph-spacing-body-m);
|
|
1150
|
+
}
|
|
1151
|
+
.eds-text-container > :where(figure:has(> blockquote, > .eds-text--quote)) + *,
|
|
1152
|
+
.eds-text-container > :where(hgroup) > :where(figure:has(> blockquote, > .eds-text--quote)) + *{
|
|
1153
|
+
--eds-text-container-after:var(--font-line-height-body-lg);
|
|
1154
|
+
}
|
|
1155
|
+
.eds-text-container > :where( hgroup:has(> :is(.eds-heading--title-1, .eds-heading--title-2)),.eds-heading--title-1, .eds-heading--title-2) + *{
|
|
1156
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-xl);
|
|
1157
|
+
}
|
|
1158
|
+
.eds-text-container > :where(hgroup) > :where( hgroup:has(> :is(.eds-heading--title-1, .eds-heading--title-2)),.eds-heading--title-1, .eds-heading--title-2) + *{
|
|
1159
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-xl);
|
|
1160
|
+
}
|
|
1161
|
+
.eds-text-container > :where( hgroup:has(> :is(.eds-heading--subtitle-1)),.eds-heading--subtitle-1) + *{
|
|
1162
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-lg);
|
|
1163
|
+
}
|
|
1164
|
+
.eds-text-container > :where(hgroup) > :where( hgroup:has(> :is(.eds-heading--subtitle-1)),.eds-heading--subtitle-1) + *{
|
|
1165
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-lg);
|
|
1166
|
+
}
|
|
1167
|
+
.eds-text-container > :where( hgroup:has(> :is(.eds-heading--subtitle-2)),.eds-heading--subtitle-2) + *{
|
|
1168
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-m);
|
|
1169
|
+
}
|
|
1170
|
+
.eds-text-container > :where(hgroup) > :where( hgroup:has(> :is(.eds-heading--subtitle-2)),.eds-heading--subtitle-2) + *{
|
|
1171
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-m);
|
|
1172
|
+
}
|
|
1173
|
+
.eds-text-container > :where( hgroup:has(> :is(.eds-heading--section-1)),.eds-heading--section-1) + *{
|
|
1174
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-s);
|
|
1175
|
+
}
|
|
1176
|
+
.eds-text-container > :where(hgroup) > :where( hgroup:has(> :is(.eds-heading--section-1)),.eds-heading--section-1) + *{
|
|
1177
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-s);
|
|
1178
|
+
}
|
|
1179
|
+
.eds-text-container > :where( hgroup:has(> :is(.eds-heading--section-2)),.eds-heading--section-2) + *{
|
|
1180
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-xs);
|
|
1181
|
+
}
|
|
1182
|
+
.eds-text-container > :where(hgroup) > :where( hgroup:has(> :is(.eds-heading--section-2)),.eds-heading--section-2) + *{
|
|
1183
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-xs);
|
|
1184
|
+
}
|
|
1185
|
+
.eds-text-container > :where( hgroup:has(> :is(.eds-heading--2xl, .eds-heading--xl)),.eds-heading--2xl, .eds-heading--xl) + *{
|
|
1186
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-xl);
|
|
1187
|
+
}
|
|
1188
|
+
.eds-text-container > :where(hgroup) > :where( hgroup:has(> :is(.eds-heading--2xl, .eds-heading--xl)),.eds-heading--2xl, .eds-heading--xl) + *{
|
|
1189
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-xl);
|
|
1190
|
+
}
|
|
1191
|
+
.eds-text-container > :where( hgroup:has(> :is(.eds-heading--lg)),.eds-heading--lg) + *{
|
|
1192
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-lg);
|
|
1193
|
+
}
|
|
1194
|
+
.eds-text-container > :where(hgroup) > :where( hgroup:has(> :is(.eds-heading--lg)),.eds-heading--lg) + *{
|
|
1195
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-lg);
|
|
1196
|
+
}
|
|
1197
|
+
.eds-text-container > :where( hgroup:has(> :is(.eds-heading--m)),.eds-heading--m) + *{
|
|
1198
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-m);
|
|
1199
|
+
}
|
|
1200
|
+
.eds-text-container > :where(hgroup) > :where( hgroup:has(> :is(.eds-heading--m)),.eds-heading--m) + *{
|
|
1201
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-m);
|
|
1202
|
+
}
|
|
1203
|
+
.eds-text-container > :where( hgroup:has(> :is(.eds-heading--s)),.eds-heading--s) + *{
|
|
1204
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-s);
|
|
1205
|
+
}
|
|
1206
|
+
.eds-text-container > :where(hgroup) > :where( hgroup:has(> :is(.eds-heading--s)),.eds-heading--s) + *{
|
|
1207
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-s);
|
|
1208
|
+
}
|
|
1209
|
+
.eds-text-container > :where( hgroup:has(> :is(.eds-heading--xs)),.eds-heading--xs) + *{
|
|
1210
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-xs);
|
|
1211
|
+
}
|
|
1212
|
+
.eds-text-container > :where(hgroup) > :where( hgroup:has(> :is(.eds-heading--xs)),.eds-heading--xs) + *{
|
|
1213
|
+
--eds-text-container-after:var(--font-paragraph-spacing-heading-xs);
|
|
1214
|
+
}
|
|
1215
|
+
.eds-text-container > :where(.eds-text--xl) + *,
|
|
1216
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--xl) + *{
|
|
1217
|
+
--eds-text-container-after:var(--font-line-height-body-xl);
|
|
1218
|
+
}
|
|
1219
|
+
.eds-text-container > :where(.eds-text--lg) + *,
|
|
1220
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--lg) + *{
|
|
1221
|
+
--eds-text-container-after:var(--font-line-height-body-lg);
|
|
1222
|
+
}
|
|
1223
|
+
.eds-text-container > :where(.eds-text--m) + *,
|
|
1224
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--m) + *{
|
|
1225
|
+
--eds-text-container-after:var(--font-line-height-body-m);
|
|
1226
|
+
}
|
|
1227
|
+
.eds-text-container > :where(.eds-text--s) + *,
|
|
1228
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--s) + *{
|
|
1229
|
+
--eds-text-container-after:var(--font-line-height-body-s);
|
|
1230
|
+
}
|
|
1231
|
+
.eds-text-container > :where(.eds-text--xs) + *,
|
|
1232
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--xs) + *{
|
|
1233
|
+
--eds-text-container-after:var(--font-line-height-body-xs);
|
|
1234
|
+
}
|
|
1235
|
+
.eds-text-container > :where(img, picture, video, svg, canvas, iframe, table, [role=img]) + :where(.eds-text--caption),
|
|
1236
|
+
.eds-text-container > :where(hgroup) > :where(img, picture, video, svg, canvas, iframe, table, [role=img]) + :where(.eds-text--caption){
|
|
1237
|
+
--eds-text-container-after:var(--font-paragraph-spacing-body-xs);
|
|
1238
|
+
}
|
|
1239
|
+
.eds-text-container > :where(.eds-text--paragraph, .eds-text--subparagraph, p:not(.eds-text)) + :where(ul, ol, .eds-text--unordered-list, .eds-text--numbered-list),
|
|
1240
|
+
.eds-text-container > :where(hgroup) > :where(.eds-text--paragraph, .eds-text--subparagraph, p:not(.eds-text)) + :where(ul, ol, .eds-text--unordered-list, .eds-text--numbered-list){
|
|
1241
|
+
--eds-text-container-after:var(--font-paragraph-spacing-body-xs);
|
|
1242
|
+
}
|
|
1243
|
+
.eds-text-container > :where([style*="--eds-text-spacing-bottom"]) + *,
|
|
1244
|
+
.eds-text-container > :where(hgroup) > :where([style*="--eds-text-spacing-bottom"]) + *{
|
|
1245
|
+
--eds-text-container-after:0px;
|
|
1246
|
+
}
|
|
1247
|
+
.eds-text-container > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(.eds-heading:not([style*="--eds-text-spacing-top"]))){
|
|
1248
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1249
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1250
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1251
|
+
}
|
|
1252
|
+
.eds-text-container > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h1:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1253
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1254
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1255
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1256
|
+
}
|
|
1257
|
+
.eds-text-container > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h2:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1258
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1259
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1260
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1261
|
+
}
|
|
1262
|
+
.eds-text-container > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h3:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1263
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1264
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1265
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1266
|
+
}
|
|
1267
|
+
.eds-text-container > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h4:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1268
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1269
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1270
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1271
|
+
}
|
|
1272
|
+
.eds-text-container > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h5:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1273
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1274
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1275
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1276
|
+
}
|
|
1277
|
+
.eds-text-container > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h6:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1278
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1279
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1280
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1281
|
+
}
|
|
1282
|
+
.eds-text-container > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(hgroup:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1283
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1284
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1285
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1286
|
+
}
|
|
1287
|
+
.eds-text-container > :where(hgroup) > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(.eds-heading:not([style*="--eds-text-spacing-top"]))){
|
|
1288
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1289
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1290
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1291
|
+
}
|
|
1292
|
+
.eds-text-container > :where(hgroup) > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h1:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1293
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1294
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1295
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1296
|
+
}
|
|
1297
|
+
.eds-text-container > :where(hgroup) > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h2:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1298
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1299
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1300
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1301
|
+
}
|
|
1302
|
+
.eds-text-container > :where(hgroup) > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h3:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1303
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1304
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1305
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1306
|
+
}
|
|
1307
|
+
.eds-text-container > :where(hgroup) > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h4:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1308
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1309
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1310
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1311
|
+
}
|
|
1312
|
+
.eds-text-container > :where(hgroup) > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h5:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1313
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1314
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1315
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1316
|
+
}
|
|
1317
|
+
.eds-text-container > :where(hgroup) > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(h6:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1318
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1319
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1320
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1321
|
+
}
|
|
1322
|
+
.eds-text-container > :where(hgroup) > :where([style*="--eds-text-spacing-bottom"]:not(.eds-heading):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(hgroup):not(.eds-text--overline)):has(+ :where(hgroup:not(.does-not-exist):not([style*="--eds-text-spacing-top"]))){
|
|
1323
|
+
-webkit-margin-after:-webkit-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1324
|
+
margin-block-end:-moz-calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1325
|
+
margin-block-end:calc(var(--eds-text-spacing-bottom) + var(--font-paragraph-spacing-heading-lg));
|
|
1057
1326
|
}
|
|
1058
1327
|
}
|