@jirawatpyk/aura-tokens 4.4.1
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/GOVERNANCE.md +87 -0
- package/LICENSE +30 -0
- package/README.md +82 -0
- package/aura-fonts.css +2 -0
- package/aura.css +242 -0
- package/components/aura.bundle.js +4087 -0
- package/components/aura.components.css +967 -0
- package/components/index.d.ts +825 -0
- package/eslint-plugin-aura.js +34 -0
- package/figma-variables.csv +205 -0
- package/package.json +61 -0
- package/scripts/a11y-check.js +67 -0
- package/scripts/lint-tokens.js +32 -0
- package/tailwind.config.ts +29 -0
- package/tailwind.tokens.cjs +200 -0
- package/tokens.json +484 -0
package/tokens.json
ADDED
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4.4.1",
|
|
3
|
+
"meta": {
|
|
4
|
+
"name": "AURA Design System",
|
|
5
|
+
"tier": "3-tier",
|
|
6
|
+
"description": "Enterprise Standard, Human Creative",
|
|
7
|
+
"generatedFrom": "AURA design system artifact (tokens.json list format)",
|
|
8
|
+
"themes": [
|
|
9
|
+
"light",
|
|
10
|
+
"dark"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"primitive": {
|
|
14
|
+
"violet": {
|
|
15
|
+
"50": "#f5f3ff",
|
|
16
|
+
"100": "#ede9fe",
|
|
17
|
+
"200": "#ddd6fe",
|
|
18
|
+
"300": "#c4b5fd",
|
|
19
|
+
"400": "#a78bfa",
|
|
20
|
+
"500": "#8b5cf6",
|
|
21
|
+
"600": "#7c3aed",
|
|
22
|
+
"700": "#6d28d9",
|
|
23
|
+
"800": "#5b21b6",
|
|
24
|
+
"900": "#4c1d95"
|
|
25
|
+
},
|
|
26
|
+
"zinc": {
|
|
27
|
+
"0": "#ffffff",
|
|
28
|
+
"50": "#fafafa",
|
|
29
|
+
"100": "#f4f4f5",
|
|
30
|
+
"200": "#e4e4e7",
|
|
31
|
+
"300": "#d4d4d8",
|
|
32
|
+
"400": "#a1a1aa",
|
|
33
|
+
"450": "#8e8e97",
|
|
34
|
+
"500": "#71717a",
|
|
35
|
+
"600": "#52525b",
|
|
36
|
+
"700": "#3f3f46",
|
|
37
|
+
"800": "#27272a",
|
|
38
|
+
"900": "#18181b",
|
|
39
|
+
"950": "#08080a"
|
|
40
|
+
},
|
|
41
|
+
"lime": {
|
|
42
|
+
"50": "#f7fee7",
|
|
43
|
+
"100": "#ecfccb",
|
|
44
|
+
"200": "#d9f99d",
|
|
45
|
+
"300": "#bef264",
|
|
46
|
+
"400": "#a3e635",
|
|
47
|
+
"500": "#84cc16",
|
|
48
|
+
"600": "#65a30d",
|
|
49
|
+
"800": "#3f6212"
|
|
50
|
+
},
|
|
51
|
+
"red": {
|
|
52
|
+
"50": "#fef2f2",
|
|
53
|
+
"200": "#fecaca",
|
|
54
|
+
"300": "#fca5a5",
|
|
55
|
+
"400": "#f87171",
|
|
56
|
+
"700": "#b91c1c"
|
|
57
|
+
},
|
|
58
|
+
"amber": {
|
|
59
|
+
"50": "#fffbeb",
|
|
60
|
+
"200": "#fde68a",
|
|
61
|
+
"300": "#fcd34d",
|
|
62
|
+
"800": "#92400e"
|
|
63
|
+
},
|
|
64
|
+
"ink": "#08080a",
|
|
65
|
+
"white": "#ffffff"
|
|
66
|
+
},
|
|
67
|
+
"semantic": {
|
|
68
|
+
"light": {
|
|
69
|
+
"bg-surface": "{primitive.zinc.0}",
|
|
70
|
+
"bg-surface-hover": "{primitive.zinc.50}",
|
|
71
|
+
"bg-surface-strong": "{primitive.zinc.900}",
|
|
72
|
+
"bg-canvas": "{primitive.zinc.50}",
|
|
73
|
+
"bg-inverted": "{primitive.zinc.900}",
|
|
74
|
+
"fg-primary": "{primitive.zinc.900}",
|
|
75
|
+
"fg-secondary": "{primitive.zinc.600}",
|
|
76
|
+
"fg-tertiary": "{primitive.zinc.500}",
|
|
77
|
+
"fg-inverted": "{primitive.zinc.0}",
|
|
78
|
+
"fg-accent": "{primitive.violet.700}",
|
|
79
|
+
"border-default": "{primitive.zinc.200}",
|
|
80
|
+
"border-strong": "{primitive.zinc.900}",
|
|
81
|
+
"border-subtle": "{primitive.zinc.100}",
|
|
82
|
+
"accent-dot": "{primitive.lime.200}",
|
|
83
|
+
"accent-violet": "{primitive.violet.700}",
|
|
84
|
+
"accent-lime": "{primitive.lime.200}",
|
|
85
|
+
"focus-ring": "{primitive.violet.700}",
|
|
86
|
+
"mesh-from": "{primitive.violet.400}",
|
|
87
|
+
"mesh-to": "{primitive.lime.200}",
|
|
88
|
+
"mesh-ground": "{primitive.white}",
|
|
89
|
+
"on-texture": "{primitive.ink}",
|
|
90
|
+
"grain": "{primitive.ink}",
|
|
91
|
+
"status-neutral-bg": "{primitive.zinc.100}",
|
|
92
|
+
"status-neutral-fg": "{primitive.zinc.700}",
|
|
93
|
+
"status-progress-bg": "{primitive.violet.100}",
|
|
94
|
+
"status-progress-fg": "{primitive.violet.800}",
|
|
95
|
+
"status-ready-bg": "{primitive.lime.200}",
|
|
96
|
+
"status-ready-fg": "{primitive.ink}",
|
|
97
|
+
"status-blocked-bg": "{primitive.red.700}",
|
|
98
|
+
"status-blocked-fg": "{primitive.white}",
|
|
99
|
+
"bg-selected": "{primitive.violet.50}",
|
|
100
|
+
"border-control": "{primitive.zinc.500}",
|
|
101
|
+
"bg-skeleton": "{primitive.zinc.100}",
|
|
102
|
+
"fg-danger": "{primitive.red.700}",
|
|
103
|
+
"border-danger": "{primitive.red.700}",
|
|
104
|
+
"bg-input": "{primitive.zinc.0}",
|
|
105
|
+
"bg-input-disabled": "{primitive.zinc.50}",
|
|
106
|
+
"bg-scrim": "rgba(8,8,10,0.48)",
|
|
107
|
+
"alert-info-bg": "{primitive.violet.50}",
|
|
108
|
+
"alert-info-fg": "{primitive.violet.800}",
|
|
109
|
+
"alert-info-border": "{primitive.violet.200}",
|
|
110
|
+
"alert-success-bg": "{primitive.lime.50}",
|
|
111
|
+
"alert-success-fg": "{primitive.lime.800}",
|
|
112
|
+
"alert-success-border": "{primitive.lime.200}",
|
|
113
|
+
"alert-warning-bg": "{primitive.amber.50}",
|
|
114
|
+
"alert-warning-fg": "{primitive.amber.800}",
|
|
115
|
+
"alert-warning-border": "{primitive.amber.200}",
|
|
116
|
+
"alert-danger-bg": "{primitive.red.50}",
|
|
117
|
+
"alert-danger-fg": "{primitive.red.700}",
|
|
118
|
+
"alert-danger-border": "{primitive.red.200}",
|
|
119
|
+
"fg-positive": "{primitive.lime.800}"
|
|
120
|
+
},
|
|
121
|
+
"dark": {
|
|
122
|
+
"bg-surface": "{primitive.zinc.900}",
|
|
123
|
+
"bg-surface-hover": "{primitive.zinc.800}",
|
|
124
|
+
"bg-surface-strong": "{primitive.zinc.0}",
|
|
125
|
+
"bg-canvas": "{primitive.zinc.950}",
|
|
126
|
+
"bg-inverted": "{primitive.zinc.0}",
|
|
127
|
+
"fg-primary": "{primitive.zinc.0}",
|
|
128
|
+
"fg-secondary": "{primitive.zinc.400}",
|
|
129
|
+
"fg-tertiary": "{primitive.zinc.450}",
|
|
130
|
+
"fg-inverted": "{primitive.zinc.900}",
|
|
131
|
+
"fg-accent": "{primitive.violet.300}",
|
|
132
|
+
"border-default": "rgba(255,255,255,0.1)",
|
|
133
|
+
"border-strong": "{primitive.zinc.0}",
|
|
134
|
+
"border-subtle": "rgba(255,255,255,0.06)",
|
|
135
|
+
"accent-dot": "{primitive.lime.200}",
|
|
136
|
+
"accent-violet": "{primitive.violet.400}",
|
|
137
|
+
"accent-lime": "{primitive.lime.200}",
|
|
138
|
+
"focus-ring": "{primitive.violet.400}",
|
|
139
|
+
"mesh-from": "{primitive.violet.400}",
|
|
140
|
+
"mesh-to": "{primitive.lime.200}",
|
|
141
|
+
"mesh-ground": "{primitive.white}",
|
|
142
|
+
"on-texture": "{primitive.ink}",
|
|
143
|
+
"grain": "{primitive.ink}",
|
|
144
|
+
"status-neutral-bg": "{primitive.zinc.100}",
|
|
145
|
+
"status-neutral-fg": "{primitive.zinc.700}",
|
|
146
|
+
"status-progress-bg": "{primitive.violet.100}",
|
|
147
|
+
"status-progress-fg": "{primitive.violet.800}",
|
|
148
|
+
"status-ready-bg": "{primitive.lime.200}",
|
|
149
|
+
"status-ready-fg": "{primitive.ink}",
|
|
150
|
+
"status-blocked-bg": "{primitive.red.700}",
|
|
151
|
+
"status-blocked-fg": "{primitive.white}",
|
|
152
|
+
"bg-selected": "#2c283a",
|
|
153
|
+
"border-control": "{primitive.zinc.400}",
|
|
154
|
+
"bg-skeleton": "{primitive.zinc.800}",
|
|
155
|
+
"fg-danger": "{primitive.red.400}",
|
|
156
|
+
"border-danger": "{primitive.red.400}",
|
|
157
|
+
"bg-input": "{primitive.zinc.900}",
|
|
158
|
+
"bg-input-disabled": "{primitive.zinc.950}",
|
|
159
|
+
"bg-scrim": "rgba(0,0,0,0.64)",
|
|
160
|
+
"alert-info-bg": "#2c283a",
|
|
161
|
+
"alert-info-fg": "{primitive.violet.300}",
|
|
162
|
+
"alert-info-border": "#514674",
|
|
163
|
+
"alert-success-bg": "#27311a",
|
|
164
|
+
"alert-success-fg": "{primitive.lime.300}",
|
|
165
|
+
"alert-success-border": "#436019",
|
|
166
|
+
"alert-warning-bg": "#372b19",
|
|
167
|
+
"alert-warning-fg": "{primitive.amber.300}",
|
|
168
|
+
"alert-warning-border": "#704e15",
|
|
169
|
+
"alert-danger-bg": "#361e21",
|
|
170
|
+
"alert-danger-fg": "{primitive.red.300}",
|
|
171
|
+
"alert-danger-border": "#6e2a2b",
|
|
172
|
+
"fg-positive": "{primitive.lime.300}"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"component": {
|
|
176
|
+
"light": {
|
|
177
|
+
"button-primary-bg": "{primitive.zinc.900}",
|
|
178
|
+
"button-primary-fg": "{primitive.zinc.0}",
|
|
179
|
+
"button-primary-bg-hover": "{primitive.zinc.800}",
|
|
180
|
+
"button-creative-bg": "{primitive.white}",
|
|
181
|
+
"button-creative-border": "{primitive.zinc.900}",
|
|
182
|
+
"card-border": "{primitive.zinc.200}"
|
|
183
|
+
},
|
|
184
|
+
"dark": {
|
|
185
|
+
"button-primary-bg": "{primitive.zinc.0}",
|
|
186
|
+
"button-primary-fg": "{primitive.zinc.900}",
|
|
187
|
+
"button-primary-bg-hover": "{primitive.zinc.200}",
|
|
188
|
+
"button-creative-bg": "{primitive.white}",
|
|
189
|
+
"button-creative-border": "{primitive.zinc.900}",
|
|
190
|
+
"card-border": "{primitive.zinc.200}"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"spacing": {
|
|
194
|
+
"space-0": "0px",
|
|
195
|
+
"space-1": "4px",
|
|
196
|
+
"space-2": "8px",
|
|
197
|
+
"space-3": "12px",
|
|
198
|
+
"space-4": "16px",
|
|
199
|
+
"space-5": "20px",
|
|
200
|
+
"space-6": "24px",
|
|
201
|
+
"space-8": "32px",
|
|
202
|
+
"space-10": "40px",
|
|
203
|
+
"space-12": "48px",
|
|
204
|
+
"space-16": "64px",
|
|
205
|
+
"card-padding": "24px"
|
|
206
|
+
},
|
|
207
|
+
"radius": {
|
|
208
|
+
"radius-xs": "4px",
|
|
209
|
+
"radius-sm": "8px",
|
|
210
|
+
"radius-md": "12px",
|
|
211
|
+
"radius-lg": "16px",
|
|
212
|
+
"radius-xl": "20px",
|
|
213
|
+
"radius-2xl": "24px",
|
|
214
|
+
"radius-full": "9999px",
|
|
215
|
+
"radius-squircle": "20px",
|
|
216
|
+
"card-radius": "20px",
|
|
217
|
+
"button-radius": "9999px"
|
|
218
|
+
},
|
|
219
|
+
"size": {
|
|
220
|
+
"button-height": "44px",
|
|
221
|
+
"icon-sm": "16px",
|
|
222
|
+
"icon-md": "20px",
|
|
223
|
+
"icon-lg": "24px",
|
|
224
|
+
"focus-ring-width": "2px",
|
|
225
|
+
"focus-ring-offset": "2px",
|
|
226
|
+
"table-select-width": "40px",
|
|
227
|
+
"control-sm": "32px",
|
|
228
|
+
"input-height": "44px",
|
|
229
|
+
"switch-width": "36px",
|
|
230
|
+
"switch-height": "20px",
|
|
231
|
+
"avatar-sm": "24px",
|
|
232
|
+
"avatar-md": "32px",
|
|
233
|
+
"avatar-lg": "40px",
|
|
234
|
+
"dialog-sm": "400px",
|
|
235
|
+
"dialog-md": "560px",
|
|
236
|
+
"dialog-lg": "720px",
|
|
237
|
+
"sidenav-width": "240px",
|
|
238
|
+
"tooltip-max": "240px",
|
|
239
|
+
"drawer-sm": "360px",
|
|
240
|
+
"drawer-md": "480px",
|
|
241
|
+
"drawer-lg": "640px",
|
|
242
|
+
"container-max": "1280px",
|
|
243
|
+
"container-narrow": "720px",
|
|
244
|
+
"cal-cell": "36px",
|
|
245
|
+
"popover-max-height": "320px"
|
|
246
|
+
},
|
|
247
|
+
"breakpoint": {
|
|
248
|
+
"bp-sm": "640px",
|
|
249
|
+
"bp-md": "768px",
|
|
250
|
+
"bp-lg": "1024px",
|
|
251
|
+
"bp-xl": "1280px"
|
|
252
|
+
},
|
|
253
|
+
"shadow": {
|
|
254
|
+
"light": {
|
|
255
|
+
"shadow-enterprise": "0 1px 2px rgba(0,0,0,0.05)",
|
|
256
|
+
"shadow-overlay": "0 16px 48px rgba(8,8,10,0.16), 0 2px 8px rgba(8,8,10,0.08)",
|
|
257
|
+
"shadow-creative": "4px 4px 0px #18181b",
|
|
258
|
+
"shadow-creative-hover": "6px 6px 0px #18181b",
|
|
259
|
+
"card-shadow-creative": "8px 8px 0px #18181b"
|
|
260
|
+
},
|
|
261
|
+
"dark": {
|
|
262
|
+
"shadow-enterprise": "0 1px 2px rgba(0,0,0,0.05)",
|
|
263
|
+
"shadow-overlay": "0 16px 48px rgba(0,0,0,0.56), 0 2px 8px rgba(0,0,0,0.32)",
|
|
264
|
+
"shadow-creative": "4px 4px 0px #a78bfa",
|
|
265
|
+
"shadow-creative-hover": "6px 6px 0px #a78bfa",
|
|
266
|
+
"card-shadow-creative": "8px 8px 0px #a78bfa"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"motion": {
|
|
270
|
+
"easing": {
|
|
271
|
+
"ease": "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
272
|
+
"spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
273
|
+
},
|
|
274
|
+
"duration": {
|
|
275
|
+
"duration-fast": "150ms",
|
|
276
|
+
"duration-base": "250ms",
|
|
277
|
+
"duration-slow": "400ms",
|
|
278
|
+
"duration-spin": "800ms",
|
|
279
|
+
"duration-pulse": "1400ms",
|
|
280
|
+
"duration-toast": "5000ms",
|
|
281
|
+
"duration-tooltip": "400ms"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"opacity": {
|
|
285
|
+
"grain-opacity": "0.04",
|
|
286
|
+
"disabled-opacity": "0.5"
|
|
287
|
+
},
|
|
288
|
+
"zIndex": {
|
|
289
|
+
"z-menu": "1000",
|
|
290
|
+
"z-dialog": "900",
|
|
291
|
+
"z-toast": "1200",
|
|
292
|
+
"z-tooltip": "1300"
|
|
293
|
+
},
|
|
294
|
+
"typography": {
|
|
295
|
+
"families": {
|
|
296
|
+
"display": "\"Fraunces\", \"Noto Sans Thai\", serif",
|
|
297
|
+
"sans": "\"Inter\", \"Noto Sans Thai\", sans-serif",
|
|
298
|
+
"mono": "\"JetBrains Mono\", monospace",
|
|
299
|
+
"thai": "\"Noto Sans Thai\", sans-serif"
|
|
300
|
+
},
|
|
301
|
+
"googleFonts": "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&family=Noto+Sans+Thai:wght@400;500;600&display=swap",
|
|
302
|
+
"styles": {
|
|
303
|
+
"display": {
|
|
304
|
+
"family": "display",
|
|
305
|
+
"fontSize": "72px",
|
|
306
|
+
"lineHeight": 1.1,
|
|
307
|
+
"fontWeight": 600,
|
|
308
|
+
"letterSpacing": "-0.02em"
|
|
309
|
+
},
|
|
310
|
+
"h1": {
|
|
311
|
+
"family": "display",
|
|
312
|
+
"fontSize": "36px",
|
|
313
|
+
"fontWeight": 600
|
|
314
|
+
},
|
|
315
|
+
"h2": {
|
|
316
|
+
"family": "sans",
|
|
317
|
+
"fontSize": "24px",
|
|
318
|
+
"fontWeight": 600
|
|
319
|
+
},
|
|
320
|
+
"h3": {
|
|
321
|
+
"family": "sans",
|
|
322
|
+
"fontSize": "16px",
|
|
323
|
+
"lineHeight": 1.5,
|
|
324
|
+
"fontWeight": 600
|
|
325
|
+
},
|
|
326
|
+
"body": {
|
|
327
|
+
"family": "sans",
|
|
328
|
+
"fontSize": "14px",
|
|
329
|
+
"lineHeight": 1.7,
|
|
330
|
+
"fontWeight": 400
|
|
331
|
+
},
|
|
332
|
+
"button-label": {
|
|
333
|
+
"family": "sans",
|
|
334
|
+
"fontSize": "13px",
|
|
335
|
+
"fontWeight": 500
|
|
336
|
+
},
|
|
337
|
+
"table-cell": {
|
|
338
|
+
"family": "sans",
|
|
339
|
+
"fontSize": "13px",
|
|
340
|
+
"fontWeight": 400
|
|
341
|
+
},
|
|
342
|
+
"pill-label": {
|
|
343
|
+
"family": "sans",
|
|
344
|
+
"fontSize": "11px",
|
|
345
|
+
"fontWeight": 400
|
|
346
|
+
},
|
|
347
|
+
"label": {
|
|
348
|
+
"family": "sans",
|
|
349
|
+
"fontSize": "13px",
|
|
350
|
+
"lineHeight": 1.4,
|
|
351
|
+
"fontWeight": 500
|
|
352
|
+
},
|
|
353
|
+
"caption": {
|
|
354
|
+
"family": "sans",
|
|
355
|
+
"fontSize": "12px",
|
|
356
|
+
"lineHeight": 1.5,
|
|
357
|
+
"fontWeight": 400
|
|
358
|
+
},
|
|
359
|
+
"mono": {
|
|
360
|
+
"family": "mono",
|
|
361
|
+
"fontSize": "12px"
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"expression": {
|
|
366
|
+
"grain": {
|
|
367
|
+
"color": "{primitive.ink}",
|
|
368
|
+
"opacity": "{opacity.grain-opacity}"
|
|
369
|
+
},
|
|
370
|
+
"mesh": {
|
|
371
|
+
"from": "{semantic.mesh-from}",
|
|
372
|
+
"to": "{semantic.mesh-to}",
|
|
373
|
+
"ground": "{semantic.mesh-ground}"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"notes": {
|
|
377
|
+
"violet-50": "Primitive violet 50. Reference only — code uses semantic tokens (token-lint forbids raw hex).",
|
|
378
|
+
"violet-100": "Primitive violet 100. Reference only — code uses semantic tokens (token-lint forbids raw hex).",
|
|
379
|
+
"violet-200": "Primitive violet 200. Reference only — code uses semantic tokens (token-lint forbids raw hex).",
|
|
380
|
+
"violet-300": "Primitive. Dark-theme aura-fg-accent (9.6:1 on dark aura-bg-surface).",
|
|
381
|
+
"violet-400": "Primitive. Dark-theme aura-accent-violet (6.5:1 on dark aura-bg-surface).",
|
|
382
|
+
"violet-500": "Primitive violet 500. Reference only — code uses semantic tokens (token-lint forbids raw hex).",
|
|
383
|
+
"violet-600": "Primitive. Primary brand violet (Figma: 'Primary brand'). Never in product code directly — reach it through a semantic token.",
|
|
384
|
+
"violet-700": "Primitive. Light-theme accent: resolves aura-fg-accent and aura-accent-violet. 7.1:1 on aura-bg-surface.",
|
|
385
|
+
"violet-800": "Primitive violet 800. Reference only — code uses semantic tokens (token-lint forbids raw hex).",
|
|
386
|
+
"violet-900": "Primitive violet 900. Reference only — code uses semantic tokens (token-lint forbids raw hex).",
|
|
387
|
+
"zinc-0": "Primitive white. Light aura-bg-surface, aura-fg-inverted; dark aura-fg-primary, aura-border-strong.",
|
|
388
|
+
"zinc-50": "Primitive. Light aura-bg-canvas and aura-bg-surface-hover.",
|
|
389
|
+
"zinc-100": "Primitive. Light aura-border-subtle.",
|
|
390
|
+
"zinc-200": "Primitive. Light aura-border-default, card border.",
|
|
391
|
+
"zinc-300": "Primitive zinc 300. Reference only — code uses semantic tokens.",
|
|
392
|
+
"zinc-400": "Primitive. Light aura-fg-tertiary; dark aura-fg-secondary.",
|
|
393
|
+
"zinc-450": "Primitive between zinc-400 and -500. Dark-theme aura-fg-tertiary (5.5:1 on dark surface). ADDED so tertiary text passes AA.",
|
|
394
|
+
"zinc-500": "Primitive zinc 500. Reference only — code uses semantic tokens.",
|
|
395
|
+
"zinc-600": "Primitive. Light aura-fg-secondary; dark aura-fg-tertiary.",
|
|
396
|
+
"zinc-700": "Primitive zinc 700. Reference only — code uses semantic tokens.",
|
|
397
|
+
"zinc-800": "Primitive. Dark aura-bg-surface-hover; primary button hover fill.",
|
|
398
|
+
"zinc-900": "Primitive 'Ink'. Light aura-fg-primary, aura-bg-surface-strong, aura-border-strong; dark aura-bg-surface; the brutal Creative shadow colour.",
|
|
399
|
+
"zinc-950": "Primitive. Dark aura-bg-canvas.",
|
|
400
|
+
"lime-50": "Primitive lime 50. Reference only.",
|
|
401
|
+
"lime-100": "Primitive lime 100. Reference only.",
|
|
402
|
+
"lime-200": "Primitive 'Accent dot'. aura-accent-dot / aura-accent-lime and the Ready status fill. A fill only — 1.17:1 against white, so never text and never a mark that must be seen on a light surface.",
|
|
403
|
+
"lime-300": "Primitive lime 300 (also exported in the Tailwind config).",
|
|
404
|
+
"lime-400": "Primitive lime 400. Reference only.",
|
|
405
|
+
"lime-500": "Primitive lime 500. Reference only.",
|
|
406
|
+
"lime-600": "Primitive lime 600. Reference only.",
|
|
407
|
+
"lime-800": "Primitive. Success alert text on aura-lime-50 (6.8:1). ADDED.",
|
|
408
|
+
"red-50": "Primitive. Danger alert fill (light). ADDED.",
|
|
409
|
+
"red-200": "Primitive. Danger alert edge (light). ADDED.",
|
|
410
|
+
"red-300": "Primitive. Danger alert text (dark), 8.1:1. ADDED.",
|
|
411
|
+
"red-400": "Primitive. Dark-theme aura-fg-danger: 6.4:1 on dark surface. ADDED.",
|
|
412
|
+
"red-700": "Primitive red 700 (Tailwind red, like the other scales). The Blocked status fill; white on it 6.5:1. ADDED — the source palette has no warm hue.",
|
|
413
|
+
"amber-50": "Primitive. Warning alert fill (light). ADDED.",
|
|
414
|
+
"amber-200": "Primitive. Warning alert edge (light). ADDED.",
|
|
415
|
+
"amber-300": "Primitive. Warning alert text (dark), 9.6:1. ADDED.",
|
|
416
|
+
"amber-800": "Primitive. Warning alert text (light), 6.8:1 on amber-50. ADDED.",
|
|
417
|
+
"ink": "Primitive ink (= zinc-950). Text on lime fills: the Ready status label (15:1 on aura-lime-200).",
|
|
418
|
+
"white": "Primitive white. The Creative button fill in every theme.",
|
|
419
|
+
"bg-surface": "Default surface: cards, tables, panels, page body. Grounds aura-fg-primary, -secondary and -accent.",
|
|
420
|
+
"bg-surface-hover": "Hover fill for rows, secondary buttons and list items. aura-fg-primary and -secondary still pass on it (≥5.8:1).",
|
|
421
|
+
"bg-surface-strong": "High-emphasis block (the wordmark tile, inverted callouts). Text on it: aura-fg-inverted.",
|
|
422
|
+
"bg-canvas": "App background behind surfaces; the data-table header band.",
|
|
423
|
+
"bg-inverted": "Inverted ground: tooltips. Text on it: aura-fg-inverted (17.7:1).",
|
|
424
|
+
"fg-primary": "Body and heading text on aura-bg-surface and aura-bg-canvas (≥16.9:1 both themes).",
|
|
425
|
+
"fg-secondary": "Supporting text, labels, captions on aura-bg-surface / -canvas / -surface-hover (≥5.8:1 both themes).",
|
|
426
|
+
"fg-tertiary": "Placeholders, hints, timestamps, breadcrumb separators. Fixed in 4.1 to pass AA: 4.8:1 light / 5.5:1 dark on aura-bg-surface, ≥4.6:1 on -canvas and -surface-hover. Not for text on aura-bg-selected (4.4:1).",
|
|
427
|
+
"fg-inverted": "Text on aura-bg-surface-strong and aura-bg-inverted (17.7:1).",
|
|
428
|
+
"fg-accent": "Links and accent text on aura-bg-surface / -canvas (≥6.8:1 light, ≥9.6:1 dark).",
|
|
429
|
+
"border-default": "Hairline dividers and card/table outlines. Decorative only: ~1.3:1, below the 3:1 a control boundary needs.",
|
|
430
|
+
"border-strong": "Creative 2px borders and any boundary that must be seen (17.7:1).",
|
|
431
|
+
"border-subtle": "Faintest separators inside a surface (e.g. between grouped list items).",
|
|
432
|
+
"accent-dot": "The lime signal dot beside the AURA wordmark and live/status dots. Visible on dark and strong grounds; invisible on white (1.17:1).",
|
|
433
|
+
"accent-violet": "Violet accent fills and marks (selection, focus-adjacent emphasis, charts' first series).",
|
|
434
|
+
"accent-lime": "Lime accent fill (highlights, the Ready status). Label on it in aura-ink.",
|
|
435
|
+
"button-primary-bg": "Component: Enterprise (primary) button fill — ink in light, white in dark, as the Storybook story renders it (tokens.json pins it to the light value, which disappears on the dark surface).",
|
|
436
|
+
"button-primary-fg": "Component: primary button label on aura-button-primary-bg (17.7:1 both themes).",
|
|
437
|
+
"button-primary-bg-hover": "Component: primary button hover. Light zinc-800 is the source value; dark zinc-200 is an ADDED value (the source has none — its zinc-800 hover hides the dark label at 1.19:1). Label 14.9:1 light, 14.0:1 dark.",
|
|
438
|
+
"button-creative-bg": "Component: Creative button fill (white in every theme). Label in aura-ink.",
|
|
439
|
+
"button-creative-border": "Component: Creative button 2px border.",
|
|
440
|
+
"card-border": "Component: card outline (light value; use aura-border-default where the card must follow theme).",
|
|
441
|
+
"focus-ring": "Keyboard focus ring on every interactive element: 2px solid, 2px offset. Lands on aura-bg-surface / -canvas / -surface-hover at ≥6.8:1 light and ≥5.4:1 dark. On mesh and grain surfaces the ring switches to aura-on-texture (violet-700 on the violet-400 pool is only 2.6:1). ADDED — the source defines no focus style.",
|
|
442
|
+
"mesh-from": "Creative mesh: the violet pool (top-left). Same in both themes — mesh is a light-surface treatment. ADDED from the source's 'violet → lime gradient'.",
|
|
443
|
+
"mesh-to": "Creative mesh: the lime pool (bottom-right).",
|
|
444
|
+
"mesh-ground": "Creative mesh: the ground between the pools.",
|
|
445
|
+
"on-texture": "Text and icons on a mesh or grain surface in every theme: ≥7.3:1 on the darkest mesh point (violet-400), 15:1 on lime, 20:1 on white.",
|
|
446
|
+
"grain": "Grain speckle colour, drawn at aura-grain-opacity. Visible only on light grounds.",
|
|
447
|
+
"status-neutral-bg": "Status pill fill for not-started / unknown states (To Do, Draft). Same in both themes. ADDED.",
|
|
448
|
+
"status-neutral-fg": "Label and icon on aura-status-neutral-bg (9.5:1).",
|
|
449
|
+
"status-progress-bg": "Status pill fill for work under way (In Progress, In Review). ADDED.",
|
|
450
|
+
"status-progress-fg": "Label and icon on aura-status-progress-bg (7.6:1).",
|
|
451
|
+
"status-ready-bg": "Status pill fill for finished / good states (Ready, Done). The source's lime pill. ADDED as a named token.",
|
|
452
|
+
"status-ready-fg": "Label and icon on aura-status-ready-bg (15.2:1).",
|
|
453
|
+
"status-blocked-bg": "Status pill fill for stopped / failed states (Blocked, Failed). Dark on purpose: 5.5:1 lighter-to-darker against the lime Ready fill, so Ready and Blocked differ by lightness, not only red vs green. ADDED.",
|
|
454
|
+
"status-blocked-fg": "Label and icon on aura-status-blocked-bg (6.5:1).",
|
|
455
|
+
"bg-selected": "Selected table rows and list items. Opaque so pinned columns can sit on it (dark = a 14% violet-400 wash over zinc-900, flattened). aura-fg-primary on it ≥14.2:1, aura-fg-secondary ≥5.5:1, focus ring ≥5.2:1 in both themes. ADDED.",
|
|
456
|
+
"border-control": "Outline of unchecked checkboxes and other small controls that must be seen: ≥4.4:1 on aura-bg-surface, -canvas and aura-bg-selected (the 3:1 a control boundary needs). ADDED.",
|
|
457
|
+
"bg-skeleton": "Skeleton placeholder bars while a table or list loads. Decorative; the table carries aria-busy and a 'Loading rows' status for screen readers. ADDED.",
|
|
458
|
+
"fg-danger": "Error messages, destructive labels and invalid-field text on aura-bg-surface / -canvas: ≥6.2:1 light, ≥5.4:1 dark. ADDED.",
|
|
459
|
+
"border-danger": "Outline of an invalid input (≥5.4:1 on its ground). ADDED.",
|
|
460
|
+
"bg-input": "Text fields, selects, textareas. Always paired with a 1px aura-border-control outline. ADDED.",
|
|
461
|
+
"bg-input-disabled": "Disabled and read-only inputs; text on it stays aura-fg-secondary. ADDED.",
|
|
462
|
+
"bg-scrim": "The dimmed layer behind a Dialog. ADDED.",
|
|
463
|
+
"alert-info-bg": "Info alert fill. ADDED.",
|
|
464
|
+
"alert-info-fg": "Info alert title and icon: 8.2:1 light, 7.7:1 dark. Body text on the fill stays aura-fg-primary.",
|
|
465
|
+
"alert-info-border": "Info alert 1px edge (decorative).",
|
|
466
|
+
"alert-success-bg": "Success alert fill. ADDED.",
|
|
467
|
+
"alert-success-fg": "Success alert title and icon: 6.8:1 light, 10.4:1 dark.",
|
|
468
|
+
"alert-success-border": "Success alert 1px edge (decorative).",
|
|
469
|
+
"alert-warning-bg": "Warning alert fill. ADDED.",
|
|
470
|
+
"alert-warning-fg": "Warning alert title and icon: 6.8:1 light, 9.6:1 dark.",
|
|
471
|
+
"alert-warning-border": "Warning alert 1px edge (decorative).",
|
|
472
|
+
"alert-danger-bg": "Danger alert fill. ADDED.",
|
|
473
|
+
"alert-danger-fg": "Danger alert title and icon: 5.9:1 light, 8.1:1 dark.",
|
|
474
|
+
"alert-danger-border": "Danger alert 1px edge (decorative).",
|
|
475
|
+
"drawer-sm": "Drawer width, small (filters, quick detail). ADDED 4.2.",
|
|
476
|
+
"drawer-md": "Drawer width, default (record detail). ADDED 4.2.",
|
|
477
|
+
"drawer-lg": "Drawer width, large (edit forms). ADDED 4.2.",
|
|
478
|
+
"container-max": "Container max width — matches aura-bp-xl. ADDED 4.2.",
|
|
479
|
+
"container-narrow": "Narrow container for forms and reading. ADDED 4.2.",
|
|
480
|
+
"cal-cell": "Calendar day cell (DatePicker). 40px on touch screens via media query. ADDED 4.2.",
|
|
481
|
+
"popover-max-height": "Max height of Combobox listbox and DatePicker popover lists. ADDED 4.2.",
|
|
482
|
+
"fg-positive": "Rising-and-good numbers (Stat change, positive deltas) on aura-bg-surface / -canvas. Never on lime fills. ADDED 4.3."
|
|
483
|
+
}
|
|
484
|
+
}
|