@orange-halo/tokens 2.0.0 → 2.2.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/contrast-pairs.json +187 -30
- package/contrast.js +11 -2
- package/dist/brands/hood-dark.css +74 -0
- package/dist/brands/hood-dark.json +723 -0
- package/dist/brands/hood.css +434 -0
- package/dist/brands/hood.json +723 -0
- package/dist/brands/orange-halo-dark.css +78 -0
- package/dist/brands/orange-halo-dark.json +857 -0
- package/dist/brands/orange-halo.css +512 -0
- package/dist/brands/orange-halo.json +857 -0
- package/dist/themes/dark.css +11 -0
- package/dist/themes/dark.json +146 -72
- package/dist/tokens.css +113 -62
- package/dist/tokens.js +131 -64
- package/dist/tokens.json +146 -72
- package/package.json +3 -4
- package/tokens/brands/hood/brand.json +7 -0
- package/tokens/brands/hood/dark.tokens.json +295 -0
- package/tokens/brands/hood/light.tokens.json +875 -0
- package/tokens/brands/hood/palette.tokens.json +187 -0
- package/tokens/brands/orange-halo/brand.json +7 -0
- package/tokens/{themes → brands/orange-halo}/dark.tokens.json +57 -7
- package/tokens/{semantic.tokens.json → brands/orange-halo/light.tokens.json} +128 -3
- package/tokens/{global.tokens.json → brands/orange-halo/palette.tokens.json} +83 -205
- package/tokens/{component.tokens.json → core/component.tokens.json} +205 -51
- package/tokens/core/scales.tokens.json +170 -0
- package/dist/themes/light.css +0 -47
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Hood tier 2, dark mode: the default look, after fraser-hood.co.uk/gig-history. Sets every tier 2 colour.",
|
|
3
|
+
"grid": {
|
|
4
|
+
"$description": "The brand's layout grid. Spacing is multiples of half a unit; type sizes and line heights sit on it (see style-dictionary.config.js)",
|
|
5
|
+
"unit": "8px"
|
|
6
|
+
},
|
|
7
|
+
"color": {
|
|
8
|
+
"grey": {
|
|
9
|
+
"50": "#f7f7f7",
|
|
10
|
+
"100": "#ededed",
|
|
11
|
+
"200": "#dedede",
|
|
12
|
+
"300": "#c4c4c4",
|
|
13
|
+
"400": "#a8a8a8",
|
|
14
|
+
"500": "#929292",
|
|
15
|
+
"600": "#6b6b6b",
|
|
16
|
+
"650": "#575757",
|
|
17
|
+
"700": "#454545",
|
|
18
|
+
"750": "#363636",
|
|
19
|
+
"800": "#292929",
|
|
20
|
+
"850": "#1f1f1f",
|
|
21
|
+
"900": "#171717",
|
|
22
|
+
"950": "#0d0d0d",
|
|
23
|
+
"$description": "Neutral greys. 850, 800, 750 and 100 are the gig-history site's page, surface, line and text colours; 500 is its muted grey, a touch lighter"
|
|
24
|
+
},
|
|
25
|
+
"white": "#ffffff",
|
|
26
|
+
"black": "#000000",
|
|
27
|
+
"blue": {
|
|
28
|
+
"50": "#edf3fc",
|
|
29
|
+
"200": "#b3cdf2",
|
|
30
|
+
"300": "#93b8ec",
|
|
31
|
+
"700": "#1f5cb3",
|
|
32
|
+
"800": "#184a91",
|
|
33
|
+
"900": "#16263d",
|
|
34
|
+
"$description": "The one colour: accent and info"
|
|
35
|
+
},
|
|
36
|
+
"green": {
|
|
37
|
+
"50": "#ebf6ee",
|
|
38
|
+
"300": "#82cf9c",
|
|
39
|
+
"700": "#1d7238",
|
|
40
|
+
"900": "#142b1c",
|
|
41
|
+
"$description": "Success"
|
|
42
|
+
},
|
|
43
|
+
"red": {
|
|
44
|
+
"50": "#fceeee",
|
|
45
|
+
"100": "#fad4d4",
|
|
46
|
+
"300": "#f59a9a",
|
|
47
|
+
"700": "#b02525",
|
|
48
|
+
"800": "#8c1d1d",
|
|
49
|
+
"900": "#3a1717",
|
|
50
|
+
"$description": "Error"
|
|
51
|
+
},
|
|
52
|
+
"amber": {
|
|
53
|
+
"50": "#fcf4e3",
|
|
54
|
+
"300": "#ebc271",
|
|
55
|
+
"700": "#835600",
|
|
56
|
+
"900": "#33260e",
|
|
57
|
+
"$description": "Warning"
|
|
58
|
+
},
|
|
59
|
+
"brand": {
|
|
60
|
+
"primary": "#ffffff",
|
|
61
|
+
"primaryHover": "#dedede",
|
|
62
|
+
"primaryActive": "#c4c4c4",
|
|
63
|
+
"primarySubtle": "#292929",
|
|
64
|
+
"highlight": "#ededed",
|
|
65
|
+
"highlightSubtle": "#363636"
|
|
66
|
+
},
|
|
67
|
+
"accent": {
|
|
68
|
+
"default": "#93b8ec",
|
|
69
|
+
"hover": "#b3cdf2",
|
|
70
|
+
"active": "#93b8ec",
|
|
71
|
+
"subtle": "#16263d",
|
|
72
|
+
"shadow": "#16263d"
|
|
73
|
+
},
|
|
74
|
+
"feedback": {
|
|
75
|
+
"success": "#82cf9c",
|
|
76
|
+
"successSubtle": "#142b1c",
|
|
77
|
+
"error": "#f59a9a",
|
|
78
|
+
"errorHover": "#fad4d4",
|
|
79
|
+
"errorSubtle": "#3a1717",
|
|
80
|
+
"errorShadow": "#3a1717",
|
|
81
|
+
"warning": "#ebc271",
|
|
82
|
+
"warningSubtle": "#33260e",
|
|
83
|
+
"info": "#93b8ec",
|
|
84
|
+
"infoSubtle": "#16263d"
|
|
85
|
+
},
|
|
86
|
+
"surface": {
|
|
87
|
+
"base": "#1f1f1f",
|
|
88
|
+
"raised": "#292929",
|
|
89
|
+
"sunlit": "#292929",
|
|
90
|
+
"inset": "#171717",
|
|
91
|
+
"highlight": "#363636",
|
|
92
|
+
"overlay": "#000000b3",
|
|
93
|
+
"disabled": "#292929",
|
|
94
|
+
"hover": "#363636",
|
|
95
|
+
"activePressed": "#454545",
|
|
96
|
+
"featuredStart": "#363636",
|
|
97
|
+
"featuredMid": "#292929",
|
|
98
|
+
"featuredEnd": "#292929",
|
|
99
|
+
"sheen": "#ffffff08",
|
|
100
|
+
"backdrop": "#000000bf"
|
|
101
|
+
},
|
|
102
|
+
"border": {
|
|
103
|
+
"default": "#363636",
|
|
104
|
+
"subtle": "#292929",
|
|
105
|
+
"emphasis": "#929292",
|
|
106
|
+
"strong": "#575757",
|
|
107
|
+
"hover": "#ededed",
|
|
108
|
+
"disabled": "#292929",
|
|
109
|
+
"brand": "#ffffff40",
|
|
110
|
+
"brandHover": "#ffffff73",
|
|
111
|
+
"divider": "#363636"
|
|
112
|
+
},
|
|
113
|
+
"text": {
|
|
114
|
+
"primary": "#ededed",
|
|
115
|
+
"secondary": "#929292",
|
|
116
|
+
"disabled": "#575757",
|
|
117
|
+
"inverse": "#1f1f1f",
|
|
118
|
+
"link": "#ffffff",
|
|
119
|
+
"linkHover": "#c4c4c4",
|
|
120
|
+
"linkRaised": "#ffffff",
|
|
121
|
+
"brand": "#ffffff",
|
|
122
|
+
"onBrand": "#1f1f1f",
|
|
123
|
+
"onAccent": "#1f1f1f",
|
|
124
|
+
"onSuccess": "#1f1f1f",
|
|
125
|
+
"onError": "#1f1f1f",
|
|
126
|
+
"onWarning": "#1f1f1f",
|
|
127
|
+
"onInfo": "#1f1f1f"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"font": {
|
|
131
|
+
"family": {
|
|
132
|
+
"$description": "Plus Jakarta Sans for everything, as on the site",
|
|
133
|
+
"sans": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif",
|
|
134
|
+
"display": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif",
|
|
135
|
+
"mono": "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"
|
|
136
|
+
},
|
|
137
|
+
"size": {
|
|
138
|
+
"$description": "Type scale on the brand's grid (grid.unit): every size is a multiple of half a unit. Strict: no size between xs and base",
|
|
139
|
+
"xs": "0.75rem",
|
|
140
|
+
"sm": "0.75rem",
|
|
141
|
+
"base": "1rem",
|
|
142
|
+
"lg": "1.25rem",
|
|
143
|
+
"xl": "1.5rem",
|
|
144
|
+
"2xl": "2rem",
|
|
145
|
+
"3xl": "2.5rem",
|
|
146
|
+
"4xl": "3.5rem",
|
|
147
|
+
"5xl": "4rem"
|
|
148
|
+
},
|
|
149
|
+
"weight": {
|
|
150
|
+
"normal": "400",
|
|
151
|
+
"medium": "500",
|
|
152
|
+
"semibold": "600",
|
|
153
|
+
"bold": "700",
|
|
154
|
+
"extrabold": "800"
|
|
155
|
+
},
|
|
156
|
+
"lineHeight": {
|
|
157
|
+
"none": 1,
|
|
158
|
+
"tight": 1.1,
|
|
159
|
+
"snug": 1.3,
|
|
160
|
+
"normal": 1.5,
|
|
161
|
+
"relaxed": 1.6
|
|
162
|
+
},
|
|
163
|
+
"letterSpacing": {
|
|
164
|
+
"tighter": "-0.02em",
|
|
165
|
+
"tight": "-0.01em",
|
|
166
|
+
"normal": "0",
|
|
167
|
+
"wide": "0.02em",
|
|
168
|
+
"widest": "0.08em"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"radius": {
|
|
172
|
+
"$description": "Small, square-ish corners: 2px badges, 4px controls",
|
|
173
|
+
"none": "0",
|
|
174
|
+
"xs": "2px",
|
|
175
|
+
"sm": "4px",
|
|
176
|
+
"md": "6px",
|
|
177
|
+
"full": "9999px"
|
|
178
|
+
},
|
|
179
|
+
"border": {
|
|
180
|
+
"width": {
|
|
181
|
+
"1": "1px",
|
|
182
|
+
"2": "2px"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"shadow": {
|
|
186
|
+
"$description": "Flat: no shadows, except under dialogs",
|
|
187
|
+
"none": "none",
|
|
188
|
+
"overlay": "#000000",
|
|
189
|
+
"primary": "#000000",
|
|
190
|
+
"secondary": "#000000",
|
|
191
|
+
"accent": "#000000",
|
|
192
|
+
"error": "#000000",
|
|
193
|
+
"neutral": "#000000",
|
|
194
|
+
"neutralHover": "#000000",
|
|
195
|
+
"field": "#000000"
|
|
196
|
+
},
|
|
197
|
+
"motion": {
|
|
198
|
+
"duration": {
|
|
199
|
+
"quick": "100ms",
|
|
200
|
+
"snappy": "150ms",
|
|
201
|
+
"gentle": "200ms",
|
|
202
|
+
"relaxed": "250ms",
|
|
203
|
+
"slow": "350ms"
|
|
204
|
+
},
|
|
205
|
+
"easing": {
|
|
206
|
+
"$description": "Plain ease-out: no overshoot",
|
|
207
|
+
"standard": [
|
|
208
|
+
0.4,
|
|
209
|
+
0,
|
|
210
|
+
0.2,
|
|
211
|
+
1
|
|
212
|
+
],
|
|
213
|
+
"out": [
|
|
214
|
+
0,
|
|
215
|
+
0,
|
|
216
|
+
0.2,
|
|
217
|
+
1
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
"quick": "100ms",
|
|
221
|
+
"snappy": "150ms",
|
|
222
|
+
"gentle": "200ms",
|
|
223
|
+
"relaxed": "250ms",
|
|
224
|
+
"slow": "350ms",
|
|
225
|
+
"easeGentle": [
|
|
226
|
+
0.4,
|
|
227
|
+
0,
|
|
228
|
+
0.2,
|
|
229
|
+
1
|
|
230
|
+
],
|
|
231
|
+
"easeOut": [
|
|
232
|
+
0,
|
|
233
|
+
0,
|
|
234
|
+
0.2,
|
|
235
|
+
1
|
|
236
|
+
],
|
|
237
|
+
"easePlayful": [
|
|
238
|
+
0,
|
|
239
|
+
0,
|
|
240
|
+
0.2,
|
|
241
|
+
1
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
"spacing": {
|
|
245
|
+
"0": "0",
|
|
246
|
+
"1": "0.25rem",
|
|
247
|
+
"2": "0.5rem",
|
|
248
|
+
"3": "0.75rem",
|
|
249
|
+
"4": "1rem",
|
|
250
|
+
"5": "1.25rem",
|
|
251
|
+
"6": "1.5rem",
|
|
252
|
+
"7": "1.75rem",
|
|
253
|
+
"8": "2rem",
|
|
254
|
+
"10": "2.5rem",
|
|
255
|
+
"12": "3rem",
|
|
256
|
+
"16": "4rem",
|
|
257
|
+
"20": "5rem",
|
|
258
|
+
"$description": "Generous spacing — breathing room, not dense. Multiples of half the brand's grid.unit (spacing.1 = half a unit, spacing.2 = one unit), computed per brand at build time by style-dictionary.config.js; the values written here are what an 8px grid gives. The x-5 steps fall between half-units: avoid them in new work",
|
|
259
|
+
"px": "1px",
|
|
260
|
+
"0-5": "0.125rem",
|
|
261
|
+
"1-5": "0.375rem",
|
|
262
|
+
"2-5": "0.625rem",
|
|
263
|
+
"3-5": "0.875rem",
|
|
264
|
+
"layout": {
|
|
265
|
+
"page": "1.5rem",
|
|
266
|
+
"section": "3rem",
|
|
267
|
+
"stack": "1.25rem",
|
|
268
|
+
"inline": "1rem"
|
|
269
|
+
},
|
|
270
|
+
"component": {
|
|
271
|
+
"xs": "0.375rem",
|
|
272
|
+
"sm": "0.625rem",
|
|
273
|
+
"md": "0.875rem",
|
|
274
|
+
"lg": "1.25rem",
|
|
275
|
+
"xl": "1.75rem"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"size": {
|
|
279
|
+
"$description": "Fixed layout sizes: content widths and viewport breakpoints",
|
|
280
|
+
"container": {
|
|
281
|
+
"$description": "Content max-widths",
|
|
282
|
+
"sm": "640px",
|
|
283
|
+
"md": "768px",
|
|
284
|
+
"lg": "1024px",
|
|
285
|
+
"xl": "1280px"
|
|
286
|
+
},
|
|
287
|
+
"breakpoint": {
|
|
288
|
+
"$description": "Viewport widths for @media queries. CSS can't read custom properties in a media query, so components write the value; check:tokens fails any (min|max)-width that isn't one of these (or one pixel either side, for adjoining ranges).",
|
|
289
|
+
"xs": "480px",
|
|
290
|
+
"sm": "640px",
|
|
291
|
+
"md": "768px",
|
|
292
|
+
"lg": "1024px"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"zIndex": {
|
|
296
|
+
"0": 0,
|
|
297
|
+
"10": 10,
|
|
298
|
+
"20": 20,
|
|
299
|
+
"$description": "Z-index layering",
|
|
300
|
+
"dropdown": 1000,
|
|
301
|
+
"sticky": 1100,
|
|
302
|
+
"modal": 1200,
|
|
303
|
+
"popover": 1300,
|
|
304
|
+
"tooltip": 1400
|
|
305
|
+
},
|
|
306
|
+
"typography": {
|
|
307
|
+
"heading": {
|
|
308
|
+
"fontFamily": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif",
|
|
309
|
+
"h1": {
|
|
310
|
+
"fontSize": "3.5rem",
|
|
311
|
+
"fontWeight": "800",
|
|
312
|
+
"lineHeight": 1.1429,
|
|
313
|
+
"letterSpacing": "-0.02em"
|
|
314
|
+
},
|
|
315
|
+
"h2": {
|
|
316
|
+
"fontSize": "2.5rem",
|
|
317
|
+
"fontWeight": "800",
|
|
318
|
+
"lineHeight": 1.2,
|
|
319
|
+
"letterSpacing": "-0.01em"
|
|
320
|
+
},
|
|
321
|
+
"h3": {
|
|
322
|
+
"fontSize": "2rem",
|
|
323
|
+
"fontWeight": "700",
|
|
324
|
+
"lineHeight": 1.25,
|
|
325
|
+
"letterSpacing": "-0.01em"
|
|
326
|
+
},
|
|
327
|
+
"h4": {
|
|
328
|
+
"fontSize": "1.5rem",
|
|
329
|
+
"fontWeight": "700",
|
|
330
|
+
"lineHeight": 1.3333,
|
|
331
|
+
"letterSpacing": "0"
|
|
332
|
+
},
|
|
333
|
+
"h5": {
|
|
334
|
+
"fontSize": "1.25rem",
|
|
335
|
+
"fontWeight": "700",
|
|
336
|
+
"lineHeight": 1.6
|
|
337
|
+
},
|
|
338
|
+
"h6": {
|
|
339
|
+
"fontSize": "1rem",
|
|
340
|
+
"fontWeight": "700",
|
|
341
|
+
"lineHeight": 1.5
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"body": {
|
|
345
|
+
"fontFamily": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif",
|
|
346
|
+
"xl": {
|
|
347
|
+
"fontSize": "1.5rem",
|
|
348
|
+
"fontWeight": "400",
|
|
349
|
+
"lineHeight": 1.6667
|
|
350
|
+
},
|
|
351
|
+
"lg": {
|
|
352
|
+
"fontSize": "1.25rem",
|
|
353
|
+
"fontWeight": "400",
|
|
354
|
+
"lineHeight": 1.6
|
|
355
|
+
},
|
|
356
|
+
"base": {
|
|
357
|
+
"fontSize": "1rem",
|
|
358
|
+
"fontWeight": "400",
|
|
359
|
+
"lineHeight": 1.5
|
|
360
|
+
},
|
|
361
|
+
"sm": {
|
|
362
|
+
"fontSize": "0.75rem",
|
|
363
|
+
"fontWeight": "400",
|
|
364
|
+
"lineHeight": 1.6667,
|
|
365
|
+
"letterSpacing": "0"
|
|
366
|
+
},
|
|
367
|
+
"xs": {
|
|
368
|
+
"fontSize": "0.75rem",
|
|
369
|
+
"fontWeight": "400",
|
|
370
|
+
"lineHeight": 1.6667,
|
|
371
|
+
"letterSpacing": "0.02em"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"label": {
|
|
375
|
+
"fontFamily": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif",
|
|
376
|
+
"base": {
|
|
377
|
+
"fontSize": "1rem",
|
|
378
|
+
"fontWeight": "600",
|
|
379
|
+
"lineHeight": 1.5,
|
|
380
|
+
"letterSpacing": "0.02em"
|
|
381
|
+
},
|
|
382
|
+
"sm": {
|
|
383
|
+
"fontSize": "0.75rem",
|
|
384
|
+
"fontWeight": "600",
|
|
385
|
+
"lineHeight": 1.6667,
|
|
386
|
+
"letterSpacing": "0.08em"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"eyebrow": {
|
|
390
|
+
"fontFamily": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif",
|
|
391
|
+
"fontSize": "0.75rem",
|
|
392
|
+
"fontWeight": "600",
|
|
393
|
+
"letterSpacing": "0.08em"
|
|
394
|
+
},
|
|
395
|
+
"control": {
|
|
396
|
+
"fontFamily": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif",
|
|
397
|
+
"fontWeight": "600",
|
|
398
|
+
"letterSpacing": "0.02em",
|
|
399
|
+
"fontSize": {
|
|
400
|
+
"sm": "1rem",
|
|
401
|
+
"md": "1rem",
|
|
402
|
+
"lg": "1.25rem"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"emphasis": {
|
|
406
|
+
"fontWeight": "700"
|
|
407
|
+
},
|
|
408
|
+
"code": {
|
|
409
|
+
"fontFamily": "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",
|
|
410
|
+
"fontSize": "1rem",
|
|
411
|
+
"lineHeight": 1.5
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"layout": {
|
|
415
|
+
"container": {
|
|
416
|
+
"sm": "640px",
|
|
417
|
+
"md": "768px",
|
|
418
|
+
"lg": "1024px",
|
|
419
|
+
"xl": "1280px"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"shape": {
|
|
423
|
+
"control": "4px",
|
|
424
|
+
"container": "4px",
|
|
425
|
+
"large": "6px",
|
|
426
|
+
"compact": "2px",
|
|
427
|
+
"tight": "2px",
|
|
428
|
+
"pill": "9999px"
|
|
429
|
+
},
|
|
430
|
+
"elevation": {
|
|
431
|
+
"none": "none",
|
|
432
|
+
"soft": "none",
|
|
433
|
+
"medium": "none",
|
|
434
|
+
"strong": "#000000",
|
|
435
|
+
"glow": "none",
|
|
436
|
+
"inset": "none",
|
|
437
|
+
"surface": {
|
|
438
|
+
"flat": "none",
|
|
439
|
+
"raised": "none",
|
|
440
|
+
"lifted": "none",
|
|
441
|
+
"pressed": "none",
|
|
442
|
+
"focused": "none",
|
|
443
|
+
"featured": "none",
|
|
444
|
+
"featuredLifted": "none",
|
|
445
|
+
"featuredFocused": "none"
|
|
446
|
+
},
|
|
447
|
+
"offset": {
|
|
448
|
+
"xs": "0px",
|
|
449
|
+
"sm": "0px",
|
|
450
|
+
"md": "0px",
|
|
451
|
+
"lg": "0px",
|
|
452
|
+
"xl": "0px",
|
|
453
|
+
"2xl": "0px"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"lift": {
|
|
457
|
+
"hoverSm": "0px",
|
|
458
|
+
"hoverMd": "0px",
|
|
459
|
+
"pressSm": "0px",
|
|
460
|
+
"pressMd": "0px"
|
|
461
|
+
},
|
|
462
|
+
"stroke": {
|
|
463
|
+
"control": "1px",
|
|
464
|
+
"surface": "1px",
|
|
465
|
+
"divider": "1px"
|
|
466
|
+
},
|
|
467
|
+
"decoration": {
|
|
468
|
+
"underlineThickness": "1px",
|
|
469
|
+
"underlineFocusThickness": "2px",
|
|
470
|
+
"underlineDash": "4px",
|
|
471
|
+
"underlinePeriod": "8px"
|
|
472
|
+
},
|
|
473
|
+
"focus": {
|
|
474
|
+
"ringWidth": "2px",
|
|
475
|
+
"ringOffset": "2px",
|
|
476
|
+
"ringColor": "#ffffff",
|
|
477
|
+
"glowColor": "#ffffff00"
|
|
478
|
+
},
|
|
479
|
+
"button": {
|
|
480
|
+
"$description": "Button — chunky, tactile, playful with offset shadows",
|
|
481
|
+
"base": {
|
|
482
|
+
"fontFamily": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif",
|
|
483
|
+
"fontWeight": "600",
|
|
484
|
+
"letterSpacing": "0.02em",
|
|
485
|
+
"borderRadius": "4px",
|
|
486
|
+
"borderWidth": "1px",
|
|
487
|
+
"transitionDuration": "150ms",
|
|
488
|
+
"transitionEasing": [
|
|
489
|
+
0,
|
|
490
|
+
0,
|
|
491
|
+
0.2,
|
|
492
|
+
1
|
|
493
|
+
]
|
|
494
|
+
},
|
|
495
|
+
"size": {
|
|
496
|
+
"$description": "Matches oh-button.ts, which reads these. Minimum 16px text",
|
|
497
|
+
"sm": {
|
|
498
|
+
"fontSize": "1rem",
|
|
499
|
+
"paddingX": "1rem",
|
|
500
|
+
"paddingY": "0.5rem",
|
|
501
|
+
"minHeight": "40px",
|
|
502
|
+
"gap": "0.5rem"
|
|
503
|
+
},
|
|
504
|
+
"md": {
|
|
505
|
+
"fontSize": "1rem",
|
|
506
|
+
"paddingX": "1.5rem",
|
|
507
|
+
"paddingY": "0.75rem",
|
|
508
|
+
"minHeight": "48px",
|
|
509
|
+
"gap": "0.5rem"
|
|
510
|
+
},
|
|
511
|
+
"lg": {
|
|
512
|
+
"fontSize": "1.25rem",
|
|
513
|
+
"paddingX": "2rem",
|
|
514
|
+
"paddingY": "1rem",
|
|
515
|
+
"minHeight": "56px",
|
|
516
|
+
"gap": "0.625rem"
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"variant": {
|
|
520
|
+
"primary": {
|
|
521
|
+
"$description": "Primary — warm orange, chunky tactile shadow",
|
|
522
|
+
"background": "#ffffff",
|
|
523
|
+
"backgroundHover": "#dedede",
|
|
524
|
+
"backgroundActive": "#c4c4c4",
|
|
525
|
+
"color": "#1f1f1f",
|
|
526
|
+
"borderColor": "#ffffff",
|
|
527
|
+
"shadowColor": "#000000"
|
|
528
|
+
},
|
|
529
|
+
"secondary": {
|
|
530
|
+
"$description": "Secondary — cream surface with emphasis border",
|
|
531
|
+
"background": "#1f1f1f",
|
|
532
|
+
"backgroundHover": "#363636",
|
|
533
|
+
"backgroundActive": "#454545",
|
|
534
|
+
"color": "#ededed",
|
|
535
|
+
"borderColor": "#929292",
|
|
536
|
+
"shadowColor": "#000000"
|
|
537
|
+
},
|
|
538
|
+
"accent": {
|
|
539
|
+
"$description": "Accent — blue, modern counterbalance",
|
|
540
|
+
"background": "#93b8ec",
|
|
541
|
+
"backgroundHover": "#b3cdf2",
|
|
542
|
+
"backgroundActive": "#93b8ec",
|
|
543
|
+
"color": "#1f1f1f",
|
|
544
|
+
"borderColor": "#93b8ec",
|
|
545
|
+
"shadowColor": "#16263d"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
"focus": {
|
|
549
|
+
"$description": "Focus is an underline in focus.ringColor; glow is decoration",
|
|
550
|
+
"ringColor": "#ffffff",
|
|
551
|
+
"glowColor": "#ffffff00"
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"input": {
|
|
555
|
+
"$description": "Input — chunky border, inset shadow, tactile feel",
|
|
556
|
+
"base": {
|
|
557
|
+
"fontFamily": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif",
|
|
558
|
+
"fontSize": "1rem",
|
|
559
|
+
"lineHeight": 1.5,
|
|
560
|
+
"borderRadius": "4px",
|
|
561
|
+
"borderWidth": "1px",
|
|
562
|
+
"transitionDuration": "150ms",
|
|
563
|
+
"transitionEasing": [
|
|
564
|
+
0.4,
|
|
565
|
+
0,
|
|
566
|
+
0.2,
|
|
567
|
+
1
|
|
568
|
+
]
|
|
569
|
+
},
|
|
570
|
+
"size": {
|
|
571
|
+
"md": {
|
|
572
|
+
"paddingX": "1rem",
|
|
573
|
+
"paddingY": "0.75rem",
|
|
574
|
+
"minHeight": "48px"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
"state": {
|
|
578
|
+
"default": {
|
|
579
|
+
"background": "#1f1f1f",
|
|
580
|
+
"borderColor": "#929292",
|
|
581
|
+
"color": "#ededed",
|
|
582
|
+
"placeholderColor": "#929292",
|
|
583
|
+
"shadowColor": "#000000"
|
|
584
|
+
},
|
|
585
|
+
"hover": {
|
|
586
|
+
"borderColor": "#ededed"
|
|
587
|
+
},
|
|
588
|
+
"focus": {
|
|
589
|
+
"background": "#363636",
|
|
590
|
+
"borderColor": "#ffffff",
|
|
591
|
+
"focusRingColor": "#ffffff"
|
|
592
|
+
},
|
|
593
|
+
"error": {
|
|
594
|
+
"borderColor": "#f59a9a",
|
|
595
|
+
"background": "#3a1717",
|
|
596
|
+
"shadowColor": "#000000"
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"card": {
|
|
601
|
+
"$description": "Card — raised surface with visible frame",
|
|
602
|
+
"base": {
|
|
603
|
+
"background": "#292929",
|
|
604
|
+
"borderRadius": "6px",
|
|
605
|
+
"borderWidth": "1px",
|
|
606
|
+
"borderColor": "#363636",
|
|
607
|
+
"shadow": "none",
|
|
608
|
+
"padding": "1.25rem"
|
|
609
|
+
},
|
|
610
|
+
"interactive": {
|
|
611
|
+
"$description": "Interactive card — gentle warmth on hover",
|
|
612
|
+
"transitionDuration": "200ms",
|
|
613
|
+
"transitionEasing": [
|
|
614
|
+
0.4,
|
|
615
|
+
0,
|
|
616
|
+
0.2,
|
|
617
|
+
1
|
|
618
|
+
],
|
|
619
|
+
"backgroundHover": "#1f1f1f",
|
|
620
|
+
"borderColorHover": "#ffffff40",
|
|
621
|
+
"shadowHover": "none"
|
|
622
|
+
},
|
|
623
|
+
"raised": {
|
|
624
|
+
"$description": "Raised card (default) — subtle top-lit gradient",
|
|
625
|
+
"gradientStart": "#363636",
|
|
626
|
+
"gradientMid": "#1f1f1f",
|
|
627
|
+
"gradientEnd": "#292929",
|
|
628
|
+
"borderColor": "#363636"
|
|
629
|
+
},
|
|
630
|
+
"flat": {
|
|
631
|
+
"$description": "Flat card — border-led, minimal shadow",
|
|
632
|
+
"gradientStart": "#1f1f1f",
|
|
633
|
+
"gradientEnd": "#292929",
|
|
634
|
+
"borderColor": "#363636"
|
|
635
|
+
},
|
|
636
|
+
"sunlit": {
|
|
637
|
+
"$description": "Sunlit card — featured with gradient",
|
|
638
|
+
"background": "linear-gradient(180deg, #363636 0%, #292929 30%, #292929 100%)",
|
|
639
|
+
"gradientStart": "#363636",
|
|
640
|
+
"gradientMid": "#292929",
|
|
641
|
+
"gradientEnd": "#292929",
|
|
642
|
+
"borderColor": "#ffffff40",
|
|
643
|
+
"borderColorHover": "#ffffff73",
|
|
644
|
+
"shadow": "none"
|
|
645
|
+
},
|
|
646
|
+
"section": {
|
|
647
|
+
"$description": "Card header and footer",
|
|
648
|
+
"dividerColor": "#363636",
|
|
649
|
+
"headerGradientStart": "#ffffff08",
|
|
650
|
+
"headerGradientEnd": "#ffffff00"
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
"progress": {
|
|
654
|
+
"$description": "Progress — chunky pill track",
|
|
655
|
+
"track": {
|
|
656
|
+
"insetShadow": "#0000000f"
|
|
657
|
+
},
|
|
658
|
+
"inverse": {
|
|
659
|
+
"$description": "On brand/accent backgrounds (e.g. journey hero). Fill is cream so it reads at 3.7:1 against the track.",
|
|
660
|
+
"trackBackground": "#ffffff26",
|
|
661
|
+
"trackBorder": "#ffffff4d",
|
|
662
|
+
"fill": "#1f1f1f"
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
"badge": {
|
|
666
|
+
"$description": "Badge — small status indicators",
|
|
667
|
+
"base": {
|
|
668
|
+
"fontFamily": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif",
|
|
669
|
+
"fontSize": "1rem",
|
|
670
|
+
"fontWeight": "600",
|
|
671
|
+
"letterSpacing": "0.02em",
|
|
672
|
+
"borderRadius": "2px",
|
|
673
|
+
"paddingX": "0.625rem",
|
|
674
|
+
"paddingY": "0.25rem"
|
|
675
|
+
},
|
|
676
|
+
"variant": {
|
|
677
|
+
"brand": {
|
|
678
|
+
"background": "#292929",
|
|
679
|
+
"color": "#ffffff"
|
|
680
|
+
},
|
|
681
|
+
"accent": {
|
|
682
|
+
"background": "#16263d",
|
|
683
|
+
"color": "#93b8ec"
|
|
684
|
+
},
|
|
685
|
+
"success": {
|
|
686
|
+
"background": "#142b1c",
|
|
687
|
+
"color": "#82cf9c"
|
|
688
|
+
},
|
|
689
|
+
"error": {
|
|
690
|
+
"background": "#3a1717",
|
|
691
|
+
"color": "#f59a9a"
|
|
692
|
+
},
|
|
693
|
+
"warning": {
|
|
694
|
+
"background": "#33260e",
|
|
695
|
+
"color": "#ebc271"
|
|
696
|
+
},
|
|
697
|
+
"neutral": {
|
|
698
|
+
"background": "#171717",
|
|
699
|
+
"color": "#929292"
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
"link": {
|
|
704
|
+
"$description": "Link — warm brand color",
|
|
705
|
+
"color": "#ffffff",
|
|
706
|
+
"colorHover": "#c4c4c4",
|
|
707
|
+
"textDecoration": "underline",
|
|
708
|
+
"textDecorationHover": "none",
|
|
709
|
+
"inverse": {
|
|
710
|
+
"$description": "On brand/accent backgrounds",
|
|
711
|
+
"focusBackground": "#0000001a"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"modal": {
|
|
715
|
+
"$description": "Modal dialog",
|
|
716
|
+
"overlay": "#000000bf"
|
|
717
|
+
},
|
|
718
|
+
"closeButton": {
|
|
719
|
+
"$description": "Icon-only close buttons in alerts and modals",
|
|
720
|
+
"backgroundHover": "#00000014",
|
|
721
|
+
"shadowHover": "#00000026"
|
|
722
|
+
}
|
|
723
|
+
}
|