@esds-sangam/tokens 1.2.3 → 1.2.5

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/index.js CHANGED
@@ -1,523 +1,871 @@
1
1
  // colors.json
2
2
  var colors_default = {
3
- orange: {
4
- "100": "#FDF1E9",
5
- "200": "#F8D5BA",
6
- "300": "#F4C099",
7
- "400": "#F0A46B",
8
- "500": "#7C3AED",
9
- "600": "#6D28D9",
10
- "700": "#5B21B6",
11
- "800": "#A55418",
12
- "900": "#804113",
13
- "1000": "#61320E"
14
- },
15
- lightBlue: {
16
- "100": "#E7F6FD",
17
- "200": "#B4E3F8",
18
- "300": "#90D6F5",
19
- "400": "#5EC3F0",
20
- "500": "#3EB7ED",
21
- "600": "#0EA5E9",
22
- "700": "#0D96D4",
23
- "800": "#0A75A5",
24
- "900": "#085B80",
25
- "1000": "#064562"
26
- },
27
- blue: {
28
- "50": "#EBF4FF",
29
- "100": "#D6E3F5",
30
- "200": "#B8CCE8",
31
- "600": "#0EA5E9",
32
- "700": "#0D96D4",
33
- "800": "#0A75A5",
34
- dark: "#102A56",
35
- darker: "#0D1B3A",
36
- darkHover: "#1E3A5F",
37
- darkBorder: "#2E456B",
38
- darkMuted: "#2B436C",
39
- darkSurface: "#22375C"
40
- },
41
- green: {
42
- "100": "#F5FFF9",
43
- "200": "#E6F6ED",
44
- "300": "#B2E3C7",
45
- "400": "#8CD6AC",
46
- "500": "#58C386",
47
- "600": "#38B86F",
48
- "700": "#06A64B",
49
- "800": "#059744",
50
- "900": "#047635",
51
- "1000": "#035B29"
52
- },
53
- red: {
54
- "100": "#FFF6F5",
55
- "200": "#FBE8E6",
56
- "300": "#F3B7B2",
57
- "400": "#EE948D",
58
- "500": "#E6635A",
59
- "600": "#E14539",
60
- "700": "#D91608",
61
- "800": "#C51407",
62
- "900": "#9A1006",
63
- "1000": "#770C04"
64
- },
65
- yellow: {
66
- "100": "#FFFBF5",
67
- "200": "#FFF6E7",
68
- "300": "#FEE4B3",
69
- "400": "#FDD78F",
70
- "500": "#FCC45C",
71
- "600": "#FCB93C",
72
- "700": "#FBA70B",
73
- "800": "#E4980A",
74
- "900": "#B27708",
75
- "1000": "#8A5C06"
76
- },
77
- neutral: {
78
- "50": "#FFFFFF",
79
- "100": "#F8F8F8",
80
- "200": "#EBEBEB",
81
- "300": "#CCCCCC",
82
- "400": "#B2B2B2",
83
- "500": "#989898",
84
- "600": "#7C7C7C",
85
- "700": "#606060",
86
- "800": "#454545",
87
- "900": "#2B2B2B",
88
- "1000": "#1E1E1E",
89
- "1100": "#111111"
90
- },
91
- grey: {
92
- "50": "#F5F7FA",
93
- "100": "#F3F4F6",
94
- "200": "#E5E7EB",
95
- "300": "#D1D5DB",
96
- "400": "#9CA3AF",
97
- "500": "#6B7280",
98
- "600": "#4B5563",
99
- "700": "#374151",
100
- "800": "#1F2937",
101
- "900": "#111827"
102
- },
103
- slate: {
104
- "200": "#E2E8F0",
105
- "400": "#94A3B8",
106
- "500": "#64748B",
107
- "600": "#475569",
108
- "700": "#334155"
109
- },
110
- amber: {
111
- "400": "#FFA940",
112
- "700": "#C2561A"
113
- },
114
- warmGray: {
115
- "50": "#F3F2F1",
116
- "100": "#E1DFDD",
117
- "400": "#A19F9D",
118
- "500": "#8A8886",
119
- "700": "#605E5C",
120
- "900": "#272829"
121
- },
122
- status: {
123
- suspended: "#FFFFCC",
124
- deleted: "#F2DEDE",
125
- infoBg: "#E6F2FB",
126
- infoText: "#292827",
127
- link: "#428BCA"
128
- },
129
- navy: {
130
- "500": "#5D81C3",
131
- "700": "#364766",
132
- "800": "#7A7A7A",
133
- "900": "#1A2B4A"
3
+ light: {
4
+ orange: {
5
+ "100": "#FDF1E9",
6
+ "200": "#F8D5BA",
7
+ "300": "#F4C099",
8
+ "400": "#F0A46B",
9
+ "500": "#ED924E",
10
+ "600": "#E87722",
11
+ "700": "#D2691A",
12
+ "800": "#A55418",
13
+ "900": "#804113",
14
+ "1000": "#61320E"
15
+ },
16
+ yellow: {
17
+ "100": "#FFF6EC",
18
+ "200": "#FFE4C4",
19
+ "300": "#FFD7A7",
20
+ "400": "#FFC57F",
21
+ "500": "#FFB85C",
22
+ "600": "#FFA940",
23
+ "700": "#E89A3A",
24
+ "800": "#B5782D",
25
+ "900": "#8C5D23",
26
+ "1000": "#6B471B"
27
+ },
28
+ greenLight: {
29
+ "100": "#E7F2EC",
30
+ "200": "#B5D6C3",
31
+ "300": "#91C2A6",
32
+ "400": "#5EA77E",
33
+ "500": "#3F9565",
34
+ "600": "#0F7B3E",
35
+ "700": "#0E7038",
36
+ "800": "#0B572C",
37
+ "900": "#084422",
38
+ "1000": "#06341A"
39
+ },
40
+ greenDark: {
41
+ "100": "#EAF5EF",
42
+ "200": "#BEE1CD",
43
+ "300": "#9FD2B5",
44
+ "400": "#73BD94",
45
+ "500": "#58B17F",
46
+ "600": "#2E9D5F",
47
+ "700": "#2A8F56",
48
+ "800": "#216F43",
49
+ "900": "#195634",
50
+ "1000": "#134228"
51
+ },
52
+ lightBlue: {
53
+ "100": "#E7F6FD",
54
+ "200": "#B4E3F8",
55
+ "300": "#90D6F5",
56
+ "400": "#5EC3F0",
57
+ "500": "#3EB7ED",
58
+ "600": "#0EA5E9",
59
+ "700": "#0D96D4",
60
+ "800": "#0A75A5",
61
+ "900": "#085B80",
62
+ "1000": "#064562"
63
+ },
64
+ red: {
65
+ "100": "#FFF6F5",
66
+ "200": "#FBE8E6",
67
+ "300": "#F3B7B2",
68
+ "400": "#EE948D",
69
+ "500": "#E6635A",
70
+ "600": "#E14539",
71
+ "700": "#C62828",
72
+ "800": "#AB1515",
73
+ "900": "#9A1006",
74
+ "1000": "#770C04"
75
+ },
76
+ darkBlue: {
77
+ "100": "#F5F7FA",
78
+ "200": "#DEE5F0",
79
+ "300": "#ACBBCF",
80
+ "400": "#64748B",
81
+ "500": "#22375C",
82
+ "600": "#1A2B4A",
83
+ "700": "#0D1B3A",
84
+ "800": "#0C1935",
85
+ "900": "#091329",
86
+ "1000": "#070F20"
87
+ },
88
+ ivory: {
89
+ "100": "#FFFEFE",
90
+ "200": "#FDFDFB",
91
+ "300": "#FDFBF9",
92
+ "400": "#FCFAF6",
93
+ "500": "#FBF9F5",
94
+ "600": "#FAF7F2",
95
+ "700": "#E4E1DC",
96
+ "800": "#B2AFAC",
97
+ "900": "#8A8885",
98
+ "1000": "#696866"
99
+ }
134
100
  },
135
- ivory: {
136
- "100": "#FFFEFE",
137
- "200": "#FDFDFB",
138
- "300": "#FDFCF9",
139
- "400": "#FCFBF6",
140
- "500": "#FBFAF8",
141
- "600": "#F7F7F5",
142
- "700": "#F0EFEE",
143
- "800": "#E4E4E2",
144
- "900": "#B2B1AE",
145
- "1000": "#8A8986",
146
- "1100": "#550215"
101
+ dark: {
102
+ orange: {
103
+ "100": "#FFF6EC",
104
+ "200": "#FFE4C4",
105
+ "300": "#FFD7A7",
106
+ "400": "#FFC57F",
107
+ "500": "#FFB85C",
108
+ "600": "#FFA940",
109
+ "700": "#E89A3A",
110
+ "800": "#B5782D",
111
+ "900": "#8C5D23",
112
+ "1000": "#6B471B"
113
+ },
114
+ yellow: {
115
+ "100": "#FFF6EC",
116
+ "200": "#FFE4C4",
117
+ "300": "#FFD7A7",
118
+ "400": "#FFC57F",
119
+ "500": "#FFB85C",
120
+ "600": "#FFA940",
121
+ "700": "#E89A3A",
122
+ "800": "#B5782D",
123
+ "900": "#8C5D23",
124
+ "1000": "#6B471B"
125
+ },
126
+ greenLight: {
127
+ "100": "#E7F2EC",
128
+ "200": "#B5D6C3",
129
+ "300": "#91C2A6",
130
+ "400": "#5EA77E",
131
+ "500": "#3F9565",
132
+ "600": "#0F7B3E",
133
+ "700": "#0E7038",
134
+ "800": "#0B572C",
135
+ "900": "#084422",
136
+ "1000": "#06341A"
137
+ },
138
+ greenDark: {
139
+ "100": "#EAF5EF",
140
+ "200": "#BEE1CD",
141
+ "300": "#9FD2B5",
142
+ "400": "#73BD94",
143
+ "500": "#58B17F",
144
+ "600": "#2E9D5F",
145
+ "700": "#2A8F56",
146
+ "800": "#216F43",
147
+ "900": "#195634",
148
+ "1000": "#134228"
149
+ },
150
+ lightBlue: {
151
+ "100": "#E7F6FD",
152
+ "200": "#B4E3F8",
153
+ "300": "#90D6F5",
154
+ "400": "#5EC3F0",
155
+ "500": "#3EB7ED",
156
+ "600": "#0EA5E9",
157
+ "700": "#0D96D4",
158
+ "800": "#0A75A5",
159
+ "900": "#085B80",
160
+ "1000": "#064562"
161
+ },
162
+ red: {
163
+ "100": "#FFF6F5",
164
+ "200": "#FBE8E6",
165
+ "300": "#F3B7B2",
166
+ "400": "#EE948D",
167
+ "500": "#E6635A",
168
+ "600": "#E14539",
169
+ "700": "#C62828",
170
+ "800": "#AB1515",
171
+ "900": "#9A1006",
172
+ "1000": "#770C04"
173
+ },
174
+ darkBlue: {
175
+ "100": "#F5F7FA",
176
+ "200": "#DEE5F0",
177
+ "300": "#ACBBCF",
178
+ "400": "#64748B",
179
+ "500": "#22375C",
180
+ "600": "#1A2B4A",
181
+ "700": "#0D1B3A",
182
+ "800": "#0C1935",
183
+ "900": "#091329",
184
+ "1000": "#070F20"
185
+ },
186
+ ivory: {
187
+ "100": "#FFFEFE",
188
+ "200": "#FDFDFB",
189
+ "300": "#FDFBF9",
190
+ "400": "#FCFAF6",
191
+ "500": "#FBF9F5",
192
+ "600": "#FAF7F2",
193
+ "700": "#E4E1DC",
194
+ "800": "#B2AFAC",
195
+ "900": "#8A8885",
196
+ "1000": "#696866"
197
+ }
147
198
  }
148
199
  };
149
200
 
150
201
  // semantic-colors.json
151
202
  var semantic_colors_default = {
152
- surface: {
153
- primary: "neutral.50",
154
- secondary: "ivory.600",
155
- tertiary: "ivory.700"
156
- },
157
- background: {
158
- neutral: {
159
- primary: "neutral.50",
160
- black: "neutral.1100",
161
- secondary: "ivory.500",
162
- disabled: "neutral.200",
163
- tertiary: "ivory.700"
203
+ light: {
204
+ services: {
205
+ compute: "#E87722",
206
+ storage: "#0F7B3E",
207
+ networking: "#3B7DE8",
208
+ security: "#4C5FD5",
209
+ billing: "#C9A961",
210
+ support: "#14B8A6",
211
+ intelligence: "#0EA5E9"
164
212
  },
165
- primary: {
166
- subtle: "orange.100",
167
- default: "orange.700",
168
- hover: "orange.800"
213
+ background: {
214
+ base: "#FFFEFE",
215
+ surface: "#FAF7F2",
216
+ elevated: "#FAF7F2"
169
217
  },
170
- success: {
171
- subtle: "green.200",
172
- default: "green.800",
173
- hover: "green.900"
218
+ border: {
219
+ primary: "#DEE5F0",
220
+ error: "#C62828",
221
+ success: "#0F7B3E"
174
222
  },
175
- warning: {
176
- subtle: "yellow.200",
177
- default: "yellow.600",
178
- hover: "yellow.700"
223
+ text: {
224
+ primary: "#0D1B3A",
225
+ white: "#FFFEFE",
226
+ muted: "#64748B",
227
+ error: "#C62828",
228
+ success: "#0F7B3E",
229
+ action: "#E87722"
179
230
  },
180
- error: {
181
- subtle: "red.200",
182
- default: "red.800",
183
- hover: "red.900"
184
- }
185
- },
186
- text: {
187
- neutral: {
188
- primary: "neutral.1100",
189
- white: "neutral.50",
190
- secondary: "neutral.800",
191
- tertiary: "neutral.600",
192
- disabled: "neutral.500"
231
+ icons: {
232
+ primary: "#E87722",
233
+ white: "#FFFEFE",
234
+ default: "#0D1B3A",
235
+ light: "#64748B",
236
+ disabled: "#ACBBCF",
237
+ error: "#C62828",
238
+ success: "#0F7B3E"
193
239
  },
194
- primary: {
195
- subtle: "orange.600",
196
- default: "neutral.50",
197
- hover: "neutral.50"
240
+ glass: {
241
+ card: "rgba(255, 255, 255, 0.55)",
242
+ panel: "rgba(255, 255, 255, 0.62)",
243
+ border: "rgba(255, 255, 255, 0.9)"
198
244
  },
199
- success: {
200
- subtle: "green.800",
201
- default: "neutral.50",
202
- hover: "neutral.50"
245
+ badges: {
246
+ text: "#DEE5F0",
247
+ icon: "#64748B",
248
+ iconPrimary: "#0D1B3A",
249
+ iconMuted: "#64748B",
250
+ success: {
251
+ bg: "#E7F2EC",
252
+ text: "#0F7B3E",
253
+ border: "#91C2A6",
254
+ icon: "#0F7B3E"
255
+ },
256
+ pending: {
257
+ bg: "#FDF1E9",
258
+ text: "#D2691A",
259
+ border: "#F4C099",
260
+ icon: "#D2691A"
261
+ },
262
+ failed: {
263
+ bg: "#FFF6F5",
264
+ text: "#C62828",
265
+ border: "#F3B7B2",
266
+ icon: "#C62828"
267
+ },
268
+ info: {
269
+ bg: "#E7F6FD",
270
+ text: "#0A75A5",
271
+ border: "#90D6F5",
272
+ icon: "#0A75A5"
273
+ },
274
+ neutral: {
275
+ bg: "#DEE5F0",
276
+ text: "#22375C",
277
+ border: "#ACBBCF",
278
+ icon: "#22375C"
279
+ }
203
280
  },
204
- warning: {
205
- subtle: "yellow.800",
206
- default: "neutral.1100",
207
- hover: "neutral.1100"
281
+ buttons: {
282
+ background: {
283
+ bgPrimaryDefault: "#E87722",
284
+ bgPrimaryHover: "#D2691A",
285
+ bgSecondaryDefault: "#FFFEFE",
286
+ borderSecondaryDefault: "#64748B",
287
+ bgSecondaryHover: "#1A2B4A"
288
+ },
289
+ text: {
290
+ primary: "#FFFEFE",
291
+ secondary: "#1A2B4A"
292
+ },
293
+ icon: {
294
+ primary: "#FFFEFE",
295
+ secondary: "#1A2B4A",
296
+ loader: "#FFFEFE"
297
+ }
208
298
  },
209
- error: {
210
- subtle: "red.800",
211
- default: "neutral.50",
212
- hover: "neutral.50"
213
- }
214
- },
215
- icon: {
216
- neutral: {
217
- primary: "neutral.1100",
218
- white: "neutral.50",
219
- secondary: "neutral.800",
220
- tertiary: "neutral.600",
221
- disabled: "neutral.500"
299
+ cards: {
300
+ bg: "#FAF7F2",
301
+ primaryText: "#1A2B4A",
302
+ secondaryText: "#64748B",
303
+ icon: "#FFFEFE",
304
+ border: "#DEE5F0"
222
305
  },
223
- primary: {
224
- subtle: "orange.600",
225
- default: "neutral.50",
226
- hover: "neutral.50"
306
+ checkbox: {
307
+ borderDefault: "#ACBBCF",
308
+ borderHover: "#64748B",
309
+ selected: "#E87722",
310
+ icon: "#FFFEFE",
311
+ textPrimary: "#0D1B3A",
312
+ textSecondary: "#64748B"
227
313
  },
228
- success: {
229
- subtle: "green.800",
230
- default: "neutral.50",
231
- hover: "neutral.50"
314
+ radio: {
315
+ borderDefault: "#ACBBCF",
316
+ borderHover: "#64748B",
317
+ selected: "#E87722",
318
+ textPrimary: "#0D1B3A",
319
+ textSecondary: "#64748B"
232
320
  },
233
- warning: {
234
- subtle: "yellow.700",
235
- default: "neutral.1100",
236
- hover: "neutral.1100"
321
+ chips: {
322
+ bg: "#FFFEFE",
323
+ selected: "#E4E1DC",
324
+ border: "#ACBBCF",
325
+ text: "#1A2B4A",
326
+ icon: "#1A2B4A"
237
327
  },
238
- error: {
239
- subtle: "red.800",
240
- default: "neutral.50",
241
- hover: "neutral.50"
242
- }
243
- },
244
- border: {
245
- neutral: {
246
- primary: "neutral.400",
247
- white: "neutral.50",
248
- black: "neutral.1100",
249
- secondary: "neutral.300",
250
- tertiary: "neutral.200",
251
- disabled: "neutral.200"
328
+ drawer: {
329
+ bg: "#FFFEFE",
330
+ border: "#ACBBCF",
331
+ text: "#1A2B4A",
332
+ icon: "#1A2B4A"
252
333
  },
253
- primary: {
254
- subtle: "orange.600",
255
- default: "orange.300",
256
- hover: "orange.300"
334
+ dropdown: {
335
+ bg: "#FFFEFE",
336
+ border: "#DEE5F0",
337
+ borderHover: "#64748B",
338
+ textDefault: "#64748B",
339
+ textFilled: "#0D1B3A",
340
+ error: "#C62828",
341
+ success: "#0F7B3E",
342
+ iconDefault: "#64748B",
343
+ iconFilled: "#0D1B3A",
344
+ disabled: "#64748B",
345
+ menuBg: "#FFFEFE",
346
+ menuHover: "#F5F7FA"
257
347
  },
258
- success: {
259
- subtle: "green.800",
260
- default: "green.300",
261
- hover: "green.300"
348
+ footer: {
349
+ bg: "#FFFEFE",
350
+ border: "#DEE5F0"
262
351
  },
263
- warning: {
264
- subtle: "yellow.700",
265
- default: "yellow.300",
266
- hover: "yellow.300"
352
+ header: {
353
+ bg: "#FFFEFE",
354
+ border: "#DEE5F0",
355
+ iconDark: "#0D1B3A",
356
+ iconLight: "#64748B"
267
357
  },
268
- error: {
269
- subtle: "red.800",
270
- default: "red.300",
271
- hover: "red.300"
358
+ input: {
359
+ bg: "#FFFEFE",
360
+ border: "#DEE5F0",
361
+ borderHover: "#64748B",
362
+ textDefault: "#64748B",
363
+ textFilled: "#0D1B3A",
364
+ error: "#C62828",
365
+ success: "#0F7B3E",
366
+ iconDefault: "#64748B",
367
+ iconFilled: "#0D1B3A",
368
+ disabled: "#64748B"
369
+ },
370
+ menu: {
371
+ bg: "#FFFEFE",
372
+ hover: "#F5F7FA",
373
+ border: "#DEE5F0",
374
+ text: "#0D1B3A",
375
+ icon: "#0D1B3A"
376
+ },
377
+ pagination: {
378
+ bg: "#FFFEFE",
379
+ border: "#ACBBCF",
380
+ hover: "#F8D5BA",
381
+ selected: "#E87722",
382
+ primaryText: "#1A2B4A",
383
+ secondaryText: "#64748B",
384
+ whiteText: "#F5F7FA",
385
+ icon: "#1A2B4A"
386
+ },
387
+ progressBar: {
388
+ bg: "#E4E1DC",
389
+ progress: "#E87722",
390
+ completed: "#0F7B3E",
391
+ primaryText: "#0D1B3A"
392
+ },
393
+ popUp: {
394
+ bg: "#FFFEFE",
395
+ text: "#1A2B4A",
396
+ icon: "#1A2B4A"
397
+ },
398
+ radioButton: {
399
+ borderDefault: "#ACBBCF",
400
+ borderHover: "#64748B",
401
+ selected: "#E87722",
402
+ icon: "#FFFEFE",
403
+ textPrimary: "#0D1B3A",
404
+ textSecondary: "#64748B"
405
+ },
406
+ sideMenu: {
407
+ bg: "#FFFEFE",
408
+ border: "#DEE5F0",
409
+ hover: "#DEE5F0",
410
+ selectedBg: "rgba(232, 119, 34, 0.14)",
411
+ selected: "#E87722",
412
+ primaryText: "#1A2B4A",
413
+ secondaryText: "#64748B",
414
+ icon: "#64748B",
415
+ searchBg: "#F5F7FA",
416
+ searchTextAndIcon: "#64748B"
417
+ },
418
+ search: {
419
+ bg: "#FFFEFE",
420
+ textPrimary: "#64748B",
421
+ textFilled: "#0D1B3A",
422
+ borderDefault: "#DEE5F0",
423
+ borderHover: "#64748B",
424
+ iconPrimary: "#0D1B3A",
425
+ iconMuted: "#64748B",
426
+ menuBg: "#FFFEFE",
427
+ menuBorder: "#DEE5F0",
428
+ menuItemHover: "#F5F7FA"
429
+ },
430
+ tabs: {
431
+ bg: "#FAF7F2",
432
+ selectedBg: "#FFFEFE",
433
+ defaultText: "#64748B",
434
+ primaryText: "#1A2B4A",
435
+ icon: "#1A2B4A",
436
+ defaultBorder: "#ACBBCF",
437
+ selected: "#E87722"
438
+ },
439
+ skeleton: {
440
+ bg: "#E0E0E0",
441
+ waveMid: "#EBEBEB",
442
+ waveHighlight: "#F1F1F1"
443
+ },
444
+ alert: {
445
+ error: {
446
+ background: "#FFF6F5",
447
+ border: "#F3B7B2",
448
+ primaryText: "#0D1B3A",
449
+ secondaryText: "#64748B",
450
+ icon: "#C62828",
451
+ cta: "#C62828"
452
+ },
453
+ warning: {
454
+ background: "#FFF6EC",
455
+ border: "#FFD7A7",
456
+ primaryText: "#0D1B3A",
457
+ secondaryText: "#64748B",
458
+ icon: "#D2691A",
459
+ cta: "#E89A3A"
460
+ },
461
+ info: {
462
+ background: "#E7F6FD",
463
+ border: "#B4E3F8",
464
+ primaryText: "#0D1B3A",
465
+ secondaryText: "#64748B",
466
+ icon: "#0A75A5",
467
+ cta: "#0A75A5"
468
+ },
469
+ success: {
470
+ background: "#E7F2EC",
471
+ border: "#91C2A6",
472
+ primaryText: "#0D1B3A",
473
+ secondaryText: "#64748B",
474
+ icon: "#0F7B3E",
475
+ cta: "#0E7038"
476
+ }
477
+ },
478
+ table: {
479
+ headerBg: "#F5F7FA",
480
+ headerText: "#64748B",
481
+ rowBg: "#FFFEFE",
482
+ rowHoverBg: "#FDFBF9",
483
+ rowSelectedBg: "rgba(232,119,34,0.08)",
484
+ rowSelectedHoverBg: "rgba(232,119,34,0.12)",
485
+ rowActiveBg: "#F5EFE6",
486
+ borderColor: "#DEE5F0",
487
+ cellPrimaryText: "#0D1B3A",
488
+ cellSecondaryText: "#64748B",
489
+ actionText: "#E87722",
490
+ stripedRowBg: "#F5F7FA",
491
+ paginationBorder: "#DEE5F0",
492
+ pageActiveBg: "#22375C",
493
+ pageActiveText: "#FFFEFE"
494
+ },
495
+ toggle: {
496
+ default: "#64748B",
497
+ handle: "#FFFEFE",
498
+ selected: "#E87722",
499
+ text: "#0D1B3A"
500
+ },
501
+ slider: {
502
+ text: "#0D1B3A",
503
+ rail: "#F8D5BA",
504
+ track: "#E87722",
505
+ thumb: "#E87722",
506
+ thumbHover: "rgba(232, 119, 34, 0.16)",
507
+ valueLabelBg: "#E87722",
508
+ valueLabelText: "#FFFEFE",
509
+ error: "#C62828"
510
+ },
511
+ accordion: {
512
+ bg: "#F5F7FA",
513
+ border: "#DEE5F0",
514
+ text: "#0D1B3A",
515
+ icon: "#0D1B3A"
516
+ },
517
+ tooltip: {
518
+ bg: "#091329",
519
+ text: "#FFFEFE",
520
+ icon: "#FFFEFE"
521
+ },
522
+ toast: {
523
+ bg: "#FFFEFE",
524
+ info: "#0A75A5",
525
+ success: "#0F7B3E",
526
+ warning: "#D2691A",
527
+ error: "#C62828",
528
+ textDefault: "#0D1B3A",
529
+ iconDefault: "#64748B"
272
530
  }
273
531
  },
274
- badge: {
532
+ dark: {
533
+ services: {
534
+ compute: "#FFA940",
535
+ storage: "#0F7B3E",
536
+ networking: "#3B7DE8",
537
+ security: "#4C5FD5",
538
+ billing: "#C9A961",
539
+ support: "#14B8A6",
540
+ intelligence: "#0EA5E9"
541
+ },
275
542
  background: {
276
- subtle: {
277
- info: "lightBlue.100",
278
- success: "green.200",
279
- warning: "yellow.200",
280
- error: "red.200",
281
- neutral: "neutral.200",
282
- process: "#F7E8FF",
283
- action: "neutral.50"
284
- },
285
- solid: {
286
- info: "lightBlue.700",
287
- success: "green.800",
288
- warning: "yellow.600",
289
- error: "red.800",
290
- neutral: "neutral.400",
291
- process: "#8910D9",
292
- action: "neutral.50"
293
- }
543
+ base: "#0D1B3A",
544
+ surface: "#1A2B4A",
545
+ elevated: "#22375C"
294
546
  },
295
547
  border: {
296
- info: "lightBlue.700",
297
- success: "green.800",
298
- warning: "yellow.600",
299
- error: "red.800",
300
- neutral: "neutral.400",
301
- process: "#8910D9",
302
- action: "neutral.400"
548
+ primary: "#22375C",
549
+ error: "#EE948D",
550
+ success: "#5EA77E"
303
551
  },
304
552
  text: {
305
- black: "neutral.1100",
306
- white: "neutral.50"
553
+ primary: "#F5F7FA",
554
+ white: "#FFFEFE",
555
+ muted: "#ACBBCF",
556
+ error: "#EE948D",
557
+ success: "#5EA77E",
558
+ action: "#FFA940"
307
559
  },
308
- icon: {
309
- subtle: {
310
- info: "lightBlue.700",
311
- success: "green.800",
312
- warning: "yellow.600",
313
- error: "red.800",
314
- neutral: "neutral.1100",
315
- black: "neutral.1100"
560
+ icons: {
561
+ primary: "#FFA940",
562
+ white: "#FFFEFE",
563
+ default: "#FFFEFE",
564
+ light: "#ACBBCF",
565
+ disabled: "#64748B",
566
+ error: "#EE948D",
567
+ success: "#5EA77E"
568
+ },
569
+ glass: {
570
+ card: "rgba(34, 55, 92, 0.55)",
571
+ panel: "rgba(34, 55, 92, 0.6)",
572
+ border: "rgba(255, 255, 255, 0.1)"
573
+ },
574
+ badges: {
575
+ text: "#22375C",
576
+ icon: "#ACBBCF",
577
+ iconPrimary: "#0D1B3A",
578
+ iconMuted: "#0D1B3A",
579
+ success: {
580
+ bg: "rgba(15, 123, 62, 0.12)",
581
+ text: "#2E9D5F",
582
+ border: "rgba(15, 123, 62, 0.28)",
583
+ icon: "#2E9D5F"
316
584
  },
317
- solid: {
318
- info: "neutral.50",
319
- success: "neutral.50",
320
- warning: "neutral.1100",
321
- error: "neutral.50",
322
- neutral: "neutral.1100"
585
+ pending: {
586
+ bg: "rgba(194, 94, 14, 0.12)",
587
+ text: "#FFA940",
588
+ border: "rgba(194, 94, 14, 0.28)",
589
+ icon: "#FFA940"
590
+ },
591
+ failed: {
592
+ bg: "rgba(198, 40, 40, 0.12)",
593
+ text: "#F87171",
594
+ border: "rgba(198, 40, 40, 0.28)",
595
+ icon: "#F87171"
596
+ },
597
+ info: {
598
+ bg: "rgba(11, 130, 192, 0.12)",
599
+ text: "#38BDF8",
600
+ border: "rgba(11, 130, 192, 0.28)",
601
+ icon: "#38BDF8"
602
+ },
603
+ neutral: {
604
+ bg: "rgba(100, 116, 139, 0.12)",
605
+ text: "#94A3B8",
606
+ border: "rgba(100, 116, 139, 0.28)",
607
+ icon: "#94A3B8"
323
608
  }
324
- }
325
- },
326
- buttons: {
327
- background: {
328
- "primary-default": "orange.600",
329
- "primary-hover": "orange.500",
330
- "primary-disabled": "neutral.200",
331
- "secondary-default": "orange.400",
332
- "secondary-hover": "orange.100",
333
- "secondary-disabled": "neutral.200",
334
- "danger-default": "red.800",
335
- "danger-hover": "red.900",
336
- "danger-disabled": "neutral.200"
337
609
  },
338
- text: {
339
- "primary-default": "neutral.50",
340
- "primary-hover": "neutral.50",
341
- "primary-disabled": "neutral.500",
342
- "secondary-default": "orange.600",
343
- "secondary-hover": "orange.200",
344
- "secondary-disabled": "neutral.500",
345
- "danger-default": "neutral.50",
346
- "danger-hover": "neutral.50",
347
- "danger-disabled": "neutral.500",
348
- "link-default": "orange.600",
349
- "link-hover": "orange.600",
350
- "link-disabled": "neutral.500"
610
+ buttons: {
611
+ background: {
612
+ bgPrimaryDefault: "#FFA940",
613
+ bgPrimaryHover: "#FFB85C",
614
+ bgSecondaryDefault: "#1A2B4A",
615
+ borderSecondaryDefault: "#64748B",
616
+ bgSecondaryHover: "#FFFEFE"
617
+ },
618
+ text: {
619
+ primary: "#0D1B3A",
620
+ secondary: "#FFFEFE"
621
+ },
622
+ icon: {
623
+ primary: "#0D1B3A",
624
+ secondary: "#FFFEFE",
625
+ loader: "#0D1B3A"
626
+ }
351
627
  },
352
- icon: {
353
- "primary-default": "neutral.50",
354
- "primary-hover": "neutral.50",
355
- "primary-disabled": "neutral.500",
356
- "secondary-default": "orange.600",
357
- "secondary-hover": "orange.200",
358
- "secondary-disabled": "neutral.500",
359
- "danger-default": "neutral.50",
360
- "danger-hover": "neutral.50",
361
- "danger-disabled": "neutral.500",
362
- "link-default": "orange.600",
363
- "link-hover": "orange.600",
364
- "link-disabled": "neutral.500"
365
- }
366
- },
367
- controls: {
368
- background: {
369
- unchecked: "neutral.400",
370
- checked: "orange.600",
371
- disabled: "neutral.200"
628
+ cards: {
629
+ bg: "#1A2B4A",
630
+ primaryText: "#F5F7FA",
631
+ secondaryText: "#ACBBCF",
632
+ icon: "#0D1B3A",
633
+ border: "#22375C"
372
634
  },
373
- border: {
374
- default: "neutral.400",
375
- hover: "neutral.700",
376
- disabled: "neutral.200"
635
+ checkbox: {
636
+ borderDefault: "#FFFEFE",
637
+ borderHover: "#FFFEFE",
638
+ selected: "#FFA940",
639
+ icon: "#0D1B3A",
640
+ textPrimary: "#F5F7FA",
641
+ textSecondary: "#ACBBCF"
377
642
  },
378
- icon: {
379
- checked: "neutral.50",
380
- disabled: "neutral.500"
643
+ radio: {
644
+ borderDefault: "#FFFEFE",
645
+ borderHover: "#FFFEFE",
646
+ selected: "#FFA940",
647
+ textPrimary: "#F5F7FA",
648
+ textSecondary: "#ACBBCF"
381
649
  },
382
- "toggle-thumb": {
383
- "toggle-unchecked": "neutral.50",
384
- "toggle-checked": "neutral.50",
385
- "toggle-disabled": "neutral.500"
386
- }
387
- },
388
- chips: {
389
- background: {
390
- default: "neutral.50",
391
- hover: "neutral.100",
392
- selected: "neutral.100",
393
- disabled: "neutral.200"
650
+ chips: {
651
+ bg: "#0D1B3A",
652
+ selected: "#22375C",
653
+ border: "#64748B",
654
+ text: "#F5F7FA",
655
+ icon: "#F5F7FA"
394
656
  },
395
- text: {
396
- default: "neutral.1100",
397
- hover: "neutral.1100",
398
- selected: "neutral.1100",
399
- disabled: "neutral.500"
657
+ drawer: {
658
+ bg: "#0D1B3A",
659
+ border: "#22375C",
660
+ text: "#F5F7FA",
661
+ icon: "#F5F7FA"
400
662
  },
401
- icon: {
402
- default: "neutral.1100",
403
- hover: "neutral.1100",
404
- selected: "neutral.1100",
405
- disabled: "neutral.500",
406
- focused: "neutral.1100"
663
+ dropdown: {
664
+ bg: "#1A2B4A",
665
+ border: "#22375C",
666
+ borderHover: "#ACBBCF",
667
+ textDefault: "#ACBBCF",
668
+ textFilled: "#F5F7FA",
669
+ error: "#C62828",
670
+ success: "#0F7B3E",
671
+ iconDefault: "#ACBBCF",
672
+ iconFilled: "#F5F7FA",
673
+ disabled: "#ACBBCF",
674
+ menuBg: "#1A2B4A",
675
+ menuHover: "#22375C"
407
676
  },
408
- border: {
409
- default: "neutral.400",
410
- focused: "neutral.700"
411
- }
412
- },
413
- dropdown: {
414
- background: {
415
- default: "neutral.50",
416
- hover: "neutral.100",
417
- selected: "neutral.200"
677
+ footer: {
678
+ bg: "#0D1B3A",
679
+ border: "#22375C"
418
680
  },
419
- border: {
420
- default: "neutral.200"
681
+ header: {
682
+ bg: "#1A2B4A",
683
+ border: "#22375C",
684
+ iconDark: "#FFFEFE",
685
+ iconLight: "#ACBBCF"
421
686
  },
422
- text: {
423
- default: "neutral.1100",
424
- disabled: "neutral.500"
425
- }
426
- },
427
- input: {
428
- background: {
429
- default: "neutral.50",
430
- readonly: "neutral.200",
431
- disabled: "neutral.200"
687
+ input: {
688
+ bg: "#1A2B4A",
689
+ border: "#22375C",
690
+ borderHover: "#ACBBCF",
691
+ textDefault: "#ACBBCF",
692
+ textFilled: "#F5F7FA",
693
+ error: "#C62828",
694
+ success: "#0F7B3E",
695
+ iconDefault: "#64748B",
696
+ iconFilled: "#F5F7FA",
697
+ disabled: "#ACBBCF"
432
698
  },
433
- border: {
434
- default: "neutral.400",
435
- hover: "orange.600",
436
- active: "orange.600",
437
- filled: "neutral.400",
438
- success: "green.800",
439
- error: "red.800",
440
- disabled: "neutral.200"
699
+ menu: {
700
+ bg: "#1A2B4A",
701
+ hover: "#22375C",
702
+ border: "#22375C",
703
+ text: "#F5F7FA",
704
+ icon: "#F5F7FA"
441
705
  },
442
- text: {
443
- default: "neutral.600",
444
- typing: "neutral.1100",
445
- filled: "neutral.1100",
446
- disabled: "neutral.500",
447
- readonly: "neutral.1100"
706
+ pagination: {
707
+ bg: "#1A2B4A",
708
+ border: "#64748B",
709
+ hover: "#22375C",
710
+ selected: "#E87722",
711
+ primaryText: "#F5F7FA",
712
+ secondaryText: "#ACBBCF",
713
+ whiteText: "#070F20",
714
+ icon: "#F5F7FA"
448
715
  },
449
- icon: {
450
- default: "neutral.600",
451
- focus: "neutral.1100",
452
- disabled: "neutral.500"
716
+ progressBar: {
717
+ bg: "#64748B",
718
+ progress: "#FFA940",
719
+ completed: "#0F7B3E",
720
+ primaryText: "#FFFEFE"
453
721
  },
454
- "supporting-text": {
455
- helper: "neutral.600",
456
- success: "green.800",
457
- error: "red.800"
458
- }
459
- },
460
- sidemenu: {
461
- background: {
462
- rail: "navy.900",
463
- "item-hover": "navy.700",
464
- "item-selected": "navy.700",
465
- "project-badge": "navy.500",
466
- scrollbar: "neutral.200"
722
+ popUp: {
723
+ bg: "#1A2B4A",
724
+ text: "#F5F7FA",
725
+ icon: "#F5F7FA"
467
726
  },
468
- text: {
469
- primary: "neutral.50",
470
- group: "neutral.600",
471
- "project-badge": "navy.900"
727
+ radioButton: {
728
+ borderDefault: "#FFFEFE",
729
+ borderHover: "#FFFEFE",
730
+ selected: "#FFA940",
731
+ icon: "#0D1B3A",
732
+ textPrimary: "#F5F7FA",
733
+ textSecondary: "#ACBBCF"
472
734
  },
473
- icon: {
474
- primary: "neutral.50",
475
- tertiary: "neutral.50"
735
+ sideMenu: {
736
+ bg: "#22375C",
737
+ border: "#2E456B",
738
+ hover: "#22375C",
739
+ selectedBg: "rgba(255, 169, 64, 0.14)",
740
+ selected: "#FFA940",
741
+ primaryText: "#F5F7FA",
742
+ secondaryText: "#ACBBCF",
743
+ icon: "#ACBBCF",
744
+ searchBg: "#0D1B3A",
745
+ searchTextAndIcon: "#64748B"
476
746
  },
477
- border: {
478
- utility: "navy.800"
479
- }
480
- },
481
- toast: {
482
- background: {
483
- info: "orange.100",
484
- success: "green.200",
485
- warning: "yellow.200",
486
- error: "red.200"
747
+ search: {
748
+ bg: "#0D1B3A",
749
+ textPrimary: "#ACBBCF",
750
+ textFilled: "#F5F7FA",
751
+ borderDefault: "#22375C",
752
+ borderHover: "#ACBBCF",
753
+ iconPrimary: "#F5F7FA",
754
+ iconMuted: "#ACBBCF",
755
+ menuBg: "#1A2B4A",
756
+ menuBorder: "#22375C",
757
+ menuItemHover: "#22375C"
487
758
  },
488
- border: {
489
- info: "orange.600",
490
- success: "green.800",
491
- warning: "yellow.700",
492
- error: "red.800"
759
+ tabs: {
760
+ bg: "#0D1B3A",
761
+ selectedBg: "#1A2B4A",
762
+ defaultText: "#ACBBCF",
763
+ primaryText: "#F5F7FA",
764
+ icon: "#F5F7FA",
765
+ defaultBorder: "#64748B",
766
+ selected: "#FFA940"
493
767
  },
494
- text: {
495
- title: "neutral.1100",
496
- description: "neutral.800"
768
+ skeleton: {
769
+ bg: "#22375C",
770
+ waveMid: "#334D75",
771
+ waveHighlight: "#64748B"
497
772
  },
498
- icon: {
499
- info: "orange.600",
500
- success: "green.800",
501
- warning: "yellow.700",
502
- error: "red.800",
503
- close: "neutral.1100"
773
+ alert: {
774
+ error: {
775
+ background: "#FFF6F5",
776
+ border: "#F3B7B2",
777
+ primaryText: "#0D1B3A",
778
+ secondaryText: "#64748B",
779
+ icon: "#C62828",
780
+ cta: "#C62828"
781
+ },
782
+ warning: {
783
+ background: "#FFF6EC",
784
+ border: "#FFD7A7",
785
+ primaryText: "#0D1B3A",
786
+ secondaryText: "#64748B",
787
+ icon: "#D2691A",
788
+ cta: "#E89A3A"
789
+ },
790
+ info: {
791
+ background: "#E7F6FD",
792
+ border: "#B4E3F8",
793
+ primaryText: "#0D1B3A",
794
+ secondaryText: "#64748B",
795
+ icon: "#0A75A5",
796
+ cta: "#0A75A5"
797
+ },
798
+ success: {
799
+ background: "#E7F2EC",
800
+ border: "#91C2A6",
801
+ primaryText: "#0D1B3A",
802
+ secondaryText: "#64748B",
803
+ icon: "#0F7B3E",
804
+ cta: "#0E7038"
805
+ }
806
+ },
807
+ table: {
808
+ headerBg: "#22375C",
809
+ headerText: "#ACBBCF",
810
+ rowBg: "#1A2B4A",
811
+ rowHoverBg: "#22375C",
812
+ rowSelectedBg: "rgba(232,119,34,0.12)",
813
+ rowSelectedHoverBg: "rgba(232,119,34,0.18)",
814
+ rowActiveBg: "#2E456B",
815
+ borderColor: "#2E456B",
816
+ cellPrimaryText: "#F5F7FA",
817
+ cellSecondaryText: "#ACBBCF",
818
+ actionText: "#FFA940",
819
+ stripedRowBg: "rgba(34,55,92,0.5)",
820
+ paginationBorder: "#2E456B",
821
+ pageActiveBg: "#ACBBCF",
822
+ pageActiveText: "#0D1B3A"
823
+ },
824
+ toggle: {
825
+ default: "#64748B",
826
+ handle: "#FFFEFE",
827
+ selected: "#FFA940",
828
+ text: "#F5F7FA"
829
+ },
830
+ slider: {
831
+ text: "#F5F7FA",
832
+ rail: "#FFD7A7",
833
+ track: "#E89A3A",
834
+ thumb: "#E89A3A",
835
+ thumbHover: "rgba(232, 154, 58, 0.24)",
836
+ valueLabelBg: "#E89A3A",
837
+ valueLabelText: "#0D1B3A",
838
+ error: "#C62828"
839
+ },
840
+ accordion: {
841
+ bg: "#1A2B4A",
842
+ border: "#22375C",
843
+ text: "#F5F7FA",
844
+ icon: "#F5F7FA"
845
+ },
846
+ tooltip: {
847
+ bg: "#F5F7FA",
848
+ text: "#0D1B3A",
849
+ icon: "#0D1B3A"
850
+ },
851
+ toast: {
852
+ bg: "#FFFEFE",
853
+ info: "#0A75A5",
854
+ success: "#0F7B3E",
855
+ warning: "#D2691A",
856
+ error: "#C62828",
857
+ textDefault: "#0D1B3A",
858
+ iconDefault: "#64748B"
504
859
  }
505
- },
506
- opacity: {
507
- description: 0.9,
508
- hover: 0.8,
509
- hoverSubtle: 0.7,
510
- disabled: 0.5,
511
- hidden: 0,
512
- full: 1
513
860
  }
514
861
  };
515
862
 
516
863
  // spacing.json
517
864
  var spacing_default = {
518
865
  "0": "0px",
519
- "2xs": "0.125rem",
520
- xs: "0.25rem",
866
+ "3xs": "0.125rem",
867
+ "2xs": "0.25rem",
868
+ xs: "0.375rem",
521
869
  sm: "0.5rem",
522
870
  md: "0.75rem",
523
871
  lg: "1rem",
@@ -543,83 +891,43 @@ var typography_default = {
543
891
  "Helvetica Neue",
544
892
  "Arial",
545
893
  "sans-serif"
546
- ],
547
- serif: [
548
- "Georgia",
549
- "Cambria",
550
- "Times New Roman",
551
- "Times",
552
- "serif"
553
- ],
554
- mono: [
555
- "Fira Code",
556
- "Consolas",
557
- "Monaco",
558
- "Courier New",
559
- "monospace"
560
894
  ]
561
895
  },
562
896
  fontSize: {
563
- "2xl": [
564
- "1.5rem",
565
- {
566
- lineHeight: "2rem",
567
- comment: "H1 (Figma Desktop)"
568
- }
569
- ],
570
- xl: [
571
- "1.25rem",
572
- {
573
- lineHeight: "1.75rem",
574
- comment: "H2 (Figma Desktop)"
575
- }
576
- ],
577
- base: [
578
- "1rem",
579
- {
580
- lineHeight: "1.5rem",
581
- comment: "B1 (Figma Desktop)"
582
- }
583
- ],
584
- sm: [
585
- "0.875rem",
586
- {
587
- lineHeight: "1.5rem",
588
- comment: "B2 (Figma Desktop)"
589
- }
590
- ],
591
- "2xs": [
592
- "0.8125rem",
593
- {
594
- lineHeight: "1.125rem",
595
- comment: "B3 (Figma Desktop)"
596
- }
597
- ],
598
- xs: [
599
- "0.75rem",
600
- {
601
- lineHeight: "1rem",
602
- comment: "B4 (Figma Desktop)"
603
- }
604
- ],
605
- "3xs": [
606
- "0.625rem",
607
- {
608
- lineHeight: "1rem",
609
- comment: "B4 (Figma Mobile)"
610
- }
611
- ]
897
+ h1: "1.5rem",
898
+ h2: "1.25rem",
899
+ b1: "1rem",
900
+ b2: "0.8125rem",
901
+ b3: "0.75rem",
902
+ "2xl": "1.5rem",
903
+ xl: "1.25rem",
904
+ base: "1rem",
905
+ sm: "0.8125rem",
906
+ "2xs": "0.75rem",
907
+ xs: "0.75rem"
612
908
  },
613
909
  fontWeight: {
614
- thin: "100",
615
- extralight: "200",
616
- light: "300",
617
- normal: "400",
618
- medium: "500",
619
- semibold: "600",
620
- bold: "700",
621
- extrabold: "800",
622
- black: "900"
910
+ regular: 400,
911
+ medium: 500,
912
+ semiBold: 600,
913
+ bold: 700,
914
+ normal: 400,
915
+ semibold: 600
916
+ },
917
+ lineHeight: {
918
+ xl: "2rem",
919
+ lg: "1.75rem",
920
+ m: "1.5rem",
921
+ s: "1.25rem",
922
+ xs: "1.125rem",
923
+ "2xs": "1rem"
924
+ },
925
+ size: {
926
+ h1: "1.5rem",
927
+ h2: "1.25rem",
928
+ b1: "1rem",
929
+ b2: "0.8125rem",
930
+ b3: "0.75rem"
623
931
  },
624
932
  letterSpacing: {
625
933
  tighter: "-0.05em",
@@ -629,98 +937,134 @@ var typography_default = {
629
937
  wider: "0.05em",
630
938
  widest: "0.1em"
631
939
  },
632
- lineHeight: {
633
- none: "1",
634
- tight: "1.25",
635
- snug: "1.375",
636
- normal: "1.5",
637
- relaxed: "1.625",
638
- loose: "2",
639
- "2xs": "1rem",
640
- xs: "1.125rem",
641
- s: "1.25rem",
642
- m: "1.5rem",
643
- lg: "1.75rem",
644
- xl: "2rem"
645
- },
646
- responsive: {
940
+ modes: {
647
941
  desktop: {
648
- fontFamily: "Inter",
649
- heading: {
650
- h1: 24,
651
- h2: 20
942
+ fontFamily: {
943
+ sans: [
944
+ "Inter",
945
+ "system-ui",
946
+ "-apple-system",
947
+ "BlinkMacSystemFont",
948
+ "Segoe UI",
949
+ "Roboto",
950
+ "Helvetica Neue",
951
+ "Arial",
952
+ "sans-serif"
953
+ ]
652
954
  },
653
- body: {
654
- b1: 16,
655
- b2: 14,
656
- b3: 13,
657
- b4: 12
955
+ fontSize: {
956
+ h1: "1.5rem",
957
+ h2: "1.25rem",
958
+ b1: "1rem",
959
+ b2: "0.8125rem",
960
+ b3: "0.75rem"
961
+ },
962
+ fontWeight: {
963
+ regular: 400,
964
+ medium: 500,
965
+ semiBold: 600,
966
+ bold: 700
658
967
  },
659
968
  lineHeight: {
660
- xl: 32,
661
- lg: 28,
662
- m: 24,
663
- s: 20,
664
- xs: 18,
665
- "2xs": 16
969
+ xl: "2rem",
970
+ lg: "1.75rem",
971
+ m: "1.5rem",
972
+ s: "1.25rem",
973
+ xs: "1.125rem",
974
+ "2xs": "1rem"
666
975
  },
667
- fontWeight: {
668
- regular: "400",
669
- medium: "500",
670
- semibold: "600",
671
- bold: "700"
976
+ size: {
977
+ h1: "1.5rem",
978
+ h2: "1.25rem",
979
+ b1: "1rem",
980
+ b2: "0.8125rem",
981
+ b3: "0.75rem"
672
982
  }
673
983
  },
674
984
  tablet: {
675
- fontFamily: "Inter",
676
- heading: {
677
- h1: 20,
678
- h2: 18
985
+ fontFamily: {
986
+ sans: [
987
+ "Inter",
988
+ "system-ui",
989
+ "-apple-system",
990
+ "BlinkMacSystemFont",
991
+ "Segoe UI",
992
+ "Roboto",
993
+ "Helvetica Neue",
994
+ "Arial",
995
+ "sans-serif"
996
+ ]
997
+ },
998
+ fontSize: {
999
+ h1: "1.25rem",
1000
+ h2: "1.125rem",
1001
+ b1: "1rem",
1002
+ b2: "0.8125rem",
1003
+ b3: "0.75rem"
679
1004
  },
680
- body: {
681
- b1: 16,
682
- b2: 14,
683
- b4: 12
1005
+ fontWeight: {
1006
+ regular: 400,
1007
+ medium: 500,
1008
+ semiBold: 600,
1009
+ bold: 700
684
1010
  },
685
1011
  lineHeight: {
686
- xl: 28,
687
- lg: 24,
688
- m: 22,
689
- s: 20,
690
- xs: 20,
691
- "2xs": 16
1012
+ xl: "1.75rem",
1013
+ lg: "1.5rem",
1014
+ m: "1.375rem",
1015
+ s: "1.25rem",
1016
+ xs: "1.25rem",
1017
+ "2xs": "1rem"
692
1018
  },
693
- fontWeight: {
694
- regular: "400",
695
- medium: "500",
696
- semibold: "600",
697
- bold: "700"
1019
+ size: {
1020
+ h1: "1.25rem",
1021
+ h2: "1.125rem",
1022
+ b1: "1rem",
1023
+ b2: "0.8125rem",
1024
+ b3: "0.75rem"
698
1025
  }
699
1026
  },
700
1027
  mobile: {
701
- fontFamily: "Inter",
702
- heading: {
703
- h1: 18,
704
- h2: 16
1028
+ fontFamily: {
1029
+ sans: [
1030
+ "Inter",
1031
+ "system-ui",
1032
+ "-apple-system",
1033
+ "BlinkMacSystemFont",
1034
+ "Segoe UI",
1035
+ "Roboto",
1036
+ "Helvetica Neue",
1037
+ "Arial",
1038
+ "sans-serif"
1039
+ ]
705
1040
  },
706
- body: {
707
- b1: 14,
708
- b2: 12,
709
- b4: 10
1041
+ fontSize: {
1042
+ h1: "1.125rem",
1043
+ h2: "1rem",
1044
+ b1: "0.875rem",
1045
+ b2: "0.75rem",
1046
+ b3: "0.8125rem"
1047
+ },
1048
+ fontWeight: {
1049
+ regular: 400,
1050
+ medium: 500,
1051
+ semiBold: 600,
1052
+ bold: 700
710
1053
  },
711
1054
  lineHeight: {
712
- xl: 24,
713
- lg: 22,
714
- m: 20,
715
- s: 18,
716
- xs: 18,
717
- "2xs": 16
1055
+ xl: "1.5rem",
1056
+ lg: "1.375rem",
1057
+ m: "1.25rem",
1058
+ s: "1.125rem",
1059
+ xs: "1.125rem",
1060
+ "2xs": "1rem"
718
1061
  },
719
- fontWeight: {
720
- regular: "400",
721
- medium: "500",
722
- semibold: "600",
723
- bold: "700"
1062
+ size: {
1063
+ h1: "1.125rem",
1064
+ h2: "1rem",
1065
+ b1: "0.875rem",
1066
+ b2: "0.75rem",
1067
+ b3: "0.8125rem"
724
1068
  }
725
1069
  }
726
1070
  }
@@ -736,7 +1080,7 @@ var radius_default = {
736
1080
  xl: "1.5rem",
737
1081
  "2xl": "2rem",
738
1082
  "3xl": "3.5rem",
739
- full: "9999px"
1083
+ full: "62.4375rem"
740
1084
  };
741
1085
 
742
1086
  // shadows.json
@@ -750,94 +1094,94 @@ var shadows_default = {
750
1094
  // elevation.json
751
1095
  var elevation_default = {
752
1096
  $schema: "https://json-schema.org/draft-07/schema#",
753
- description: "Elevation (shadow) design tokens for the Sangam Design System. Provides directional shadows for creating depth and hierarchy.",
1097
+ description: "Elevation (shadow) design tokens for the Sangam Design System. From Figma Elevation collection.",
754
1098
  elevation: {
755
1099
  bottom: {
756
1100
  sm: {
757
- value: "0 2px 6px 0 rgba(0, 0, 0, 0.1)",
758
- description: "Small elevation shadow cast downward. Subtle depth for cards, buttons.",
759
- css: "box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);"
1101
+ value: "0px 2px 6px 0px rgba(0, 0, 0, 0.1)",
1102
+ description: "Small elevation shadow (bottom).",
1103
+ css: "box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);"
760
1104
  },
761
1105
  md: {
762
- value: "0 4px 10px 0 rgba(0, 0, 0, 0.1)",
763
- description: "Medium elevation shadow cast downward. Moderate depth for dropdowns, popovers.",
764
- css: "box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);"
1106
+ value: "0px 4px 10px 0px rgba(0, 0, 0, 0.1)",
1107
+ description: "Medium elevation shadow (bottom).",
1108
+ css: "box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);"
765
1109
  },
766
1110
  lg: {
767
- value: "0 8px 16px 0 rgba(0, 0, 0, 0.1)",
768
- description: "Large elevation shadow cast downward. Strong depth for modals, overlays.",
769
- css: "box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1);"
1111
+ value: "0px 8px 16px 0px rgba(0, 0, 0, 0.1)",
1112
+ description: "Large elevation shadow (bottom).",
1113
+ css: "box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);"
770
1114
  },
771
1115
  xl: {
772
- value: "0 12px 24px 0 rgba(0, 0, 0, 0.1)",
773
- description: "Extra large elevation shadow cast downward. Maximum depth for floating panels.",
774
- css: "box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.1);"
1116
+ value: "0px 12px 24px 0px rgba(0, 0, 0, 0.1)",
1117
+ description: "Extra Large elevation shadow (bottom).",
1118
+ css: "box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.1);"
775
1119
  }
776
1120
  },
777
1121
  top: {
778
1122
  sm: {
779
- value: "0 -4px 6px 0 rgba(0, 0, 0, 0.1)",
780
- description: "Small elevation shadow cast upward. Subtle depth for sticky footers.",
781
- css: "box-shadow: 0 -4px 6px 0 rgba(0, 0, 0, 0.1);"
1123
+ value: "0px -4px 6px 0px rgba(0, 0, 0, 0.1)",
1124
+ description: "Small elevation shadow (top).",
1125
+ css: "box-shadow: 0px -4px 6px 0px rgba(0, 0, 0, 0.1);"
782
1126
  },
783
1127
  md: {
784
- value: "0 -6px 12px 0 rgba(0, 0, 0, 0.1)",
785
- description: "Medium elevation shadow cast upward. Moderate depth for bottom sheets.",
786
- css: "box-shadow: 0 -6px 12px 0 rgba(0, 0, 0, 0.1);"
1128
+ value: "0px -6px 12px 0px rgba(0, 0, 0, 0.1)",
1129
+ description: "Medium elevation shadow (top).",
1130
+ css: "box-shadow: 0px -6px 12px 0px rgba(0, 0, 0, 0.1);"
787
1131
  },
788
1132
  lg: {
789
- value: "0 -10px 20px 0 rgba(0, 0, 0, 0.1)",
790
- description: "Large elevation shadow cast upward. Strong depth for elevated panels.",
791
- css: "box-shadow: 0 -10px 20px 0 rgba(0, 0, 0, 0.1);"
1133
+ value: "0px -10px 20px 0px rgba(0, 0, 0, 0.1)",
1134
+ description: "Large elevation shadow (top).",
1135
+ css: "box-shadow: 0px -10px 20px 0px rgba(0, 0, 0, 0.1);"
792
1136
  },
793
1137
  xl: {
794
- value: "0 -14px 28px 0 rgba(0, 0, 0, 0.1)",
795
- description: "Extra large elevation shadow cast upward. Maximum depth for floating elements.",
796
- css: "box-shadow: 0 -14px 28px 0 rgba(0, 0, 0, 0.1);"
1138
+ value: "0px -14px 28px 0px rgba(0, 0, 0, 0.1)",
1139
+ description: "Extra Large elevation shadow (top).",
1140
+ css: "box-shadow: 0px -14px 28px 0px rgba(0, 0, 0, 0.1);"
797
1141
  }
798
1142
  },
799
1143
  left: {
800
1144
  sm: {
801
- value: "-4px 0 8px 0 rgba(0, 0, 0, 0.1)",
802
- description: "Small elevation shadow cast leftward. Subtle depth for side panels.",
803
- css: "box-shadow: -4px 0 8px 0 rgba(0, 0, 0, 0.1);"
1145
+ value: "-4px 0px 8px 0px rgba(0, 0, 0, 0.1)",
1146
+ description: "Small elevation shadow (left).",
1147
+ css: "box-shadow: -4px 0px 8px 0px rgba(0, 0, 0, 0.1);"
804
1148
  },
805
1149
  md: {
806
- value: "-6px 0 12px 0 rgba(0, 0, 0, 0.1)",
807
- description: "Medium elevation shadow cast leftward. Moderate depth for drawers.",
808
- css: "box-shadow: -6px 0 12px 0 rgba(0, 0, 0, 0.1);"
1150
+ value: "-6px 0px 12px 0px rgba(0, 0, 0, 0.1)",
1151
+ description: "Medium elevation shadow (left).",
1152
+ css: "box-shadow: -6px 0px 12px 0px rgba(0, 0, 0, 0.1);"
809
1153
  },
810
1154
  lg: {
811
- value: "-10px 0 20px 0 rgba(0, 0, 0, 0.1)",
812
- description: "Large elevation shadow cast leftward. Strong depth for sliding panels.",
813
- css: "box-shadow: -10px 0 20px 0 rgba(0, 0, 0, 0.1);"
1155
+ value: "-10px 0px 20px 0px rgba(0, 0, 0, 0.1)",
1156
+ description: "Large elevation shadow (left).",
1157
+ css: "box-shadow: -10px 0px 20px 0px rgba(0, 0, 0, 0.1);"
814
1158
  },
815
1159
  xl: {
816
- value: "-14px 0 28px 0 rgba(0, 0, 0, 0.1)",
817
- description: "Extra large elevation shadow cast leftward. Maximum depth for side navigation.",
818
- css: "box-shadow: -14px 0 28px 0 rgba(0, 0, 0, 0.1);"
1160
+ value: "-14px 0px 28px 0px rgba(0, 0, 0, 0.1)",
1161
+ description: "Extra Large elevation shadow (left).",
1162
+ css: "box-shadow: -14px 0px 28px 0px rgba(0, 0, 0, 0.1);"
819
1163
  }
820
1164
  },
821
1165
  right: {
822
1166
  sm: {
823
- value: "4px 0 8px 0 rgba(0, 0, 0, 0.1)",
824
- description: "Small elevation shadow cast rightward. Subtle depth for side panels.",
825
- css: "box-shadow: 4px 0 8px 0 rgba(0, 0, 0, 0.1);"
1167
+ value: "4px 0px 8px 0px rgba(0, 0, 0, 0.1)",
1168
+ description: "Small elevation shadow (right).",
1169
+ css: "box-shadow: 4px 0px 8px 0px rgba(0, 0, 0, 0.1);"
826
1170
  },
827
1171
  md: {
828
- value: "6px 0 12px 0 rgba(0, 0, 0, 0.1)",
829
- description: "Medium elevation shadow cast rightward. Moderate depth for drawers.",
830
- css: "box-shadow: 6px 0 12px 0 rgba(0, 0, 0, 0.1);"
1172
+ value: "6px 0px 12px 0px rgba(0, 0, 0, 0.1)",
1173
+ description: "Medium elevation shadow (right).",
1174
+ css: "box-shadow: 6px 0px 12px 0px rgba(0, 0, 0, 0.1);"
831
1175
  },
832
1176
  lg: {
833
- value: "10px 0 20px 0 rgba(0, 0, 0, 0.1)",
834
- description: "Large elevation shadow cast rightward. Strong depth for sliding panels.",
835
- css: "box-shadow: 10px 0 20px 0 rgba(0, 0, 0, 0.1);"
1177
+ value: "10px 0px 20px 0px rgba(0, 0, 0, 0.1)",
1178
+ description: "Large elevation shadow (right).",
1179
+ css: "box-shadow: 10px 0px 20px 0px rgba(0, 0, 0, 0.1);"
836
1180
  },
837
1181
  xl: {
838
- value: "14px 0 28px 0 rgba(0, 0, 0, 0.1)",
839
- description: "Extra large elevation shadow cast rightward. Maximum depth for side navigation.",
840
- css: "box-shadow: 14px 0 28px 0 rgba(0, 0, 0, 0.1);"
1182
+ value: "14px 0px 28px 0px rgba(0, 0, 0, 0.1)",
1183
+ description: "Extra Large elevation shadow (right).",
1184
+ css: "box-shadow: 14px 0px 28px 0px rgba(0, 0, 0, 0.1);"
841
1185
  }
842
1186
  }
843
1187
  }
@@ -847,6 +1191,7 @@ var elevation_default = {
847
1191
  var strokeWidth_default = {
848
1192
  "0": "0px",
849
1193
  "1": "1px",
1194
+ "1.5": "1.5px",
850
1195
  "2": "2px",
851
1196
  "3": "3px",
852
1197
  "4": "4px",
@@ -868,6 +1213,94 @@ var layout_default = {
868
1213
  button: {
869
1214
  createRadius: "0.5rem"
870
1215
  },
1216
+ menu: {
1217
+ itemMinWidth: "9rem",
1218
+ panelMinWidth: "10rem"
1219
+ },
1220
+ dropdown: {
1221
+ triggerHeight: "2rem",
1222
+ menuMinWidth: "11.25rem",
1223
+ disabledOpacity: 0.5,
1224
+ chipOverflowMax: 2
1225
+ },
1226
+ input: {
1227
+ fieldHeight: "2rem",
1228
+ textareaHeight: "6rem",
1229
+ textareaMaxLength: 250,
1230
+ disabledOpacity: 0.5
1231
+ },
1232
+ tooltip: {
1233
+ minWidth: "7.5rem",
1234
+ arrowInsetX: "0.625rem",
1235
+ arrowInsetY: "0.25rem"
1236
+ },
1237
+ skeleton: {
1238
+ demoWidth: "4.8125rem",
1239
+ demoHeight: "7.0625rem"
1240
+ },
1241
+ alert: {
1242
+ padding: "1rem",
1243
+ contentGap: "0.75rem",
1244
+ textGap: "0.5rem",
1245
+ iconSize: "1.25rem",
1246
+ closeIconSize: "1rem",
1247
+ actionHeight: "2rem",
1248
+ borderWidth: "1px",
1249
+ demoWidth: "20rem"
1250
+ },
1251
+ switch: {
1252
+ trackWidthMedium: "3.5rem",
1253
+ trackHeightMedium: "1.75rem",
1254
+ thumbSizeMedium: "1.375rem",
1255
+ trackWidthSmall: "2.75rem",
1256
+ trackHeightSmall: "1.5rem",
1257
+ thumbSizeSmall: "1.125rem",
1258
+ disabledOpacity: 0.5
1259
+ },
1260
+ radio: {
1261
+ dotSizeMedium: "0.625rem",
1262
+ dotSizeSmall: "0.5rem",
1263
+ disabledOpacity: 0.5
1264
+ },
1265
+ tabs: {
1266
+ itemMinWidth: "11.125rem",
1267
+ disabledOpacity: 0.5
1268
+ },
1269
+ chips: {
1270
+ minWidthMedium: "4.5625rem",
1271
+ minWidthSmall: "4.1875rem",
1272
+ heightMedium: "1.625rem",
1273
+ disabledOpacity: 0.5
1274
+ },
1275
+ badges: {
1276
+ heightMedium: "1.5rem",
1277
+ heightSmall: "1.25rem",
1278
+ numberSizeMedium: "1.5rem",
1279
+ numberSizeSmall: "1.25rem",
1280
+ minWidthPillMedium: "3rem",
1281
+ minWidthPillSmall: "3rem",
1282
+ notificationDotSize: "0.5rem",
1283
+ disabledOpacity: 0.5
1284
+ },
1285
+ avatars: {
1286
+ sizeMedium: "1.5rem",
1287
+ sizeSmall: "1.25rem",
1288
+ letterFontSizeSmall: "0.625rem",
1289
+ groupOverlapSmall: "-0.5rem",
1290
+ groupOverlapMedium: "-0.625rem"
1291
+ },
1292
+ dialog: {
1293
+ minWidth: "32.5rem"
1294
+ },
1295
+ drawer: {
1296
+ minWidth: "36rem",
1297
+ gutter: "0.75rem",
1298
+ viewportFraction: "33.333vw"
1299
+ },
1300
+ card: {
1301
+ iconTile: "2.375rem",
1302
+ iconTileRadius: "0.625rem"
1303
+ },
871
1304
  table: {
872
1305
  controlHeight: "1.5rem",
873
1306
  searchBarWidth: "18.3125rem",
@@ -905,6 +1338,37 @@ var layout_default = {
905
1338
  paginationPageMinWidth: "1.75rem",
906
1339
  paginationButtonMinWidth: "3.75rem",
907
1340
  dateTimePickerMinWidth: "10.3125rem"
1341
+ },
1342
+ accordion: {
1343
+ summaryPaddingX: "1rem",
1344
+ summaryPaddingY: "0.75rem",
1345
+ contentGap: "0.5rem",
1346
+ iconSize: "1.25rem",
1347
+ borderWidth: "1px",
1348
+ detailsMinHeight: "3.5rem",
1349
+ actionsGap: "0.75rem",
1350
+ demoWidth: "28.875rem"
1351
+ },
1352
+ search: {
1353
+ fieldHeight: "2rem",
1354
+ demoWidth: "25rem",
1355
+ menuMinWidth: "25rem",
1356
+ itemHeight: "2rem",
1357
+ groupHeaderHeight: "1.5rem",
1358
+ disabledOpacity: 0.5
1359
+ },
1360
+ slider: {
1361
+ railHeightMedium: "0.25rem",
1362
+ trackHeightMedium: "0.375rem",
1363
+ thumbSizeMedium: "1.25rem",
1364
+ railHeightSmall: "0.1875rem",
1365
+ trackHeightSmall: "0.25rem",
1366
+ thumbSizeSmall: "1rem",
1367
+ controlHeightMedium: "2.75rem",
1368
+ controlHeightSmall: "2.25rem",
1369
+ valueLabelFontSize: "0.75rem",
1370
+ disabledOpacity: 0.4,
1371
+ demoWidth: "10rem"
908
1372
  }
909
1373
  };
910
1374
 
@@ -916,34 +1380,340 @@ var motion_default = {
916
1380
  }
917
1381
  };
918
1382
 
919
- // index.ts
920
- function resolveRef(ref) {
921
- const [palette, step] = ref.split(".");
922
- const pal = colors_default[palette];
923
- if (!pal || !(step in pal)) return ref;
924
- return pal[step];
1383
+ // overlay.json
1384
+ var overlay_default = {
1385
+ bgOverlay: "rgba(0, 0, 0, 0.3)"
1386
+ };
1387
+
1388
+ // breakpoints.json
1389
+ var breakpoints_default = {
1390
+ desktop: {
1391
+ width: 1440,
1392
+ column: 12,
1393
+ margin: 16,
1394
+ gutter: 12
1395
+ },
1396
+ tablet: {
1397
+ width: 768,
1398
+ column: 12,
1399
+ margin: 16,
1400
+ gutter: 16
1401
+ },
1402
+ mobile: {
1403
+ width: 360,
1404
+ column: 4,
1405
+ margin: 16,
1406
+ gutter: 16
1407
+ }
1408
+ };
1409
+
1410
+ // semantic-bridge.ts
1411
+ function ensureObject(parent, key) {
1412
+ if (!parent[key] || typeof parent[key] !== "object" || Array.isArray(parent[key])) {
1413
+ parent[key] = {};
1414
+ }
1415
+ return parent[key];
1416
+ }
1417
+ function cloneDeep(value) {
1418
+ return JSON.parse(JSON.stringify(value ?? {}));
925
1419
  }
926
- function resolveSemanticColors(obj, out = {}) {
927
- for (const [key, value] of Object.entries(obj)) {
928
- if (typeof value === "string" && /^[a-z]+\.[a-z0-9]+$/i.test(value)) {
929
- out[key] = resolveRef(value);
930
- } else if (value !== null && typeof value === "object" && !Array.isArray(value)) {
931
- const nested = {};
932
- resolveSemanticColors(value, nested);
933
- out[key] = nested;
934
- } else {
935
- out[key] = value;
1420
+ function buildSemanticBridge(figmaSemantic) {
1421
+ const s = cloneDeep(figmaSemantic);
1422
+ const bg = s.background || {};
1423
+ const text = s.text || {};
1424
+ const icons = s.icons || {};
1425
+ const border = s.border || {};
1426
+ const sideMenu = s.sideMenu || {};
1427
+ const buttons = s.buttons || {};
1428
+ const btnBg = buttons.background || {};
1429
+ const btnText = buttons.text || {};
1430
+ const badges = s.badges || {};
1431
+ const input = s.input || {};
1432
+ const toast = s.toast || {};
1433
+ s.background = {
1434
+ ...bg,
1435
+ neutral: {
1436
+ primary: bg.base,
1437
+ secondary: bg.surface,
1438
+ tertiary: bg.elevated,
1439
+ black: text.primary,
1440
+ disabled: icons.disabled
1441
+ },
1442
+ primary: {
1443
+ subtle: badges.pending?.bg ?? icons.primary,
1444
+ default: text.action,
1445
+ hover: btnBg.bgPrimaryHover
1446
+ },
1447
+ success: {
1448
+ subtle: badges.success?.bg,
1449
+ default: text.success,
1450
+ hover: text.success
1451
+ },
1452
+ warning: {
1453
+ subtle: badges.pending?.bg,
1454
+ default: toast.warning,
1455
+ hover: toast.warning
1456
+ },
1457
+ error: {
1458
+ subtle: badges.failed?.bg,
1459
+ default: text.error,
1460
+ hover: text.error
1461
+ }
1462
+ };
1463
+ s.text = {
1464
+ ...text,
1465
+ neutral: {
1466
+ primary: text.primary,
1467
+ white: text.white,
1468
+ secondary: text.muted,
1469
+ tertiary: text.muted,
1470
+ disabled: icons.disabled
1471
+ },
1472
+ "neutral-inverse": { primary: text.primary },
1473
+ neutralInverse: { primary: text.primary },
1474
+ primary: {
1475
+ subtle: text.action,
1476
+ default: text.white,
1477
+ hover: text.white
1478
+ },
1479
+ success: { subtle: text.success, default: text.white, hover: text.white },
1480
+ warning: { subtle: toast.warning, default: text.primary, hover: text.primary },
1481
+ error: { subtle: text.error, default: text.white, hover: text.white }
1482
+ };
1483
+ s.icon = {
1484
+ ...icons,
1485
+ neutral: {
1486
+ primary: icons.default,
1487
+ white: icons.white,
1488
+ secondary: icons.light,
1489
+ tertiary: icons.light,
1490
+ disabled: icons.disabled
1491
+ },
1492
+ primary: { subtle: icons.primary, default: icons.white, hover: icons.white },
1493
+ success: { subtle: icons.success, default: icons.white, hover: icons.white },
1494
+ warning: { subtle: toast.warning, default: text.primary, hover: text.primary },
1495
+ error: { subtle: icons.error, default: icons.white, hover: icons.white }
1496
+ };
1497
+ s.border = {
1498
+ ...border,
1499
+ primary: { default: border.primary },
1500
+ error: { default: border.error },
1501
+ success: { default: border.success },
1502
+ neutral: {
1503
+ primary: border.primary,
1504
+ secondary: border.primary,
1505
+ tertiary: border.primary,
1506
+ white: text.white,
1507
+ black: text.primary,
1508
+ disabled: icons.disabled,
1509
+ inverse: { primary: text.primary },
1510
+ "neutral-inverse": text.primary
1511
+ }
1512
+ };
1513
+ s.buttons = {
1514
+ ...buttons,
1515
+ background: {
1516
+ ...btnBg,
1517
+ primary: {
1518
+ default: btnBg.bgPrimaryDefault,
1519
+ hover: btnBg.bgPrimaryHover,
1520
+ disabled: icons.disabled
1521
+ },
1522
+ secondary: {
1523
+ default: btnBg.borderSecondaryDefault,
1524
+ hover: btnBg.bgSecondaryHover,
1525
+ disabled: icons.disabled
1526
+ },
1527
+ danger: {
1528
+ default: text.error,
1529
+ hover: badges.failed?.text ?? text.error,
1530
+ disabled: icons.disabled
1531
+ }
1532
+ },
1533
+ text: {
1534
+ ...btnText,
1535
+ primary: { default: btnText.primary, disabled: text.muted },
1536
+ secondary: { default: btnText.secondary, disabled: text.muted },
1537
+ danger: { default: text.white, disabled: text.muted },
1538
+ link: { default: text.action, disabled: text.muted }
1539
+ }
1540
+ };
1541
+ s.badge = {
1542
+ background: {
1543
+ subtle: {
1544
+ info: badges.info?.bg,
1545
+ success: badges.success?.bg,
1546
+ warning: badges.pending?.bg,
1547
+ error: badges.failed?.bg,
1548
+ neutral: badges.neutral?.bg,
1549
+ process: badges.info?.bg,
1550
+ action: badges.pending?.bg
1551
+ },
1552
+ solid: {
1553
+ info: badges.info?.text,
1554
+ success: badges.success?.text,
1555
+ warning: badges.pending?.text,
1556
+ error: badges.failed?.text,
1557
+ neutral: badges.neutral?.text,
1558
+ process: badges.info?.text,
1559
+ action: text.action
1560
+ }
1561
+ },
1562
+ border: {
1563
+ info: badges.info?.border,
1564
+ success: badges.success?.border,
1565
+ warning: badges.pending?.border,
1566
+ error: badges.failed?.border,
1567
+ neutral: badges.neutral?.border,
1568
+ process: badges.info?.border,
1569
+ action: badges.pending?.border
1570
+ },
1571
+ text: {
1572
+ black: text.primary,
1573
+ white: text.white
936
1574
  }
1575
+ };
1576
+ s.input = {
1577
+ ...input,
1578
+ border: {
1579
+ default: input.border,
1580
+ hover: input.borderHover,
1581
+ active: input.borderHover,
1582
+ filled: input.border,
1583
+ success: input.success,
1584
+ error: input.error,
1585
+ disabled: input.disabled
1586
+ },
1587
+ background: {
1588
+ default: input.bg,
1589
+ readonly: bg.surface,
1590
+ disabled: bg.elevated
1591
+ },
1592
+ text: {
1593
+ default: input.textDefault,
1594
+ typing: input.textFilled,
1595
+ filled: input.textFilled,
1596
+ disabled: input.disabled,
1597
+ readonly: input.textFilled
1598
+ },
1599
+ icon: {
1600
+ default: input.iconDefault,
1601
+ focus: input.iconFilled,
1602
+ disabled: input.disabled
1603
+ },
1604
+ "supporting-text": {
1605
+ helper: text.muted,
1606
+ success: input.success,
1607
+ error: input.error
1608
+ }
1609
+ };
1610
+ const checkbox = s.checkbox || {};
1611
+ s.controls = {
1612
+ background: {
1613
+ checked: checkbox.selected,
1614
+ default: bg.base
1615
+ },
1616
+ border: {
1617
+ default: checkbox.borderDefault,
1618
+ hover: checkbox.borderHover
1619
+ }
1620
+ };
1621
+ s.sidemenu = {
1622
+ background: {
1623
+ rail: sideMenu.bg,
1624
+ "item-hover": sideMenu.hover,
1625
+ "item-selected": sideMenu.selectedBg || sideMenu.selected,
1626
+ "project-badge": sideMenu.selected,
1627
+ scrollbar: border.primary
1628
+ },
1629
+ text: {
1630
+ primary: sideMenu.primaryText,
1631
+ group: sideMenu.secondaryText,
1632
+ "project-badge": sideMenu.primaryText
1633
+ },
1634
+ icon: {
1635
+ primary: sideMenu.icon,
1636
+ tertiary: sideMenu.icon,
1637
+ white: icons.white
1638
+ },
1639
+ border: {
1640
+ utility: sideMenu.border
1641
+ }
1642
+ };
1643
+ s.toast = {
1644
+ ...toast,
1645
+ background: {
1646
+ info: badges.info?.bg,
1647
+ success: badges.success?.bg,
1648
+ warning: badges.pending?.bg,
1649
+ error: badges.failed?.bg
1650
+ },
1651
+ border: {
1652
+ info: toast.info,
1653
+ success: toast.success,
1654
+ warning: toast.warning,
1655
+ error: toast.error
1656
+ },
1657
+ text: {
1658
+ title: toast.textDefault,
1659
+ description: text.muted
1660
+ },
1661
+ icon: {
1662
+ info: toast.info,
1663
+ success: toast.success,
1664
+ warning: toast.warning,
1665
+ error: toast.error,
1666
+ close: toast.iconDefault
1667
+ }
1668
+ };
1669
+ if (!s.opacity) {
1670
+ s.opacity = {
1671
+ description: 0.9,
1672
+ hover: 0.8,
1673
+ hoverSubtle: 0.7,
1674
+ disabled: 0.5,
1675
+ hidden: 0,
1676
+ full: 1
1677
+ };
937
1678
  }
938
- return out;
1679
+ const semanticRoles = ["background", "text", "icon", "border"];
1680
+ const statusKeys = ["primary", "info", "success", "warning", "error", "action"];
1681
+ for (const role of semanticRoles) {
1682
+ const roleObj = s[role];
1683
+ if (!roleObj || typeof roleObj !== "object" || Array.isArray(roleObj)) continue;
1684
+ if (roleObj["neutral-inverse"] && !roleObj.neutralInverse) {
1685
+ roleObj.neutralInverse = roleObj["neutral-inverse"];
1686
+ }
1687
+ const semanticBucket = ensureObject(roleObj, "semantic");
1688
+ for (const status of statusKeys) {
1689
+ if (roleObj[status] && !semanticBucket[status]) semanticBucket[status] = roleObj[status];
1690
+ }
1691
+ }
1692
+ return s;
939
1693
  }
940
- var semanticColorsResolved = resolveSemanticColors(
941
- semantic_colors_default
1694
+
1695
+ // index.ts
1696
+ var colorsLight = colors_default.light;
1697
+ var colorsDark = colors_default.dark;
1698
+ var colors = colorsLight;
1699
+ var semanticColorsLight = semantic_colors_default.light;
1700
+ var semanticColorsDark = semantic_colors_default.dark;
1701
+ var semanticColors = semanticColorsLight;
1702
+ var semanticColorsResolved = buildSemanticBridge(
1703
+ semanticColorsLight
1704
+ );
1705
+ var semanticColorsResolvedDark = buildSemanticBridge(
1706
+ semanticColorsDark
942
1707
  );
943
- var semanticColors = semantic_colors_default;
944
1708
  var tokens = {
945
- colors: colors_default,
1709
+ colors,
1710
+ colorsLight,
1711
+ colorsDark,
1712
+ colorsByMode: colors_default,
946
1713
  semanticColors,
1714
+ semanticColorsLight,
1715
+ semanticColorsDark,
1716
+ semanticColorsByMode: semantic_colors_default,
947
1717
  semanticColorsResolved,
948
1718
  spacing: spacing_default,
949
1719
  typography: typography_default,
@@ -953,17 +1723,28 @@ var tokens = {
953
1723
  strokeWidth: strokeWidth_default,
954
1724
  iconSize: iconSize_default,
955
1725
  layout: layout_default,
956
- motion: motion_default
1726
+ motion: motion_default,
1727
+ overlay: overlay_default,
1728
+ breakpoints: breakpoints_default
957
1729
  };
958
1730
  export {
959
- colors_default as colors,
1731
+ breakpoints_default as breakpoints,
1732
+ colors,
1733
+ colors_default as colorsByMode,
1734
+ colorsDark,
1735
+ colorsLight,
960
1736
  elevation_default as elevation,
961
1737
  iconSize_default as iconSize,
962
1738
  layout_default as layout,
963
1739
  motion_default as motion,
1740
+ overlay_default as overlay,
964
1741
  radius_default as radius,
965
1742
  semanticColors,
1743
+ semantic_colors_default as semanticColorsByMode,
1744
+ semanticColorsDark,
1745
+ semanticColorsLight,
966
1746
  semanticColorsResolved,
1747
+ semanticColorsResolvedDark,
967
1748
  shadows_default as shadows,
968
1749
  spacing_default as spacing,
969
1750
  strokeWidth_default as strokeWidth,