@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
|
@@ -3,32 +3,56 @@
|
|
|
3
3
|
"button": {
|
|
4
4
|
"$description": "Button — chunky, tactile, playful with offset shadows",
|
|
5
5
|
"base": {
|
|
6
|
-
"fontFamily": {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"fontFamily": {
|
|
7
|
+
"$type": "fontFamily",
|
|
8
|
+
"$value": "{typography.control.fontFamily}"
|
|
9
|
+
},
|
|
10
|
+
"fontWeight": {
|
|
11
|
+
"$type": "fontWeight",
|
|
12
|
+
"$value": "{typography.control.fontWeight}"
|
|
13
|
+
},
|
|
14
|
+
"letterSpacing": {
|
|
15
|
+
"$type": "dimension",
|
|
16
|
+
"$value": "{typography.control.letterSpacing}"
|
|
17
|
+
},
|
|
9
18
|
"borderRadius": { "$type": "dimension", "$value": "{shape.control}" },
|
|
10
|
-
"borderWidth": { "$type": "dimension", "$value": "
|
|
11
|
-
"transitionDuration": {
|
|
12
|
-
|
|
19
|
+
"borderWidth": { "$type": "dimension", "$value": "{stroke.control}" },
|
|
20
|
+
"transitionDuration": {
|
|
21
|
+
"$type": "duration",
|
|
22
|
+
"$value": "{motion.snappy}"
|
|
23
|
+
},
|
|
24
|
+
"transitionEasing": {
|
|
25
|
+
"$type": "cubicBezier",
|
|
26
|
+
"$value": "{motion.easePlayful}"
|
|
27
|
+
}
|
|
13
28
|
},
|
|
14
29
|
"size": {
|
|
15
30
|
"$description": "Matches oh-button.ts, which reads these. Minimum 16px text",
|
|
16
31
|
"sm": {
|
|
17
|
-
"fontSize": {
|
|
32
|
+
"fontSize": {
|
|
33
|
+
"$type": "dimension",
|
|
34
|
+
"$value": "{typography.control.fontSize.sm}"
|
|
35
|
+
},
|
|
18
36
|
"paddingX": { "$type": "dimension", "$value": "{spacing.4}" },
|
|
19
37
|
"paddingY": { "$type": "dimension", "$value": "{spacing.2}" },
|
|
20
38
|
"minHeight": { "$type": "dimension", "$value": "40px" },
|
|
21
39
|
"gap": { "$type": "dimension", "$value": "{spacing.2}" }
|
|
22
40
|
},
|
|
23
41
|
"md": {
|
|
24
|
-
"fontSize": {
|
|
42
|
+
"fontSize": {
|
|
43
|
+
"$type": "dimension",
|
|
44
|
+
"$value": "{typography.control.fontSize.md}"
|
|
45
|
+
},
|
|
25
46
|
"paddingX": { "$type": "dimension", "$value": "{spacing.6}" },
|
|
26
47
|
"paddingY": { "$type": "dimension", "$value": "{spacing.3}" },
|
|
27
48
|
"minHeight": { "$type": "dimension", "$value": "48px" },
|
|
28
49
|
"gap": { "$type": "dimension", "$value": "{spacing.2}" }
|
|
29
50
|
},
|
|
30
51
|
"lg": {
|
|
31
|
-
"fontSize": {
|
|
52
|
+
"fontSize": {
|
|
53
|
+
"$type": "dimension",
|
|
54
|
+
"$value": "{typography.control.fontSize.lg}"
|
|
55
|
+
},
|
|
32
56
|
"paddingX": { "$type": "dimension", "$value": "{spacing.8}" },
|
|
33
57
|
"paddingY": { "$type": "dimension", "$value": "{spacing.4}" },
|
|
34
58
|
"minHeight": { "$type": "dimension", "$value": "56px" },
|
|
@@ -39,8 +63,14 @@
|
|
|
39
63
|
"primary": {
|
|
40
64
|
"$description": "Primary — warm orange, chunky tactile shadow",
|
|
41
65
|
"background": { "$type": "color", "$value": "{color.brand.primary}" },
|
|
42
|
-
"backgroundHover": {
|
|
43
|
-
|
|
66
|
+
"backgroundHover": {
|
|
67
|
+
"$type": "color",
|
|
68
|
+
"$value": "{color.brand.primaryHover}"
|
|
69
|
+
},
|
|
70
|
+
"backgroundActive": {
|
|
71
|
+
"$type": "color",
|
|
72
|
+
"$value": "{color.brand.primaryActive}"
|
|
73
|
+
},
|
|
44
74
|
"color": { "$type": "color", "$value": "{color.text.onBrand}" },
|
|
45
75
|
"borderColor": { "$type": "color", "$value": "{color.brand.primary}" },
|
|
46
76
|
"shadowColor": { "$type": "color", "$value": "{shadow.primary}" }
|
|
@@ -48,17 +78,32 @@
|
|
|
48
78
|
"secondary": {
|
|
49
79
|
"$description": "Secondary — cream surface with emphasis border",
|
|
50
80
|
"background": { "$type": "color", "$value": "{color.surface.base}" },
|
|
51
|
-
"backgroundHover": {
|
|
52
|
-
|
|
81
|
+
"backgroundHover": {
|
|
82
|
+
"$type": "color",
|
|
83
|
+
"$value": "{color.surface.hover}"
|
|
84
|
+
},
|
|
85
|
+
"backgroundActive": {
|
|
86
|
+
"$type": "color",
|
|
87
|
+
"$value": "{color.surface.activePressed}"
|
|
88
|
+
},
|
|
53
89
|
"color": { "$type": "color", "$value": "{color.text.primary}" },
|
|
54
|
-
"borderColor": {
|
|
90
|
+
"borderColor": {
|
|
91
|
+
"$type": "color",
|
|
92
|
+
"$value": "{color.border.emphasis}"
|
|
93
|
+
},
|
|
55
94
|
"shadowColor": { "$type": "color", "$value": "{shadow.secondary}" }
|
|
56
95
|
},
|
|
57
96
|
"accent": {
|
|
58
97
|
"$description": "Accent — blue, modern counterbalance",
|
|
59
98
|
"background": { "$type": "color", "$value": "{color.accent.default}" },
|
|
60
|
-
"backgroundHover": {
|
|
61
|
-
|
|
99
|
+
"backgroundHover": {
|
|
100
|
+
"$type": "color",
|
|
101
|
+
"$value": "{color.accent.hover}"
|
|
102
|
+
},
|
|
103
|
+
"backgroundActive": {
|
|
104
|
+
"$type": "color",
|
|
105
|
+
"$value": "{color.accent.active}"
|
|
106
|
+
},
|
|
62
107
|
"color": { "$type": "color", "$value": "{color.text.onAccent}" },
|
|
63
108
|
"borderColor": { "$type": "color", "$value": "{color.accent.default}" },
|
|
64
109
|
"shadowColor": { "$type": "color", "$value": "{color.accent.shadow}" }
|
|
@@ -73,13 +118,28 @@
|
|
|
73
118
|
"input": {
|
|
74
119
|
"$description": "Input — chunky border, inset shadow, tactile feel",
|
|
75
120
|
"base": {
|
|
76
|
-
"fontFamily": {
|
|
77
|
-
|
|
78
|
-
|
|
121
|
+
"fontFamily": {
|
|
122
|
+
"$type": "fontFamily",
|
|
123
|
+
"$value": "{typography.control.fontFamily}"
|
|
124
|
+
},
|
|
125
|
+
"fontSize": {
|
|
126
|
+
"$type": "dimension",
|
|
127
|
+
"$value": "{typography.control.fontSize.md}"
|
|
128
|
+
},
|
|
129
|
+
"lineHeight": {
|
|
130
|
+
"$type": "number",
|
|
131
|
+
"$value": "{typography.body.base.lineHeight}"
|
|
132
|
+
},
|
|
79
133
|
"borderRadius": { "$type": "dimension", "$value": "{shape.control}" },
|
|
80
|
-
"borderWidth": { "$type": "dimension", "$value": "
|
|
81
|
-
"transitionDuration": {
|
|
82
|
-
|
|
134
|
+
"borderWidth": { "$type": "dimension", "$value": "{stroke.control}" },
|
|
135
|
+
"transitionDuration": {
|
|
136
|
+
"$type": "duration",
|
|
137
|
+
"$value": "{motion.snappy}"
|
|
138
|
+
},
|
|
139
|
+
"transitionEasing": {
|
|
140
|
+
"$type": "cubicBezier",
|
|
141
|
+
"$value": "{motion.easeGentle}"
|
|
142
|
+
}
|
|
83
143
|
},
|
|
84
144
|
"size": {
|
|
85
145
|
"md": {
|
|
@@ -91,22 +151,36 @@
|
|
|
91
151
|
"state": {
|
|
92
152
|
"default": {
|
|
93
153
|
"background": { "$type": "color", "$value": "{color.surface.base}" },
|
|
94
|
-
"borderColor": {
|
|
154
|
+
"borderColor": {
|
|
155
|
+
"$type": "color",
|
|
156
|
+
"$value": "{color.border.emphasis}",
|
|
157
|
+
"$description": "WCAG 3:1 contrast for UI elements"
|
|
158
|
+
},
|
|
95
159
|
"color": { "$type": "color", "$value": "{color.text.primary}" },
|
|
96
|
-
"placeholderColor": {
|
|
160
|
+
"placeholderColor": {
|
|
161
|
+
"$type": "color",
|
|
162
|
+
"$value": "{color.text.secondary}",
|
|
163
|
+
"$description": "WCAG readable placeholder"
|
|
164
|
+
},
|
|
97
165
|
"shadowColor": { "$type": "color", "$value": "{shadow.secondary}" }
|
|
98
166
|
},
|
|
99
167
|
"hover": {
|
|
100
168
|
"borderColor": { "$type": "color", "$value": "{color.border.hover}" }
|
|
101
169
|
},
|
|
102
170
|
"focus": {
|
|
103
|
-
"background": {
|
|
171
|
+
"background": {
|
|
172
|
+
"$type": "color",
|
|
173
|
+
"$value": "{color.surface.highlight}"
|
|
174
|
+
},
|
|
104
175
|
"borderColor": { "$type": "color", "$value": "{focus.ringColor}" },
|
|
105
176
|
"focusRingColor": { "$type": "color", "$value": "{focus.ringColor}" }
|
|
106
177
|
},
|
|
107
178
|
"error": {
|
|
108
179
|
"borderColor": { "$type": "color", "$value": "{color.feedback.error}" },
|
|
109
|
-
"background": {
|
|
180
|
+
"background": {
|
|
181
|
+
"$type": "color",
|
|
182
|
+
"$value": "{color.feedback.errorSubtle}"
|
|
183
|
+
},
|
|
110
184
|
"shadowColor": { "$type": "color", "$value": "{shadow.error}" }
|
|
111
185
|
}
|
|
112
186
|
}
|
|
@@ -116,22 +190,34 @@
|
|
|
116
190
|
"base": {
|
|
117
191
|
"background": { "$type": "color", "$value": "{color.surface.raised}" },
|
|
118
192
|
"borderRadius": { "$type": "dimension", "$value": "{shape.large}" },
|
|
119
|
-
"borderWidth": { "$type": "dimension", "$value": "{
|
|
193
|
+
"borderWidth": { "$type": "dimension", "$value": "{stroke.surface}" },
|
|
120
194
|
"borderColor": { "$type": "color", "$value": "{color.border.default}" },
|
|
121
195
|
"shadow": { "$type": "shadow", "$value": "{elevation.soft}" },
|
|
122
196
|
"padding": { "$type": "dimension", "$value": "{spacing.5}" }
|
|
123
197
|
},
|
|
124
198
|
"interactive": {
|
|
125
199
|
"$description": "Interactive card — gentle warmth on hover",
|
|
126
|
-
"transitionDuration": {
|
|
127
|
-
|
|
200
|
+
"transitionDuration": {
|
|
201
|
+
"$type": "duration",
|
|
202
|
+
"$value": "{motion.gentle}"
|
|
203
|
+
},
|
|
204
|
+
"transitionEasing": {
|
|
205
|
+
"$type": "cubicBezier",
|
|
206
|
+
"$value": "{motion.easeGentle}"
|
|
207
|
+
},
|
|
128
208
|
"backgroundHover": { "$type": "color", "$value": "{color.surface.base}" },
|
|
129
|
-
"borderColorHover": {
|
|
209
|
+
"borderColorHover": {
|
|
210
|
+
"$type": "color",
|
|
211
|
+
"$value": "{color.border.brand}"
|
|
212
|
+
},
|
|
130
213
|
"shadowHover": { "$type": "shadow", "$value": "{elevation.medium}" }
|
|
131
214
|
},
|
|
132
215
|
"raised": {
|
|
133
216
|
"$description": "Raised card (default) — subtle top-lit gradient",
|
|
134
|
-
"gradientStart": {
|
|
217
|
+
"gradientStart": {
|
|
218
|
+
"$type": "color",
|
|
219
|
+
"$value": "{color.surface.highlight}"
|
|
220
|
+
},
|
|
135
221
|
"gradientMid": { "$type": "color", "$value": "{color.surface.base}" },
|
|
136
222
|
"gradientEnd": { "$type": "color", "$value": "{color.surface.raised}" },
|
|
137
223
|
"borderColor": { "$type": "color", "$value": "{color.border.default}" }
|
|
@@ -144,26 +230,57 @@
|
|
|
144
230
|
},
|
|
145
231
|
"sunlit": {
|
|
146
232
|
"$description": "Sunlit card — featured with gradient",
|
|
147
|
-
"background": {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
233
|
+
"background": {
|
|
234
|
+
"$type": "string",
|
|
235
|
+
"$value": "linear-gradient(180deg, {color.surface.featuredStart} 0%, {color.surface.featuredMid} 30%, {color.surface.featuredEnd} 100%)"
|
|
236
|
+
},
|
|
237
|
+
"gradientStart": {
|
|
238
|
+
"$type": "color",
|
|
239
|
+
"$value": "{color.surface.featuredStart}"
|
|
240
|
+
},
|
|
241
|
+
"gradientMid": {
|
|
242
|
+
"$type": "color",
|
|
243
|
+
"$value": "{color.surface.featuredMid}"
|
|
244
|
+
},
|
|
245
|
+
"gradientEnd": {
|
|
246
|
+
"$type": "color",
|
|
247
|
+
"$value": "{color.surface.featuredEnd}"
|
|
248
|
+
},
|
|
151
249
|
"borderColor": { "$type": "color", "$value": "{color.border.brand}" },
|
|
152
|
-
"borderColorHover": {
|
|
250
|
+
"borderColorHover": {
|
|
251
|
+
"$type": "color",
|
|
252
|
+
"$value": "{color.border.brandHover}"
|
|
253
|
+
},
|
|
153
254
|
"shadow": { "$type": "shadow", "$value": "{elevation.medium}" }
|
|
154
255
|
},
|
|
155
256
|
"section": {
|
|
156
257
|
"$description": "Card header and footer",
|
|
157
|
-
"dividerColor": { "$type": "color", "$value": "
|
|
158
|
-
"headerGradientStart": {
|
|
159
|
-
|
|
258
|
+
"dividerColor": { "$type": "color", "$value": "{color.border.divider}" },
|
|
259
|
+
"headerGradientStart": {
|
|
260
|
+
"$type": "color",
|
|
261
|
+
"$value": "{color.surface.sheen}"
|
|
262
|
+
},
|
|
263
|
+
"headerGradientEnd": {
|
|
264
|
+
"$type": "color",
|
|
265
|
+
"$value": "rgba(255, 255, 255, 0)"
|
|
266
|
+
}
|
|
160
267
|
}
|
|
161
268
|
},
|
|
162
269
|
"progress": {
|
|
163
270
|
"$description": "Progress — chunky pill track",
|
|
271
|
+
"track": {
|
|
272
|
+
"insetShadow": {
|
|
273
|
+
"$type": "color",
|
|
274
|
+
"$value": "rgba(0, 0, 0, 0.06)",
|
|
275
|
+
"$description": "Neutral, so it works on every track colour"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
164
278
|
"inverse": {
|
|
165
279
|
"$description": "On brand/accent backgrounds (e.g. journey hero). Fill is cream so it reads at 3.7:1 against the track.",
|
|
166
|
-
"trackBackground": {
|
|
280
|
+
"trackBackground": {
|
|
281
|
+
"$type": "color",
|
|
282
|
+
"$value": "rgba(255, 255, 255, 0.15)"
|
|
283
|
+
},
|
|
167
284
|
"trackBorder": { "$type": "color", "$value": "rgba(255, 255, 255, 0.3)" },
|
|
168
285
|
"fill": { "$type": "color", "$value": "{color.text.inverse}" }
|
|
169
286
|
}
|
|
@@ -171,17 +288,32 @@
|
|
|
171
288
|
"badge": {
|
|
172
289
|
"$description": "Badge — small status indicators",
|
|
173
290
|
"base": {
|
|
174
|
-
"fontFamily": {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
291
|
+
"fontFamily": {
|
|
292
|
+
"$type": "fontFamily",
|
|
293
|
+
"$value": "{typography.label.fontFamily}"
|
|
294
|
+
},
|
|
295
|
+
"fontSize": {
|
|
296
|
+
"$type": "dimension",
|
|
297
|
+
"$value": "{typography.body.base.fontSize}"
|
|
298
|
+
},
|
|
299
|
+
"fontWeight": {
|
|
300
|
+
"$type": "fontWeight",
|
|
301
|
+
"$value": "{typography.label.base.fontWeight}"
|
|
302
|
+
},
|
|
303
|
+
"letterSpacing": {
|
|
304
|
+
"$type": "dimension",
|
|
305
|
+
"$value": "{typography.label.base.letterSpacing}"
|
|
306
|
+
},
|
|
178
307
|
"borderRadius": { "$type": "dimension", "$value": "{shape.compact}" },
|
|
179
308
|
"paddingX": { "$type": "dimension", "$value": "{spacing.2-5}" },
|
|
180
309
|
"paddingY": { "$type": "dimension", "$value": "{spacing.1}" }
|
|
181
310
|
},
|
|
182
311
|
"variant": {
|
|
183
312
|
"brand": {
|
|
184
|
-
"background": {
|
|
313
|
+
"background": {
|
|
314
|
+
"$type": "color",
|
|
315
|
+
"$value": "{color.brand.primarySubtle}"
|
|
316
|
+
},
|
|
185
317
|
"color": { "$type": "color", "$value": "{color.brand.primary}" }
|
|
186
318
|
},
|
|
187
319
|
"accent": {
|
|
@@ -189,15 +321,24 @@
|
|
|
189
321
|
"color": { "$type": "color", "$value": "{color.accent.default}" }
|
|
190
322
|
},
|
|
191
323
|
"success": {
|
|
192
|
-
"background": {
|
|
324
|
+
"background": {
|
|
325
|
+
"$type": "color",
|
|
326
|
+
"$value": "{color.feedback.successSubtle}"
|
|
327
|
+
},
|
|
193
328
|
"color": { "$type": "color", "$value": "{color.feedback.success}" }
|
|
194
329
|
},
|
|
195
330
|
"error": {
|
|
196
|
-
"background": {
|
|
331
|
+
"background": {
|
|
332
|
+
"$type": "color",
|
|
333
|
+
"$value": "{color.feedback.errorSubtle}"
|
|
334
|
+
},
|
|
197
335
|
"color": { "$type": "color", "$value": "{color.feedback.error}" }
|
|
198
336
|
},
|
|
199
337
|
"warning": {
|
|
200
|
-
"background": {
|
|
338
|
+
"background": {
|
|
339
|
+
"$type": "color",
|
|
340
|
+
"$value": "{color.feedback.warningSubtle}"
|
|
341
|
+
},
|
|
201
342
|
"color": { "$type": "color", "$value": "{color.feedback.warning}" }
|
|
202
343
|
},
|
|
203
344
|
"neutral": {
|
|
@@ -214,15 +355,28 @@
|
|
|
214
355
|
"textDecorationHover": { "$type": "string", "$value": "none" },
|
|
215
356
|
"inverse": {
|
|
216
357
|
"$description": "On brand/accent backgrounds",
|
|
217
|
-
"focusBackground": {
|
|
358
|
+
"focusBackground": {
|
|
359
|
+
"$type": "color",
|
|
360
|
+
"$value": "rgba(0, 0, 0, 0.1)",
|
|
361
|
+
"$description": "Focus tint — paired with the underline, which is the indicator"
|
|
362
|
+
}
|
|
218
363
|
}
|
|
219
364
|
},
|
|
220
365
|
"modal": {
|
|
221
366
|
"$description": "Modal dialog",
|
|
222
|
-
"overlay": { "$type": "color", "$value": "
|
|
367
|
+
"overlay": { "$type": "color", "$value": "{color.surface.backdrop}" }
|
|
223
368
|
},
|
|
224
369
|
"closeButton": {
|
|
225
370
|
"$description": "Icon-only close buttons in alerts and modals",
|
|
226
|
-
"backgroundHover": {
|
|
371
|
+
"backgroundHover": {
|
|
372
|
+
"$type": "color",
|
|
373
|
+
"$value": "rgba(0, 0, 0, 0.08)",
|
|
374
|
+
"$description": "Neutral tint that works on every alert variant"
|
|
375
|
+
},
|
|
376
|
+
"shadowHover": {
|
|
377
|
+
"$type": "color",
|
|
378
|
+
"$value": "rgba(0, 0, 0, 0.15)",
|
|
379
|
+
"$description": "Offset shadow colour on hover and press. Neutral, like the background, so it works on every alert variant"
|
|
380
|
+
}
|
|
227
381
|
}
|
|
228
382
|
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Core scales shared by every brand: spacing, fixed sizes (content widths and breakpoints) and stacking order. Structural, so layouts behave the same in every brand.",
|
|
3
|
+
"spacing": {
|
|
4
|
+
"$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",
|
|
5
|
+
"0": {
|
|
6
|
+
"$type": "dimension",
|
|
7
|
+
"$value": "0"
|
|
8
|
+
},
|
|
9
|
+
"px": {
|
|
10
|
+
"$type": "dimension",
|
|
11
|
+
"$value": "1px"
|
|
12
|
+
},
|
|
13
|
+
"0-5": {
|
|
14
|
+
"$type": "dimension",
|
|
15
|
+
"$value": "0.125rem",
|
|
16
|
+
"$description": "2px"
|
|
17
|
+
},
|
|
18
|
+
"1": {
|
|
19
|
+
"$type": "dimension",
|
|
20
|
+
"$value": "0.25rem",
|
|
21
|
+
"$description": "4px"
|
|
22
|
+
},
|
|
23
|
+
"1-5": {
|
|
24
|
+
"$type": "dimension",
|
|
25
|
+
"$value": "0.375rem",
|
|
26
|
+
"$description": "6px"
|
|
27
|
+
},
|
|
28
|
+
"2": {
|
|
29
|
+
"$type": "dimension",
|
|
30
|
+
"$value": "0.5rem",
|
|
31
|
+
"$description": "8px"
|
|
32
|
+
},
|
|
33
|
+
"2-5": {
|
|
34
|
+
"$type": "dimension",
|
|
35
|
+
"$value": "0.625rem",
|
|
36
|
+
"$description": "10px"
|
|
37
|
+
},
|
|
38
|
+
"3": {
|
|
39
|
+
"$type": "dimension",
|
|
40
|
+
"$value": "0.75rem",
|
|
41
|
+
"$description": "12px"
|
|
42
|
+
},
|
|
43
|
+
"3-5": {
|
|
44
|
+
"$type": "dimension",
|
|
45
|
+
"$value": "0.875rem",
|
|
46
|
+
"$description": "14px"
|
|
47
|
+
},
|
|
48
|
+
"4": {
|
|
49
|
+
"$type": "dimension",
|
|
50
|
+
"$value": "1rem",
|
|
51
|
+
"$description": "16px"
|
|
52
|
+
},
|
|
53
|
+
"5": {
|
|
54
|
+
"$type": "dimension",
|
|
55
|
+
"$value": "1.25rem",
|
|
56
|
+
"$description": "20px"
|
|
57
|
+
},
|
|
58
|
+
"6": {
|
|
59
|
+
"$type": "dimension",
|
|
60
|
+
"$value": "1.5rem",
|
|
61
|
+
"$description": "24px"
|
|
62
|
+
},
|
|
63
|
+
"7": {
|
|
64
|
+
"$type": "dimension",
|
|
65
|
+
"$value": "1.75rem",
|
|
66
|
+
"$description": "28px"
|
|
67
|
+
},
|
|
68
|
+
"8": {
|
|
69
|
+
"$type": "dimension",
|
|
70
|
+
"$value": "2rem",
|
|
71
|
+
"$description": "32px"
|
|
72
|
+
},
|
|
73
|
+
"10": {
|
|
74
|
+
"$type": "dimension",
|
|
75
|
+
"$value": "2.5rem",
|
|
76
|
+
"$description": "40px"
|
|
77
|
+
},
|
|
78
|
+
"12": {
|
|
79
|
+
"$type": "dimension",
|
|
80
|
+
"$value": "3rem",
|
|
81
|
+
"$description": "48px"
|
|
82
|
+
},
|
|
83
|
+
"16": {
|
|
84
|
+
"$type": "dimension",
|
|
85
|
+
"$value": "4rem",
|
|
86
|
+
"$description": "64px"
|
|
87
|
+
},
|
|
88
|
+
"20": {
|
|
89
|
+
"$type": "dimension",
|
|
90
|
+
"$value": "5rem",
|
|
91
|
+
"$description": "80px"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"size": {
|
|
95
|
+
"$description": "Fixed layout sizes: content widths and viewport breakpoints",
|
|
96
|
+
"container": {
|
|
97
|
+
"$description": "Content max-widths",
|
|
98
|
+
"sm": {
|
|
99
|
+
"$type": "dimension",
|
|
100
|
+
"$value": "640px"
|
|
101
|
+
},
|
|
102
|
+
"md": {
|
|
103
|
+
"$type": "dimension",
|
|
104
|
+
"$value": "768px"
|
|
105
|
+
},
|
|
106
|
+
"lg": {
|
|
107
|
+
"$type": "dimension",
|
|
108
|
+
"$value": "1024px"
|
|
109
|
+
},
|
|
110
|
+
"xl": {
|
|
111
|
+
"$type": "dimension",
|
|
112
|
+
"$value": "1280px"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"breakpoint": {
|
|
116
|
+
"$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).",
|
|
117
|
+
"xs": {
|
|
118
|
+
"$type": "dimension",
|
|
119
|
+
"$value": "480px"
|
|
120
|
+
},
|
|
121
|
+
"sm": {
|
|
122
|
+
"$type": "dimension",
|
|
123
|
+
"$value": "640px"
|
|
124
|
+
},
|
|
125
|
+
"md": {
|
|
126
|
+
"$type": "dimension",
|
|
127
|
+
"$value": "768px"
|
|
128
|
+
},
|
|
129
|
+
"lg": {
|
|
130
|
+
"$type": "dimension",
|
|
131
|
+
"$value": "1024px"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"zIndex": {
|
|
136
|
+
"$description": "Z-index layering",
|
|
137
|
+
"0": {
|
|
138
|
+
"$type": "number",
|
|
139
|
+
"$value": 0
|
|
140
|
+
},
|
|
141
|
+
"10": {
|
|
142
|
+
"$type": "number",
|
|
143
|
+
"$value": 10
|
|
144
|
+
},
|
|
145
|
+
"20": {
|
|
146
|
+
"$type": "number",
|
|
147
|
+
"$value": 20
|
|
148
|
+
},
|
|
149
|
+
"dropdown": {
|
|
150
|
+
"$type": "number",
|
|
151
|
+
"$value": 1000
|
|
152
|
+
},
|
|
153
|
+
"sticky": {
|
|
154
|
+
"$type": "number",
|
|
155
|
+
"$value": 1100
|
|
156
|
+
},
|
|
157
|
+
"modal": {
|
|
158
|
+
"$type": "number",
|
|
159
|
+
"$value": 1200
|
|
160
|
+
},
|
|
161
|
+
"popover": {
|
|
162
|
+
"$type": "number",
|
|
163
|
+
"$value": 1300
|
|
164
|
+
},
|
|
165
|
+
"tooltip": {
|
|
166
|
+
"$type": "number",
|
|
167
|
+
"$value": 1400
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
package/dist/themes/light.css
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Orange Halo Light Theme
|
|
3
|
-
* Auto-generated - do not edit directly
|
|
4
|
-
* WCAG AA compliant color contrast ratios
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
:root, [data-theme='light'] {
|
|
8
|
-
--oh-color-brand-primary: #c54300;
|
|
9
|
-
--oh-color-brand-primary-hover: #9e3500;
|
|
10
|
-
--oh-color-brand-primary-active: #9e3500;
|
|
11
|
-
--oh-color-brand-primary-subtle: #fff3e0;
|
|
12
|
-
--oh-color-brand-primary-muted: #ffe0b2;
|
|
13
|
-
--oh-color-brand-highlight: #e8a838;
|
|
14
|
-
--oh-color-brand-highlight-subtle: #fdf3d4;
|
|
15
|
-
--oh-color-accent-default: #3d5a80;
|
|
16
|
-
--oh-color-accent-hover: #354f70;
|
|
17
|
-
--oh-color-accent-subtle: #eef4f9;
|
|
18
|
-
--oh-color-accent-muted: #d6e4f0;
|
|
19
|
-
--oh-color-feedback-success: #3d7340;
|
|
20
|
-
--oh-color-feedback-success-subtle: #f0f7f1;
|
|
21
|
-
--oh-color-feedback-error: #b54540;
|
|
22
|
-
--oh-color-feedback-error-subtle: #fdf4f3;
|
|
23
|
-
--oh-color-feedback-warning: #8c5e1c;
|
|
24
|
-
--oh-color-feedback-warning-subtle: #fefaee;
|
|
25
|
-
--oh-color-feedback-info: #3d5a80;
|
|
26
|
-
--oh-color-feedback-info-subtle: #eef4f9;
|
|
27
|
-
--oh-color-surface-base: #faf7f2;
|
|
28
|
-
--oh-color-surface-raised: #f5f0e8;
|
|
29
|
-
--oh-color-surface-sunlit: #faf7f2;
|
|
30
|
-
--oh-color-surface-inset: #ede8df;
|
|
31
|
-
--oh-color-surface-overlay: rgba(61, 50, 41, 0.4);
|
|
32
|
-
--oh-color-surface-disabled: #e2dcd2;
|
|
33
|
-
--oh-color-border-default: #e2dcd2;
|
|
34
|
-
--oh-color-border-subtle: #ede8df;
|
|
35
|
-
--oh-color-border-emphasis: #6b5d4d;
|
|
36
|
-
--oh-color-border-focus: #c54300;
|
|
37
|
-
--oh-color-border-brand: rgba(197, 67, 0, 0.25);
|
|
38
|
-
--oh-color-text-primary: #3d3229;
|
|
39
|
-
--oh-color-text-secondary: #6b5d4d;
|
|
40
|
-
--oh-color-text-disabled: #c9c1b4;
|
|
41
|
-
--oh-color-text-inverse: #faf7f2;
|
|
42
|
-
--oh-color-text-link: #c54300;
|
|
43
|
-
--oh-color-text-link-hover: #9e3500;
|
|
44
|
-
--oh-color-text-link-raised: #9e3500;
|
|
45
|
-
--oh-focus-ring-color: #c54300;
|
|
46
|
-
--oh-focus-glow-color: rgba(197, 67, 0, 0.15);
|
|
47
|
-
}
|