@orange-halo/tokens 1.0.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/themes/dark.css +127 -0
- package/dist/themes/light.css +46 -0
- package/dist/tokens.css +399 -0
- package/dist/tokens.js +422 -0
- package/dist/tokens.json +667 -0
- package/package.json +40 -0
- package/tokens/component.tokens.json +184 -0
- package/tokens/global.tokens.json +230 -0
- package/tokens/semantic.tokens.json +219 -0
- package/tokens/themes/dark.tokens.json +73 -0
- package/tokens/themes/light.tokens.json +57 -0
package/dist/tokens.json
ADDED
|
@@ -0,0 +1,667 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Component Design Tokens — Orange Halo Visual DNA applied. Each component has personality knobs.",
|
|
3
|
+
"color": {
|
|
4
|
+
"$description": "Warm color palette with nostalgic character. No pure white, no blue-gray.",
|
|
5
|
+
"orange": {
|
|
6
|
+
"50": "#fff3e0",
|
|
7
|
+
"100": "#ffe0b2",
|
|
8
|
+
"200": "#ffcc80",
|
|
9
|
+
"300": "#ffb74d",
|
|
10
|
+
"400": "#ffa726",
|
|
11
|
+
"500": "#ff9800",
|
|
12
|
+
"600": "#fb8c00",
|
|
13
|
+
"700": "#f57c00",
|
|
14
|
+
"800": "#ef6c00",
|
|
15
|
+
"900": "#c54300",
|
|
16
|
+
"950": "#9e3500",
|
|
17
|
+
"$description": "Primary brand orange — vibrant and accessible"
|
|
18
|
+
},
|
|
19
|
+
"honey": {
|
|
20
|
+
"50": "#fefaee",
|
|
21
|
+
"100": "#fdf3d4",
|
|
22
|
+
"200": "#fbe7a8",
|
|
23
|
+
"300": "#f8d56f",
|
|
24
|
+
"400": "#e8a838",
|
|
25
|
+
"500": "#d4922c",
|
|
26
|
+
"600": "#b87a24",
|
|
27
|
+
"700": "#8c5e1c",
|
|
28
|
+
"800": "#6b4815",
|
|
29
|
+
"$description": "Warm highlight — golden warmth for accents and feedback"
|
|
30
|
+
},
|
|
31
|
+
"terracotta": {
|
|
32
|
+
"50": "#fbf5f0",
|
|
33
|
+
"100": "#f5e8de",
|
|
34
|
+
"200": "#e8cdbf",
|
|
35
|
+
"300": "#d4a88f",
|
|
36
|
+
"400": "#bf8060",
|
|
37
|
+
"500": "#a0522d",
|
|
38
|
+
"600": "#8b4726",
|
|
39
|
+
"700": "#6f3920",
|
|
40
|
+
"800": "#5a2f1a",
|
|
41
|
+
"900": "#452414",
|
|
42
|
+
"$description": "Deep accent — earthy depth for active states and emphasis"
|
|
43
|
+
},
|
|
44
|
+
"eucalyptus": {
|
|
45
|
+
"50": "#f0f6f6",
|
|
46
|
+
"100": "#e0ebeb",
|
|
47
|
+
"200": "#c2d7d7",
|
|
48
|
+
"300": "#9ebebe",
|
|
49
|
+
"400": "#7aa3a4",
|
|
50
|
+
"500": "#5f8a8b",
|
|
51
|
+
"600": "#4d7172",
|
|
52
|
+
"700": "#3f5c5d",
|
|
53
|
+
"800": "#344a4b",
|
|
54
|
+
"900": "#2a3c3d",
|
|
55
|
+
"$description": "Nostalgic accent — muted teal, the retro counterbalance"
|
|
56
|
+
},
|
|
57
|
+
"warm": {
|
|
58
|
+
"$description": "Warm neutral scale — cream to walnut, no blue-gray",
|
|
59
|
+
"cream": "#faf7f2",
|
|
60
|
+
"linen": "#f5f0e8",
|
|
61
|
+
"parchment": "#ede8df",
|
|
62
|
+
"sand": "#e2dcd2",
|
|
63
|
+
"dune": "#c9c1b4",
|
|
64
|
+
"driftwood": "#6b5d4d",
|
|
65
|
+
"bark": "#52463a",
|
|
66
|
+
"walnut": "#3d3229"
|
|
67
|
+
},
|
|
68
|
+
"green": {
|
|
69
|
+
"50": "#f0f7f1",
|
|
70
|
+
"100": "#d9edd9",
|
|
71
|
+
"500": "#5a9a5c",
|
|
72
|
+
"600": "#4a8a4c",
|
|
73
|
+
"700": "#3d7340",
|
|
74
|
+
"$description": "Success — warm-tinted green"
|
|
75
|
+
},
|
|
76
|
+
"red": {
|
|
77
|
+
"50": "#fdf4f3",
|
|
78
|
+
"100": "#f9e0dc",
|
|
79
|
+
"500": "#c75450",
|
|
80
|
+
"600": "#b54540",
|
|
81
|
+
"700": "#943836",
|
|
82
|
+
"$description": "Error — warm-tinted red"
|
|
83
|
+
},
|
|
84
|
+
"blue": {
|
|
85
|
+
"50": "#eef4f9",
|
|
86
|
+
"100": "#d6e4f0",
|
|
87
|
+
"200": "#a0b4c8",
|
|
88
|
+
"300": "#7a9ab8",
|
|
89
|
+
"400": "#5a82a8",
|
|
90
|
+
"500": "#3d5a80",
|
|
91
|
+
"600": "#354f70",
|
|
92
|
+
"700": "#2e4460",
|
|
93
|
+
"800": "#253850",
|
|
94
|
+
"$description": "Blue accent — modern counterbalance for CTAs"
|
|
95
|
+
},
|
|
96
|
+
"white": "#ffffff",
|
|
97
|
+
"brand": {
|
|
98
|
+
"$description": "Brand colors — Orange Halo warmth",
|
|
99
|
+
"primary": "#c54300",
|
|
100
|
+
"primaryHover": "#9e3500",
|
|
101
|
+
"primaryActive": "#9e3500",
|
|
102
|
+
"primarySubtle": "#fff3e0",
|
|
103
|
+
"primaryMuted": "#ffe0b2",
|
|
104
|
+
"highlight": "#e8a838",
|
|
105
|
+
"highlightSubtle": "#fdf3d4"
|
|
106
|
+
},
|
|
107
|
+
"accent": {
|
|
108
|
+
"$description": "Blue accent — modern counterbalance for CTAs",
|
|
109
|
+
"default": "#3d5a80",
|
|
110
|
+
"hover": "#354f70",
|
|
111
|
+
"active": "#2e4460",
|
|
112
|
+
"subtle": "#eef4f9",
|
|
113
|
+
"muted": "#d6e4f0",
|
|
114
|
+
"shadow": "#a0b4c8"
|
|
115
|
+
},
|
|
116
|
+
"feedback": {
|
|
117
|
+
"$description": "Feedback colors — warm-tinted",
|
|
118
|
+
"success": "#4a8a4c",
|
|
119
|
+
"successSubtle": "#f0f7f1",
|
|
120
|
+
"successMuted": "#d9edd9",
|
|
121
|
+
"error": "#b54540",
|
|
122
|
+
"errorHover": "#943836",
|
|
123
|
+
"errorSubtle": "#fdf4f3",
|
|
124
|
+
"errorMuted": "#f9e0dc",
|
|
125
|
+
"errorShadow": "#b545404d",
|
|
126
|
+
"warning": "#8c5e1c",
|
|
127
|
+
"warningSubtle": "#fefaee",
|
|
128
|
+
"warningMuted": "#fdf3d4",
|
|
129
|
+
"info": "#3d5a80",
|
|
130
|
+
"infoSubtle": "#eef4f9",
|
|
131
|
+
"infoMuted": "#d6e4f0"
|
|
132
|
+
},
|
|
133
|
+
"surface": {
|
|
134
|
+
"$description": "Surface system — designed surfaces, not flat planes",
|
|
135
|
+
"base": "#faf7f2",
|
|
136
|
+
"raised": "#f5f0e8",
|
|
137
|
+
"sunlit": "#faf7f2",
|
|
138
|
+
"inset": "#ede8df",
|
|
139
|
+
"white": "#ffffff",
|
|
140
|
+
"overlay": "#3d322966",
|
|
141
|
+
"disabled": "#e2dcd2",
|
|
142
|
+
"hover": "#fff4e6",
|
|
143
|
+
"activePressed": "#f0ebe3"
|
|
144
|
+
},
|
|
145
|
+
"border": {
|
|
146
|
+
"$description": "Border colors — visible and intentional",
|
|
147
|
+
"default": "#e2dcd2",
|
|
148
|
+
"subtle": "#ede8df",
|
|
149
|
+
"emphasis": "#6b5d4d",
|
|
150
|
+
"hover": "#8b4726",
|
|
151
|
+
"focus": "#c54300",
|
|
152
|
+
"focusInner": "#c54300",
|
|
153
|
+
"disabled": "#ede8df",
|
|
154
|
+
"brand": "#c5430040"
|
|
155
|
+
},
|
|
156
|
+
"text": {
|
|
157
|
+
"$description": "Text colors — calm and readable, not stark",
|
|
158
|
+
"primary": "#3d3229",
|
|
159
|
+
"secondary": "#6b5d4d",
|
|
160
|
+
"disabled": "#c9c1b4",
|
|
161
|
+
"inverse": "#faf7f2",
|
|
162
|
+
"link": "#c54300",
|
|
163
|
+
"linkHover": "#9e3500",
|
|
164
|
+
"brand": "#c54300",
|
|
165
|
+
"onBrand": "#ffffff",
|
|
166
|
+
"onAccent": "#ffffff"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"font": {
|
|
170
|
+
"family": {
|
|
171
|
+
"$description": "Bricolage Grotesque — playful, crafted, warm",
|
|
172
|
+
"sans": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
173
|
+
"display": "'Bricolage Grotesque', 'General Sans', sans-serif",
|
|
174
|
+
"mono": "'JetBrains Mono', 'Fira Code', ui-monospace, monospace"
|
|
175
|
+
},
|
|
176
|
+
"size": {
|
|
177
|
+
"$description": "Slightly expressive type scale",
|
|
178
|
+
"xs": "0.75rem",
|
|
179
|
+
"sm": "0.875rem",
|
|
180
|
+
"base": "1rem",
|
|
181
|
+
"lg": "1.125rem",
|
|
182
|
+
"xl": "1.25rem",
|
|
183
|
+
"2xl": "1.625rem",
|
|
184
|
+
"3xl": "2rem",
|
|
185
|
+
"4xl": "2.625rem",
|
|
186
|
+
"5xl": "3.25rem"
|
|
187
|
+
},
|
|
188
|
+
"weight": {
|
|
189
|
+
"$description": "Font weights for hierarchy",
|
|
190
|
+
"normal": "400",
|
|
191
|
+
"medium": "500",
|
|
192
|
+
"semibold": "600",
|
|
193
|
+
"bold": "700"
|
|
194
|
+
},
|
|
195
|
+
"lineHeight": {
|
|
196
|
+
"$description": "Generous line heights for readability",
|
|
197
|
+
"none": 1,
|
|
198
|
+
"tight": 1.25,
|
|
199
|
+
"snug": 1.35,
|
|
200
|
+
"normal": 1.5,
|
|
201
|
+
"relaxed": 1.65,
|
|
202
|
+
"loose": 1.8
|
|
203
|
+
},
|
|
204
|
+
"letterSpacing": {
|
|
205
|
+
"$description": "Letter spacing — loose for small, tight for display",
|
|
206
|
+
"tighter": "-0.02em",
|
|
207
|
+
"tight": "-0.01em",
|
|
208
|
+
"normal": "0",
|
|
209
|
+
"wide": "0.01em",
|
|
210
|
+
"wider": "0.02em"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"spacing": {
|
|
214
|
+
"0": "0",
|
|
215
|
+
"1": "0.25rem",
|
|
216
|
+
"2": "0.5rem",
|
|
217
|
+
"3": "0.75rem",
|
|
218
|
+
"4": "1rem",
|
|
219
|
+
"5": "1.25rem",
|
|
220
|
+
"6": "1.5rem",
|
|
221
|
+
"7": "1.75rem",
|
|
222
|
+
"8": "2rem",
|
|
223
|
+
"10": "2.5rem",
|
|
224
|
+
"12": "3rem",
|
|
225
|
+
"16": "4rem",
|
|
226
|
+
"20": "5rem",
|
|
227
|
+
"$description": "Generous spacing — breathing room, not dense",
|
|
228
|
+
"px": "1px",
|
|
229
|
+
"0-5": "0.125rem",
|
|
230
|
+
"1-5": "0.375rem",
|
|
231
|
+
"2-5": "0.625rem",
|
|
232
|
+
"3-5": "0.875rem",
|
|
233
|
+
"layout": {
|
|
234
|
+
"$description": "Generous layout spacing",
|
|
235
|
+
"page": "1.5rem",
|
|
236
|
+
"section": "3rem",
|
|
237
|
+
"stack": "1.25rem",
|
|
238
|
+
"inline": "1rem"
|
|
239
|
+
},
|
|
240
|
+
"component": {
|
|
241
|
+
"$description": "Component-level spacing",
|
|
242
|
+
"xs": "0.375rem",
|
|
243
|
+
"sm": "0.625rem",
|
|
244
|
+
"md": "0.875rem",
|
|
245
|
+
"lg": "1.25rem",
|
|
246
|
+
"xl": "1.75rem"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"radius": {
|
|
250
|
+
"$description": "Friendly and soft — not sharp, not overly pill-shaped",
|
|
251
|
+
"none": "0",
|
|
252
|
+
"xs": "4px",
|
|
253
|
+
"sm": "6px",
|
|
254
|
+
"md": "10px",
|
|
255
|
+
"lg": "14px",
|
|
256
|
+
"xl": "20px",
|
|
257
|
+
"full": "9999px"
|
|
258
|
+
},
|
|
259
|
+
"shadow": {
|
|
260
|
+
"$description": "Chunky offset shadows for playful tactile feel",
|
|
261
|
+
"none": "none",
|
|
262
|
+
"soft": "0 2px 8px rgba(61, 50, 41, 0.06), 0 1px 3px rgba(61, 50, 41, 0.08)",
|
|
263
|
+
"medium": "0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)",
|
|
264
|
+
"strong": "0 8px 24px rgba(61, 50, 41, 0.10), 0 4px 8px rgba(61, 50, 41, 0.06)",
|
|
265
|
+
"glow": "0 0 0 3px rgba(197, 67, 0, 0.2), 0 0 12px rgba(197, 67, 0, 0.1)",
|
|
266
|
+
"inset": "inset 0 1px 3px rgba(61, 50, 41, 0.08)",
|
|
267
|
+
"chunky": {
|
|
268
|
+
"$description": "Offset chunky shadows for playful tactile feel",
|
|
269
|
+
"primary": "#e8c4a0",
|
|
270
|
+
"secondary": "#d4c4b0",
|
|
271
|
+
"accent": "#a0b4c8",
|
|
272
|
+
"error": "#b545404d"
|
|
273
|
+
},
|
|
274
|
+
"primary": "#e8c4a0",
|
|
275
|
+
"secondary": "#d4c4b0",
|
|
276
|
+
"accent": "#a0b4c8",
|
|
277
|
+
"error": "#b545404d"
|
|
278
|
+
},
|
|
279
|
+
"gradient": {
|
|
280
|
+
"$description": "Soft, nostalgic gradients — never high-contrast or flashy",
|
|
281
|
+
"sunlit": "linear-gradient(180deg, #FAF7F2 0%, #F5EFE4 100%)",
|
|
282
|
+
"warm": "linear-gradient(135deg, #C54300 0%, #FF9800 100%)",
|
|
283
|
+
"nostalgic": "linear-gradient(180deg, #F5F0E8 0%, #EDE8DF 100%)"
|
|
284
|
+
},
|
|
285
|
+
"motion": {
|
|
286
|
+
"$description": "Relaxed, playful motion",
|
|
287
|
+
"duration": {
|
|
288
|
+
"quick": "100ms",
|
|
289
|
+
"snappy": "150ms",
|
|
290
|
+
"gentle": "200ms",
|
|
291
|
+
"relaxed": "300ms",
|
|
292
|
+
"slow": "400ms"
|
|
293
|
+
},
|
|
294
|
+
"easing": {
|
|
295
|
+
"gentle": [
|
|
296
|
+
0.4,
|
|
297
|
+
0,
|
|
298
|
+
0.2,
|
|
299
|
+
1
|
|
300
|
+
],
|
|
301
|
+
"out": [
|
|
302
|
+
0,
|
|
303
|
+
0,
|
|
304
|
+
0.2,
|
|
305
|
+
1
|
|
306
|
+
],
|
|
307
|
+
"in": [
|
|
308
|
+
0.4,
|
|
309
|
+
0,
|
|
310
|
+
1,
|
|
311
|
+
1
|
|
312
|
+
],
|
|
313
|
+
"playful": [
|
|
314
|
+
0.34,
|
|
315
|
+
1.3,
|
|
316
|
+
0.64,
|
|
317
|
+
1
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
"quick": "100ms",
|
|
321
|
+
"snappy": "150ms",
|
|
322
|
+
"gentle": "200ms",
|
|
323
|
+
"relaxed": "300ms",
|
|
324
|
+
"slow": "400ms",
|
|
325
|
+
"easeGentle": [
|
|
326
|
+
0.4,
|
|
327
|
+
0,
|
|
328
|
+
0.2,
|
|
329
|
+
1
|
|
330
|
+
],
|
|
331
|
+
"easeOut": [
|
|
332
|
+
0,
|
|
333
|
+
0,
|
|
334
|
+
0.2,
|
|
335
|
+
1
|
|
336
|
+
],
|
|
337
|
+
"easePlayful": [
|
|
338
|
+
0.34,
|
|
339
|
+
1.3,
|
|
340
|
+
0.64,
|
|
341
|
+
1
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
"border": {
|
|
345
|
+
"width": {
|
|
346
|
+
"0": "0",
|
|
347
|
+
"1": "1px",
|
|
348
|
+
"2": "2px",
|
|
349
|
+
"$description": "Border widths"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"zIndex": {
|
|
353
|
+
"0": 0,
|
|
354
|
+
"10": 10,
|
|
355
|
+
"20": 20,
|
|
356
|
+
"$description": "Z-index layering",
|
|
357
|
+
"dropdown": 1000,
|
|
358
|
+
"sticky": 1100,
|
|
359
|
+
"modal": 1200,
|
|
360
|
+
"popover": 1300,
|
|
361
|
+
"tooltip": 1400
|
|
362
|
+
},
|
|
363
|
+
"typography": {
|
|
364
|
+
"$description": "Bricolage Grotesque — playful, crafted, warm",
|
|
365
|
+
"heading": {
|
|
366
|
+
"fontFamily": "'Bricolage Grotesque', 'General Sans', sans-serif",
|
|
367
|
+
"h1": {
|
|
368
|
+
"fontSize": "2.625rem",
|
|
369
|
+
"fontWeight": "700",
|
|
370
|
+
"lineHeight": 1.25,
|
|
371
|
+
"letterSpacing": "-0.02em"
|
|
372
|
+
},
|
|
373
|
+
"h2": {
|
|
374
|
+
"fontSize": "2rem",
|
|
375
|
+
"fontWeight": "600",
|
|
376
|
+
"lineHeight": 1.25,
|
|
377
|
+
"letterSpacing": "-0.01em"
|
|
378
|
+
},
|
|
379
|
+
"h3": {
|
|
380
|
+
"fontSize": "1.625rem",
|
|
381
|
+
"fontWeight": "600",
|
|
382
|
+
"lineHeight": 1.35,
|
|
383
|
+
"letterSpacing": "-0.01em"
|
|
384
|
+
},
|
|
385
|
+
"h4": {
|
|
386
|
+
"fontSize": "1.25rem",
|
|
387
|
+
"fontWeight": "500",
|
|
388
|
+
"lineHeight": 1.35,
|
|
389
|
+
"letterSpacing": "0"
|
|
390
|
+
},
|
|
391
|
+
"h5": {
|
|
392
|
+
"fontSize": "1.125rem",
|
|
393
|
+
"fontWeight": "500",
|
|
394
|
+
"lineHeight": 1.5
|
|
395
|
+
},
|
|
396
|
+
"h6": {
|
|
397
|
+
"fontSize": "1rem",
|
|
398
|
+
"fontWeight": "500",
|
|
399
|
+
"lineHeight": 1.5
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"body": {
|
|
403
|
+
"fontFamily": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
404
|
+
"lg": {
|
|
405
|
+
"fontSize": "1.125rem",
|
|
406
|
+
"fontWeight": "400",
|
|
407
|
+
"lineHeight": 1.65
|
|
408
|
+
},
|
|
409
|
+
"base": {
|
|
410
|
+
"fontSize": "1rem",
|
|
411
|
+
"fontWeight": "400",
|
|
412
|
+
"lineHeight": 1.5
|
|
413
|
+
},
|
|
414
|
+
"sm": {
|
|
415
|
+
"fontSize": "0.875rem",
|
|
416
|
+
"fontWeight": "400",
|
|
417
|
+
"lineHeight": 1.5,
|
|
418
|
+
"letterSpacing": "0.01em"
|
|
419
|
+
},
|
|
420
|
+
"xs": {
|
|
421
|
+
"fontSize": "0.75rem",
|
|
422
|
+
"fontWeight": "400",
|
|
423
|
+
"lineHeight": 1.5,
|
|
424
|
+
"letterSpacing": "0.01em"
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"label": {
|
|
428
|
+
"fontFamily": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
429
|
+
"base": {
|
|
430
|
+
"fontSize": "0.875rem",
|
|
431
|
+
"fontWeight": "500",
|
|
432
|
+
"lineHeight": 1.5,
|
|
433
|
+
"letterSpacing": "0.01em"
|
|
434
|
+
},
|
|
435
|
+
"sm": {
|
|
436
|
+
"fontSize": "0.75rem",
|
|
437
|
+
"fontWeight": "500",
|
|
438
|
+
"lineHeight": 1.5,
|
|
439
|
+
"letterSpacing": "0.01em"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"code": {
|
|
443
|
+
"fontFamily": "'JetBrains Mono', 'Fira Code', ui-monospace, monospace",
|
|
444
|
+
"fontSize": "0.875rem",
|
|
445
|
+
"lineHeight": 1.5
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"shape": {
|
|
449
|
+
"$description": "Friendly soft corners",
|
|
450
|
+
"interactive": "6px",
|
|
451
|
+
"container": "10px",
|
|
452
|
+
"large": "14px",
|
|
453
|
+
"small": "4px",
|
|
454
|
+
"pill": "9999px"
|
|
455
|
+
},
|
|
456
|
+
"elevation": {
|
|
457
|
+
"$description": "Warm shadows with visible depth",
|
|
458
|
+
"none": "none",
|
|
459
|
+
"soft": "0 2px 8px rgba(61, 50, 41, 0.06), 0 1px 3px rgba(61, 50, 41, 0.08)",
|
|
460
|
+
"medium": "0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)",
|
|
461
|
+
"strong": "0 8px 24px rgba(61, 50, 41, 0.10), 0 4px 8px rgba(61, 50, 41, 0.06)",
|
|
462
|
+
"glow": "0 0 0 3px rgba(197, 67, 0, 0.2), 0 0 12px rgba(197, 67, 0, 0.1)",
|
|
463
|
+
"inset": "inset 0 1px 3px rgba(61, 50, 41, 0.08)"
|
|
464
|
+
},
|
|
465
|
+
"focus": {
|
|
466
|
+
"$description": "Warm, friendly focus ring",
|
|
467
|
+
"ringWidth": "3px",
|
|
468
|
+
"ringColor": "#c5430059",
|
|
469
|
+
"glowColor": "#c5430026"
|
|
470
|
+
},
|
|
471
|
+
"button": {
|
|
472
|
+
"$description": "Button — chunky, tactile, playful with offset shadows",
|
|
473
|
+
"base": {
|
|
474
|
+
"fontFamily": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
475
|
+
"fontWeight": "500",
|
|
476
|
+
"letterSpacing": "0.01em",
|
|
477
|
+
"borderRadius": "10px",
|
|
478
|
+
"borderWidth": "2.5px",
|
|
479
|
+
"transitionDuration": "150ms",
|
|
480
|
+
"transitionEasing": [
|
|
481
|
+
0.34,
|
|
482
|
+
1.3,
|
|
483
|
+
0.64,
|
|
484
|
+
1
|
|
485
|
+
]
|
|
486
|
+
},
|
|
487
|
+
"size": {
|
|
488
|
+
"sm": {
|
|
489
|
+
"fontSize": "0.875rem",
|
|
490
|
+
"paddingX": "0.75rem",
|
|
491
|
+
"paddingY": "0.5rem",
|
|
492
|
+
"minHeight": "36px",
|
|
493
|
+
"gap": "0.375rem"
|
|
494
|
+
},
|
|
495
|
+
"md": {
|
|
496
|
+
"fontSize": "0.875rem",
|
|
497
|
+
"paddingX": "1rem",
|
|
498
|
+
"paddingY": "0.625rem",
|
|
499
|
+
"minHeight": "44px",
|
|
500
|
+
"gap": "0.5rem"
|
|
501
|
+
},
|
|
502
|
+
"lg": {
|
|
503
|
+
"fontSize": "1rem",
|
|
504
|
+
"paddingX": "1.5rem",
|
|
505
|
+
"paddingY": "0.875rem",
|
|
506
|
+
"minHeight": "52px",
|
|
507
|
+
"gap": "0.625rem"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"variant": {
|
|
511
|
+
"primary": {
|
|
512
|
+
"$description": "Primary — warm orange, chunky tactile shadow",
|
|
513
|
+
"background": "#c54300",
|
|
514
|
+
"backgroundHover": "#9e3500",
|
|
515
|
+
"backgroundActive": "#9e3500",
|
|
516
|
+
"color": "#ffffff",
|
|
517
|
+
"borderColor": "#c54300",
|
|
518
|
+
"shadowColor": "#e8c4a0"
|
|
519
|
+
},
|
|
520
|
+
"secondary": {
|
|
521
|
+
"$description": "Secondary — cream surface with emphasis border",
|
|
522
|
+
"background": "#faf7f2",
|
|
523
|
+
"backgroundHover": "#ffffff",
|
|
524
|
+
"backgroundActive": "#f0ebe3",
|
|
525
|
+
"color": "#3d3229",
|
|
526
|
+
"borderColor": "#6b5d4d",
|
|
527
|
+
"shadowColor": "#d4c4b0"
|
|
528
|
+
},
|
|
529
|
+
"accent": {
|
|
530
|
+
"$description": "Accent — blue, modern counterbalance",
|
|
531
|
+
"background": "#3d5a80",
|
|
532
|
+
"backgroundHover": "#354f70",
|
|
533
|
+
"backgroundActive": "#2e4460",
|
|
534
|
+
"color": "#ffffff",
|
|
535
|
+
"borderColor": "#3d5a80",
|
|
536
|
+
"shadowColor": "#a0b4c8"
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"focus": {
|
|
540
|
+
"$description": "Warm, friendly focus ring",
|
|
541
|
+
"ringWidth": "3px",
|
|
542
|
+
"ringColor": "#c5430059",
|
|
543
|
+
"glowColor": "#c5430026"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"input": {
|
|
547
|
+
"$description": "Input — chunky border, inset shadow, tactile feel",
|
|
548
|
+
"base": {
|
|
549
|
+
"fontFamily": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
550
|
+
"fontSize": "1.125rem",
|
|
551
|
+
"lineHeight": 1.5,
|
|
552
|
+
"borderRadius": "10px",
|
|
553
|
+
"borderWidth": "2.5px",
|
|
554
|
+
"transitionDuration": "150ms",
|
|
555
|
+
"transitionEasing": [
|
|
556
|
+
0.4,
|
|
557
|
+
0,
|
|
558
|
+
0.2,
|
|
559
|
+
1
|
|
560
|
+
]
|
|
561
|
+
},
|
|
562
|
+
"size": {
|
|
563
|
+
"md": {
|
|
564
|
+
"paddingX": "1rem",
|
|
565
|
+
"paddingY": "0.75rem",
|
|
566
|
+
"minHeight": "48px"
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
"state": {
|
|
570
|
+
"default": {
|
|
571
|
+
"background": "#faf7f2",
|
|
572
|
+
"borderColor": "#6b5d4d",
|
|
573
|
+
"color": "#3d3229",
|
|
574
|
+
"placeholderColor": "#6b5d4d",
|
|
575
|
+
"shadowColor": "#d4c4b0"
|
|
576
|
+
},
|
|
577
|
+
"hover": {
|
|
578
|
+
"borderColor": "#8b4726"
|
|
579
|
+
},
|
|
580
|
+
"focus": {
|
|
581
|
+
"background": "#ffffff",
|
|
582
|
+
"borderColor": "#c54300",
|
|
583
|
+
"focusRingColor": "#c54300"
|
|
584
|
+
},
|
|
585
|
+
"error": {
|
|
586
|
+
"borderColor": "#b54540",
|
|
587
|
+
"background": "#fdf4f3",
|
|
588
|
+
"shadowColor": "#b545404d"
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
"card": {
|
|
593
|
+
"$description": "Card — raised surface with visible frame",
|
|
594
|
+
"base": {
|
|
595
|
+
"background": "#f5f0e8",
|
|
596
|
+
"borderRadius": "10px",
|
|
597
|
+
"borderWidth": "1px",
|
|
598
|
+
"borderColor": "#e2dcd2",
|
|
599
|
+
"shadow": "0 2px 8px rgba(61, 50, 41, 0.06), 0 1px 3px rgba(61, 50, 41, 0.08)",
|
|
600
|
+
"padding": "1.25rem"
|
|
601
|
+
},
|
|
602
|
+
"interactive": {
|
|
603
|
+
"$description": "Interactive card — gentle warmth on hover",
|
|
604
|
+
"transitionDuration": "200ms",
|
|
605
|
+
"transitionEasing": [
|
|
606
|
+
0.4,
|
|
607
|
+
0,
|
|
608
|
+
0.2,
|
|
609
|
+
1
|
|
610
|
+
],
|
|
611
|
+
"backgroundHover": "#faf7f2",
|
|
612
|
+
"borderColorHover": "#c5430040",
|
|
613
|
+
"shadowHover": "0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)"
|
|
614
|
+
},
|
|
615
|
+
"sunlit": {
|
|
616
|
+
"$description": "Sunlit card — featured with gradient",
|
|
617
|
+
"background": "linear-gradient(180deg, #FAF7F2 0%, #F5EFE4 100%)",
|
|
618
|
+
"borderColor": "#c5430040",
|
|
619
|
+
"shadow": "0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
"badge": {
|
|
623
|
+
"$description": "Badge — small status indicators",
|
|
624
|
+
"base": {
|
|
625
|
+
"fontFamily": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
626
|
+
"fontSize": "0.75rem",
|
|
627
|
+
"fontWeight": "500",
|
|
628
|
+
"letterSpacing": "0.01em",
|
|
629
|
+
"borderRadius": "9999px",
|
|
630
|
+
"paddingX": "0.625rem",
|
|
631
|
+
"paddingY": "0.25rem"
|
|
632
|
+
},
|
|
633
|
+
"variant": {
|
|
634
|
+
"brand": {
|
|
635
|
+
"background": "#fff3e0",
|
|
636
|
+
"color": "#c54300"
|
|
637
|
+
},
|
|
638
|
+
"accent": {
|
|
639
|
+
"background": "#eef4f9",
|
|
640
|
+
"color": "#3d5a80"
|
|
641
|
+
},
|
|
642
|
+
"success": {
|
|
643
|
+
"background": "#f0f7f1",
|
|
644
|
+
"color": "#4a8a4c"
|
|
645
|
+
},
|
|
646
|
+
"error": {
|
|
647
|
+
"background": "#fdf4f3",
|
|
648
|
+
"color": "#b54540"
|
|
649
|
+
},
|
|
650
|
+
"warning": {
|
|
651
|
+
"background": "#fefaee",
|
|
652
|
+
"color": "#8c5e1c"
|
|
653
|
+
},
|
|
654
|
+
"neutral": {
|
|
655
|
+
"background": "#ede8df",
|
|
656
|
+
"color": "#6b5d4d"
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
"link": {
|
|
661
|
+
"$description": "Link — warm brand color",
|
|
662
|
+
"color": "#c54300",
|
|
663
|
+
"colorHover": "#9e3500",
|
|
664
|
+
"textDecoration": "underline",
|
|
665
|
+
"textDecorationHover": "none"
|
|
666
|
+
}
|
|
667
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@orange-halo/tokens",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Design tokens for Orange Halo Design System (W3C Design Token Format)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/tokens.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/tokens.js"
|
|
10
|
+
},
|
|
11
|
+
"./css": "./dist/tokens.css",
|
|
12
|
+
"./themes/light": "./dist/themes/light.css",
|
|
13
|
+
"./themes/dark": "./dist/themes/dark.css",
|
|
14
|
+
"./json": "./dist/tokens.json"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"tokens"
|
|
19
|
+
],
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"style-dictionary": "^4.2.0"
|
|
22
|
+
},
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"design-tokens",
|
|
28
|
+
"w3c",
|
|
29
|
+
"dtcg",
|
|
30
|
+
"css-custom-properties",
|
|
31
|
+
"style-dictionary"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "node style-dictionary.config.js",
|
|
35
|
+
"dev": "node --watch style-dictionary.config.js",
|
|
36
|
+
"clean": "rm -rf dist",
|
|
37
|
+
"lint": "eslint tokens/",
|
|
38
|
+
"lint:fix": "eslint tokens/ --fix"
|
|
39
|
+
}
|
|
40
|
+
}
|