@primer/primitives 10.0.0-rc.d2acd2c0 → 10.0.0-rc.dd3dde40

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.
Files changed (121) hide show
  1. package/README.md +2 -2
  2. package/dist/build/PrimerStyleDictionary.js +27 -26
  3. package/dist/build/filters/isCubicBezier.d.ts +7 -0
  4. package/dist/build/filters/isCubicBezier.js +10 -0
  5. package/dist/build/formats/typescriptExportDefinition.js +2 -2
  6. package/dist/build/parsers/w3cJsonParser.js +2 -2
  7. package/dist/build/platforms/css.js +1 -0
  8. package/dist/build/schemas/borderToken.d.ts +3 -3
  9. package/dist/build/schemas/colorToken.d.ts +3 -3
  10. package/dist/build/schemas/cubicBezierToken.d.ts +18 -0
  11. package/dist/build/schemas/cubicBezierToken.js +8 -0
  12. package/dist/build/schemas/designToken.js +2 -1
  13. package/dist/build/schemas/dimensionToken.d.ts +3 -3
  14. package/dist/build/schemas/durationToken.d.ts +3 -3
  15. package/dist/build/schemas/fontFamilyToken.d.ts +3 -3
  16. package/dist/build/schemas/fontWeightToken.d.ts +3 -3
  17. package/dist/build/schemas/numberToken.d.ts +3 -3
  18. package/dist/build/schemas/shadowToken.d.ts +3 -3
  19. package/dist/build/schemas/stringToken.d.ts +3 -3
  20. package/dist/build/schemas/tokenType.d.ts +1 -1
  21. package/dist/build/schemas/typographyToken.d.ts +3 -3
  22. package/dist/build/schemas/validTokenType.d.ts +1 -1
  23. package/dist/build/schemas/validTokenType.js +1 -0
  24. package/dist/build/schemas/viewportRangeToken.d.ts +3 -3
  25. package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
  26. package/dist/build/transformers/cubicBezierToCss.js +23 -0
  27. package/dist/build/transformers/durationToCss.js +2 -2
  28. package/dist/build/transformers/index.d.ts +1 -0
  29. package/dist/build/transformers/index.js +1 -0
  30. package/dist/css/base/motion/motion.css +17 -0
  31. package/dist/css/functional/motion/motion.css +4 -3
  32. package/dist/css/functional/themes/dark-colorblind.css +58 -38
  33. package/dist/css/functional/themes/dark-dimmed.css +44 -24
  34. package/dist/css/functional/themes/dark-high-contrast.css +42 -22
  35. package/dist/css/functional/themes/dark-tritanopia.css +44 -24
  36. package/dist/css/functional/themes/dark.css +42 -22
  37. package/dist/css/functional/themes/light-colorblind.css +60 -40
  38. package/dist/css/functional/themes/light-high-contrast.css +44 -24
  39. package/dist/css/functional/themes/light-tritanopia.css +42 -22
  40. package/dist/css/functional/themes/light.css +42 -22
  41. package/dist/css/functional/typography/typography.css +43 -43
  42. package/dist/css/primitives.css +64 -46
  43. package/dist/docs/base/motion/motion.json +205 -0
  44. package/dist/docs/functional/motion/motion.json +18 -3
  45. package/dist/docs/functional/themes/dark-colorblind.json +564 -282
  46. package/dist/docs/functional/themes/dark-dimmed.json +580 -276
  47. package/dist/docs/functional/themes/dark-high-contrast.json +408 -168
  48. package/dist/docs/functional/themes/dark-tritanopia.json +558 -280
  49. package/dist/docs/functional/themes/dark.json +564 -276
  50. package/dist/docs/functional/themes/light-colorblind.json +388 -108
  51. package/dist/docs/functional/themes/light-high-contrast.json +353 -83
  52. package/dist/docs/functional/themes/light-tritanopia.json +327 -81
  53. package/dist/docs/functional/themes/light.json +356 -78
  54. package/dist/fallbacks/base/motion/motion.json +17 -0
  55. package/dist/fallbacks/functional/motion/motion.json +1 -0
  56. package/dist/figma/dimension/dimension.json +518 -518
  57. package/dist/figma/figma.json +19 -19
  58. package/dist/figma/scales/dark-dimmed.json +3536 -656
  59. package/dist/figma/scales/dark-high-constrast.json +3535 -655
  60. package/dist/figma/scales/dark.json +3371 -491
  61. package/dist/figma/scales/light-high-constrast.json +3533 -653
  62. package/dist/figma/scales/light.json +3370 -490
  63. package/dist/figma/shadows/dark-colorblind.json +285 -285
  64. package/dist/figma/shadows/dark-dimmed.json +285 -285
  65. package/dist/figma/shadows/dark-high-contrast.json +285 -285
  66. package/dist/figma/shadows/dark-tritanopia.json +285 -285
  67. package/dist/figma/shadows/dark.json +285 -285
  68. package/dist/figma/shadows/light-colorblind.json +254 -254
  69. package/dist/figma/shadows/light-high-contrast.json +254 -254
  70. package/dist/figma/shadows/light-tritanopia.json +254 -254
  71. package/dist/figma/shadows/light.json +254 -254
  72. package/dist/figma/themes/dark-colorblind.json +5197 -5068
  73. package/dist/figma/themes/dark-dimmed.json +5526 -5351
  74. package/dist/figma/themes/dark-high-contrast.json +4361 -4251
  75. package/dist/figma/themes/dark-tritanopia.json +5315 -5187
  76. package/dist/figma/themes/dark.json +5740 -5581
  77. package/dist/figma/themes/light-colorblind.json +5104 -4929
  78. package/dist/figma/themes/light-high-contrast.json +4462 -4319
  79. package/dist/figma/themes/light-tritanopia.json +5176 -5050
  80. package/dist/figma/themes/light.json +5657 -5500
  81. package/dist/figma/typography/typography.json +162 -162
  82. package/dist/internalCss/dark-colorblind.css +58 -38
  83. package/dist/internalCss/dark-dimmed.css +44 -24
  84. package/dist/internalCss/dark-high-contrast.css +42 -22
  85. package/dist/internalCss/dark-tritanopia.css +44 -24
  86. package/dist/internalCss/dark.css +42 -22
  87. package/dist/internalCss/light-colorblind.css +60 -40
  88. package/dist/internalCss/light-high-contrast.css +44 -24
  89. package/dist/internalCss/light-tritanopia.css +42 -22
  90. package/dist/internalCss/light.css +42 -22
  91. package/dist/styleLint/base/motion/motion.json +205 -0
  92. package/dist/styleLint/functional/motion/motion.json +18 -3
  93. package/dist/styleLint/functional/themes/dark-colorblind.json +564 -282
  94. package/dist/styleLint/functional/themes/dark-dimmed.json +580 -276
  95. package/dist/styleLint/functional/themes/dark-high-contrast.json +407 -167
  96. package/dist/styleLint/functional/themes/dark-tritanopia.json +558 -280
  97. package/dist/styleLint/functional/themes/dark.json +564 -276
  98. package/dist/styleLint/functional/themes/light-colorblind.json +388 -108
  99. package/dist/styleLint/functional/themes/light-high-contrast.json +353 -83
  100. package/dist/styleLint/functional/themes/light-tritanopia.json +327 -81
  101. package/dist/styleLint/functional/themes/light.json +356 -78
  102. package/package.json +21 -29
  103. package/src/tokens/base/motion/easing.json5 +26 -0
  104. package/src/tokens/base/motion/timing.json5 +50 -0
  105. package/src/tokens/functional/color/dark/app-dark.json5 +203 -88
  106. package/src/tokens/functional/color/dark/data-vis-dark.json5 +20 -20
  107. package/src/tokens/functional/color/dark/display-dark.json5 +95 -95
  108. package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -8
  109. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +39 -26
  110. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +56 -30
  111. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +37 -14
  112. package/src/tokens/functional/color/dark/patterns-dark.json5 +16 -4
  113. package/src/tokens/functional/color/dark/primitives-dark.json5 +1 -1
  114. package/src/tokens/functional/color/light/app-light.json5 +195 -85
  115. package/src/tokens/functional/color/light/data-vis-light.json5 +20 -20
  116. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -25
  117. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +61 -33
  118. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +62 -10
  119. package/src/tokens/functional/color/light/patterns-light.json5 +13 -1
  120. package/src/tokens/functional/motion/loading.json5 +1 -1
  121. package/src/tokens/functional/motion/patterns.json5 +9 -2
