@esds-sangam/tokens 1.2.3 → 1.2.4

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,725 @@
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
+ chips: {
315
+ bg: "#FFFEFE",
316
+ selected: "#E4E1DC",
317
+ border: "#ACBBCF",
318
+ text: "#1A2B4A",
319
+ icon: "#1A2B4A"
232
320
  },
233
- warning: {
234
- subtle: "yellow.700",
235
- default: "neutral.1100",
236
- hover: "neutral.1100"
321
+ drawer: {
322
+ bg: "#FFFEFE",
323
+ border: "#ACBBCF",
324
+ text: "#1A2B4A",
325
+ icon: "#1A2B4A"
237
326
  },
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"
327
+ dropdown: {
328
+ bg: "#FFFEFE",
329
+ border: "#DEE5F0",
330
+ borderHover: "#64748B",
331
+ textDefault: "#64748B",
332
+ textFilled: "#0D1B3A",
333
+ error: "#C62828",
334
+ success: "#0F7B3E",
335
+ iconDefault: "#64748B",
336
+ iconFilled: "#0D1B3A",
337
+ disabled: "#64748B",
338
+ menuBg: "#FFFEFE",
339
+ menuHover: "#F5F7FA"
252
340
  },
253
- primary: {
254
- subtle: "orange.600",
255
- default: "orange.300",
256
- hover: "orange.300"
341
+ footer: {
342
+ bg: "#FFFEFE",
343
+ border: "#DEE5F0"
257
344
  },
258
- success: {
259
- subtle: "green.800",
260
- default: "green.300",
261
- hover: "green.300"
345
+ header: {
346
+ bg: "#FFFEFE",
347
+ border: "#DEE5F0",
348
+ iconDark: "#0D1B3A",
349
+ iconLight: "#64748B"
262
350
  },
263
- warning: {
264
- subtle: "yellow.700",
265
- default: "yellow.300",
266
- hover: "yellow.300"
351
+ input: {
352
+ bg: "#FFFEFE",
353
+ border: "#DEE5F0",
354
+ borderHover: "#64748B",
355
+ textDefault: "#64748B",
356
+ textFilled: "#0D1B3A",
357
+ error: "#C62828",
358
+ success: "#0F7B3E",
359
+ iconDefault: "#64748B",
360
+ iconFilled: "#0D1B3A",
361
+ disabled: "#64748B"
267
362
  },
268
- error: {
269
- subtle: "red.800",
270
- default: "red.300",
271
- hover: "red.300"
363
+ menu: {
364
+ bg: "#FFFEFE",
365
+ hover: "#F5F7FA",
366
+ border: "#DEE5F0",
367
+ text: "#0D1B3A",
368
+ icon: "#0D1B3A"
369
+ },
370
+ pagination: {
371
+ bg: "#FFFEFE",
372
+ border: "#ACBBCF",
373
+ hover: "#F8D5BA",
374
+ selected: "#E87722",
375
+ primaryText: "#1A2B4A",
376
+ secondaryText: "#64748B",
377
+ whiteText: "#F5F7FA",
378
+ icon: "#1A2B4A"
379
+ },
380
+ progressBar: {
381
+ bg: "#E4E1DC",
382
+ progress: "#E87722",
383
+ completed: "#0F7B3E",
384
+ primaryText: "#0D1B3A"
385
+ },
386
+ popUp: {
387
+ bg: "#FFFEFE",
388
+ text: "#1A2B4A",
389
+ icon: "#1A2B4A"
390
+ },
391
+ radioButton: {
392
+ borderDefault: "#ACBBCF",
393
+ borderHover: "#64748B",
394
+ selected: "#E87722",
395
+ icon: "#FFFEFE",
396
+ textPrimary: "#0D1B3A",
397
+ textSecondary: "#64748B"
398
+ },
399
+ sideMenu: {
400
+ bg: "#FFFEFE",
401
+ border: "#DEE5F0",
402
+ hover: "#DEE5F0",
403
+ selectedBg: "rgba(232, 119, 34, 0.14)",
404
+ selected: "#E87722",
405
+ primaryText: "#1A2B4A",
406
+ secondaryText: "#64748B",
407
+ icon: "#64748B",
408
+ searchBg: "#F5F7FA",
409
+ searchTextAndIcon: "#64748B"
410
+ },
411
+ search: {
412
+ bg: "#FFFEFE",
413
+ textPrimary: "#64748B",
414
+ borderDefault: "#DEE5F0",
415
+ borderHover: "#64748B",
416
+ iconPrimary: "#0D1B3A",
417
+ iconMuted: "#64748B"
418
+ },
419
+ tabs: {
420
+ bg: "#FAF7F2",
421
+ selectedBg: "#FFFEFE",
422
+ defaultText: "#64748B",
423
+ primaryText: "#1A2B4A",
424
+ icon: "#1A2B4A",
425
+ defaultBorder: "#ACBBCF",
426
+ selected: "#E87722"
427
+ },
428
+ table: {
429
+ headerBg: "#F5F7FA",
430
+ headerText: "#64748B",
431
+ border: "#DEE5F0",
432
+ rowBg: "#FFFEFE",
433
+ hover: "#FDFBF9",
434
+ primaryText: "#0D1B3A",
435
+ secondaryText: "#64748B",
436
+ actionText: "#E87722"
437
+ },
438
+ toggle: {
439
+ default: "#64748B",
440
+ handle: "#FFFEFE",
441
+ selected: "#E87722",
442
+ text: "#0D1B3A"
443
+ },
444
+ tooltip: {
445
+ bg: "#091329",
446
+ text: "#FFFEFE",
447
+ icon: "#FFFEFE"
448
+ },
449
+ toast: {
450
+ bg: "#FFFEFE",
451
+ info: "#0A75A5",
452
+ success: "#0F7B3E",
453
+ warning: "#D2691A",
454
+ error: "#C62828",
455
+ textDefault: "#0D1B3A",
456
+ iconDefault: "#64748B"
272
457
  }
273
458
  },
274
- badge: {
459
+ dark: {
460
+ services: {
461
+ compute: "#FFA940",
462
+ storage: "#0F7B3E",
463
+ networking: "#3B7DE8",
464
+ security: "#4C5FD5",
465
+ billing: "#C9A961",
466
+ support: "#14B8A6",
467
+ intelligence: "#0EA5E9"
468
+ },
275
469
  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
- }
470
+ base: "#0D1B3A",
471
+ surface: "#1A2B4A",
472
+ elevated: "#22375C"
294
473
  },
295
474
  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"
475
+ primary: "#22375C",
476
+ error: "#EE948D",
477
+ success: "#5EA77E"
303
478
  },
304
479
  text: {
305
- black: "neutral.1100",
306
- white: "neutral.50"
480
+ primary: "#F5F7FA",
481
+ white: "#FFFEFE",
482
+ muted: "#ACBBCF",
483
+ error: "#EE948D",
484
+ success: "#5EA77E",
485
+ action: "#FFA940"
307
486
  },
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"
487
+ icons: {
488
+ primary: "#FFA940",
489
+ white: "#FFFEFE",
490
+ default: "#FFFEFE",
491
+ light: "#ACBBCF",
492
+ disabled: "#64748B",
493
+ error: "#EE948D",
494
+ success: "#5EA77E"
495
+ },
496
+ glass: {
497
+ card: "rgba(34, 55, 92, 0.55)",
498
+ panel: "rgba(34, 55, 92, 0.6)",
499
+ border: "rgba(255, 255, 255, 0.1)"
500
+ },
501
+ badges: {
502
+ text: "#22375C",
503
+ icon: "#ACBBCF",
504
+ iconPrimary: "#0D1B3A",
505
+ iconMuted: "#0D1B3A",
506
+ success: {
507
+ bg: "rgba(15, 123, 62, 0.12)",
508
+ text: "#2E9D5F",
509
+ border: "rgba(15, 123, 62, 0.28)",
510
+ icon: "#2E9D5F"
316
511
  },
317
- solid: {
318
- info: "neutral.50",
319
- success: "neutral.50",
320
- warning: "neutral.1100",
321
- error: "neutral.50",
322
- neutral: "neutral.1100"
512
+ pending: {
513
+ bg: "rgba(194, 94, 14, 0.12)",
514
+ text: "#FFA940",
515
+ border: "rgba(194, 94, 14, 0.28)",
516
+ icon: "#FFA940"
517
+ },
518
+ failed: {
519
+ bg: "rgba(198, 40, 40, 0.12)",
520
+ text: "#F87171",
521
+ border: "rgba(198, 40, 40, 0.28)",
522
+ icon: "#F87171"
523
+ },
524
+ info: {
525
+ bg: "rgba(11, 130, 192, 0.12)",
526
+ text: "#38BDF8",
527
+ border: "rgba(11, 130, 192, 0.28)",
528
+ icon: "#38BDF8"
529
+ },
530
+ neutral: {
531
+ bg: "rgba(100, 116, 139, 0.12)",
532
+ text: "#94A3B8",
533
+ border: "rgba(100, 116, 139, 0.28)",
534
+ icon: "#94A3B8"
323
535
  }
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
536
  },
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"
537
+ buttons: {
538
+ background: {
539
+ bgPrimaryDefault: "#FFA940",
540
+ bgPrimaryHover: "#FFB85C",
541
+ bgSecondaryDefault: "#1A2B4A",
542
+ borderSecondaryDefault: "#64748B",
543
+ bgSecondaryHover: "#FFFEFE"
544
+ },
545
+ text: {
546
+ primary: "#0D1B3A",
547
+ secondary: "#FFFEFE"
548
+ },
549
+ icon: {
550
+ primary: "#0D1B3A",
551
+ secondary: "#FFFEFE",
552
+ loader: "#0D1B3A"
553
+ }
351
554
  },
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"
555
+ cards: {
556
+ bg: "#1A2B4A",
557
+ primaryText: "#F5F7FA",
558
+ secondaryText: "#ACBBCF",
559
+ icon: "#0D1B3A",
560
+ border: "#22375C"
372
561
  },
373
- border: {
374
- default: "neutral.400",
375
- hover: "neutral.700",
376
- disabled: "neutral.200"
562
+ checkbox: {
563
+ borderDefault: "#FFFEFE",
564
+ borderHover: "#FFFEFE",
565
+ selected: "#FFA940",
566
+ icon: "#0D1B3A",
567
+ textPrimary: "#F5F7FA",
568
+ textSecondary: "#ACBBCF"
377
569
  },
378
- icon: {
379
- checked: "neutral.50",
380
- disabled: "neutral.500"
570
+ chips: {
571
+ bg: "#0D1B3A",
572
+ selected: "#22375C",
573
+ border: "#64748B",
574
+ text: "#F5F7FA",
575
+ icon: "#F5F7FA"
381
576
  },
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"
577
+ drawer: {
578
+ bg: "#0D1B3A",
579
+ border: "#22375C",
580
+ text: "#F5F7FA",
581
+ icon: "#F5F7FA"
394
582
  },
395
- text: {
396
- default: "neutral.1100",
397
- hover: "neutral.1100",
398
- selected: "neutral.1100",
399
- disabled: "neutral.500"
583
+ dropdown: {
584
+ bg: "#1A2B4A",
585
+ border: "#22375C",
586
+ borderHover: "#ACBBCF",
587
+ textDefault: "#ACBBCF",
588
+ textFilled: "#F5F7FA",
589
+ error: "#C62828",
590
+ success: "#0F7B3E",
591
+ iconDefault: "#ACBBCF",
592
+ iconFilled: "#F5F7FA",
593
+ disabled: "#ACBBCF",
594
+ menuBg: "#1A2B4A",
595
+ menuHover: "#22375C"
400
596
  },
401
- icon: {
402
- default: "neutral.1100",
403
- hover: "neutral.1100",
404
- selected: "neutral.1100",
405
- disabled: "neutral.500",
406
- focused: "neutral.1100"
597
+ footer: {
598
+ bg: "#0D1B3A",
599
+ border: "#22375C"
407
600
  },
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"
601
+ header: {
602
+ bg: "#1A2B4A",
603
+ border: "#22375C",
604
+ iconDark: "#FFFEFE",
605
+ iconLight: "#ACBBCF"
418
606
  },
419
- border: {
420
- default: "neutral.200"
607
+ input: {
608
+ bg: "#1A2B4A",
609
+ border: "#22375C",
610
+ borderHover: "#ACBBCF",
611
+ textDefault: "#ACBBCF",
612
+ textFilled: "#F5F7FA",
613
+ error: "#C62828",
614
+ success: "#0F7B3E",
615
+ iconDefault: "#64748B",
616
+ iconFilled: "#F5F7FA",
617
+ disabled: "#ACBBCF"
421
618
  },
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"
619
+ menu: {
620
+ bg: "#1A2B4A",
621
+ hover: "#22375C",
622
+ border: "#22375C",
623
+ text: "#F5F7FA",
624
+ icon: "#F5F7FA"
432
625
  },
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"
626
+ pagination: {
627
+ bg: "#1A2B4A",
628
+ border: "#64748B",
629
+ hover: "#22375C",
630
+ selected: "#E87722",
631
+ primaryText: "#F5F7FA",
632
+ secondaryText: "#ACBBCF",
633
+ whiteText: "#070F20",
634
+ icon: "#F5F7FA"
441
635
  },
442
- text: {
443
- default: "neutral.600",
444
- typing: "neutral.1100",
445
- filled: "neutral.1100",
446
- disabled: "neutral.500",
447
- readonly: "neutral.1100"
636
+ progressBar: {
637
+ bg: "#64748B",
638
+ progress: "#FFA940",
639
+ completed: "#0F7B3E",
640
+ primaryText: "#FFFEFE"
448
641
  },
449
- icon: {
450
- default: "neutral.600",
451
- focus: "neutral.1100",
452
- disabled: "neutral.500"
642
+ popUp: {
643
+ bg: "#1A2B4A",
644
+ text: "#F5F7FA",
645
+ icon: "#F5F7FA"
453
646
  },
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"
647
+ radioButton: {
648
+ borderDefault: "#FFFEFE",
649
+ borderHover: "#FFFEFE",
650
+ selected: "#FFA940",
651
+ icon: "#0D1B3A",
652
+ textPrimary: "#F5F7FA",
653
+ textSecondary: "#ACBBCF"
467
654
  },
468
- text: {
469
- primary: "neutral.50",
470
- group: "neutral.600",
471
- "project-badge": "navy.900"
655
+ sideMenu: {
656
+ bg: "#22375C",
657
+ border: "#2E456B",
658
+ hover: "#22375C",
659
+ selectedBg: "rgba(255, 169, 64, 0.14)",
660
+ selected: "#FFA940",
661
+ primaryText: "#F5F7FA",
662
+ secondaryText: "#ACBBCF",
663
+ icon: "#ACBBCF",
664
+ searchBg: "#0D1B3A",
665
+ searchTextAndIcon: "#64748B"
472
666
  },
473
- icon: {
474
- primary: "neutral.50",
475
- tertiary: "neutral.50"
667
+ search: {
668
+ bg: "#0D1B3A",
669
+ textPrimary: "#ACBBCF",
670
+ borderDefault: "#22375C",
671
+ borderHover: "#ACBBCF",
672
+ iconPrimary: "#F5F7FA",
673
+ iconMuted: "#ACBBCF"
476
674
  },
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"
675
+ tabs: {
676
+ bg: "#0D1B3A",
677
+ selectedBg: "#1A2B4A",
678
+ defaultText: "#ACBBCF",
679
+ primaryText: "#F5F7FA",
680
+ icon: "#F5F7FA",
681
+ defaultBorder: "#64748B",
682
+ selected: "#FFA940"
487
683
  },
488
- border: {
489
- info: "orange.600",
490
- success: "green.800",
491
- warning: "yellow.700",
492
- error: "red.800"
684
+ table: {
685
+ headerBg: "#22375C",
686
+ headerText: "#ACBBCF",
687
+ border: "#22375C",
688
+ rowBg: "#22375C",
689
+ hover: "#22375C",
690
+ primaryText: "#F5F7FA",
691
+ secondaryText: "#ACBBCF",
692
+ actionText: "#FFA940"
493
693
  },
494
- text: {
495
- title: "neutral.1100",
496
- description: "neutral.800"
694
+ toggle: {
695
+ default: "#64748B",
696
+ handle: "#FFFEFE",
697
+ selected: "#FFA940",
698
+ text: "#0D1B3A"
497
699
  },
498
- icon: {
499
- info: "orange.600",
500
- success: "green.800",
501
- warning: "yellow.700",
502
- error: "red.800",
503
- close: "neutral.1100"
700
+ tooltip: {
701
+ bg: "#F5F7FA",
702
+ text: "#0D1B3A",
703
+ icon: "#0D1B3A"
704
+ },
705
+ toast: {
706
+ bg: "#FFFEFE",
707
+ info: "#0A75A5",
708
+ success: "#0F7B3E",
709
+ warning: "#D2691A",
710
+ error: "#C62828",
711
+ textDefault: "#0D1B3A",
712
+ iconDefault: "#64748B"
504
713
  }
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
714
  }
514
715
  };
515
716
 
516
717
  // spacing.json
517
718
  var spacing_default = {
518
719
  "0": "0px",
519
- "2xs": "0.125rem",
520
- xs: "0.25rem",
720
+ "3xs": "0.125rem",
721
+ "2xs": "0.25rem",
722
+ xs: "0.375rem",
521
723
  sm: "0.5rem",
522
724
  md: "0.75rem",
523
725
  lg: "1rem",
@@ -543,83 +745,43 @@ var typography_default = {
543
745
  "Helvetica Neue",
544
746
  "Arial",
545
747
  "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
748
  ]
561
749
  },
562
750
  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
- ]
751
+ h1: "1.5rem",
752
+ h2: "1.25rem",
753
+ b1: "1rem",
754
+ b2: "0.8125rem",
755
+ b3: "0.75rem",
756
+ "2xl": "1.5rem",
757
+ xl: "1.25rem",
758
+ base: "1rem",
759
+ sm: "0.8125rem",
760
+ "2xs": "0.75rem",
761
+ xs: "0.75rem"
612
762
  },
613
763
  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"
764
+ regular: 400,
765
+ medium: 500,
766
+ semiBold: 600,
767
+ bold: 700,
768
+ normal: 400,
769
+ semibold: 600
770
+ },
771
+ lineHeight: {
772
+ xl: "2rem",
773
+ lg: "1.75rem",
774
+ m: "1.5rem",
775
+ s: "1.25rem",
776
+ xs: "1.125rem",
777
+ "2xs": "1rem"
778
+ },
779
+ size: {
780
+ h1: "1.5rem",
781
+ h2: "1.25rem",
782
+ b1: "1rem",
783
+ b2: "0.8125rem",
784
+ b3: "0.75rem"
623
785
  },
624
786
  letterSpacing: {
625
787
  tighter: "-0.05em",
@@ -629,98 +791,134 @@ var typography_default = {
629
791
  wider: "0.05em",
630
792
  widest: "0.1em"
631
793
  },
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: {
794
+ modes: {
647
795
  desktop: {
648
- fontFamily: "Inter",
649
- heading: {
650
- h1: 24,
651
- h2: 20
796
+ fontFamily: {
797
+ sans: [
798
+ "Inter",
799
+ "system-ui",
800
+ "-apple-system",
801
+ "BlinkMacSystemFont",
802
+ "Segoe UI",
803
+ "Roboto",
804
+ "Helvetica Neue",
805
+ "Arial",
806
+ "sans-serif"
807
+ ]
808
+ },
809
+ fontSize: {
810
+ h1: "1.5rem",
811
+ h2: "1.25rem",
812
+ b1: "1rem",
813
+ b2: "0.8125rem",
814
+ b3: "0.75rem"
652
815
  },
653
- body: {
654
- b1: 16,
655
- b2: 14,
656
- b3: 13,
657
- b4: 12
816
+ fontWeight: {
817
+ regular: 400,
818
+ medium: 500,
819
+ semiBold: 600,
820
+ bold: 700
658
821
  },
659
822
  lineHeight: {
660
- xl: 32,
661
- lg: 28,
662
- m: 24,
663
- s: 20,
664
- xs: 18,
665
- "2xs": 16
823
+ xl: "2rem",
824
+ lg: "1.75rem",
825
+ m: "1.5rem",
826
+ s: "1.25rem",
827
+ xs: "1.125rem",
828
+ "2xs": "1rem"
666
829
  },
667
- fontWeight: {
668
- regular: "400",
669
- medium: "500",
670
- semibold: "600",
671
- bold: "700"
830
+ size: {
831
+ h1: "1.5rem",
832
+ h2: "1.25rem",
833
+ b1: "1rem",
834
+ b2: "0.8125rem",
835
+ b3: "0.75rem"
672
836
  }
673
837
  },
674
838
  tablet: {
675
- fontFamily: "Inter",
676
- heading: {
677
- h1: 20,
678
- h2: 18
839
+ fontFamily: {
840
+ sans: [
841
+ "Inter",
842
+ "system-ui",
843
+ "-apple-system",
844
+ "BlinkMacSystemFont",
845
+ "Segoe UI",
846
+ "Roboto",
847
+ "Helvetica Neue",
848
+ "Arial",
849
+ "sans-serif"
850
+ ]
679
851
  },
680
- body: {
681
- b1: 16,
682
- b2: 14,
683
- b4: 12
852
+ fontSize: {
853
+ h1: "1.25rem",
854
+ h2: "1.125rem",
855
+ b1: "1rem",
856
+ b2: "0.8125rem",
857
+ b3: "0.75rem"
858
+ },
859
+ fontWeight: {
860
+ regular: 400,
861
+ medium: 500,
862
+ semiBold: 600,
863
+ bold: 700
684
864
  },
685
865
  lineHeight: {
686
- xl: 28,
687
- lg: 24,
688
- m: 22,
689
- s: 20,
690
- xs: 20,
691
- "2xs": 16
866
+ xl: "1.75rem",
867
+ lg: "1.5rem",
868
+ m: "1.375rem",
869
+ s: "1.25rem",
870
+ xs: "1.25rem",
871
+ "2xs": "1rem"
692
872
  },
693
- fontWeight: {
694
- regular: "400",
695
- medium: "500",
696
- semibold: "600",
697
- bold: "700"
873
+ size: {
874
+ h1: "1.25rem",
875
+ h2: "1.125rem",
876
+ b1: "1rem",
877
+ b2: "0.8125rem",
878
+ b3: "0.75rem"
698
879
  }
699
880
  },
700
881
  mobile: {
701
- fontFamily: "Inter",
702
- heading: {
703
- h1: 18,
704
- h2: 16
882
+ fontFamily: {
883
+ sans: [
884
+ "Inter",
885
+ "system-ui",
886
+ "-apple-system",
887
+ "BlinkMacSystemFont",
888
+ "Segoe UI",
889
+ "Roboto",
890
+ "Helvetica Neue",
891
+ "Arial",
892
+ "sans-serif"
893
+ ]
894
+ },
895
+ fontSize: {
896
+ h1: "1.125rem",
897
+ h2: "1rem",
898
+ b1: "0.875rem",
899
+ b2: "0.75rem",
900
+ b3: "0.8125rem"
705
901
  },
706
- body: {
707
- b1: 14,
708
- b2: 12,
709
- b4: 10
902
+ fontWeight: {
903
+ regular: 400,
904
+ medium: 500,
905
+ semiBold: 600,
906
+ bold: 700
710
907
  },
711
908
  lineHeight: {
712
- xl: 24,
713
- lg: 22,
714
- m: 20,
715
- s: 18,
716
- xs: 18,
717
- "2xs": 16
909
+ xl: "1.5rem",
910
+ lg: "1.375rem",
911
+ m: "1.25rem",
912
+ s: "1.125rem",
913
+ xs: "1.125rem",
914
+ "2xs": "1rem"
718
915
  },
719
- fontWeight: {
720
- regular: "400",
721
- medium: "500",
722
- semibold: "600",
723
- bold: "700"
916
+ size: {
917
+ h1: "1.125rem",
918
+ h2: "1rem",
919
+ b1: "0.875rem",
920
+ b2: "0.75rem",
921
+ b3: "0.8125rem"
724
922
  }
725
923
  }
726
924
  }
@@ -736,7 +934,7 @@ var radius_default = {
736
934
  xl: "1.5rem",
737
935
  "2xl": "2rem",
738
936
  "3xl": "3.5rem",
739
- full: "9999px"
937
+ full: "62.4375rem"
740
938
  };
741
939
 
742
940
  // shadows.json
@@ -750,94 +948,94 @@ var shadows_default = {
750
948
  // elevation.json
751
949
  var elevation_default = {
752
950
  $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.",
951
+ description: "Elevation (shadow) design tokens for the Sangam Design System. From Figma Elevation collection.",
754
952
  elevation: {
755
953
  bottom: {
756
954
  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);"
955
+ value: "0px 2px 6px 0px rgba(0, 0, 0, 0.1)",
956
+ description: "Small elevation shadow (bottom).",
957
+ css: "box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);"
760
958
  },
761
959
  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);"
960
+ value: "0px 4px 10px 0px rgba(0, 0, 0, 0.1)",
961
+ description: "Medium elevation shadow (bottom).",
962
+ css: "box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);"
765
963
  },
766
964
  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);"
965
+ value: "0px 8px 16px 0px rgba(0, 0, 0, 0.1)",
966
+ description: "Large elevation shadow (bottom).",
967
+ css: "box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);"
770
968
  },
771
969
  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);"
970
+ value: "0px 12px 24px 0px rgba(0, 0, 0, 0.1)",
971
+ description: "Extra Large elevation shadow (bottom).",
972
+ css: "box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.1);"
775
973
  }
776
974
  },
777
975
  top: {
778
976
  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);"
977
+ value: "0px -4px 6px 0px rgba(0, 0, 0, 0.1)",
978
+ description: "Small elevation shadow (top).",
979
+ css: "box-shadow: 0px -4px 6px 0px rgba(0, 0, 0, 0.1);"
782
980
  },
783
981
  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);"
982
+ value: "0px -6px 12px 0px rgba(0, 0, 0, 0.1)",
983
+ description: "Medium elevation shadow (top).",
984
+ css: "box-shadow: 0px -6px 12px 0px rgba(0, 0, 0, 0.1);"
787
985
  },
788
986
  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);"
987
+ value: "0px -10px 20px 0px rgba(0, 0, 0, 0.1)",
988
+ description: "Large elevation shadow (top).",
989
+ css: "box-shadow: 0px -10px 20px 0px rgba(0, 0, 0, 0.1);"
792
990
  },
793
991
  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);"
992
+ value: "0px -14px 28px 0px rgba(0, 0, 0, 0.1)",
993
+ description: "Extra Large elevation shadow (top).",
994
+ css: "box-shadow: 0px -14px 28px 0px rgba(0, 0, 0, 0.1);"
797
995
  }
798
996
  },
799
997
  left: {
800
998
  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);"
999
+ value: "-4px 0px 8px 0px rgba(0, 0, 0, 0.1)",
1000
+ description: "Small elevation shadow (left).",
1001
+ css: "box-shadow: -4px 0px 8px 0px rgba(0, 0, 0, 0.1);"
804
1002
  },
805
1003
  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);"
1004
+ value: "-6px 0px 12px 0px rgba(0, 0, 0, 0.1)",
1005
+ description: "Medium elevation shadow (left).",
1006
+ css: "box-shadow: -6px 0px 12px 0px rgba(0, 0, 0, 0.1);"
809
1007
  },
810
1008
  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);"
1009
+ value: "-10px 0px 20px 0px rgba(0, 0, 0, 0.1)",
1010
+ description: "Large elevation shadow (left).",
1011
+ css: "box-shadow: -10px 0px 20px 0px rgba(0, 0, 0, 0.1);"
814
1012
  },
815
1013
  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);"
1014
+ value: "-14px 0px 28px 0px rgba(0, 0, 0, 0.1)",
1015
+ description: "Extra Large elevation shadow (left).",
1016
+ css: "box-shadow: -14px 0px 28px 0px rgba(0, 0, 0, 0.1);"
819
1017
  }
820
1018
  },
821
1019
  right: {
822
1020
  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);"
1021
+ value: "4px 0px 8px 0px rgba(0, 0, 0, 0.1)",
1022
+ description: "Small elevation shadow (right).",
1023
+ css: "box-shadow: 4px 0px 8px 0px rgba(0, 0, 0, 0.1);"
826
1024
  },
