@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
|
@@ -0,0 +1,822 @@
|
|
|
1
|
+
[data-color-mode=light],
|
|
2
|
+
:root{
|
|
3
|
+
--components-typography-basetext-contrast-text-accent:#ffffff;
|
|
4
|
+
--components-typography-basetext-contrast-text-subdued:#d9dae8;
|
|
5
|
+
--components-typography-basetext-standard-text-accent:#181c56;
|
|
6
|
+
--components-typography-basetext-standard-text-subdued:#626493;
|
|
7
|
+
--components-typography-blockquote-contrast-stroke:#8284ab;
|
|
8
|
+
--components-typography-blockquote-contrast-text-accent:#ffffff;
|
|
9
|
+
--components-typography-blockquote-contrast-text-subdued:#d9dae8;
|
|
10
|
+
--components-typography-blockquote-standard-stroke:#8284ab;
|
|
11
|
+
--components-typography-blockquote-standard-text-accent:#181c56;
|
|
12
|
+
--components-typography-blockquote-standard-text-subdued:#626493;
|
|
13
|
+
--components-typography-codetext-contrast-border:rgba(255, 255, 255, 0);
|
|
14
|
+
--components-typography-codetext-contrast-border-interactive:#aeb7e2;
|
|
15
|
+
--components-typography-codetext-contrast-fill:#292b6a;
|
|
16
|
+
--components-typography-codetext-contrast-text:#181c56;
|
|
17
|
+
--components-typography-codetext-standard-border:rgba(84, 86, 140, 0.4);
|
|
18
|
+
--components-typography-codetext-standard-border-interactive:#181c56;
|
|
19
|
+
--components-typography-codetext-standard-fill:#eaeaf1;
|
|
20
|
+
--components-typography-codetext-standard-text:#181c56;
|
|
21
|
+
--components-typography-label-contrast-text-accent:#d9dae8;
|
|
22
|
+
--components-typography-label-standard-text-accent:#626493;
|
|
23
|
+
--components-typography-list-contrast-border:#aeb7e2;
|
|
24
|
+
--components-typography-list-contrast-fill:#292b6a;
|
|
25
|
+
--components-typography-list-contrast-text-accent:#ffffff;
|
|
26
|
+
--components-typography-list-standard-border:#aeb7e2;
|
|
27
|
+
--components-typography-list-standard-fill:#eaeaf1;
|
|
28
|
+
--components-typography-list-standard-text-accent:#181c56;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-color-mode=dark]{
|
|
32
|
+
--components-typography-basetext-contrast-text-accent:#e5e5e9;
|
|
33
|
+
--components-typography-basetext-contrast-text-subdued:#b3b4bd;
|
|
34
|
+
--components-typography-basetext-standard-text-accent:#e5e5e9;
|
|
35
|
+
--components-typography-basetext-standard-text-subdued:#b3b4bd;
|
|
36
|
+
--components-typography-blockquote-contrast-stroke:#81828f;
|
|
37
|
+
--components-typography-blockquote-contrast-text-accent:#e5e5e9;
|
|
38
|
+
--components-typography-blockquote-contrast-text-subdued:#b3b4bd;
|
|
39
|
+
--components-typography-blockquote-standard-stroke:#81828f;
|
|
40
|
+
--components-typography-blockquote-standard-text-accent:#e5e5e9;
|
|
41
|
+
--components-typography-blockquote-standard-text-subdued:#b3b4bd;
|
|
42
|
+
--components-typography-codetext-contrast-border:rgba(255, 255, 255, 0);
|
|
43
|
+
--components-typography-codetext-contrast-border-interactive:#e5e5e9;
|
|
44
|
+
--components-typography-codetext-contrast-fill:#212233;
|
|
45
|
+
--components-typography-codetext-contrast-text:#e5e5e9;
|
|
46
|
+
--components-typography-codetext-standard-border:rgba(255, 255, 255, 0);
|
|
47
|
+
--components-typography-codetext-standard-border-interactive:#e5e5e9;
|
|
48
|
+
--components-typography-codetext-standard-fill:#212233;
|
|
49
|
+
--components-typography-codetext-standard-text:#e5e5e9;
|
|
50
|
+
--components-typography-label-contrast-text-accent:#e5e5e9;
|
|
51
|
+
--components-typography-label-standard-text-accent:#e5e5e9;
|
|
52
|
+
--components-typography-list-contrast-border:#aeb7e2;
|
|
53
|
+
--components-typography-list-contrast-fill:#212233;
|
|
54
|
+
--components-typography-list-contrast-text-accent:#e5e5e9;
|
|
55
|
+
--components-typography-list-standard-border:#aeb7e2;
|
|
56
|
+
--components-typography-list-standard-fill:#212233;
|
|
57
|
+
--components-typography-list-standard-text-accent:#e5e5e9;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@font-face{
|
|
61
|
+
font-family:Nationale;
|
|
62
|
+
src:url("./fonts/Entur-Nationale-Light.eot");
|
|
63
|
+
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");
|
|
64
|
+
font-weight:300;
|
|
65
|
+
font-style:normal;
|
|
66
|
+
font-display:swap;
|
|
67
|
+
}
|
|
68
|
+
@font-face{
|
|
69
|
+
font-family:Nationale;
|
|
70
|
+
src:url("./fonts/Entur-Nationale-LightItalic.eot");
|
|
71
|
+
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");
|
|
72
|
+
font-weight:300;
|
|
73
|
+
font-style:italic;
|
|
74
|
+
font-display:swap;
|
|
75
|
+
}
|
|
76
|
+
@font-face{
|
|
77
|
+
font-family:Nationale;
|
|
78
|
+
src:url("./fonts/Entur-Nationale-Regular.eot");
|
|
79
|
+
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");
|
|
80
|
+
font-weight:400;
|
|
81
|
+
font-style:normal;
|
|
82
|
+
font-display:swap;
|
|
83
|
+
}
|
|
84
|
+
@font-face{
|
|
85
|
+
font-family:Nationale;
|
|
86
|
+
src:url("./fonts/Entur-Nationale-Italic.eot");
|
|
87
|
+
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");
|
|
88
|
+
font-weight:400;
|
|
89
|
+
font-style:italic;
|
|
90
|
+
font-display:swap;
|
|
91
|
+
}
|
|
92
|
+
@font-face{
|
|
93
|
+
font-family:Nationale;
|
|
94
|
+
src:url("./fonts/Entur-Nationale-Medium.eot");
|
|
95
|
+
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");
|
|
96
|
+
font-weight:500;
|
|
97
|
+
font-style:normal;
|
|
98
|
+
font-display:swap;
|
|
99
|
+
}
|
|
100
|
+
@font-face{
|
|
101
|
+
font-family:Nationale;
|
|
102
|
+
src:url("./fonts/Entur-Nationale-MediumItalic.eot");
|
|
103
|
+
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");
|
|
104
|
+
font-weight:500;
|
|
105
|
+
font-style:italic;
|
|
106
|
+
font-display:swap;
|
|
107
|
+
}
|
|
108
|
+
@font-face{
|
|
109
|
+
font-family:Nationale;
|
|
110
|
+
src:url("./fonts/Entur-Nationale-Demibold.eot");
|
|
111
|
+
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");
|
|
112
|
+
font-weight:600;
|
|
113
|
+
font-style:normal;
|
|
114
|
+
font-display:swap;
|
|
115
|
+
}
|
|
116
|
+
@font-face{
|
|
117
|
+
font-family:Nationale;
|
|
118
|
+
src:url("./fonts/Entur-Nationale-DemiboldItalic.eot");
|
|
119
|
+
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");
|
|
120
|
+
font-weight:600;
|
|
121
|
+
font-style:italic;
|
|
122
|
+
font-display:swap;
|
|
123
|
+
}
|
|
124
|
+
@layer core.reset{
|
|
125
|
+
/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
|
126
|
+
/*
|
|
127
|
+
Document
|
|
128
|
+
========
|
|
129
|
+
*/
|
|
130
|
+
/**
|
|
131
|
+
Use a better box model (opinionated).
|
|
132
|
+
*/
|
|
133
|
+
*,
|
|
134
|
+
::before,
|
|
135
|
+
::after{
|
|
136
|
+
-webkit-box-sizing:border-box;
|
|
137
|
+
-moz-box-sizing:border-box;
|
|
138
|
+
box-sizing:border-box;
|
|
139
|
+
}
|
|
140
|
+
html{
|
|
141
|
+
/* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
|
|
142
|
+
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";
|
|
143
|
+
line-height:1.15; /* 1. Correct the line height in all browsers. */
|
|
144
|
+
-webkit-text-size-adjust:100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
|
|
145
|
+
-moz-tab-size:4;
|
|
146
|
+
-o-tab-size:4;
|
|
147
|
+
tab-size:4; /* 3. Use a more readable tab size (opinionated). */
|
|
148
|
+
}
|
|
149
|
+
/*
|
|
150
|
+
Sections
|
|
151
|
+
========
|
|
152
|
+
*/
|
|
153
|
+
body{
|
|
154
|
+
margin:0; /* Remove the margin in all browsers. */
|
|
155
|
+
}
|
|
156
|
+
/*
|
|
157
|
+
Text-level semantics
|
|
158
|
+
====================
|
|
159
|
+
*/
|
|
160
|
+
/**
|
|
161
|
+
Add the correct font weight in Chrome and Safari.
|
|
162
|
+
*/
|
|
163
|
+
b,
|
|
164
|
+
strong{
|
|
165
|
+
font-weight:bolder;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
|
169
|
+
2. Correct the odd 'em' font sizing in all browsers.
|
|
170
|
+
*/
|
|
171
|
+
code,
|
|
172
|
+
kbd,
|
|
173
|
+
samp,
|
|
174
|
+
pre{
|
|
175
|
+
font-family:ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; /* 1 */
|
|
176
|
+
font-size:1em; /* 2 */
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
Add the correct font size in all browsers.
|
|
180
|
+
*/
|
|
181
|
+
small{
|
|
182
|
+
font-size:80%;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
|
|
186
|
+
*/
|
|
187
|
+
sub,
|
|
188
|
+
sup{
|
|
189
|
+
font-size:75%;
|
|
190
|
+
line-height:0;
|
|
191
|
+
position:relative;
|
|
192
|
+
vertical-align:baseline;
|
|
193
|
+
}
|
|
194
|
+
sub{
|
|
195
|
+
bottom:-0.25em;
|
|
196
|
+
}
|
|
197
|
+
sup{
|
|
198
|
+
top:-0.5em;
|
|
199
|
+
}
|
|
200
|
+
/*
|
|
201
|
+
Tabular data
|
|
202
|
+
============
|
|
203
|
+
*/
|
|
204
|
+
/**
|
|
205
|
+
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
206
|
+
*/
|
|
207
|
+
table{
|
|
208
|
+
border-color:currentcolor;
|
|
209
|
+
}
|
|
210
|
+
/*
|
|
211
|
+
Forms
|
|
212
|
+
=====
|
|
213
|
+
*/
|
|
214
|
+
/**
|
|
215
|
+
1. Change the font styles in all browsers.
|
|
216
|
+
2. Remove the margin in Firefox and Safari.
|
|
217
|
+
*/
|
|
218
|
+
button,
|
|
219
|
+
input,
|
|
220
|
+
optgroup,
|
|
221
|
+
select,
|
|
222
|
+
textarea{
|
|
223
|
+
font-family:inherit; /* 1 */
|
|
224
|
+
font-size:100%; /* 1 */
|
|
225
|
+
line-height:1.15; /* 1 */
|
|
226
|
+
margin:0; /* 2 */
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
Correct the inability to style clickable types in iOS and Safari.
|
|
230
|
+
*/
|
|
231
|
+
button,
|
|
232
|
+
[type=button],
|
|
233
|
+
[type=reset],
|
|
234
|
+
[type=submit]{
|
|
235
|
+
-webkit-appearance:button;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
|
|
239
|
+
*/
|
|
240
|
+
legend{
|
|
241
|
+
padding:0;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
245
|
+
*/
|
|
246
|
+
progress{
|
|
247
|
+
vertical-align:baseline;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
251
|
+
*/
|
|
252
|
+
::-webkit-inner-spin-button,
|
|
253
|
+
::-webkit-outer-spin-button{
|
|
254
|
+
height:auto;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
1. Correct the odd appearance in Chrome and Safari.
|
|
258
|
+
2. Correct the outline style in Safari.
|
|
259
|
+
*/
|
|
260
|
+
[type=search]{
|
|
261
|
+
-webkit-appearance:textfield; /* 1 */
|
|
262
|
+
outline-offset:-2px; /* 2 */
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
266
|
+
*/
|
|
267
|
+
::-webkit-search-decoration{
|
|
268
|
+
-webkit-appearance:none;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
|
272
|
+
2. Change font properties to 'inherit' in Safari.
|
|
273
|
+
*/
|
|
274
|
+
::-webkit-file-upload-button{
|
|
275
|
+
-webkit-appearance:button; /* 1 */
|
|
276
|
+
font:inherit; /* 2 */
|
|
277
|
+
}
|
|
278
|
+
/*
|
|
279
|
+
Interactive
|
|
280
|
+
===========
|
|
281
|
+
*/
|
|
282
|
+
/*
|
|
283
|
+
Add the correct display in Chrome and Safari.
|
|
284
|
+
*/
|
|
285
|
+
summary{
|
|
286
|
+
display:list-item;
|
|
287
|
+
}
|
|
288
|
+
*,
|
|
289
|
+
*::before,
|
|
290
|
+
*::after{
|
|
291
|
+
-webkit-box-sizing:inherit;
|
|
292
|
+
-moz-box-sizing:inherit;
|
|
293
|
+
box-sizing:inherit;
|
|
294
|
+
font-weight:inherit;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
[data-color-mode=light],
|
|
298
|
+
[data-color-mode=dark],
|
|
299
|
+
:root{
|
|
300
|
+
--eds-typography:1;
|
|
301
|
+
--primary-background-color:var(--basecolors-frame-default);
|
|
302
|
+
--primary-text-color:var(--components-typography-basetext-standard-text-accent);
|
|
303
|
+
--primary-label-color:var(--components-typography-label-standard-text-accent);
|
|
304
|
+
--eds-font-family:"Nationale", arial, "Gotham Rounded", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen-sans, ubuntu, cantarell, "Helvetica Neue", sans-serif;
|
|
305
|
+
-webkit-box-sizing:border-box;
|
|
306
|
+
-moz-box-sizing:border-box;
|
|
307
|
+
box-sizing:border-box;
|
|
308
|
+
color:#181c56;
|
|
309
|
+
color:var(--primary-text-color);
|
|
310
|
+
background-color:#ffffff;
|
|
311
|
+
background-color:var(--primary-background-color);
|
|
312
|
+
font-family:Nationale, Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
313
|
+
font-weight:500;
|
|
314
|
+
font-size:1rem;
|
|
315
|
+
line-height:1.375rem;
|
|
316
|
+
}
|
|
317
|
+
[data-color-mode=light] .eds-contrast,
|
|
318
|
+
[data-color-mode=dark] .eds-contrast,
|
|
319
|
+
:root .eds-contrast{
|
|
320
|
+
--primary-background-color:var(--basecolors-frame-contrast);
|
|
321
|
+
--primary-text-color:var(--components-typography-basetext-contrast-text-accent);
|
|
322
|
+
--primary-label-color:var(--components-typography-label-contrast-text-accent);
|
|
323
|
+
color:#ffffff;
|
|
324
|
+
color:var(--primary-text-color);
|
|
325
|
+
background-color:#181c56;
|
|
326
|
+
background-color:var(--primary-background-color);
|
|
327
|
+
}
|
|
328
|
+
@media screen and (min-width: 50rem){
|
|
329
|
+
[data-color-mode=light],
|
|
330
|
+
[data-color-mode=dark],
|
|
331
|
+
:root{
|
|
332
|
+
font-size:1rem;
|
|
333
|
+
line-height:1.5rem;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.eds-h1,
|
|
338
|
+
.eds-h2,
|
|
339
|
+
.eds-h3,
|
|
340
|
+
.eds-h4,
|
|
341
|
+
.eds-h5,
|
|
342
|
+
.eds-h6{
|
|
343
|
+
color:#181c56;
|
|
344
|
+
color:var(--primary-text-color);
|
|
345
|
+
font-weight:600;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.eds-h1{
|
|
349
|
+
font-size:1.5rem;
|
|
350
|
+
line-height:2.625rem;
|
|
351
|
+
margin:0 0 1rem;
|
|
352
|
+
}
|
|
353
|
+
@media screen and (min-width: 50rem){
|
|
354
|
+
.eds-h1{
|
|
355
|
+
font-size:2.5rem;
|
|
356
|
+
line-height:3.75rem;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.eds-h2{
|
|
361
|
+
font-size:1.25rem;
|
|
362
|
+
line-height:2.25rem;
|
|
363
|
+
margin:2rem 0 0.75rem;
|
|
364
|
+
}
|
|
365
|
+
@media screen and (min-width: 50rem){
|
|
366
|
+
.eds-h2{
|
|
367
|
+
font-size:2rem;
|
|
368
|
+
line-height:3rem;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.eds-h3{
|
|
373
|
+
font-size:1rem;
|
|
374
|
+
line-height:1.5rem;
|
|
375
|
+
margin:1.5rem 0 0.5rem;
|
|
376
|
+
}
|
|
377
|
+
@media screen and (min-width: 50rem){
|
|
378
|
+
.eds-h3{
|
|
379
|
+
font-size:1.5rem;
|
|
380
|
+
line-height:2.25rem;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.eds-h4{
|
|
385
|
+
font-size:0.875rem;
|
|
386
|
+
line-height:1.375rem;
|
|
387
|
+
margin:1.5rem 0 0;
|
|
388
|
+
}
|
|
389
|
+
@media screen and (min-width: 50rem){
|
|
390
|
+
.eds-h4{
|
|
391
|
+
font-size:1.25rem;
|
|
392
|
+
line-height:1.875rem;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.eds-h5{
|
|
397
|
+
font-size:0.75rem;
|
|
398
|
+
line-height:1.25rem;
|
|
399
|
+
margin:1.5rem 0 0;
|
|
400
|
+
}
|
|
401
|
+
@media screen and (min-width: 50rem){
|
|
402
|
+
.eds-h5{
|
|
403
|
+
font-size:1rem;
|
|
404
|
+
line-height:1.5rem;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.eds-h6{
|
|
409
|
+
font-size:0.75rem;
|
|
410
|
+
line-height:1.25rem;
|
|
411
|
+
margin:1.5rem 0 0;
|
|
412
|
+
}
|
|
413
|
+
@media screen and (min-width: 50rem){
|
|
414
|
+
.eds-h6{
|
|
415
|
+
font-size:0.875rem;
|
|
416
|
+
line-height:1.375rem;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.eds-paragraph{
|
|
421
|
+
color:#181c56;
|
|
422
|
+
color:var(--primary-text-color);
|
|
423
|
+
font-size:1rem;
|
|
424
|
+
line-height:1.5rem;
|
|
425
|
+
margin:0 0 2rem;
|
|
426
|
+
}
|
|
427
|
+
@media screen and (min-width: 50rem){
|
|
428
|
+
.eds-paragraph{
|
|
429
|
+
font-size:1rem;
|
|
430
|
+
line-height:1.5rem;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.eds-lead-paragraph{
|
|
435
|
+
color:#181c56;
|
|
436
|
+
color:var(--primary-text-color);
|
|
437
|
+
font-size:1.25rem;
|
|
438
|
+
line-height:1.875rem;
|
|
439
|
+
margin:1.5rem 0;
|
|
440
|
+
}
|
|
441
|
+
@media screen and (min-width: 50rem){
|
|
442
|
+
.eds-lead-paragraph{
|
|
443
|
+
font-size:1.25rem;
|
|
444
|
+
line-height:2.25rem;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.eds-sub-paragraph{
|
|
449
|
+
color:#181c56;
|
|
450
|
+
color:var(--primary-text-color);
|
|
451
|
+
font-size:0.875rem;
|
|
452
|
+
line-height:1.25rem;
|
|
453
|
+
}
|
|
454
|
+
@media screen and (min-width: 50rem){
|
|
455
|
+
.eds-sub-paragraph{
|
|
456
|
+
line-height:1.375rem;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.eds-small-text{
|
|
461
|
+
color:#181c56;
|
|
462
|
+
color:var(--primary-text-color);
|
|
463
|
+
font-size:0.625rem;
|
|
464
|
+
line-height:1rem;
|
|
465
|
+
}
|
|
466
|
+
@media screen and (min-width: 50rem){
|
|
467
|
+
.eds-small-text{
|
|
468
|
+
font-size:0.75rem;
|
|
469
|
+
line-height:1.25rem;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.eds-link{
|
|
474
|
+
color:#181c56;
|
|
475
|
+
color:var(--primary-text-color);
|
|
476
|
+
}
|
|
477
|
+
.eds-link, .eds-link:link, .eds-link:visited{
|
|
478
|
+
font-size:inherit;
|
|
479
|
+
-webkit-text-decoration:none;
|
|
480
|
+
text-decoration:none;
|
|
481
|
+
position:relative;
|
|
482
|
+
background-image:-webkit-linear-gradient(330deg, #181c56 0%, #181c56 100%);
|
|
483
|
+
background-image:-moz-linear-gradient(330deg, #181c56 0%, #181c56 100%);
|
|
484
|
+
background-image:-o-linear-gradient(330deg, #181c56 0%, #181c56 100%);
|
|
485
|
+
background-image:linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
486
|
+
background-image:-webkit-linear-gradient(330deg, var(--primary-text-color) 0%, var(--primary-text-color) 100%);
|
|
487
|
+
background-image:-moz-linear-gradient(330deg, var(--primary-text-color) 0%, var(--primary-text-color) 100%);
|
|
488
|
+
background-image:-o-linear-gradient(330deg, var(--primary-text-color) 0%, var(--primary-text-color) 100%);
|
|
489
|
+
background-image:linear-gradient(120deg, var(--primary-text-color) 0%, var(--primary-text-color) 100%);
|
|
490
|
+
background-repeat:no-repeat;
|
|
491
|
+
-moz-background-size:100% 0.125rem;
|
|
492
|
+
-o-background-size:100% 0.125rem;
|
|
493
|
+
background-size:100% 0.125rem;
|
|
494
|
+
background-position:0 100%;
|
|
495
|
+
}
|
|
496
|
+
.eds-link:hover{
|
|
497
|
+
-webkit-animation:eds-link-underline 0.3s ease-in;
|
|
498
|
+
-moz-animation:eds-link-underline 0.3s ease-in;
|
|
499
|
+
-o-animation:eds-link-underline 0.3s ease-in;
|
|
500
|
+
animation:eds-link-underline 0.3s ease-in;
|
|
501
|
+
cursor:pointer;
|
|
502
|
+
}
|
|
503
|
+
@-webkit-keyframes eds-link-underline{
|
|
504
|
+
from{
|
|
505
|
+
background-size:0% 0.125rem;
|
|
506
|
+
}
|
|
507
|
+
to{
|
|
508
|
+
background-size:100% 0.125rem;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
@-moz-keyframes eds-link-underline{
|
|
512
|
+
from{
|
|
513
|
+
-moz-background-size:0% 0.125rem;
|
|
514
|
+
background-size:0% 0.125rem;
|
|
515
|
+
}
|
|
516
|
+
to{
|
|
517
|
+
-moz-background-size:100% 0.125rem;
|
|
518
|
+
background-size:100% 0.125rem;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
@-o-keyframes eds-link-underline{
|
|
522
|
+
from{
|
|
523
|
+
-o-background-size:0% 0.125rem;
|
|
524
|
+
background-size:0% 0.125rem;
|
|
525
|
+
}
|
|
526
|
+
to{
|
|
527
|
+
-o-background-size:100% 0.125rem;
|
|
528
|
+
background-size:100% 0.125rem;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
@keyframes eds-link-underline{
|
|
532
|
+
from{
|
|
533
|
+
-moz-background-size:0% 0.125rem;
|
|
534
|
+
-o-background-size:0% 0.125rem;
|
|
535
|
+
background-size:0% 0.125rem;
|
|
536
|
+
}
|
|
537
|
+
to{
|
|
538
|
+
-moz-background-size:100% 0.125rem;
|
|
539
|
+
-o-background-size:100% 0.125rem;
|
|
540
|
+
background-size:100% 0.125rem;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
.eds-link:focus-visible{
|
|
544
|
+
-webkit-border-radius:0.25rem;
|
|
545
|
+
-moz-border-radius:0.25rem;
|
|
546
|
+
border-radius:0.25rem;
|
|
547
|
+
outline:2px solid #181c56;
|
|
548
|
+
outline-color:#181c56;
|
|
549
|
+
outline-color:var(--basecolors-stroke-focus-standard);
|
|
550
|
+
outline-offset:0.125rem;
|
|
551
|
+
}
|
|
552
|
+
.eds-contrast .eds-link:focus-visible{
|
|
553
|
+
outline-color:#aeb7e2;
|
|
554
|
+
outline-color:var(--basecolors-stroke-focus-contrast);
|
|
555
|
+
}
|
|
556
|
+
@media screen and (min-width: 50rem){
|
|
557
|
+
.eds-link{
|
|
558
|
+
font-size:1rem;
|
|
559
|
+
line-height:1.5rem;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
.eds-link--ext-icon{
|
|
563
|
+
margin-left:0.25rem;
|
|
564
|
+
}
|
|
565
|
+
p .eds-link--ext-icon{
|
|
566
|
+
top:0;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.eds-label,
|
|
570
|
+
.eds-sub-label{
|
|
571
|
+
color:#626493;
|
|
572
|
+
color:var(--primary-label-color);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.eds-label{
|
|
576
|
+
font-size:0.875rem;
|
|
577
|
+
line-height:1.25rem;
|
|
578
|
+
}
|
|
579
|
+
@media screen and (min-width: 50rem){
|
|
580
|
+
.eds-label{
|
|
581
|
+
line-height:1.375rem;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.eds-sub-label{
|
|
586
|
+
font-size:0.75rem;
|
|
587
|
+
line-height:1rem;
|
|
588
|
+
}
|
|
589
|
+
@media screen and (min-width: 50rem){
|
|
590
|
+
.eds-sub-label{
|
|
591
|
+
line-height:1.25rem;
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.eds-strong-text{
|
|
596
|
+
font-weight:600;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.eds-emphasized-text{
|
|
600
|
+
font-style:italic;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.eds-preformatted-text,
|
|
604
|
+
.eds-code-text{
|
|
605
|
+
background-color:#eaeaf1;
|
|
606
|
+
background-color:var(--components-typography-codetext-standard-fill);
|
|
607
|
+
border:0.0625rem solid rgba(84, 86, 140, 0.4);
|
|
608
|
+
border:0.0625rem solid var(--components-typography-codetext-standard-border);
|
|
609
|
+
-webkit-border-radius:0.25rem;
|
|
610
|
+
-moz-border-radius:0.25rem;
|
|
611
|
+
border-radius:0.25rem;
|
|
612
|
+
color:#181c56;
|
|
613
|
+
color:var(--components-typography-codetext-standard-text);
|
|
614
|
+
font-family:Monaco, monospace;
|
|
615
|
+
font-size:0.875rem;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.eds-preformatted-text{
|
|
619
|
+
padding:1rem;
|
|
620
|
+
white-space:pre-wrap;
|
|
621
|
+
word-break:keep-all;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.eds-code-text{
|
|
625
|
+
display:inline-block;
|
|
626
|
+
word-wrap:break-word;
|
|
627
|
+
word-wrap:anywhere;
|
|
628
|
+
padding:0.125rem 0.25rem;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.eds-unordered-list,
|
|
632
|
+
.eds-numbered-list{
|
|
633
|
+
margin:1rem 0;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.eds-unordered-list{
|
|
637
|
+
list-style:none;
|
|
638
|
+
}
|
|
639
|
+
.eds-unordered-list .eds-list-item::before{
|
|
640
|
+
content:"";
|
|
641
|
+
background:#aeb7e2;
|
|
642
|
+
background:var(--components-typography-list-standard-border);
|
|
643
|
+
display:block;
|
|
644
|
+
height:0.125rem;
|
|
645
|
+
left:-1.75rem;
|
|
646
|
+
top:0.75rem;
|
|
647
|
+
position:relative;
|
|
648
|
+
width:0.75rem;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.eds-numbered-list{
|
|
652
|
+
counter-reset:eds-numbered-list-counter;
|
|
653
|
+
list-style:none;
|
|
654
|
+
}
|
|
655
|
+
.eds-numbered-list--type-a > .eds-list-item::before{
|
|
656
|
+
content:counter(eds-numbered-list-counter, lower-alpha);
|
|
657
|
+
}
|
|
658
|
+
.eds-numbered-list--type-A > .eds-list-item::before{
|
|
659
|
+
content:counter(eds-numbered-list-counter, upper-alpha);
|
|
660
|
+
}
|
|
661
|
+
.eds-numbered-list--type-1 > .eds-list-item::before{
|
|
662
|
+
content:counter(eds-numbered-list-counter, decimal);
|
|
663
|
+
}
|
|
664
|
+
.eds-numbered-list--type-i > .eds-list-item::before{
|
|
665
|
+
content:counter(eds-numbered-list-counter, lower-roman);
|
|
666
|
+
}
|
|
667
|
+
.eds-numbered-list--type-I > .eds-list-item::before{
|
|
668
|
+
content:counter(eds-numbered-list-counter, upper-roman);
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.eds-list-item{
|
|
672
|
+
padding-left:0.5rem;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.eds-numbered-list > .eds-list-item{
|
|
676
|
+
counter-increment:eds-numbered-list-counter;
|
|
677
|
+
margin-top:1.5rem;
|
|
678
|
+
position:relative;
|
|
679
|
+
}
|
|
680
|
+
.eds-numbered-list > .eds-list-item::before{
|
|
681
|
+
color:#181c56;
|
|
682
|
+
color:var(--primary-text-color);
|
|
683
|
+
position:absolute;
|
|
684
|
+
font-weight:600;
|
|
685
|
+
left:-2.5rem;
|
|
686
|
+
border:0.125rem solid #aeb7e2;
|
|
687
|
+
border:0.125rem solid var(--components-typography-list-standard-border);
|
|
688
|
+
-webkit-border-radius:50%;
|
|
689
|
+
-moz-border-radius:50%;
|
|
690
|
+
border-radius:50%;
|
|
691
|
+
height:2rem;
|
|
692
|
+
width:2rem;
|
|
693
|
+
display:-webkit-box;
|
|
694
|
+
display:-webkit-flex;
|
|
695
|
+
display:-moz-box;
|
|
696
|
+
display:flex;
|
|
697
|
+
-webkit-box-align:center;
|
|
698
|
+
-webkit-align-items:center;
|
|
699
|
+
-moz-box-align:center;
|
|
700
|
+
align-items:center;
|
|
701
|
+
-webkit-box-pack:center;
|
|
702
|
+
-webkit-justify-content:center;
|
|
703
|
+
-moz-box-pack:center;
|
|
704
|
+
justify-content:center;
|
|
705
|
+
top:-0.25rem;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.eds-list-item__title{
|
|
709
|
+
display:block;
|
|
710
|
+
font-weight:600;
|
|
711
|
+
margin-bottom:0.5rem;
|
|
712
|
+
}
|
|
713
|
+
.eds-list-item__title .eds-list-item:first-of-type{
|
|
714
|
+
margin:none;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.eds-blockquote{
|
|
718
|
+
border-left:0.25rem solid #8284ab;
|
|
719
|
+
border-left:0.25rem solid var(--components-typography-blockquote-standard-stroke);
|
|
720
|
+
font-family:inherit;
|
|
721
|
+
font-size:1.25rem;
|
|
722
|
+
line-height:1.875rem;
|
|
723
|
+
margin:0;
|
|
724
|
+
padding:0.5rem;
|
|
725
|
+
padding-left:2rem;
|
|
726
|
+
}
|
|
727
|
+
.eds-blockquote__footer{
|
|
728
|
+
font-size:0.875rem;
|
|
729
|
+
line-height:1.375rem;
|
|
730
|
+
letter-spacing:1px;
|
|
731
|
+
margin-top:1.5rem;
|
|
732
|
+
text-transform:uppercase;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.eds-h1--margin-top,
|
|
736
|
+
.eds-h2--margin-top,
|
|
737
|
+
.eds-h3--margin-top,
|
|
738
|
+
.eds-h4--margin-top,
|
|
739
|
+
.eds-h5--margin-top,
|
|
740
|
+
.eds-h6--margin-top,
|
|
741
|
+
.eds-paragraph--margin-top,
|
|
742
|
+
.eds-lead-paragraph--margin-top,
|
|
743
|
+
.eds-sub-paragraph--margin-top,
|
|
744
|
+
.eds-emphasized-text--margin-top,
|
|
745
|
+
.eds-label--margin-top,
|
|
746
|
+
.eds-sub-label--margin-top,
|
|
747
|
+
.eds-small-text--margin-top,
|
|
748
|
+
.eds-strong-text--margin-top,
|
|
749
|
+
.eds-link--margin-top{
|
|
750
|
+
margin-bottom:0;
|
|
751
|
+
}
|
|
752
|
+
.eds-h1--margin-bottom,
|
|
753
|
+
.eds-h2--margin-bottom,
|
|
754
|
+
.eds-h3--margin-bottom,
|
|
755
|
+
.eds-h4--margin-bottom,
|
|
756
|
+
.eds-h5--margin-bottom,
|
|
757
|
+
.eds-h6--margin-bottom,
|
|
758
|
+
.eds-paragraph--margin-bottom,
|
|
759
|
+
.eds-lead-paragraph--margin-bottom,
|
|
760
|
+
.eds-sub-paragraph--margin-bottom,
|
|
761
|
+
.eds-emphasized-text--margin-bottom,
|
|
762
|
+
.eds-label--margin-bottom,
|
|
763
|
+
.eds-sub-label--margin-bottom,
|
|
764
|
+
.eds-small-text--margin-bottom,
|
|
765
|
+
.eds-strong-text--margin-bottom,
|
|
766
|
+
.eds-link--margin-bottom{
|
|
767
|
+
margin-top:0;
|
|
768
|
+
}
|
|
769
|
+
.eds-h1--margin-none,
|
|
770
|
+
.eds-h2--margin-none,
|
|
771
|
+
.eds-h3--margin-none,
|
|
772
|
+
.eds-h4--margin-none,
|
|
773
|
+
.eds-h5--margin-none,
|
|
774
|
+
.eds-h6--margin-none,
|
|
775
|
+
.eds-paragraph--margin-none,
|
|
776
|
+
.eds-lead-paragraph--margin-none,
|
|
777
|
+
.eds-sub-paragraph--margin-none,
|
|
778
|
+
.eds-emphasized-text--margin-none,
|
|
779
|
+
.eds-label--margin-none,
|
|
780
|
+
.eds-sub-label--margin-none,
|
|
781
|
+
.eds-small-text--margin-none,
|
|
782
|
+
.eds-strong-text--margin-none,
|
|
783
|
+
.eds-link--margin-none{
|
|
784
|
+
margin-top:0;
|
|
785
|
+
margin-bottom:0;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
@-webkit-keyframes lineExpand{
|
|
789
|
+
0%{
|
|
790
|
+
width:0;
|
|
791
|
+
}
|
|
792
|
+
100%{
|
|
793
|
+
width:100%;
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
@-moz-keyframes lineExpand{
|
|
798
|
+
0%{
|
|
799
|
+
width:0;
|
|
800
|
+
}
|
|
801
|
+
100%{
|
|
802
|
+
width:100%;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
@-o-keyframes lineExpand{
|
|
807
|
+
0%{
|
|
808
|
+
width:0;
|
|
809
|
+
}
|
|
810
|
+
100%{
|
|
811
|
+
width:100%;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
@keyframes lineExpand{
|
|
816
|
+
0%{
|
|
817
|
+
width:0;
|
|
818
|
+
}
|
|
819
|
+
100%{
|
|
820
|
+
width:100%;
|
|
821
|
+
}
|
|
822
|
+
}
|