@entur/typography 1.10.0-beta.9 → 2.0.0-beta.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 +37 -17
- package/dist/BaseHeading.d.ts +1 -1
- package/dist/Blockquote.d.ts +3 -4
- package/dist/CodeText.d.ts +1 -1
- package/dist/EmphasizedText.d.ts +1 -1
- package/dist/Heading1.d.ts +1 -1
- package/dist/Heading2.d.ts +1 -1
- package/dist/Heading3.d.ts +1 -1
- package/dist/Heading4.d.ts +1 -1
- package/dist/Heading5.d.ts +1 -1
- package/dist/Heading6.d.ts +1 -1
- package/dist/Label.d.ts +1 -1
- package/dist/LeadParagraph.d.ts +1 -1
- package/dist/Link.d.ts +1 -1
- package/dist/ListItem.d.ts +1 -1
- package/dist/NumberedList.d.ts +1 -1
- package/dist/Paragraph.d.ts +1 -1
- package/dist/PreformattedText.d.ts +1 -1
- package/dist/SmallText.d.ts +1 -1
- package/dist/StrongText.d.ts +1 -1
- package/dist/SubLabel.d.ts +1 -1
- package/dist/SubParagraph.d.ts +1 -1
- package/dist/UnorderedList.d.ts +1 -1
- package/dist/beta/cjs/components/Blockquote.cjs +29 -0
- package/dist/beta/cjs/components/Blockquote.cjs.map +1 -0
- package/dist/beta/cjs/components/Heading.cjs +37 -0
- package/dist/beta/cjs/components/Heading.cjs.map +1 -0
- package/dist/beta/cjs/components/Link.cjs +41 -0
- package/dist/beta/cjs/components/Link.cjs.map +1 -0
- package/dist/beta/cjs/components/ListItem.cjs +33 -0
- package/dist/beta/cjs/components/ListItem.cjs.map +1 -0
- package/dist/beta/cjs/components/NumberedList.cjs +32 -0
- package/dist/beta/cjs/components/NumberedList.cjs.map +1 -0
- package/dist/beta/cjs/components/Text.cjs +36 -0
- package/dist/beta/cjs/components/Text.cjs.map +1 -0
- package/dist/beta/cjs/components/UnorderedList.cjs +29 -0
- package/dist/beta/cjs/components/UnorderedList.cjs.map +1 -0
- package/dist/beta/cjs/index.cjs +18 -0
- package/dist/beta/cjs/index.cjs.map +1 -0
- package/dist/beta/cjs/utils/utils.cjs +77 -0
- package/dist/beta/cjs/utils/utils.cjs.map +1 -0
- package/dist/beta/esm/components/Blockquote.mjs +29 -0
- package/dist/beta/esm/components/Blockquote.mjs.map +1 -0
- package/dist/beta/esm/components/Heading.mjs +37 -0
- package/dist/beta/esm/components/Heading.mjs.map +1 -0
- package/dist/beta/esm/components/Link.mjs +41 -0
- package/dist/beta/esm/components/Link.mjs.map +1 -0
- package/dist/beta/esm/components/ListItem.mjs +33 -0
- package/dist/beta/esm/components/ListItem.mjs.map +1 -0
- package/dist/beta/esm/components/NumberedList.mjs +32 -0
- package/dist/beta/esm/components/NumberedList.mjs.map +1 -0
- package/dist/beta/esm/components/Text.mjs +36 -0
- package/dist/beta/esm/components/Text.mjs.map +1 -0
- package/dist/beta/esm/components/UnorderedList.mjs +29 -0
- package/dist/beta/esm/components/UnorderedList.mjs.map +1 -0
- package/dist/beta/esm/index.mjs +18 -0
- package/dist/beta/esm/index.mjs.map +1 -0
- package/dist/beta/esm/utils/utils.mjs +77 -0
- package/dist/beta/esm/utils/utils.mjs.map +1 -0
- package/dist/beta/styles/components/heading.css +458 -0
- package/dist/beta/styles/components/text.css +959 -0
- package/dist/beta/types/components/Blockquote.d.ts +12 -0
- package/dist/beta/{Heading.d.ts → types/components/Heading.d.ts} +2 -3
- package/dist/beta/types/components/Link.d.ts +22 -0
- package/dist/beta/types/components/ListItem.d.ts +22 -0
- package/dist/beta/types/components/NumberedList.d.ts +22 -0
- package/dist/beta/{Text.d.ts → types/components/Text.d.ts} +2 -3
- package/dist/beta/types/components/UnorderedList.d.ts +20 -0
- package/dist/beta/types/index.d.ts +8 -0
- package/dist/beta/types/utils/utils.d.ts +13 -0
- package/dist/index.d.ts +0 -5
- package/dist/styles.css +162 -820
- package/dist/typography.cjs.js +416 -0
- package/dist/typography.cjs.js.map +1 -0
- package/dist/typography.esm.js +392 -454
- package/dist/typography.esm.js.map +1 -1
- package/fonts/Entur-Nationale-Demibold.eot +0 -0
- package/fonts/Entur-Nationale-Demibold.woff +0 -0
- package/fonts/Entur-Nationale-Demibold.woff2 +0 -0
- package/fonts/Entur-Nationale-DemiboldItalic.eot +0 -0
- package/fonts/Entur-Nationale-DemiboldItalic.woff +0 -0
- package/fonts/Entur-Nationale-DemiboldItalic.woff2 +0 -0
- package/fonts/Entur-Nationale-Italic.eot +0 -0
- package/fonts/Entur-Nationale-Italic.woff +0 -0
- package/fonts/Entur-Nationale-Italic.woff2 +0 -0
- package/fonts/Entur-Nationale-Light.eot +0 -0
- package/fonts/Entur-Nationale-Light.woff +0 -0
- package/fonts/Entur-Nationale-Light.woff2 +0 -0
- package/fonts/Entur-Nationale-LightItalic.eot +0 -0
- package/fonts/Entur-Nationale-LightItalic.woff +0 -0
- package/fonts/Entur-Nationale-LightItalic.woff2 +0 -0
- package/fonts/Entur-Nationale-Medium.eot +0 -0
- package/fonts/Entur-Nationale-Medium.woff +0 -0
- package/fonts/Entur-Nationale-Medium.woff2 +0 -0
- package/fonts/Entur-Nationale-MediumItalic.eot +0 -0
- package/fonts/Entur-Nationale-MediumItalic.woff +0 -0
- package/fonts/Entur-Nationale-MediumItalic.woff2 +0 -0
- package/fonts/Entur-Nationale-Regular.eot +0 -0
- package/fonts/Entur-Nationale-Regular.woff +0 -0
- package/fonts/Entur-Nationale-Regular.woff2 +0 -0
- package/package.json +59 -19
- package/scripts/migrate-typography.js +415 -176
- package/dist/beta/BlockquoteBeta.d.ts +0 -12
- package/dist/beta/LinkBeta.d.ts +0 -16
- package/dist/beta/index.d.ts +0 -6
- package/dist/beta/utils.d.ts +0 -9
- package/dist/index.js +0 -8
- package/dist/typography.cjs.development.js +0 -508
- package/dist/typography.cjs.development.js.map +0 -1
- package/dist/typography.cjs.production.min.js +0 -2
- package/dist/typography.cjs.production.min.js.map +0 -1
- /package/dist/beta/{types.d.ts → types/types.d.ts} +0 -0
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
/* DO NOT CHANGE!*/
|
|
2
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
+
/* DO NOT CHANGE!*/
|
|
4
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
+
/* DO NOT CHANGE!*/
|
|
6
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
7
|
+
/* DO NOT CHANGE!*/
|
|
8
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
9
|
+
/* DO NOT CHANGE!*/
|
|
10
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
11
|
+
[data-color-mode=light],
|
|
12
|
+
:root {
|
|
13
|
+
--basecolors-frame-contrast: #181c56;
|
|
14
|
+
--basecolors-frame-contrastalt: #393d79;
|
|
15
|
+
--basecolors-frame-contrastalt-2: #292b6a;
|
|
16
|
+
--basecolors-frame-default: #ffffff;
|
|
17
|
+
--basecolors-frame-elevated: #ffffff;
|
|
18
|
+
--basecolors-frame-elevatedalt: #f6f6f9;
|
|
19
|
+
--basecolors-frame-subdued: #d9dae8;
|
|
20
|
+
--basecolors-frame-tint: #f6f6f9;
|
|
21
|
+
--basecolors-shape-accent: #181c56;
|
|
22
|
+
--basecolors-shape-bicycle-contrast: #00db9b;
|
|
23
|
+
--basecolors-shape-bicycle-default: #388f76;
|
|
24
|
+
--basecolors-shape-bus-contrast: #ff6392;
|
|
25
|
+
--basecolors-shape-bus-default: #c5044e;
|
|
26
|
+
--basecolors-shape-cableway-contrast: #b482fb;
|
|
27
|
+
--basecolors-shape-cableway-default: #78469a;
|
|
28
|
+
--basecolors-shape-disabled: #6e6f73;
|
|
29
|
+
--basecolors-shape-disabledalt: #b6b8ba;
|
|
30
|
+
--basecolors-shape-ferry-contrast: #6fdfff;
|
|
31
|
+
--basecolors-shape-ferry-default: #0c6693;
|
|
32
|
+
--basecolors-shape-funicular-contrast: #b482fb;
|
|
33
|
+
--basecolors-shape-funicular-default: #78469a;
|
|
34
|
+
--basecolors-shape-helicopter-contrast: #fbafea;
|
|
35
|
+
--basecolors-shape-helicopter-default: #800664;
|
|
36
|
+
--basecolors-shape-highlight: #ff5959;
|
|
37
|
+
--basecolors-shape-light: #ffffff;
|
|
38
|
+
--basecolors-shape-mask: #ffffff;
|
|
39
|
+
--basecolors-shape-maskalt: #ffffff;
|
|
40
|
+
--basecolors-shape-metro-contrast: #f08901;
|
|
41
|
+
--basecolors-shape-metro-default: #bf5826;
|
|
42
|
+
--basecolors-shape-mobility-contrast: #00db9b;
|
|
43
|
+
--basecolors-shape-mobility-default: #388f76;
|
|
44
|
+
--basecolors-shape-plane-contrast: #fbafea;
|
|
45
|
+
--basecolors-shape-plane-default: #800664;
|
|
46
|
+
--basecolors-shape-subdued: #626493;
|
|
47
|
+
--basecolors-shape-subduedalt: #d9dae8;
|
|
48
|
+
--basecolors-shape-taxi-contrast: #ffe082;
|
|
49
|
+
--basecolors-shape-taxi-default: #3d3e40;
|
|
50
|
+
--basecolors-shape-train-contrast: #42a5f5;
|
|
51
|
+
--basecolors-shape-train-default: #00367f;
|
|
52
|
+
--basecolors-shape-tram-contrast: #b482fb;
|
|
53
|
+
--basecolors-shape-tram-default: #78469a;
|
|
54
|
+
--basecolors-shape-walk-contrast: #8284ab;
|
|
55
|
+
--basecolors-shape-walk-default: #8d8e9c;
|
|
56
|
+
--basecolors-shape-airportlinkbus-contrast: #fbafea;
|
|
57
|
+
--basecolors-shape-airportlinkbus-default: #800664;
|
|
58
|
+
--basecolors-shape-airportlinkrail-contrast: #fbafea;
|
|
59
|
+
--basecolors-shape-airportlinkrail-default: #800664;
|
|
60
|
+
--basecolors-stroke-contrast: #aeb7e2;
|
|
61
|
+
--basecolors-stroke-default: #181c56;
|
|
62
|
+
--basecolors-stroke-disabled: #949699;
|
|
63
|
+
--basecolors-stroke-focus-contrast: #aeb7e2;
|
|
64
|
+
--basecolors-stroke-focus-standard: #181c56;
|
|
65
|
+
--basecolors-stroke-highlight: #ff5959;
|
|
66
|
+
--basecolors-stroke-light: #ffffff;
|
|
67
|
+
--basecolors-stroke-subdued: #8284ab;
|
|
68
|
+
--basecolors-stroke-subduedalt: #e3e6e8;
|
|
69
|
+
--basecolors-text-accent: #181c56;
|
|
70
|
+
--basecolors-text-disabled: #6e6f73;
|
|
71
|
+
--basecolors-text-disabledalt: #b6b8ba;
|
|
72
|
+
--basecolors-text-highlight: #ff5959;
|
|
73
|
+
--basecolors-text-light: #ffffff;
|
|
74
|
+
--basecolors-text-subdued: #626493;
|
|
75
|
+
--basecolors-text-subduedalt: #d9dae8;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[data-color-mode=dark] {
|
|
79
|
+
--basecolors-frame-contrast: #212233;
|
|
80
|
+
--basecolors-frame-contrastalt: #141527;
|
|
81
|
+
--basecolors-frame-contrastalt-2: #08091c;
|
|
82
|
+
--basecolors-frame-default: #08091c;
|
|
83
|
+
--basecolors-frame-elevated: rgba(229, 229, 233, 0.1490196078);
|
|
84
|
+
--basecolors-frame-elevatedalt: #464755;
|
|
85
|
+
--basecolors-frame-subdued: #2d2e3e;
|
|
86
|
+
--basecolors-frame-tint: #141527;
|
|
87
|
+
--basecolors-shape-accent: #e5e5e9;
|
|
88
|
+
--basecolors-shape-bicycle-contrast: #4db295;
|
|
89
|
+
--basecolors-shape-bicycle-default: #4db295;
|
|
90
|
+
--basecolors-shape-bus-contrast: #ef7398;
|
|
91
|
+
--basecolors-shape-bus-default: #ef7398;
|
|
92
|
+
--basecolors-shape-cableway-contrast: #b898e5;
|
|
93
|
+
--basecolors-shape-cableway-default: #b898e5;
|
|
94
|
+
--basecolors-shape-disabled: #b6b8ba;
|
|
95
|
+
--basecolors-shape-disabledalt: #b3b4bd;
|
|
96
|
+
--basecolors-shape-ferry-contrast: #8ccfe2;
|
|
97
|
+
--basecolors-shape-ferry-default: #8ccfe2;
|
|
98
|
+
--basecolors-shape-funicular-contrast: #b898e5;
|
|
99
|
+
--basecolors-shape-funicular-default: #b898e5;
|
|
100
|
+
--basecolors-shape-helicopter-contrast: #f2b8e5;
|
|
101
|
+
--basecolors-shape-helicopter-default: #f2b8e5;
|
|
102
|
+
--basecolors-shape-highlight: #ff9494;
|
|
103
|
+
--basecolors-shape-light: #e5e5e9;
|
|
104
|
+
--basecolors-shape-mask: #2d2e3e;
|
|
105
|
+
--basecolors-shape-maskalt: #393a49;
|
|
106
|
+
--basecolors-shape-metro-contrast: #dd973c;
|
|
107
|
+
--basecolors-shape-metro-default: #dd973c;
|
|
108
|
+
--basecolors-shape-mobility-contrast: #4db295;
|
|
109
|
+
--basecolors-shape-mobility-default: #4db295;
|
|
110
|
+
--basecolors-shape-plane-contrast: #f2b8e5;
|
|
111
|
+
--basecolors-shape-plane-default: #f2b8e5;
|
|
112
|
+
--basecolors-shape-subdued: #b3b4bd;
|
|
113
|
+
--basecolors-shape-subduedalt: #b3b4bd;
|
|
114
|
+
--basecolors-shape-taxi-contrast: #ffe082;
|
|
115
|
+
--basecolors-shape-taxi-default: #ffe082;
|
|
116
|
+
--basecolors-shape-train-contrast: #60a2d7;
|
|
117
|
+
--basecolors-shape-train-default: #60a2d7;
|
|
118
|
+
--basecolors-shape-tram-contrast: #b898e5;
|
|
119
|
+
--basecolors-shape-tram-default: #b898e5;
|
|
120
|
+
--basecolors-shape-walk-contrast: #8d8e9c;
|
|
121
|
+
--basecolors-shape-walk-default: #8d8e9c;
|
|
122
|
+
--basecolors-shape-airportlinkbus-contrast: #f2b8e5;
|
|
123
|
+
--basecolors-shape-airportlinkbus-default: #f2b8e5;
|
|
124
|
+
--basecolors-shape-airportlinkrail-contrast: #f2b8e5;
|
|
125
|
+
--basecolors-shape-airportlinkrail-default: #f2b8e5;
|
|
126
|
+
--basecolors-stroke-contrast: #aeb7e2;
|
|
127
|
+
--basecolors-stroke-default: #b3b4bd;
|
|
128
|
+
--basecolors-stroke-disabled: #e3e6e8;
|
|
129
|
+
--basecolors-stroke-focus-contrast: #aeb7e2;
|
|
130
|
+
--basecolors-stroke-focus-standard: #aeb7e2;
|
|
131
|
+
--basecolors-stroke-highlight: #ff9494;
|
|
132
|
+
--basecolors-stroke-light: #b3b4bd;
|
|
133
|
+
--basecolors-stroke-subdued: #81828f;
|
|
134
|
+
--basecolors-stroke-subduedalt: #949699;
|
|
135
|
+
--basecolors-text-accent: #e5e5e9;
|
|
136
|
+
--basecolors-text-disabled: #b6b8ba;
|
|
137
|
+
--basecolors-text-disabledalt: #b6b8ba;
|
|
138
|
+
--basecolors-text-highlight: #ff9494;
|
|
139
|
+
--basecolors-text-light: #e5e5e9;
|
|
140
|
+
--basecolors-text-subdued: #b3b4bd;
|
|
141
|
+
--basecolors-text-subduedalt: #b3b4bd;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/*
|
|
145
|
+
* Typography Display Modes
|
|
146
|
+
*
|
|
147
|
+
* This system allows you to control typography scaling based on display size.
|
|
148
|
+
* Use the display-mode attribute to switch between different typography scales:
|
|
149
|
+
*
|
|
150
|
+
* - Default/Mobile: [display-mode='mobile'] or no attribute (responsive)
|
|
151
|
+
* - Large Display: [display-mode='large'] for big screens, kiosks, etc.
|
|
152
|
+
*
|
|
153
|
+
* Usage:
|
|
154
|
+
* <html display-mode="large"> or <div display-mode="large">
|
|
155
|
+
*
|
|
156
|
+
* The system automatically handles responsive behavior within each mode.
|
|
157
|
+
*/
|
|
158
|
+
/* Primitive size */
|
|
159
|
+
:root {
|
|
160
|
+
/* Mode 1 */
|
|
161
|
+
/* number */
|
|
162
|
+
--size-0: 0rem;
|
|
163
|
+
--size-1: 0.0625rem;
|
|
164
|
+
--size-2: 0.125rem;
|
|
165
|
+
--size-3: 0.25rem;
|
|
166
|
+
--size-4: 0.375rem;
|
|
167
|
+
--size-5: 0.5rem;
|
|
168
|
+
--size-6: 0.75rem;
|
|
169
|
+
--size-7: 0.875rem;
|
|
170
|
+
--size-8: 1rem;
|
|
171
|
+
--size-9: 1.25rem;
|
|
172
|
+
--size-10: 1.5rem;
|
|
173
|
+
--size-11: 1.75rem;
|
|
174
|
+
--size-12: 2rem;
|
|
175
|
+
--size-13: 2.25rem;
|
|
176
|
+
--size-14: 2.5rem;
|
|
177
|
+
--size-15: 2.75rem;
|
|
178
|
+
--size-16: 3rem;
|
|
179
|
+
--size-17: 3.25rem;
|
|
180
|
+
--size-18: 3.5rem;
|
|
181
|
+
--size-19: 4rem;
|
|
182
|
+
--size-20: 4.5rem;
|
|
183
|
+
--size-21: 5rem;
|
|
184
|
+
--size-22: 5.5rem;
|
|
185
|
+
--size-23: 6rem;
|
|
186
|
+
--size-24: 6.5rem;
|
|
187
|
+
--size-25: 7rem;
|
|
188
|
+
--size-26: 7.5rem;
|
|
189
|
+
--size-27: 8rem;
|
|
190
|
+
--size-28: 8.5rem;
|
|
191
|
+
--size-29: 9rem;
|
|
192
|
+
--size-30: 9.5rem;
|
|
193
|
+
--size-31: 10rem;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:root,
|
|
197
|
+
[display-mode=mobile] {
|
|
198
|
+
/* Mobile/Default mode - number */
|
|
199
|
+
--font-line-height-body-xs: var(--size-7);
|
|
200
|
+
--font-line-height-body-s: var(--size-8);
|
|
201
|
+
--font-line-height-body-lg: var(--size-9);
|
|
202
|
+
--font-line-height-body-m: var(--size-9);
|
|
203
|
+
--font-line-height-body-xl: var(--size-10);
|
|
204
|
+
--font-line-height-heading-s: var(--size-7);
|
|
205
|
+
--font-line-height-heading-xs: var(--size-7);
|
|
206
|
+
--font-line-height-heading-m: var(--size-8);
|
|
207
|
+
--font-line-height-heading-lg: var(--size-9);
|
|
208
|
+
--font-line-height-heading-xl: var(--size-10);
|
|
209
|
+
--font-line-height-heading-2xl: var(--size-11);
|
|
210
|
+
--font-paragraph-spacing-body-xs: var(--size-4);
|
|
211
|
+
--font-paragraph-spacing-body-s: var(--size-5);
|
|
212
|
+
--font-paragraph-spacing-body-m: var(--size-7);
|
|
213
|
+
--font-paragraph-spacing-body-lg: var(--size-8);
|
|
214
|
+
--font-paragraph-spacing-body-xl: var(--size-8);
|
|
215
|
+
--font-paragraph-spacing-heading-s: var(--size-4);
|
|
216
|
+
--font-paragraph-spacing-heading-xs: var(--size-4);
|
|
217
|
+
--font-paragraph-spacing-heading-lg: var(--size-5);
|
|
218
|
+
--font-paragraph-spacing-heading-m: var(--size-5);
|
|
219
|
+
--font-paragraph-spacing-heading-2xl: var(--size-7);
|
|
220
|
+
--font-paragraph-spacing-heading-xl: var(--size-7);
|
|
221
|
+
--font-size-body-xs: var(--size-5);
|
|
222
|
+
--font-size-body-s: var(--size-6);
|
|
223
|
+
--font-size-body-lg: var(--size-7);
|
|
224
|
+
--font-size-body-m: var(--size-7);
|
|
225
|
+
--font-size-body-xl: var(--size-8);
|
|
226
|
+
--font-size-heading-xs: var(--size-5);
|
|
227
|
+
--font-size-heading-s: var(--size-6);
|
|
228
|
+
--font-size-heading-m: var(--size-7);
|
|
229
|
+
--font-size-heading-lg: var(--size-8);
|
|
230
|
+
--font-size-heading-xl: var(--size-9);
|
|
231
|
+
--font-size-heading-2xl: var(--size-10);
|
|
232
|
+
/* string */
|
|
233
|
+
--font-family-nationale: Nationale;
|
|
234
|
+
--font-weight-body: 500;
|
|
235
|
+
--font-weight-heading: 600;
|
|
236
|
+
}
|
|
237
|
+
@media screen and (min-width: 50rem) {
|
|
238
|
+
:root,
|
|
239
|
+
[display-mode=mobile] {
|
|
240
|
+
/* Desktop override for mobile mode - number */
|
|
241
|
+
/* number */
|
|
242
|
+
--font-line-height-body-xs: var(--size-7);
|
|
243
|
+
--font-line-height-body-s: var(--size-8);
|
|
244
|
+
--font-line-height-body-m: var(--size-9);
|
|
245
|
+
--font-line-height-body-lg: var(--size-10);
|
|
246
|
+
--font-line-height-body-xl: var(--size-11);
|
|
247
|
+
--font-line-height-heading-xs: var(--size-7);
|
|
248
|
+
--font-line-height-heading-s: var(--size-8);
|
|
249
|
+
--font-line-height-heading-m: var(--size-9);
|
|
250
|
+
--font-line-height-heading-lg: var(--size-10);
|
|
251
|
+
--font-line-height-heading-xl: var(--size-12);
|
|
252
|
+
--font-line-height-heading-2xl: var(--size-14);
|
|
253
|
+
--font-paragraph-spacing-body-xs: var(--size-4);
|
|
254
|
+
--font-paragraph-spacing-body-s: var(--size-5);
|
|
255
|
+
--font-paragraph-spacing-body-m: var(--size-7);
|
|
256
|
+
--font-paragraph-spacing-body-lg: var(--size-9);
|
|
257
|
+
--font-paragraph-spacing-body-xl: var(--size-9);
|
|
258
|
+
--font-paragraph-spacing-heading-xs: var(--size-4);
|
|
259
|
+
--font-paragraph-spacing-heading-m: var(--size-5);
|
|
260
|
+
--font-paragraph-spacing-heading-s: var(--size-5);
|
|
261
|
+
--font-paragraph-spacing-heading-lg: var(--size-7);
|
|
262
|
+
--font-paragraph-spacing-heading-xl: var(--size-8);
|
|
263
|
+
--font-paragraph-spacing-heading-2xl: var(--size-9);
|
|
264
|
+
--font-size-body-xs: var(--size-5);
|
|
265
|
+
--font-size-body-s: var(--size-6);
|
|
266
|
+
--font-size-body-m: var(--size-7);
|
|
267
|
+
--font-size-body-lg: var(--size-8);
|
|
268
|
+
--font-size-body-xl: var(--size-9);
|
|
269
|
+
--font-size-heading-xs: var(--size-6);
|
|
270
|
+
--font-size-heading-s: var(--size-7);
|
|
271
|
+
--font-size-heading-m: var(--size-8);
|
|
272
|
+
--font-size-heading-lg: var(--size-9);
|
|
273
|
+
--font-size-heading-xl: var(--size-11);
|
|
274
|
+
--font-size-heading-2xl: var(--size-13);
|
|
275
|
+
/* string */
|
|
276
|
+
--font-family-nationale: Nationale;
|
|
277
|
+
--font-weight-body: 500;
|
|
278
|
+
--font-weight-heading: 600;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
[display-mode=large] {
|
|
283
|
+
/* number */
|
|
284
|
+
--font-line-height-body-xs: var(--size-10);
|
|
285
|
+
--font-line-height-body-s: var(--size-11);
|
|
286
|
+
--font-line-height-body-m: var(--size-14);
|
|
287
|
+
--font-line-height-body-lg: var(--size-17);
|
|
288
|
+
--font-line-height-body-xl: var(--size-18);
|
|
289
|
+
--font-line-height-heading-xs: var(--size-10);
|
|
290
|
+
--font-line-height-heading-s: var(--size-12);
|
|
291
|
+
--font-line-height-heading-m: var(--size-14);
|
|
292
|
+
--font-line-height-heading-lg: var(--size-17);
|
|
293
|
+
--font-line-height-heading-xl: var(--size-19);
|
|
294
|
+
--font-line-height-heading-2xl: var(--size-20);
|
|
295
|
+
--font-paragraph-spacing-body-xs: var(--size-8);
|
|
296
|
+
--font-paragraph-spacing-body-s: var(--size-9);
|
|
297
|
+
--font-paragraph-spacing-body-m: var(--size-11);
|
|
298
|
+
--font-paragraph-spacing-body-lg: var(--size-13);
|
|
299
|
+
--font-paragraph-spacing-body-xl: var(--size-15);
|
|
300
|
+
--font-paragraph-spacing-heading-xs: var(--size-5);
|
|
301
|
+
--font-paragraph-spacing-heading-s: var(--size-7);
|
|
302
|
+
--font-paragraph-spacing-heading-m: var(--size-8);
|
|
303
|
+
--font-paragraph-spacing-heading-lg: var(--size-9);
|
|
304
|
+
--font-paragraph-spacing-heading-xl: var(--size-11);
|
|
305
|
+
--font-paragraph-spacing-heading-2xl: var(--size-12);
|
|
306
|
+
--font-size-body-xs: var(--size-8);
|
|
307
|
+
--font-size-body-s: var(--size-9);
|
|
308
|
+
--font-size-body-m: var(--size-11);
|
|
309
|
+
--font-size-body-lg: var(--size-13);
|
|
310
|
+
--font-size-body-xl: var(--size-15);
|
|
311
|
+
--font-size-heading-xs: var(--size-9);
|
|
312
|
+
--font-size-heading-s: var(--size-11);
|
|
313
|
+
--font-size-heading-m: var(--size-13);
|
|
314
|
+
--font-size-heading-lg: var(--size-15);
|
|
315
|
+
--font-size-heading-xl: var(--size-18);
|
|
316
|
+
--font-size-heading-2xl: var(--size-19);
|
|
317
|
+
/* string */
|
|
318
|
+
--font-family-nationale: Nationale;
|
|
319
|
+
--font-weight-body: 500;
|
|
320
|
+
--font-weight-heading: 600;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.eds-heading {
|
|
324
|
+
color: var(--primary-text-color);
|
|
325
|
+
font-weight: var(--font-weight-heading);
|
|
326
|
+
-webkit-font-smoothing: antialiased;
|
|
327
|
+
margin: 0;
|
|
328
|
+
}
|
|
329
|
+
.eds-heading--2xl {
|
|
330
|
+
font-size: var(--font-size-heading-2xl);
|
|
331
|
+
line-height: var(--font-line-height-heading-2xl);
|
|
332
|
+
}
|
|
333
|
+
.eds-heading--xl {
|
|
334
|
+
font-size: var(--font-size-heading-xl);
|
|
335
|
+
line-height: var(--font-line-height-heading-xl);
|
|
336
|
+
}
|
|
337
|
+
.eds-heading--lg {
|
|
338
|
+
font-size: var(--font-size-heading-lg);
|
|
339
|
+
line-height: var(--font-line-height-heading-lg);
|
|
340
|
+
}
|
|
341
|
+
.eds-heading--m {
|
|
342
|
+
font-size: var(--font-size-heading-m);
|
|
343
|
+
line-height: var(--font-line-height-heading-m);
|
|
344
|
+
}
|
|
345
|
+
.eds-heading--s {
|
|
346
|
+
font-size: var(--font-size-heading-s);
|
|
347
|
+
line-height: var(--font-line-height-heading-s);
|
|
348
|
+
}
|
|
349
|
+
.eds-heading--xs {
|
|
350
|
+
font-size: var(--font-size-heading-xs);
|
|
351
|
+
line-height: var(--font-line-height-heading-xs);
|
|
352
|
+
}
|
|
353
|
+
.eds-heading--title-1 {
|
|
354
|
+
font-size: var(--font-size-heading-2xl);
|
|
355
|
+
line-height: var(--font-line-height-heading-2xl);
|
|
356
|
+
margin-bottom: var(--font-paragraph-spacing-heading-lg);
|
|
357
|
+
}
|
|
358
|
+
.eds-heading--title-2 {
|
|
359
|
+
font-size: var(--font-size-heading-xl);
|
|
360
|
+
line-height: var(--font-line-height-heading-xl);
|
|
361
|
+
margin-bottom: var(--font-paragraph-spacing-heading-xl);
|
|
362
|
+
}
|
|
363
|
+
.eds-heading--subtitle-1 {
|
|
364
|
+
font-size: var(--font-size-heading-lg);
|
|
365
|
+
line-height: var(--font-line-height-heading-lg);
|
|
366
|
+
margin-bottom: var(--font-paragraph-spacing-heading-lg);
|
|
367
|
+
}
|
|
368
|
+
.eds-heading--subtitle-2 {
|
|
369
|
+
font-size: var(--font-size-heading-m);
|
|
370
|
+
line-height: var(--font-line-height-heading-m);
|
|
371
|
+
margin-bottom: var(--font-paragraph-spacing-heading-m);
|
|
372
|
+
}
|
|
373
|
+
.eds-heading--section-1 {
|
|
374
|
+
font-size: var(--font-size-heading-s);
|
|
375
|
+
line-height: var(--font-line-height-heading-s);
|
|
376
|
+
margin-bottom: var(--font-paragraph-spacing-heading-s);
|
|
377
|
+
}
|
|
378
|
+
.eds-heading--section-2 {
|
|
379
|
+
font-size: var(--font-size-heading-s);
|
|
380
|
+
line-height: var(--font-line-height-heading-s);
|
|
381
|
+
margin-bottom: var(--font-paragraph-spacing-heading-xs);
|
|
382
|
+
}
|
|
383
|
+
.eds-heading--spacing-none {
|
|
384
|
+
margin-top: 0;
|
|
385
|
+
margin-bottom: 0;
|
|
386
|
+
}
|
|
387
|
+
.eds-heading--spacing-xs2 {
|
|
388
|
+
margin-top: 0.25rem;
|
|
389
|
+
margin-bottom: 0.25rem;
|
|
390
|
+
}
|
|
391
|
+
.eds-heading--spacing-xs2-top {
|
|
392
|
+
margin-top: 0.25rem;
|
|
393
|
+
margin-bottom: 0;
|
|
394
|
+
}
|
|
395
|
+
.eds-heading--spacing-xs2-bottom {
|
|
396
|
+
margin-top: 0;
|
|
397
|
+
margin-bottom: 0.25rem;
|
|
398
|
+
}
|
|
399
|
+
.eds-heading--spacing-xs {
|
|
400
|
+
margin-top: 0.5rem;
|
|
401
|
+
margin-bottom: 0.5rem;
|
|
402
|
+
}
|
|
403
|
+
.eds-heading--spacing-xs-top {
|
|
404
|
+
margin-top: 0.5rem;
|
|
405
|
+
margin-bottom: 0;
|
|
406
|
+
}
|
|
407
|
+
.eds-heading--spacing-xs-bottom {
|
|
408
|
+
margin-top: 0;
|
|
409
|
+
margin-bottom: 0.5rem;
|
|
410
|
+
}
|
|
411
|
+
.eds-heading--spacing-sm {
|
|
412
|
+
margin-top: 0.75rem;
|
|
413
|
+
margin-bottom: 0.75rem;
|
|
414
|
+
}
|
|
415
|
+
.eds-heading--spacing-sm-top {
|
|
416
|
+
margin-top: 0.75rem;
|
|
417
|
+
margin-bottom: 0;
|
|
418
|
+
}
|
|
419
|
+
.eds-heading--spacing-sm-bottom {
|
|
420
|
+
margin-top: 0;
|
|
421
|
+
margin-bottom: 0.75rem;
|
|
422
|
+
}
|
|
423
|
+
.eds-heading--spacing-md {
|
|
424
|
+
margin-top: 1rem;
|
|
425
|
+
margin-bottom: 1rem;
|
|
426
|
+
}
|
|
427
|
+
.eds-heading--spacing-md-top {
|
|
428
|
+
margin-top: 1rem;
|
|
429
|
+
margin-bottom: 0;
|
|
430
|
+
}
|
|
431
|
+
.eds-heading--spacing-md-bottom {
|
|
432
|
+
margin-top: 0;
|
|
433
|
+
margin-bottom: 1rem;
|
|
434
|
+
}
|
|
435
|
+
.eds-heading--spacing-lg {
|
|
436
|
+
margin-top: 1.5rem;
|
|
437
|
+
margin-bottom: 1.5rem;
|
|
438
|
+
}
|
|
439
|
+
.eds-heading--spacing-lg-top {
|
|
440
|
+
margin-top: 1.5rem;
|
|
441
|
+
margin-bottom: 0;
|
|
442
|
+
}
|
|
443
|
+
.eds-heading--spacing-lg-bottom {
|
|
444
|
+
margin-top: 0;
|
|
445
|
+
margin-bottom: 1.5rem;
|
|
446
|
+
}
|
|
447
|
+
.eds-heading--spacing-xl {
|
|
448
|
+
margin-top: 2rem;
|
|
449
|
+
margin-bottom: 2rem;
|
|
450
|
+
}
|
|
451
|
+
.eds-heading--spacing-xl-top {
|
|
452
|
+
margin-top: 2rem;
|
|
453
|
+
margin-bottom: 0;
|
|
454
|
+
}
|
|
455
|
+
.eds-heading--spacing-xl-bottom {
|
|
456
|
+
margin-top: 0;
|
|
457
|
+
margin-bottom: 2rem;
|
|
458
|
+
}
|