@@ -70,7 +70,65 @@
70
70
  "attributes": {},
71
71
  "path": ["page", "header", "bgColor"]
72
72
  },
73
- "diffBlob-addition-fgColor-text": {
73
+ "diffBlob-additionLine-fgColor": {
74
+ "$value": "#010409",
75
+ "$type": "color",
76
+ "$extensions": {
77
+ "org.primer.figma": {
78
+ "collection": "mode",
79
+ "mode": "light",
80
+ "group": "component",
81
+ "scopes": ["fgColor"]
82
+ }
83
+ },
84
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
85
+ "isSource": true,
86
+ "original": {
87
+ "$value": "{fgColor.default}",
88
+ "$type": "color",
89
+ "$extensions": {
90
+ "org.primer.figma": {
91
+ "collection": "mode",
92
+ "mode": "light",
93
+ "group": "component",
94
+ "scopes": ["fgColor"]
95
+ }
96
+ }
97
+ },
98
+ "name": "diffBlob-additionLine-fgColor",
99
+ "attributes": {},
100
+ "path": ["diffBlob", "additionLine", "fgColor"]
101
+ },
102
+ "diffBlob-additionLine-bgColor": {
103
+ "$value": "#d2fedb",
104
+ "$type": "color",
105
+ "$extensions": {
106
+ "org.primer.figma": {
107
+ "collection": "mode",
108
+ "mode": "light",
109
+ "group": "component",
110
+ "scopes": ["bgColor"]
111
+ }
112
+ },
113
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
114
+ "isSource": true,
115
+ "original": {
116
+ "$value": "{bgColor.success.muted}",
117
+ "$type": "color",
118
+ "$extensions": {
119
+ "org.primer.figma": {
120
+ "collection": "mode",
121
+ "mode": "light",
122
+ "group": "component",
123
+ "scopes": ["bgColor"]
124
+ }
125
+ }
126
+ },
127
+ "name": "diffBlob-additionLine-bgColor",
128
+ "attributes": {},
129
+ "path": ["diffBlob", "additionLine", "bgColor"]
130
+ },
131
+ "diffBlob-additionWord-fgColor": {
74
132
  "$value": "#ffffff",
75
133
  "$type": "color",
76
134
  "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
@@ -79,11 +137,28 @@
79
137
  "$value": "{fgColor.onEmphasis}",
80
138
  "$type": "color"
81
139
  },
82
- "name": "diffBlob-addition-fgColor-text",
140
+ "name": "diffBlob-additionWord-fgColor",
83
141
  "attributes": {},
84
- "path": ["diffBlob", "addition", "fgColor", "text"]
142
+ "path": ["diffBlob", "additionWord", "fgColor"]
85
143
  },