827
1025
  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);"
1026
+ value: "6px 0px 12px 0px rgba(0, 0, 0, 0.1)",
1027
+ description: "Medium elevation shadow (right).",
1028
+ css: "box-shadow: 6px 0px 12px 0px rgba(0, 0, 0, 0.1);"
831
1029
  },
832
1030
  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);"
1031
+ value: "10px 0px 20px 0px rgba(0, 0, 0, 0.1)",
1032
+ description: "Large elevation shadow (right).",
1033
+ css: "box-shadow: 10px 0px 20px 0px rgba(0, 0, 0, 0.1);"
836
1034
  },
837
1035
  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);"
1036
+ value: "14px 0px 28px 0px rgba(0, 0, 0, 0.1)",
1037
+ description: "Extra Large elevation shadow (right).",
1038
+ css: "box-shadow: 14px 0px 28px 0px rgba(0, 0, 0, 0.1);"
841
1039
  }
842
1040
  }
843
1041
  }
@@ -916,34 +1114,340 @@ var motion_default = {
916
1114
  }
917
1115
  };
918
1116
 
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];
1117
+ // overlay.json
1118
+ var overlay_default = {
1119
+ bgOverlay: "rgba(0, 0, 0, 0.3)"
1120
+ };
1121
+
1122
+ // breakpoints.json
1123
+ var breakpoints_default = {
1124
+ desktop: {
1125
+ width: 1440,
1126
+ column: 12,
1127
+ margin: 16,
1128
+ gutter: 12
1129
+ },
1130
+ tablet: {
1131
+ width: 768,
1132
+ column: 12,
1133
+ margin: 16,
1134
+ gutter: 16
1135
+ },
1136
+ mobile: {
1137
+ width: 360,
1138
+ column: 4,
1139
+ margin: 16,
1140
+ gutter: 16
1141
+ }
1142
+ };
1143
+
1144
+ // semantic-bridge.ts
1145
+ function ensureObject(parent, key) {
1146
+ if (!parent[key] || typeof parent[key] !== "object" || Array.isArray(parent[key])) {
1147
+ parent[key] = {};
1148
+ }
1149
+ return parent[key];
1150
+ }
1151
+ function cloneDeep(value) {
1152
+ return JSON.parse(JSON.stringify(value ?? {}));
925
1153
  }
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;
1154
+ function buildSemanticBridge(figmaSemantic) {
1155
+ const s = cloneDeep(figmaSemantic);
1156
+ const bg = s.background || {};
1157
+ const text = s.text || {};
1158
+ const icons = s.icons || {};
1159
+ const border = s.border || {};
1160
+ const sideMenu = s.sideMenu || {};
1161
+ const buttons = s.buttons || {};
1162
+ const btnBg = buttons.background || {};
1163
+ const btnText = buttons.text || {};
1164
+ const badges = s.badges || {};
1165
+ const input = s.input || {};
1166
+ const toast = s.toast || {};
1167
+ s.background = {
1168
+ ...bg,
1169
+ neutral: {
1170
+ primary: bg.base,
1171
+ secondary: bg.surface,
1172
+ tertiary: bg.elevated,
1173
+ black: text.primary,
1174
+ disabled: icons.disabled
1175
+ },
1176
+ primary: {
1177
+ subtle: badges.pending?.bg ?? icons.primary,
1178
+ default: text.action,
1179
+ hover: btnBg.bgPrimaryHover
1180
+ },
1181
+ success: {
1182
+ subtle: badges.success?.bg,
1183
+ default: text.success,
1184
+ hover: text.success
1185
+ },
1186
+ warning: {
1187
+ subtle: badges.pending?.bg,
1188
+ default: toast.warning,
1189
+ hover: toast.warning
1190
+ },
1191
+ error: {
1192
+ subtle: badges.failed?.bg,
1193
+ default: text.error,
1194
+ hover: text.error
1195
+ }
1196
+ };
1197
+ s.text = {
1198
+ ...text,
1199
+ neutral: {
1200
+ primary: text.primary,
1201
+ white: text.white,
1202
+ secondary: text.muted,
1203
+ tertiary: text.muted,
1204
+ disabled: icons.disabled
1205
+ },
1206
+ "neutral-inverse": { primary: text.primary },
1207
+ neutralInverse: { primary: text.primary },
1208
+ primary: {
1209
+ subtle: text.action,
1210
+ default: text.white,
1211
+ hover: text.white
1212
+ },
1213
+ success: { subtle: text.success, default: text.white, hover: text.white },
1214
+ warning: { subtle: toast.warning, default: text.primary, hover: text.primary },
1215
+ error: { subtle: text.error, default: text.white, hover: text.white }
1216
+ };
1217
+ s.icon = {
1218
+ ...icons,
1219
+ neutral: {
1220
+ primary: icons.default,
1221
+ white: icons.white,
1222
+ secondary: icons.light,
1223
+ tertiary: icons.light,
1224
+ disabled: icons.disabled
1225
+ },
1226
+ primary: { subtle: icons.primary, default: icons.white, hover: icons.white },
1227
+ success: { subtle: icons.success, default: icons.white, hover: icons.white },
1228
+ warning: { subtle: toast.warning, default: text.primary, hover: text.primary },
1229
+ error: { subtle: icons.error, default: icons.white, hover: icons.white }
1230
+ };
1231
+ s.border = {
1232
+ ...border,
1233
+ primary: { default: border.primary },
1234
+ error: { default: border.error },
1235
+ success: { default: border.success },
1236
+ neutral: {
1237
+ primary: border.primary,
1238
+ secondary: border.primary,
1239
+ tertiary: border.primary,
1240
+ white: text.white,
1241
+ black: text.primary,
1242
+ disabled: icons.disabled,
1243
+ inverse: { primary: text.primary },
1244
+ "neutral-inverse": text.primary
1245
+ }
1246
+ };
1247
+ s.buttons = {
1248
+ ...buttons,
1249
+ background: {
1250
+ ...btnBg,
1251
+ primary: {
1252
+ default: btnBg.bgPrimaryDefault,
1253
+ hover: btnBg.bgPrimaryHover,
1254
+ disabled: icons.disabled
1255
+ },
1256
+ secondary: {
1257
+ default: btnBg.borderSecondaryDefault,
1258
+ hover: btnBg.bgSecondaryHover,
1259
+ disabled: icons.disabled
1260
+ },
1261
+ danger: {
1262
+ default: text.error,
1263
+ hover: badges.failed?.text ?? text.error,
1264
+ disabled: icons.disabled
1265
+ }
1266
+ },
1267
+ text: {
1268
+ ...btnText,
1269
+ primary: { default: btnText.primary, disabled: text.muted },
1270
+ secondary: { default: btnText.secondary, disabled: text.muted },
1271
+ danger: { default: text.white, disabled: text.muted },
1272
+ link: { default: text.action, disabled: text.muted }
1273
+ }
1274
+ };
1275
+ s.badge = {
1276
+ background: {
1277
+ subtle: {
1278
+ info: badges.info?.bg,
1279
+ success: badges.success?.bg,
1280
+ warning: badges.pending?.bg,
1281
+ error: badges.failed?.bg,
1282
+ neutral: badges.neutral?.bg,
1283
+ process: badges.info?.bg,
1284
+ action: badges.pending?.bg
1285
+ },
1286
+ solid: {
1287
+ info: badges.info?.text,
1288
+ success: badges.success?.text,
1289
+ warning: badges.pending?.text,
1290
+ error: badges.failed?.text,
1291
+ neutral: badges.neutral?.text,
1292
+ process: badges.info?.text,
1293
+ action: text.action
1294
+ }
1295
+ },
1296
+ border: {
1297
+ info: badges.info?.border,
1298
+ success: badges.success?.border,
1299
+ warning: badges.pending?.border,
1300
+ error: badges.failed?.border,
1301
+ neutral: badges.neutral?.border,
1302
+ process: badges.info?.border,
1303
+ action: badges.pending?.border
1304
+ },
1305
+ text: {
1306
+ black: text.primary,
1307
+ white: text.white
1308
+ }
1309
+ };
1310
+ s.input = {
1311
+ ...input,
1312
+ border: {
1313
+ default: input.border,
1314
+ hover: input.borderHover,
1315
+ active: input.borderHover,
1316
+ filled: input.border,
1317
+ success: input.success,
1318
+ error: input.error,
1319
+ disabled: input.disabled
1320
+ },
1321
+ background: {
1322
+ default: input.bg,
1323
+ readonly: bg.surface,
1324
+ disabled: bg.elevated
1325
+ },
1326
+ text: {
1327
+ default: input.textDefault,
1328
+ typing: input.textFilled,
1329
+ filled: input.textFilled,
1330
+ disabled: input.disabled,
1331
+ readonly: input.textFilled
1332
+ },
1333
+ icon: {
1334
+ default: input.iconDefault,
1335
+ focus: input.iconFilled,
1336
+ disabled: input.disabled
1337
+ },
1338
+ "supporting-text": {
1339
+ helper: text.muted,
1340
+ success: input.success,
1341
+ error: input.error
1342
+ }
1343
+ };
1344
+ const checkbox = s.checkbox || {};
1345
+ s.controls = {
1346
+ background: {
1347
+ checked: checkbox.selected,
1348
+ default: bg.base
1349
+ },
1350
+ border: {
1351
+ default: checkbox.borderDefault,
1352
+ hover: checkbox.borderHover
1353
+ }
1354
+ };
1355
+ s.sidemenu = {
1356
+ background: {
1357
+ rail: sideMenu.bg,
1358
+ "item-hover": sideMenu.hover,
1359
+ "item-selected": sideMenu.selectedBg || sideMenu.selected,
1360
+ "project-badge": sideMenu.selected,
1361
+ scrollbar: border.primary
1362
+ },
1363
+ text: {
1364
+ primary: sideMenu.primaryText,
1365
+ group: sideMenu.secondaryText,
1366
+ "project-badge": sideMenu.primaryText
1367
+ },
1368
+ icon: {
1369
+ primary: sideMenu.icon,
1370
+ tertiary: sideMenu.icon,
1371
+ white: icons.white
1372
+ },
1373
+ border: {
1374
+ utility: sideMenu.border
1375
+ }
1376
+ };
1377
+ s.toast = {
1378
+ ...toast,
1379
+ background: {
1380
+ info: badges.info?.bg,
1381
+ success: badges.success?.bg,
1382
+ warning: badges.pending?.bg,
1383
+ error: badges.failed?.bg
1384
+ },
1385
+ border: {
1386
+ info: toast.info,
1387
+ success: toast.success,
1388
+ warning: toast.warning,
1389
+ error: toast.error
1390
+ },
1391
+ text: {
1392
+ title: toast.textDefault,
1393
+ description: text.muted
1394
+ },
1395
+ icon: {
1396
+ info: toast.info,
1397
+ success: toast.success,
1398
+ warning: toast.warning,
1399
+ error: toast.error,
1400
+ close: toast.iconDefault
1401
+ }
1402
+ };
1403
+ if (!s.opacity) {
1404
+ s.opacity = {
1405
+ description: 0.9,
1406
+ hover: 0.8,
1407
+ hoverSubtle: 0.7,
1408
+ disabled: 0.5,
1409
+ hidden: 0,
1410
+ full: 1
1411
+ };
1412
+ }
1413
+ const semanticRoles = ["background", "text", "icon", "border"];
1414
+ const statusKeys = ["primary", "info", "success", "warning", "error", "action"];
1415
+ for (const role of semanticRoles) {
1416
+ const roleObj = s[role];
1417
+ if (!roleObj || typeof roleObj !== "object" || Array.isArray(roleObj)) continue;
1418
+ if (roleObj["neutral-inverse"] && !roleObj.neutralInverse) {
1419
+ roleObj.neutralInverse = roleObj["neutral-inverse"];
1420
+ }
1421
+ const semanticBucket = ensureObject(roleObj, "semantic");
1422
+ for (const status of statusKeys) {
1423
+ if (roleObj[status] && !semanticBucket[status]) semanticBucket[status] = roleObj[status];
936
1424
  }
937
1425
  }
938
- return out;
1426
+ return s;
939
1427
  }
