@nswds/tokens 3.2.0 → 3.4.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/dist/css/border/global.css +6 -0
- package/dist/css/shadow/global.css +12 -0
- package/dist/css/typography/global.css +1 -0
- package/dist/css/typography/semantic.css +56 -0
- package/dist/index.cjs +522 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +396 -0
- package/dist/index.d.ts +396 -0
- package/dist/index.js +522 -90
- package/dist/index.js.map +1 -1
- package/dist/js/border/global.js +6 -0
- package/dist/js/shadow/global.js +16 -0
- package/dist/js/typography/global.js +1 -0
- package/dist/js/typography/semantic.js +72 -0
- package/dist/json/border/global.json +8 -0
- package/dist/json/shadow/global.json +18 -0
- package/dist/json/typography/global.json +2 -1
- package/dist/json/typography/semantic.json +65 -0
- package/dist/less/border/global.less +4 -0
- package/dist/less/shadow/global.less +10 -0
- package/dist/less/typography/global.less +1 -0
- package/dist/less/typography/semantic.less +45 -0
- package/dist/scss/border/global.scss +4 -0
- package/dist/scss/shadow/global.scss +10 -0
- package/dist/scss/typography/global.scss +1 -0
- package/dist/scss/typography/semantic.scss +45 -0
- package/dist/tailwind/border/global.css +6 -0
- package/dist/tailwind/shadow/global.css +12 -0
- package/dist/tailwind/typography/global.css +1 -0
- package/dist/tokens/border.base.json +33 -0
- package/dist/tokens/global/border/canonical.json +33 -0
- package/dist/tokens/global/shadow/canonical.json +286 -0
- package/dist/tokens/global/typography/canonical.json +5 -0
- package/dist/tokens/semantic/typography/canonical.json +103 -0
- package/dist/tokens/typography.base.json +5 -0
- package/dist/ts/border/global.ts +6 -0
- package/dist/ts/shadow/global.ts +16 -0
- package/dist/ts/typography/global.ts +1 -0
- package/dist/ts/typography/semantic.ts +72 -0
- package/package.json +1 -1
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
{
|
|
2
|
+
"box-shadow": {
|
|
3
|
+
"thin": {
|
|
4
|
+
"$type": "shadow",
|
|
5
|
+
"$description": "Thin inset ring (inset 0 0 0 border-width.thin) — border-via-shadow that does not affect layout; renders with currentColor.",
|
|
6
|
+
"$value": {
|
|
7
|
+
"inset": true,
|
|
8
|
+
"offsetX": {
|
|
9
|
+
"value": 0,
|
|
10
|
+
"unit": "px"
|
|
11
|
+
},
|
|
12
|
+
"offsetY": {
|
|
13
|
+
"value": 0,
|
|
14
|
+
"unit": "px"
|
|
15
|
+
},
|
|
16
|
+
"blur": {
|
|
17
|
+
"value": 0,
|
|
18
|
+
"unit": "px"
|
|
19
|
+
},
|
|
20
|
+
"spread": "{border-width.thin}"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"thick": {
|
|
24
|
+
"$type": "shadow",
|
|
25
|
+
"$description": "Thick inset ring (inset 0 0 0 border-width.thick) — emphasis/selected outline; renders with currentColor.",
|
|
26
|
+
"$value": {
|
|
27
|
+
"inset": true,
|
|
28
|
+
"offsetX": {
|
|
29
|
+
"value": 0,
|
|
30
|
+
"unit": "px"
|
|
31
|
+
},
|
|
32
|
+
"offsetY": {
|
|
33
|
+
"value": 0,
|
|
34
|
+
"unit": "px"
|
|
35
|
+
},
|
|
36
|
+
"blur": {
|
|
37
|
+
"value": 0,
|
|
38
|
+
"unit": "px"
|
|
39
|
+
},
|
|
40
|
+
"spread": "{border-width.thick}"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"thicker": {
|
|
44
|
+
"$type": "shadow",
|
|
45
|
+
"$description": "Thicker inset ring (inset 0 0 0 border-width.thicker) — focus indication; renders with currentColor.",
|
|
46
|
+
"$value": {
|
|
47
|
+
"inset": true,
|
|
48
|
+
"offsetX": {
|
|
49
|
+
"value": 0,
|
|
50
|
+
"unit": "px"
|
|
51
|
+
},
|
|
52
|
+
"offsetY": {
|
|
53
|
+
"value": 0,
|
|
54
|
+
"unit": "px"
|
|
55
|
+
},
|
|
56
|
+
"blur": {
|
|
57
|
+
"value": 0,
|
|
58
|
+
"unit": "px"
|
|
59
|
+
},
|
|
60
|
+
"spread": "{border-width.thicker}"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"shadow-color": {
|
|
65
|
+
"5": {
|
|
66
|
+
"$type": "color",
|
|
67
|
+
"$description": "Shadow black at 5% alpha — the faintest elevation tint. Step name is the alpha percentage.",
|
|
68
|
+
"$value": {
|
|
69
|
+
"colorSpace": "srgb",
|
|
70
|
+
"components": [
|
|
71
|
+
0,
|
|
72
|
+
0,
|
|
73
|
+
0
|
|
74
|
+
],
|
|
75
|
+
"alpha": 0.05,
|
|
76
|
+
"hex": "#000000"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"10": {
|
|
80
|
+
"$type": "color",
|
|
81
|
+
"$description": "Shadow black at 10% alpha — the standard elevation tint. Step name is the alpha percentage.",
|
|
82
|
+
"$value": {
|
|
83
|
+
"colorSpace": "srgb",
|
|
84
|
+
"components": [
|
|
85
|
+
0,
|
|
86
|
+
0,
|
|
87
|
+
0
|
|
88
|
+
],
|
|
89
|
+
"alpha": 0.1,
|
|
90
|
+
"hex": "#000000"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"25": {
|
|
94
|
+
"$type": "color",
|
|
95
|
+
"$description": "Shadow black at 25% alpha — strong elevation for overlays/modals. Step name is the alpha percentage.",
|
|
96
|
+
"$value": {
|
|
97
|
+
"colorSpace": "srgb",
|
|
98
|
+
"components": [
|
|
99
|
+
0,
|
|
100
|
+
0,
|
|
101
|
+
0
|
|
102
|
+
],
|
|
103
|
+
"alpha": 0.25,
|
|
104
|
+
"hex": "#000000"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"shadow": {
|
|
109
|
+
"sm": {
|
|
110
|
+
"$type": "shadow",
|
|
111
|
+
"$description": "Small elevation — cards and raised controls (Tailwind shadow-sm geometry). DRAFT pending design review.",
|
|
112
|
+
"$value": [
|
|
113
|
+
{
|
|
114
|
+
"offsetX": {
|
|
115
|
+
"value": 0,
|
|
116
|
+
"unit": "px"
|
|
117
|
+
},
|
|
118
|
+
"offsetY": {
|
|
119
|
+
"value": 1,
|
|
120
|
+
"unit": "px"
|
|
121
|
+
},
|
|
122
|
+
"blur": {
|
|
123
|
+
"value": 3,
|
|
124
|
+
"unit": "px"
|
|
125
|
+
},
|
|
126
|
+
"spread": {
|
|
127
|
+
"value": 0,
|
|
128
|
+
"unit": "px"
|
|
129
|
+
},
|
|
130
|
+
"color": "{shadow-color.10}"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"offsetX": {
|
|
134
|
+
"value": 0,
|
|
135
|
+
"unit": "px"
|
|
136
|
+
},
|
|
137
|
+
"offsetY": {
|
|
138
|
+
"value": 1,
|
|
139
|
+
"unit": "px"
|
|
140
|
+
},
|
|
141
|
+
"blur": {
|
|
142
|
+
"value": 2,
|
|
143
|
+
"unit": "px"
|
|
144
|
+
},
|
|
145
|
+
"spread": {
|
|
146
|
+
"value": -1,
|
|
147
|
+
"unit": "px"
|
|
148
|
+
},
|
|
149
|
+
"color": "{shadow-color.10}"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"md": {
|
|
154
|
+
"$type": "shadow",
|
|
155
|
+
"$description": "Medium elevation — dropdowns and popovers (Tailwind shadow-md geometry). DRAFT pending design review.",
|
|
156
|
+
"$value": [
|
|
157
|
+
{
|
|
158
|
+
"offsetX": {
|
|
159
|
+
"value": 0,
|
|
160
|
+
"unit": "px"
|
|
161
|
+
},
|
|
162
|
+
"offsetY": {
|
|
163
|
+
"value": 4,
|
|
164
|
+
"unit": "px"
|
|
165
|
+
},
|
|
166
|
+
"blur": {
|
|
167
|
+
"value": 6,
|
|
168
|
+
"unit": "px"
|
|
169
|
+
},
|
|
170
|
+
"spread": {
|
|
171
|
+
"value": -1,
|
|
172
|
+
"unit": "px"
|
|
173
|
+
},
|
|
174
|
+
"color": "{shadow-color.10}"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"offsetX": {
|
|
178
|
+
"value": 0,
|
|
179
|
+
"unit": "px"
|
|
180
|
+
},
|
|
181
|
+
"offsetY": {
|
|
182
|
+
"value": 2,
|
|
183
|
+
"unit": "px"
|
|
184
|
+
},
|
|
185
|
+
"blur": {
|
|
186
|
+
"value": 4,
|
|
187
|
+
"unit": "px"
|
|
188
|
+
},
|
|
189
|
+
"spread": {
|
|
190
|
+
"value": -2,
|
|
191
|
+
"unit": "px"
|
|
192
|
+
},
|
|
193
|
+
"color": "{shadow-color.10}"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
"lg": {
|
|
198
|
+
"$type": "shadow",
|
|
199
|
+
"$description": "Large elevation — dialogs and floating panels (Tailwind shadow-lg geometry). DRAFT pending design review.",
|
|
200
|
+
"$value": [
|
|
201
|
+
{
|
|
202
|
+
"offsetX": {
|
|
203
|
+
"value": 0,
|
|
204
|
+
"unit": "px"
|
|
205
|
+
},
|
|
206
|
+
"offsetY": {
|
|
207
|
+
"value": 10,
|
|
208
|
+
"unit": "px"
|
|
209
|
+
},
|
|
210
|
+
"blur": {
|
|
211
|
+
"value": 15,
|
|
212
|
+
"unit": "px"
|
|
213
|
+
},
|
|
214
|
+
"spread": {
|
|
215
|
+
"value": -3,
|
|
216
|
+
"unit": "px"
|
|
217
|
+
},
|
|
218
|
+
"color": "{shadow-color.10}"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"offsetX": {
|
|
222
|
+
"value": 0,
|
|
223
|
+
"unit": "px"
|
|
224
|
+
},
|
|
225
|
+
"offsetY": {
|
|
226
|
+
"value": 4,
|
|
227
|
+
"unit": "px"
|
|
228
|
+
},
|
|
229
|
+
"blur": {
|
|
230
|
+
"value": 6,
|
|
231
|
+
"unit": "px"
|
|
232
|
+
},
|
|
233
|
+
"spread": {
|
|
234
|
+
"value": -4,
|
|
235
|
+
"unit": "px"
|
|
236
|
+
},
|
|
237
|
+
"color": "{shadow-color.10}"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"xl": {
|
|
242
|
+
"$type": "shadow",
|
|
243
|
+
"$description": "Extra-large elevation — modals and full overlays (Tailwind shadow-xl geometry). DRAFT pending design review.",
|
|
244
|
+
"$value": [
|
|
245
|
+
{
|
|
246
|
+
"offsetX": {
|
|
247
|
+
"value": 0,
|
|
248
|
+
"unit": "px"
|
|
249
|
+
},
|
|
250
|
+
"offsetY": {
|
|
251
|
+
"value": 20,
|
|
252
|
+
"unit": "px"
|
|
253
|
+
},
|
|
254
|
+
"blur": {
|
|
255
|
+
"value": 25,
|
|
256
|
+
"unit": "px"
|
|
257
|
+
},
|
|
258
|
+
"spread": {
|
|
259
|
+
"value": -5,
|
|
260
|
+
"unit": "px"
|
|
261
|
+
},
|
|
262
|
+
"color": "{shadow-color.10}"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"offsetX": {
|
|
266
|
+
"value": 0,
|
|
267
|
+
"unit": "px"
|
|
268
|
+
},
|
|
269
|
+
"offsetY": {
|
|
270
|
+
"value": 8,
|
|
271
|
+
"unit": "px"
|
|
272
|
+
},
|
|
273
|
+
"blur": {
|
|
274
|
+
"value": 10,
|
|
275
|
+
"unit": "px"
|
|
276
|
+
},
|
|
277
|
+
"spread": {
|
|
278
|
+
"value": -6,
|
|
279
|
+
"unit": "px"
|
|
280
|
+
},
|
|
281
|
+
"color": "{shadow-color.10}"
|
|
282
|
+
}
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
@@ -186,6 +186,11 @@
|
|
|
186
186
|
"$type": "fontWeight",
|
|
187
187
|
"$description": "Bold (700) — highest emphasis; key figures and primary headings.",
|
|
188
188
|
"$value": 700
|
|
189
|
+
},
|
|
190
|
+
"extrabold": {
|
|
191
|
+
"$type": "fontWeight",
|
|
192
|
+
"$description": "Extrabold (800) — hero/display headings (the prose scale uses 800 for h1).",
|
|
193
|
+
"$value": 800
|
|
189
194
|
}
|
|
190
195
|
},
|
|
191
196
|
"line-height": {
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"typography": {
|
|
3
|
+
"heading-1": {
|
|
4
|
+
"$type": "typography",
|
|
5
|
+
"$description": "Page title — prose h1 at the base size (36px/800). Prose pairs 36px with 40/36 ≈ 1.11; tight (1.2) is the nearest primitive — flag for design.",
|
|
6
|
+
"$value": {
|
|
7
|
+
"fontFamily": "{font-family.display}",
|
|
8
|
+
"fontSize": "{font-size.36}",
|
|
9
|
+
"fontWeight": "{font-weight.extrabold}",
|
|
10
|
+
"letterSpacing": "{letter-spacing.tight}",
|
|
11
|
+
"lineHeight": "{line-height.tight}"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"heading-2": {
|
|
15
|
+
"$type": "typography",
|
|
16
|
+
"$description": "Section heading — prose h2 pairing (24px/700, 32/24 = snug exactly).",
|
|
17
|
+
"$value": {
|
|
18
|
+
"fontFamily": "{font-family.display}",
|
|
19
|
+
"fontSize": "{font-size.24}",
|
|
20
|
+
"fontWeight": "{font-weight.bold}",
|
|
21
|
+
"letterSpacing": "{letter-spacing.normal}",
|
|
22
|
+
"lineHeight": "{line-height.snug}"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"heading-3": {
|
|
26
|
+
"$type": "typography",
|
|
27
|
+
"$description": "Sub-section heading — prose h3 pairing (20px/600, 32/20 = relaxed exactly).",
|
|
28
|
+
"$value": {
|
|
29
|
+
"fontFamily": "{font-family.display}",
|
|
30
|
+
"fontSize": "{font-size.20}",
|
|
31
|
+
"fontWeight": "{font-weight.semibold}",
|
|
32
|
+
"letterSpacing": "{letter-spacing.normal}",
|
|
33
|
+
"lineHeight": "{line-height.relaxed}"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"heading-4": {
|
|
37
|
+
"$type": "typography",
|
|
38
|
+
"$description": "Minor heading — prose h4 pairing (16px/600, 24/16 = base exactly).",
|
|
39
|
+
"$value": {
|
|
40
|
+
"fontFamily": "{font-family.display}",
|
|
41
|
+
"fontSize": "{font-size.16}",
|
|
42
|
+
"fontWeight": "{font-weight.semibold}",
|
|
43
|
+
"letterSpacing": "{letter-spacing.normal}",
|
|
44
|
+
"lineHeight": "{line-height.base}"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"body": {
|
|
48
|
+
"$type": "typography",
|
|
49
|
+
"$description": "Default body text — prose base pairing (16px/400, 28/16 = loose exactly).",
|
|
50
|
+
"$value": {
|
|
51
|
+
"fontFamily": "{font-family.sans}",
|
|
52
|
+
"fontSize": "{font-size.16}",
|
|
53
|
+
"fontWeight": "{font-weight.regular}",
|
|
54
|
+
"letterSpacing": "{letter-spacing.normal}",
|
|
55
|
+
"lineHeight": "{line-height.loose}"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"body-sm": {
|
|
59
|
+
"$type": "typography",
|
|
60
|
+
"$description": "Small body text — prose sm body (14px/400). Prose pairs 14px with 24/14 ≈ 1.714; loose (1.75) is the nearest primitive — flag for design.",
|
|
61
|
+
"$value": {
|
|
62
|
+
"fontFamily": "{font-family.sans}",
|
|
63
|
+
"fontSize": "{font-size.14}",
|
|
64
|
+
"fontWeight": "{font-weight.regular}",
|
|
65
|
+
"letterSpacing": "{letter-spacing.normal}",
|
|
66
|
+
"lineHeight": "{line-height.loose}"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"lead": {
|
|
70
|
+
"$type": "typography",
|
|
71
|
+
"$description": "Lead/intro paragraph — prose lead pairing at base (20px/400, 32/20 = relaxed exactly).",
|
|
72
|
+
"$value": {
|
|
73
|
+
"fontFamily": "{font-family.sans}",
|
|
74
|
+
"fontSize": "{font-size.20}",
|
|
75
|
+
"fontWeight": "{font-weight.regular}",
|
|
76
|
+
"letterSpacing": "{letter-spacing.normal}",
|
|
77
|
+
"lineHeight": "{line-height.relaxed}"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"caption": {
|
|
81
|
+
"$type": "typography",
|
|
82
|
+
"$description": "Captions, footnotes, and small labels (12px/400, wide tracking for legibility at small sizes).",
|
|
83
|
+
"$value": {
|
|
84
|
+
"fontFamily": "{font-family.sans}",
|
|
85
|
+
"fontSize": "{font-size.12}",
|
|
86
|
+
"fontWeight": "{font-weight.regular}",
|
|
87
|
+
"letterSpacing": "{letter-spacing.wide}",
|
|
88
|
+
"lineHeight": "{line-height.base}"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"code": {
|
|
92
|
+
"$type": "typography",
|
|
93
|
+
"$description": "Inline code and code blocks — prose code size at base (14px), JetBrains Mono. Prose pairs pre blocks with 24/14 ≈ 1.714; base (1.5) is the nearest primitive — flag for design.",
|
|
94
|
+
"$value": {
|
|
95
|
+
"fontFamily": "{font-family.mono}",
|
|
96
|
+
"fontSize": "{font-size.14}",
|
|
97
|
+
"fontWeight": "{font-weight.regular}",
|
|
98
|
+
"letterSpacing": "{letter-spacing.normal}",
|
|
99
|
+
"lineHeight": "{line-height.base}"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -186,6 +186,11 @@
|
|
|
186
186
|
"$type": "fontWeight",
|
|
187
187
|
"$description": "Bold (700) — highest emphasis; key figures and primary headings.",
|
|
188
188
|
"$value": 700
|
|
189
|
+
},
|
|
190
|
+
"extrabold": {
|
|
191
|
+
"$type": "fontWeight",
|
|
192
|
+
"$description": "Extrabold (800) — hero/display headings (the prose scale uses 800 for h1).",
|
|
193
|
+
"$value": 800
|
|
189
194
|
}
|
|
190
195
|
},
|
|
191
196
|
"line-height": {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const boxShadow = {
|
|
2
|
+
thin: 'inset 0 0 0 0.0625rem',
|
|
3
|
+
thick: 'inset 0 0 0 0.125rem',
|
|
4
|
+
thicker: 'inset 0 0 0 0.25rem',
|
|
5
|
+
}
|
|
6
|
+
export const shadowColor = {
|
|
7
|
+
'5': 'rgb(0 0 0 / 0.05)',
|
|
8
|
+
'10': 'rgb(0 0 0 / 0.1)',
|
|
9
|
+
'25': 'rgb(0 0 0 / 0.25)',
|
|
10
|
+
}
|
|
11
|
+
export const shadow = {
|
|
12
|
+
sm: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
|
|
13
|
+
md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
|
|
14
|
+
lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
|
|
15
|
+
xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
|
|
16
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export const heading1 = {
|
|
2
|
+
fontFamily:
|
|
3
|
+
"'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
4
|
+
fontSize: '2.25rem',
|
|
5
|
+
fontWeight: 800,
|
|
6
|
+
lineHeight: 1.2,
|
|
7
|
+
letterSpacing: '-0.0125em',
|
|
8
|
+
}
|
|
9
|
+
export const heading2 = {
|
|
10
|
+
fontFamily:
|
|
11
|
+
"'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
12
|
+
fontSize: '1.5rem',
|
|
13
|
+
fontWeight: 700,
|
|
14
|
+
lineHeight: 1.3333333,
|
|
15
|
+
letterSpacing: '0em',
|
|
16
|
+
}
|
|
17
|
+
export const heading3 = {
|
|
18
|
+
fontFamily:
|
|
19
|
+
"'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
20
|
+
fontSize: '1.25rem',
|
|
21
|
+
fontWeight: 600,
|
|
22
|
+
lineHeight: 1.6,
|
|
23
|
+
letterSpacing: '0em',
|
|
24
|
+
}
|
|
25
|
+
export const heading4 = {
|
|
26
|
+
fontFamily:
|
|
27
|
+
"'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
28
|
+
fontSize: '1rem',
|
|
29
|
+
fontWeight: 600,
|
|
30
|
+
lineHeight: 1.5,
|
|
31
|
+
letterSpacing: '0em',
|
|
32
|
+
}
|
|
33
|
+
export const body = {
|
|
34
|
+
fontFamily:
|
|
35
|
+
"'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
36
|
+
fontSize: '1rem',
|
|
37
|
+
fontWeight: 400,
|
|
38
|
+
lineHeight: 1.75,
|
|
39
|
+
letterSpacing: '0em',
|
|
40
|
+
}
|
|
41
|
+
export const bodySm = {
|
|
42
|
+
fontFamily:
|
|
43
|
+
"'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
44
|
+
fontSize: '0.875rem',
|
|
45
|
+
fontWeight: 400,
|
|
46
|
+
lineHeight: 1.75,
|
|
47
|
+
letterSpacing: '0em',
|
|
48
|
+
}
|
|
49
|
+
export const lead = {
|
|
50
|
+
fontFamily:
|
|
51
|
+
"'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
52
|
+
fontSize: '1.25rem',
|
|
53
|
+
fontWeight: 400,
|
|
54
|
+
lineHeight: 1.6,
|
|
55
|
+
letterSpacing: '0em',
|
|
56
|
+
}
|
|
57
|
+
export const caption = {
|
|
58
|
+
fontFamily:
|
|
59
|
+
"'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
60
|
+
fontSize: '0.75rem',
|
|
61
|
+
fontWeight: 400,
|
|
62
|
+
lineHeight: 1.5,
|
|
63
|
+
letterSpacing: '0.025em',
|
|
64
|
+
}
|
|
65
|
+
export const code = {
|
|
66
|
+
fontFamily:
|
|
67
|
+
"'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace",
|
|
68
|
+
fontSize: '0.875rem',
|
|
69
|
+
fontWeight: 400,
|
|
70
|
+
lineHeight: 1.5,
|
|
71
|
+
letterSpacing: '0em',
|
|
72
|
+
}
|