86
- "diffBlob-addition-fgColor-num": {
144
+ "diffBlob-additionWord-bgColor": {
145
+ "$value": "#055d20",
146
+ "$type": "color",
147
+ "mix": null,
148
+ "alpha": 1,
149
+ "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
150
+ "isSource": true,
151
+ "original": {
152
+ "$value": "{base.color.green.5}",
153
+ "$type": "color",
154
+ "mix": null,
155
+ "alpha": 1
156
+ },
157
+ "name": "diffBlob-additionWord-bgColor",
158
+ "attributes": {},
159
+ "path": ["diffBlob", "additionWord", "bgColor"]
160
+ },
161
+ "diffBlob-additionNum-fgColor": {
87
162
  "$value": "#010409",
88
163
  "$type": "color",
89
164
  "$extensions": {
@@ -108,12 +183,12 @@
108
183
  }
109
184
  }
110
185
  },
111
- "name": "diffBlob-addition-fgColor-num",
186
+ "name": "diffBlob-additionNum-fgColor",
112
187
  "attributes": {},
113
- "path": ["diffBlob", "addition", "fgColor", "num"]
188
+ "path": ["diffBlob", "additionNum", "fgColor"]
114
189
  },
115
- "diffBlob-addition-bgColor-num": {
116
- "$value": "#c2f9cd",
190
+ "diffBlob-additionNum-bgColor": {
191
+ "$value": "#82e596",
117
192
  "$type": "color",
118
193
  "$extensions": {
119
194
  "org.primer.figma": {
@@ -123,10 +198,6 @@
123
198
  "scopes": ["bgColor"]
124
199
  }
125
200
  },
126
- "mix": {
127
- "color": "#d2fedb",
128
- "weight": 0.8
129
- },
130
201
  "filePath": "src/tokens/functional/color/light/app-light.json5",
131
202
  "isSource": true,
132
203
  "original": {
@@ -139,18 +210,43 @@
139
210
  "group": "component",
140
211
  "scopes": ["bgColor"]
141
212
  }
142
- },
143
- "mix": {
144
- "color": "{base.color.green.0}",
145
- "weight": 0.8
146
213
  }
147
214
  },