940
- var semanticColorsResolved = resolveSemanticColors(
941
- semantic_colors_default
1428
+
1429
+ // index.ts
1430
+ var colorsLight = colors_default.light;
1431
+ var colorsDark = colors_default.dark;
1432
+ var colors = colorsLight;
1433
+ var semanticColorsLight = semantic_colors_default.light;
1434
+ var semanticColorsDark = semantic_colors_default.dark;
1435
+ var semanticColors = semanticColorsLight;
1436
+ var semanticColorsResolved = buildSemanticBridge(
1437
+ semanticColorsLight
1438
+ );
1439
+ var semanticColorsResolvedDark = buildSemanticBridge(
1440
+ semanticColorsDark
942
1441
  );
943
- var semanticColors = semantic_colors_default;
944
1442
  var tokens = {
945
- colors: colors_default,
1443
+ colors,
1444
+ colorsLight,
1445
+ colorsDark,
1446
+ colorsByMode: colors_default,
946
1447
  semanticColors,
1448
+ semanticColorsLight,
1449
+ semanticColorsDark,
1450
+ semanticColorsByMode: semantic_colors_default,
947
1451
  semanticColorsResolved,
948
1452
  spacing: spacing_default,
949
1453
  typography: typography_default,
@@ -953,17 +1457,28 @@ var tokens = {
953
1457
  strokeWidth: strokeWidth_default,
954
1458
  iconSize: iconSize_default,
955
1459
  layout: layout_default,
956
- motion: motion_default
1460
+ motion: motion_default,
1461
+ overlay: overlay_default,
1462
+ breakpoints: breakpoints_default
957
1463
  };
958
1464
  export {
959
- colors_default as colors,
1465
+ breakpoints_default as breakpoints,
1466
+ colors,
1467
+ colors_default as colorsByMode,
1468
+ colorsDark,
1469
+ colorsLight,
960
1470
  elevation_default as elevation,
961
1471
  iconSize_default as iconSize,
962
1472
  layout_default as layout,
963
1473
  motion_default as motion,
1474
+ overlay_default as overlay,
964
1475
  radius_default as radius,
965
1476
  semanticColors,
1477
+ semantic_colors_default as semanticColorsByMode,
1478
+ semanticColorsDark,
1479
+ semanticColorsLight,
966
1480
  semanticColorsResolved,
1481
+ semanticColorsResolvedDark,
967
1482
  shadows_default as shadows,
968
1483
  spacing_default as spacing,
969
1484
  strokeWidth_default as strokeWidth,