Skip to content

Commit 0a24356

Browse files
chore: update figma.json
1 parent 822bbb4 commit 0a24356

File tree

2 files changed

+71
-105
lines changed

2 files changed

+71
-105
lines changed

.changeset/figma-update.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@stacks/ui-theme': patch
3+
---
4+
5+
Update figma.json
6+

packages/ui-theme/src/figma.json

Lines changed: 65 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"record": {
33
"version": "51",
4-
"updatedAt": "Mon Apr 26 2021 17:50:17 GMT+0200 (Central European Summer Time)",
4+
"updatedAt": "Fri Apr 30 2021 19:34:07 GMT+0200 (Central European Summer Time)",
55
"values": {
66
"options": {
77
"colors": {
@@ -231,232 +231,192 @@
231231
"dark": {
232232
"background": {
233233
"background": {
234-
"value": "#0c0c0d"
234+
"value": "$colors.base.black"
235235
},
236236
"background-subdued": {
237-
"value": "#171717"
237+
"value": "$colors.grey.900"
238238
}
239239
},
240240
"surface": {
241241
"overlay": {
242-
"description": "0C0C0D",
243242
"value": "#fafafa29"
244243
},
245244
"surface": {
246-
"value": "#0c0c0d"
245+
"value": "$colors.base.black"
247246
},
248247
"surface-subdued": {
249-
"description": "161616",
250-
"value": "#171717"
248+
"value": "$colors.grey.900"
251249
},
252250
"surface--hovered": {
253-
"value": "#171717"
251+
"value": "$colors.grey.900"
254252
},
255253
"surface--disabled": {
256-
"description": "161616",
257-
"value": "#171717"
254+
"value": "$colors.grey.900"
258255
},
259256
"surface--pressed": {
260-
"description": "262626",
261-
"value": "#262626"
257+
"value": "$colors.grey.800"
262258
},
263259
"surface--selected": {
264-
"description": "161616",
265-
"value": "#171717"
260+
"value": "$colors.grey.800"
266261
},
267262
"surface-contrast": {
268-
"description": "FFFFFF",
269-
"value": "#ffffff"
263+
"value": "$colors.base.white"
270264
}
271265
},
272266
"onSurface": {
273267
"border": {
274-
"description": "333333",
275-
"value": "#333333"
268+
"value": "$colors.grey.700"
276269
},
277270
"border--disabled": {
278-
"description": "262626",
279-
"value": "#262626"
271+
"value": "$colors.grey.800"
280272
},
281273
"border-subdued": {
282-
"description": "262626",
283-
"value": "#262626"
274+
"value": "$colors.grey.800"
284275
},
285276
"border--focused": {
286-
"description": "7F97F1",
287-
"value": "#7f97f1"
277+
"value": "$colors.blue.400"
288278
},
289279
"icon": {
290-
"description": "F4F4F4",
291-
"value": "#f5f5f5"
280+
"value": "$colors.grey.200"
292281
},
293282
"icon--disabled": {
294-
"description": "333333",
295-
"value": "#333333"
283+
"value": "$colors.grey.700"
296284
},
297285
"icon-subdued": {
298-
"description": "777777",
299-
"value": "#9a9a9a"
286+
"value": "$colors.grey.400"
300287
},
301-
"iconOn-primary": {
302-
"description": "F4F4F4",
303-
"value": "#f5f5f5"
288+
"icon-onPrimary": {
289+
"value": "$colors.grey.100"
304290
},
305-
"iconOn-success": {
306-
"description": "F4F4F4",
307-
"value": "#f5f5f5"
291+
"icon-onSuccess": {
292+
"value": "$colors.grey.100"
308293
},
309-
"iconOn-warning": {
310-
"description": "F4F4F4",
311-
"value": "#f5f5f5"
294+
"icon-onWarning": {
295+
"value": "$colors.grey.100"
312296
},
313-
"iconOn-critical": {
314-
"description": "F4F4F4",
315-
"value": "#f5f5f5"
297+
"icon-onCritical": {
298+
"value": "$colors.grey.100"
316299
},
317300
"text": {
318-
"description": "F4F4F4",
319-
"value": "#f5f5f5"
301+
"value": "$colors.grey.200"
320302
},
321303
"text--disabled": {
322-
"description": "333333",
323-
"value": "#333333"
304+
"value": "$colors.grey.700"
324305
},
325306
"text-subdued": {
326-
"description": "777777",
327-
"value": "#9a9a9a"
307+
"value": "$colors.grey.400"
328308
},
329309
"text-dim": {
330-
"value": "#777777"
310+
"value": "$colors.grey.500"
331311
},
332-
"textOn-contrast": {
333-
"description": "0C0C0D",
334-
"value": "#0c0c0d"
312+
"text-onContrast": {
313+
"value": "$colors.slate.800"
335314
},
336-
"textOn-primary": {
337-
"description": "F4F4F4",
338-
"value": "#f5f5f5"
315+
"text-onPrimary": {
316+
"value": "$colors.grey.200"
339317
},
340-
"textOn-success": {
341-
"description": "F4F4F4",
342-
"value": "#f5f5f5"
318+
"texton-Success": {
319+
"value": "$colors.grey.200"
343320
},
344-
"textOn-warning": {
345-
"description": "F4F4F4",
346-
"value": "#f5f5f5"
321+
"text-onWarning": {
322+
"value": "$colors.grey.200"
347323
},
348-
"textOn-critical": {
349-
"description": "F4F4F4",
350-
"value": "#f5f5f5"
324+
"text-onCritical": {
325+
"value": "$colors.grey.200"
351326
}
352327
},
353328
"primary": {
354329
"action-subdued--pressed": {
355-
"description": "7F97F1",
356330
"value": "#7f97f13d"
357331
},
358332
"action-primary": {
359-
"description": "5546FF",
360-
"value": "#5546ff"
333+
"value": "$colors.blue.600"
361334
},
362335
"action-primary--disabled": {
363-
"description": "262626",
364-
"value": "#262626"
336+
"value": "$colors.grey.800"
365337
},
366338
"action-primary--hovered": {
367-
"description": "5C6CF2",
368-
"value": "#5c6cf2"
339+
"value": "$colors.blue.500"
369340
},
370341
"action-primary--pressed": {
371-
"description": "2323C7",
372-
"value": "#2323c7"
342+
"value": "$colors.blue.700"
373343
},
374344
"action-subdued": {
375-
"description": "7F97F1",
376345
"value": "#7f97f11f"
377346
},
378347
"action-subdued--disabled": {
379-
"description": "262626",
380-
"value": "#262626"
348+
"value": "$colors.grey.800"
381349
},
382350
"action-subdued--hovered": {
383-
"description": "7F97F1",
384351
"value": "#7f97f12e"
385352
}
386353
},
387354
"secondary": {
388355
"secondary-subdued": {
389-
"description": "161616",
390-
"value": "#171717"
356+
"value": "$colors.base.black"
391357
},
392358
"action-secondary": {
393-
"description": "0C0C0D",
394-
"value": "#0c0c0d"
359+
"value": "$colors.base.black"
395360
},
396361
"action-secondary--disabled": {
397-
"description": "0C0C0D",
398-
"value": "#0c0c0d"
362+
"value": "$colors.base.black"
399363
},
400364
"action-secondary--hovered": {
401-
"description": "161616",
402-
"value": "#171717"
365+
"value": "$colors.grey.900"
403366
},
404367
"secondary": {
405-
"description": "0C0C0D",
406-
"value": "#0c0c0d"
368+
"value": "$colors.base.black"
407369
}
408370
},
409371
"interactive": {
410372
"interactive": {
411-
"value": "#7f97f1"
373+
"value": "$colors.blue.400"
412374
},
413375
"interactive--hovered": {
414-
"value": "#5c6cf2"
376+
"value": "$colors.blue.500"
415377
},
416378
"interactive--pressed": {
417-
"value": "#5c6cf2"
379+
"value": "$colors.blue.500"
418380
},
419381
"icon-onPrimary-subdued": {
420-
"description": "7F97F1",
421-
"value": "#7f97f1"
382+
"value": "$colors.blue.400"
422383
},
423384
"text-onPrimary-subdued": {
424-
"description": "7F97F1",
425-
"value": "#7f97f1"
385+
"value": "$colors.blue.400"
426386
},
427387
"interactive--disabled": {
428-
"value": "#333333"
388+
"value": "$colors.blue.300"
429389
}
430390
},
431391
"warning": {
432392
"surface-warning": {
433-
"value": "#ffbd7a"
393+
"value": "$colors.orange.300"
434394
},
435395
"icon-warning": {
436-
"value": "#ffa953"
396+
"value": "$colors.orange.600"
437397
},
438398
"action-warning": {
439-
"value": "#ffa953"
399+
"value": "$colors.orange.600"
440400
},
441401
"border-warning": {
442-
"value": "#ffbd7a"
402+
"value": "$colors.orange.300"
443403
}
444404
},
445405
"critical": {
446406
"surface-critical": {
447-
"value": "#e76c6a"
407+
"value": "$colors.red.300"
448408
},
449409
"text-critical": {
450-
"value": "#e76c6a"
410+
"value": "$colors.red.300"
451411
},
452412
"icon-critical": {
453-
"value": "#e76c6a"
413+
"value": "$colors.red.300"
454414
},
455415
"action-critical": {
456-
"value": "#c83532"
416+
"value": "$colors.red.600"
457417
},
458418
"border-critical": {
459-
"value": "#e76c6a"
419+
"value": "$colors.red.300"
460420
}
461421
},
462422
"accent": {
@@ -1078,6 +1038,6 @@
10781038
"metadata": {
10791039
"id": "608023f5027da70c476dcd52",
10801040
"private": true,
1081-
"createdAt": "2021-04-26T15:50:22.744Z"
1041+
"createdAt": "2021-04-30T17:34:36.934Z"
10821042
}
10831043
}

0 commit comments

Comments
 (0)