148
- "name": "diffBlob-addition-bgColor-num",
215
+ "name": "diffBlob-additionNum-bgColor",
149
216
  "attributes": {},
150
- "path": ["diffBlob", "addition", "bgColor", "num"]
217
+ "path": ["diffBlob", "additionNum", "bgColor"]
151
218
  },
152
- "diffBlob-addition-bgColor-line": {
153
- "$value": "#d2fedb",
219
+ "diffBlob-deletionLine-fgColor": {
220
+ "$value": "#010409",
221
+ "$type": "color",
222
+ "$extensions": {
223
+ "org.primer.figma": {
224
+ "collection": "mode",
225
+ "mode": "light",
226
+ "group": "component",
227
+ "scopes": ["fgColor"]
228
+ }
229
+ },
230
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
231
+ "isSource": true,
232
+ "original": {
233
+ "$value": "{fgColor.default}",
234
+ "$type": "color",
235
+ "$extensions": {
236
+ "org.primer.figma": {
237
+ "collection": "mode",
238
+ "mode": "light",
239
+ "group": "component",
240
+ "scopes": ["fgColor"]
241
+ }
242
+ }
243
+ },
244
+ "name": "diffBlob-deletionLine-fgColor",
245
+ "attributes": {},
246
+ "path": ["diffBlob", "deletionLine", "fgColor"]
247
+ },
248
+ "diffBlob-deletionLine-bgColor": {
249
+ "$value": "#fff0ee",
154
250
  "$type": "color",
155
251
  "$extensions": {
156
252
  "org.primer.figma": {
@@ -163,7 +259,7 @@
163
259
  "filePath": "src/tokens/functional/color/light/app-light.json5",
164
260
  "isSource": true,
165
261
  "original": {
166
- "$value": "{base.color.green.0}",
262
+ "$value": "{bgColor.danger.muted}",
167
263
  "$type": "color",
168
264
  "$extensions": {
169
265
  "org.primer.figma": {
@@ -174,37 +270,41 @@
174
270
  }
175
271
  }
176
272
  },
177
- "name": "diffBlob-addition-bgColor-line",
273
+ "name": "diffBlob-deletionLine-bgColor",
178
274
  "attributes": {},
179
- "path": ["diffBlob", "addition", "bgColor", "line"]
275
+ "path": ["diffBlob", "deletionLine", "bgColor"]
180
276
  },
181
- "diffBlob-addition-bgColor-word": {
182
- "$value": "#117f32",
277
+ "diffBlob-deletionWord-fgColor": {
278
+ "$value": "#ffffff",
183
279
  "$type": "color",
184
280
  "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
185
281
  "isSource": true,
186
282
  "original": {
187
- "$value": "{base.color.green.4}",
283
+ "$value": "{fgColor.onEmphasis}",
188
284
  "$type": "color"
189
285
  },
190
- "name": "diffBlob-addition-bgColor-word",
286
+ "name": "diffBlob-deletionWord-fgColor",
191
287
  "attributes": {},
192
- "path": ["diffBlob", "addition", "bgColor", "word"]
288
+ "path": ["diffBlob", "deletionWord", "fgColor"]
193
289
  },
194
- "diffBlob-deletion-fgColor-text": {
195
- "$value": "#ffffff",
290
+ "diffBlob-deletionWord-bgColor": {
291
+ "$value": "#a0111f",
196
292
  "$type": "color",
293
+ "mix": null,
294
+ "alpha": 1,
197
295
  "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
198
296
  "isSource": true,
199
297
  "original": {
200
- "$value": "{fgColor.onEmphasis}",
201
- "$type": "color"
298
+ "$value": "{base.color.red.5}",
299
+ "$type": "color",
300
+ "mix": null,
301
+ "alpha": 1
202
302
  },
203
- "name": "diffBlob-deletion-fgColor-text",
303
+ "name": "diffBlob-deletionWord-bgColor",
204
304
  "attributes": {},
205
- "path": ["diffBlob", "deletion", "fgColor", "text"]
305
+ "path": ["diffBlob", "deletionWord", "bgColor"]
206
306
  },
207
- "diffBlob-deletion-fgColor-num": {
307
+ "diffBlob-deletionNum-fgColor": {
208
308
  "$value": "#010409",
209
309
  "$type": "color",
210
310
  "$extensions": {
@@ -229,11 +329,11 @@
229
329
  }
230
330
  }
231
331
  },
232
- "name": "diffBlob-deletion-fgColor-num",
332
+ "name": "diffBlob-deletionNum-fgColor",
233
333
  "attributes": {},
234
- "path": ["diffBlob", "deletion", "fgColor", "num"]
334
+ "path": ["diffBlob", "deletionNum", "fgColor"]
235
335
  },
236
- "diffBlob-deletion-bgColor-num": {
336
+ "diffBlob-deletionNum-bgColor": {
237
337
  "$value": "#ffc1bc",
238
338
  "$type": "color",
239
339
  "$extensions": {
@@ -258,12 +358,12 @@
258
358
  }
259
359
  }
260
360
  },
261
- "name": "diffBlob-deletion-bgColor-num",
361
+ "name": "diffBlob-deletionNum-bgColor",
262
362
  "attributes": {},
263
- "path": ["diffBlob", "deletion", "bgColor", "num"]
363
+ "path": ["diffBlob", "deletionNum", "bgColor"]
264
364
  },
265
- "diffBlob-deletion-bgColor-line": {
266
- "$value": "#fff0ee",
365
+ "diffBlob-hunkLine-bgColor": {
366
+ "$value": "#dff7ff",
267
367
  "$type": "color",
268
368
  "$extensions": {
269
369
  "org.primer.figma": {
@@ -276,7 +376,7 @@
276
376
  "filePath": "src/tokens/functional/color/light/app-light.json5",
277
377
  "isSource": true,
278
378
  "original": {
279
- "$value": "{base.color.red.0}",
379
+ "$value": "{bgColor.accent.muted}",
280
380
  "$type": "color",
281
381
  "$extensions": {
282
382
  "org.primer.figma": {
@@ -287,28 +387,98 @@
287
387
  }
288
388
  }
289
389
  },
290
- "name": "diffBlob-deletion-bgColor-line",
390
+ "name": "diffBlob-hunkLine-bgColor",
291
391
  "attributes": {},
292
- "path": ["diffBlob", "deletion", "bgColor", "line"]
392
+ "path": ["diffBlob", "hunkLine", "bgColor"]
293
393
  },
294
- "diffBlob-deletion-bgColor-word": {
295
- "$value": "#a0111f",
394
+ "diffBlob-hunkLine-fgColor": {
395
+ "$value": "#454c54",
296
396
  "$type": "color",
297
- "mix": null,
298
- "alpha": 1,
299
- "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
397
+ "$extensions": {
398
+ "org.primer.figma": {
399
+ "collection": "mode",
400
+ "mode": "light",
401
+ "group": "component",
402
+ "scopes": ["fgColor"]
403
+ }
404
+ },
405
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
300
406
  "isSource": true,
301
407
  "original": {
302
- "$value": "{base.color.red.5}",
408
+ "$value": "{fgColor.muted}",
303
409
  "$type": "color",
304
- "mix": null,
305
- "alpha": 1
410
+ "$extensions": {
411
+ "org.primer.figma": {
412
+ "collection": "mode",
413
+ "mode": "light",
414
+ "group": "component",
415
+ "scopes": ["fgColor"]
416
+ }
417
+ }
418
+ },
419
+ "name": "diffBlob-hunkLine-fgColor",
420
+ "attributes": {},
421
+ "path": ["diffBlob", "hunkLine", "fgColor"]
422
+ },
423
+ "diffBlob-hunkNum-fgColor-rest": {
424
+ "$value": "#010409",
425
+ "$type": "color",
426
+ "$extensions": {
427
+ "org.primer.figma": {
428
+ "collection": "mode",
429
+ "mode": "light",
430
+ "group": "component",
431
+ "scopes": ["fgColor"]
432
+ }
433
+ },
434
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
435
+ "isSource": true,
436
+ "original": {
437
+ "$value": "{fgColor.default}",
438
+ "$type": "color",
439
+ "$extensions": {
440
+ "org.primer.figma": {
441
+ "collection": "mode",
442
+ "mode": "light",
443
+ "group": "component",
444
+ "scopes": ["fgColor"]
445
+ }
446
+ }
447
+ },
448
+ "name": "diffBlob-hunkNum-fgColor-rest",
449
+ "attributes": {},
450
+ "path": ["diffBlob", "hunkNum", "fgColor", "rest"]
451
+ },
452
+ "diffBlob-hunkNum-fgColor-hover": {
453
+ "$value": "#ffffff",
454
+ "$type": "color",
455
+ "$extensions": {
456
+ "org.primer.figma": {
457
+ "collection": "mode",
458
+ "mode": "light",
459
+ "group": "component",
460
+ "scopes": ["fgColor"]
461
+ }
462
+ },
463
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
464
+ "isSource": true,
465
+ "original": {
466
+ "$value": "{fgColor.onEmphasis}",
467
+ "$type": "color",
468
+ "$extensions": {
469
+ "org.primer.figma": {
470
+ "collection": "mode",
471
+ "mode": "light",
472
+ "group": "component",
473
+ "scopes": ["fgColor"]
474
+ }
475
+ }
306
476
  },
307
- "name": "diffBlob-deletion-bgColor-word",
477
+ "name": "diffBlob-hunkNum-fgColor-hover",
308
478
  "attributes": {},
309
- "path": ["diffBlob", "deletion", "bgColor", "word"]
479
+ "path": ["diffBlob", "hunkNum", "fgColor", "hover"]
310
480
  },
311
- "diffBlob-hunk-bgColor-num": {
481
+ "diffBlob-hunkNum-bgColor-rest": {
312
482
  "$value": "#9cd7ff",
313
483
  "$type": "color",
314
484
  "alpha": 1,
@@ -319,35 +489,106 @@
319
489
  "$type": "color",
320
490
  "alpha": 1
321
491
  },
322
- "name": "diffBlob-hunk-bgColor-num",
492
+ "name": "diffBlob-hunkNum-bgColor-rest",
323
493
  "attributes": {},
324
- "path": ["diffBlob", "hunk", "bgColor", "num"]
494
+ "path": ["diffBlob", "hunkNum", "bgColor", "rest"]
325
495
  },
326
- "diffBlob-expander-iconColor": {
327
- "$value": "#454c54",
496
+ "diffBlob-hunkNum-bgColor-hover": {
497
+ "$value": "#0349b4",
328
498
  "$type": "color",
329
499
  "$extensions": {
330
500
  "org.primer.figma": {
331
501
  "collection": "mode",
332
502
  "mode": "light",
333
503
  "group": "component",
334
- "scopes": ["fgColor"]
504
+ "scopes": ["bgColor"]
335
505
  }
336
506
  },
337
507
  "filePath": "src/tokens/functional/color/light/app-light.json5",
338
508
  "isSource": true,
339
509
  "original": {
340
- "$value": "{fgColor.muted}",
510
+ "$value": "{bgColor.accent.emphasis}",
341
511
  "$type": "color",
342
512
  "$extensions": {
343
513
  "org.primer.figma": {
344
514
  "collection": "mode",
345
515
  "mode": "light",
346
516
  "group": "component",
347
- "scopes": ["fgColor"]
517
+ "scopes": ["bgColor"]
348
518
  }
349
519
  }
350
520
  },
521
+ "name": "diffBlob-hunkNum-bgColor-hover",
522
+ "attributes": {},
523
+ "path": ["diffBlob", "hunkNum", "bgColor", "hover"]
524
+ },
525
+ "diffBlob-emptyNum-bgColor": {
526
+ "$value": "#e6eaef",
527
+ "$type": "color",
528
+ "$extensions": {
529
+ "org.primer.figma": {
530
+ "collection": "mode",
531
+ "mode": "light",
532
+ "group": "component",
533
+ "scopes": ["bgColor"]
534
+ }
535
+ },
536
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
537
+ "isSource": true,
538
+ "original": {
539
+ "$value": "{bgColor.muted}",
540
+ "$type": "color",
541
+ "$extensions": {
542
+ "org.primer.figma": {
543
+ "collection": "mode",
544
+ "mode": "light",
545
+ "group": "component",
546
+ "scopes": ["bgColor"]
547
+ }
548
+ }
549
+ },
550
+ "name": "diffBlob-emptyNum-bgColor",
551
+ "attributes": {},
552
+ "path": ["diffBlob", "emptyNum", "bgColor"]
553
+ },
554
+ "diffBlob-emptyLine-bgColor": {
555
+ "$value": "#e6eaef",
556
+ "$type": "color",
557
+ "$extensions": {
558
+ "org.primer.figma": {
559
+ "collection": "mode",
560
+ "mode": "light",
561
+ "group": "component",
562
+ "scopes": ["bgColor"]
563
+ }
564
+ },
565
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
566
+ "isSource": true,
567
+ "original": {
568
+ "$value": "{bgColor.muted}",
569
+ "$type": "color",
570
+ "$extensions": {
571
+ "org.primer.figma": {
572
+ "collection": "mode",
573
+ "mode": "light",
574
+ "group": "component",
575
+ "scopes": ["bgColor"]
576
+ }
577
+ }
578
+ },
579
+ "name": "diffBlob-emptyLine-bgColor",
580
+ "attributes": {},
581
+ "path": ["diffBlob", "emptyLine", "bgColor"]
582
+ },
583
+ "diffBlob-expander-iconColor": {
584
+ "$value": "#010409",
585
+ "$type": "color",
586
+ "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
587
+ "isSource": true,
588
+ "original": {
589
+ "$value": "{fgColor.default}",
590
+ "$type": "color"
591
+ },
351
592
  "name": "diffBlob-expander-iconColor",
352
593
  "attributes": {},
353
594
  "path": ["diffBlob", "expander", "iconColor"]
@@ -1071,7 +1312,7 @@
1071
1312
  "collection": "mode",
1072
1313
  "mode": "dark",
1073
1314
  "group": "component",
1074
- "scopes": ["bgColor"]
1315
+ "scopes": ["bgColor", "borderColor"]
1075
1316
  }
1076
1317
  },
1077
1318
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1084,7 +1325,7 @@
1084
1325
  "collection": "mode",
1085
1326
  "mode": "dark",
1086
1327
  "group": "component",
1087
- "scopes": ["bgColor"]
1328
+ "scopes": ["bgColor", "borderColor"]
1088
1329
  }
1089
1330
  }
1090
1331
  },
@@ -1129,7 +1370,7 @@
1129
1370
  "collection": "mode",
1130
1371
  "mode": "dark",
1131
1372
  "group": "component",
1132
- "scopes": ["bgColor"]
1373
+ "scopes": ["bgColor", "borderColor"]
1133
1374
  }
1134
1375
  },
1135
1376
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1142,7 +1383,7 @@
1142
1383
  "collection": "mode",
1143
1384
  "mode": "dark",
1144
1385
  "group": "component",
1145
- "scopes": ["bgColor"]
1386
+ "scopes": ["bgColor", "borderColor"]
1146
1387
  }
1147
1388
  }
1148
1389
  },
@@ -1187,7 +1428,7 @@
1187
1428
  "collection": "mode",
1188
1429
  "mode": "dark",
1189
1430
  "group": "component",
1190
- "scopes": ["bgColor"]
1431
+ "scopes": ["bgColor", "borderColor"]
1191
1432
  }
1192
1433
  },
1193
1434
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1200,7 +1441,7 @@
1200
1441
  "collection": "mode",
1201
1442
  "mode": "dark",
1202
1443
  "group": "component",
1203
- "scopes": ["bgColor"]
1444
+ "scopes": ["bgColor", "borderColor"]
1204
1445
  }
1205
1446
  }
1206
1447
  },
@@ -1245,7 +1486,7 @@
1245
1486
  "collection": "mode",
1246
1487
  "mode": "dark",
1247
1488
  "group": "component",
1248
- "scopes": ["bgColor"]
1489
+ "scopes": ["bgColor", "borderColor"]
1249
1490
  }
1250
1491
  },
1251
1492
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1258,7 +1499,7 @@
1258
1499
  "collection": "mode",
1259
1500
  "mode": "dark",
1260
1501
  "group": "component",
1261
- "scopes": ["bgColor"]
1502
+ "scopes": ["bgColor", "borderColor"]
1262
1503
  }
1263
1504
  }
1264
1505
  },
@@ -1303,7 +1544,7 @@
1303
1544
  "collection": "mode",
1304
1545
  "mode": "dark",
1305
1546
  "group": "component",
1306
- "scopes": ["bgColor"]
1547
+ "scopes": ["bgColor", "borderColor"]
1307
1548
  }
1308
1549
  },
1309
1550
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1316,7 +1557,7 @@
1316
1557
  "collection": "mode",
1317
1558
  "mode": "dark",
1318
1559
  "group": "component",
1319
- "scopes": ["bgColor"]
1560
+ "scopes": ["bgColor", "borderColor"]
1320
1561
  }
1321
1562
  }
1322
1563
  },
@@ -1361,7 +1602,7 @@
1361
1602
  "collection": "mode",
1362
1603
  "mode": "dark",
1363
1604
  "group": "component",
1364
- "scopes": ["bgColor"]
1605
+ "scopes": ["bgColor", "borderColor"]
1365
1606
  }
1366
1607
  },
1367
1608
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1374,7 +1615,7 @@
1374
1615
  "collection": "mode",
1375
1616
  "mode": "dark",
1376
1617
  "group": "component",
1377
- "scopes": ["bgColor"]
1618
+ "scopes": ["bgColor", "borderColor"]
1378
1619
  }
1379
1620
  }
1380
1621
  },
@@ -1419,7 +1660,7 @@
1419
1660
  "collection": "mode",
1420
1661
  "mode": "dark",
1421
1662
  "group": "component",
1422
- "scopes": ["bgColor"]
1663
+ "scopes": ["bgColor", "borderColor"]
1423
1664
  }
1424
1665
  },
1425
1666
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1432,7 +1673,7 @@
1432
1673
  "collection": "mode",
1433
1674
  "mode": "dark",
1434
1675
  "group": "component",
1435
- "scopes": ["bgColor"]
1676
+ "scopes": ["bgColor", "borderColor"]
1436
1677
  }
1437
1678
  }
1438
1679
  },
@@ -1477,7 +1718,7 @@
1477
1718
  "collection": "mode",
1478
1719
  "mode": "dark",
1479
1720
  "group": "component",
1480
- "scopes": ["bgColor"]
1721
+ "scopes": ["bgColor", "borderColor"]
1481
1722
  }
1482
1723
  },
1483
1724
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1490,7 +1731,7 @@
1490
1731
  "collection": "mode",
1491
1732
  "mode": "dark",
1492
1733
  "group": "component",
1493
- "scopes": ["bgColor"]
1734
+ "scopes": ["bgColor", "borderColor"]
1494
1735
  }
1495
1736
  }
1496
1737
  },
@@ -1535,7 +1776,7 @@
1535
1776
  "collection": "mode",
1536
1777
  "mode": "dark",
1537
1778
  "group": "component",
1538
- "scopes": ["bgColor"]
1779
+ "scopes": ["bgColor", "borderColor"]
1539
1780
  }
1540
1781
  },
1541
1782
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1548,7 +1789,7 @@
1548
1789
  "collection": "mode",
1549
1790
  "mode": "dark",
1550
1791
  "group": "component",
1551
- "scopes": ["bgColor"]
1792
+ "scopes": ["bgColor", "borderColor"]
1552
1793
  }
1553
1794
  }
1554
1795
  },
@@ -1593,7 +1834,7 @@
1593
1834
  "collection": "mode",
1594
1835
  "mode": "dark",
1595
1836
  "group": "component",
1596
- "scopes": ["bgColor"]
1837
+ "scopes": ["bgColor", "borderColor"]
1597
1838
  }
1598
1839
  },
1599
1840
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1606,7 +1847,7 @@
1606
1847
  "collection": "mode",
1607
1848
  "mode": "dark",
1608
1849
  "group": "component",
1609
- "scopes": ["bgColor"]
1850
+ "scopes": ["bgColor", "borderColor"]
1610
1851
  }
1611
1852
  }
1612
1853
  },
@@ -5632,6 +5873,35 @@
5632
5873
  "attributes": {},
5633
5874
  "path": ["button", "invisible", "fgColor", "hover"]
5634
5875
  },
5876
+ "button-invisible-fgColor-active": {
5877
+ "$value": "#25292e",
5878
+ "$type": "color",
5879
+ "$extensions": {
5880
+ "org.primer.figma": {
5881
+ "collection": "mode",
5882
+ "mode": "light",
5883
+ "group": "component (internal)",
5884
+ "scopes": ["fgColor"]
5885
+ }
5886
+ },
5887
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
5888
+ "isSource": true,
5889
+ "original": {
5890
+ "$value": "{control.fgColor.rest}",
5891
+ "$type": "color",
5892
+ "$extensions": {
5893
+ "org.primer.figma": {
5894
+ "collection": "mode",
5895
+ "mode": "light",
5896
+ "group": "component (internal)",
5897
+ "scopes": ["fgColor"]
5898
+ }
5899
+ }
5900
+ },
5901
+ "name": "button-invisible-fgColor-active",
5902
+ "attributes": {},
5903
+ "path": ["button", "invisible", "fgColor", "active"]
5904
+ },
5635
5905
  "button-invisible-fgColor-disabled": {
5636
5906
  "$value": "#59636e",
5637
5907
  "$type": "color",