@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,20 +70,95 @@
70
70
  "value": "#e6eaef",
71
71
  "type": "color"
72
72
  },
73
- "diffBlob-addition-fgColor-text": {
73
+ "diffBlob-additionLine-fgColor": {
74
+ "$extensions": {
75
+ "org.primer.figma": {
76
+ "collection": "mode",
77
+ "mode": "light",
78
+ "group": "component",
79
+ "scopes": ["fgColor"]
80
+ }
81
+ },
82
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
83
+ "isSource": true,
84
+ "original": {
85
+ "$value": "{fgColor.default}",
86
+ "$type": "color",
87
+ "$extensions": {
88
+ "org.primer.figma": {
89
+ "collection": "mode",
90
+ "mode": "light",
91
+ "group": "component",
92
+ "scopes": ["fgColor"]
93
+ }
94
+ }
95
+ },
96
+ "name": "diffBlob-additionLine-fgColor",
97
+ "attributes": {},
98
+ "path": ["diffBlob", "additionLine", "fgColor"],
99
+ "value": "#010409",
100
+ "type": "color"
101
+ },
102
+ "diffBlob-additionLine-bgColor": {
103
+ "$extensions": {
104
+ "org.primer.figma": {
105
+ "collection": "mode",
106
+ "mode": "light",
107
+ "group": "component",
108
+ "scopes": ["bgColor"]
109
+ }
110
+ },
111
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
112
+ "isSource": true,
113
+ "original": {
114
+ "$value": "{bgColor.success.muted}",
115
+ "$type": "color",
116
+ "$extensions": {
117
+ "org.primer.figma": {
118
+ "collection": "mode",
119
+ "mode": "light",
120
+ "group": "component",
121
+ "scopes": ["bgColor"]
122
+ }
123
+ }
124
+ },
125
+ "name": "diffBlob-additionLine-bgColor",
126
+ "attributes": {},
127
+ "path": ["diffBlob", "additionLine", "bgColor"],
128
+ "value": "#d2fedb",
129
+ "type": "color"
130
+ },
131
+ "diffBlob-additionWord-fgColor": {
74
132
  "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
75
133
  "isSource": true,
76
134
  "original": {
77
135
  "$value": "{fgColor.onEmphasis}",
78
136
  "$type": "color"
79
137
  },
80
- "name": "diffBlob-addition-fgColor-text",
138
+ "name": "diffBlob-additionWord-fgColor",
81
139
  "attributes": {},
82
- "path": ["diffBlob", "addition", "fgColor", "text"],
140
+ "path": ["diffBlob", "additionWord", "fgColor"],
83
141
  "value": "#ffffff",
84
142
  "type": "color"
85
143
  },
86
- "diffBlob-addition-fgColor-num": {
144
+ "diffBlob-additionWord-bgColor": {
145
+ "mix": null,
146
+ "alpha": 1,
147
+ "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
148
+ "isSource": true,
149
+ "original": {
150
+ "$value": "{base.color.green.5}",
151
+ "$type": "color",
152
+ "mix": null,
153
+ "alpha": 1
154
+ },
155
+ "name": "diffBlob-additionWord-bgColor",
156
+ "attributes": {},
157
+ "path": ["diffBlob", "additionWord", "bgColor"],
158
+ "value": "#055d20",
159
+ "type": "color"
160
+ },
161
+ "diffBlob-additionNum-fgColor": {
87
162
  "$extensions": {
88
163
  "org.primer.figma": {
89
164
  "collection": "mode",
@@ -106,13 +181,13 @@
106
181
  }
107
182
  }
108
183
  },
109
- "name": "diffBlob-addition-fgColor-num",
184
+ "name": "diffBlob-additionNum-fgColor",
110
185
  "attributes": {},
111
- "path": ["diffBlob", "addition", "fgColor", "num"],
186
+ "path": ["diffBlob", "additionNum", "fgColor"],
112
187
  "value": "#010409",
113
188
  "type": "color"
114
189
  },
115
- "diffBlob-addition-bgColor-num": {
190
+ "diffBlob-additionNum-bgColor": {
116
191
  "$extensions": {
117
192
  "org.primer.figma": {
118
193
  "collection": "mode",
@@ -121,10 +196,6 @@
121
196
  "scopes": ["bgColor"]
122
197
  }
123
198
  },
124
- "mix": {
125
- "color": "#d2fedb",
126
- "weight": 0.8
127
- },
128
199
  "filePath": "src/tokens/functional/color/light/app-light.json5",
129
200
  "isSource": true,
130
201
  "original": {
@@ -137,19 +208,44 @@
137
208
  "group": "component",
138
209
  "scopes": ["bgColor"]
139
210
  }
140
- },
141
- "mix": {
142
- "color": "{base.color.green.0}",
143
- "weight": 0.8
144
211
  }
145
212
  },
146
- "name": "diffBlob-addition-bgColor-num",
213
+ "name": "diffBlob-additionNum-bgColor",
147
214
  "attributes": {},
148
- "path": ["diffBlob", "addition", "bgColor", "num"],
149
- "value": "#c2f9cd",
215
+ "path": ["diffBlob", "additionNum", "bgColor"],
216
+ "value": "#82e596",
150
217
  "type": "color"
151
218
  },
152
- "diffBlob-addition-bgColor-line": {
219
+ "diffBlob-deletionLine-fgColor": {
220
+ "$extensions": {
221
+ "org.primer.figma": {
222
+ "collection": "mode",
223
+ "mode": "light",
224
+ "group": "component",
225
+ "scopes": ["fgColor"]
226
+ }
227
+ },
228
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
229
+ "isSource": true,
230
+ "original": {
231
+ "$value": "{fgColor.default}",
232
+ "$type": "color",
233
+ "$extensions": {
234
+ "org.primer.figma": {
235
+ "collection": "mode",
236
+ "mode": "light",
237
+ "group": "component",
238
+ "scopes": ["fgColor"]
239
+ }
240
+ }
241
+ },
242
+ "name": "diffBlob-deletionLine-fgColor",
243
+ "attributes": {},
244
+ "path": ["diffBlob", "deletionLine", "fgColor"],
245
+ "value": "#010409",
246
+ "type": "color"
247
+ },
248
+ "diffBlob-deletionLine-bgColor": {
153
249
  "$extensions": {
154
250
  "org.primer.figma": {
155
251
  "collection": "mode",
@@ -161,7 +257,7 @@
161
257
  "filePath": "src/tokens/functional/color/light/app-light.json5",
162
258
  "isSource": true,
163
259
  "original": {
164
- "$value": "{base.color.green.0}",
260
+ "$value": "{bgColor.danger.muted}",
165
261
  "$type": "color",
166
262
  "$extensions": {
167
263
  "org.primer.figma": {
@@ -172,39 +268,43 @@
172
268
  }
173
269
  }
174
270
  },
175
- "name": "diffBlob-addition-bgColor-line",
271
+ "name": "diffBlob-deletionLine-bgColor",
176
272
  "attributes": {},
177
- "path": ["diffBlob", "addition", "bgColor", "line"],
178
- "value": "#d2fedb",
273
+ "path": ["diffBlob", "deletionLine", "bgColor"],
274
+ "value": "#fff0ee",
179
275
  "type": "color"
180
276
  },
181
- "diffBlob-addition-bgColor-word": {
277
+ "diffBlob-deletionWord-fgColor": {
182
278
  "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
183
279
  "isSource": true,
184
280
  "original": {
185
- "$value": "{base.color.green.4}",
281
+ "$value": "{fgColor.onEmphasis}",
186
282
  "$type": "color"
187
283
  },
188
- "name": "diffBlob-addition-bgColor-word",
284
+ "name": "diffBlob-deletionWord-fgColor",
189
285
  "attributes": {},
190
- "path": ["diffBlob", "addition", "bgColor", "word"],
191
- "value": "#117f32",
286
+ "path": ["diffBlob", "deletionWord", "fgColor"],
287
+ "value": "#ffffff",
192
288
  "type": "color"
193
289
  },
194
- "diffBlob-deletion-fgColor-text": {
290
+ "diffBlob-deletionWord-bgColor": {
291
+ "mix": null,
292
+ "alpha": 1,
195
293
  "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
196
294
  "isSource": true,
197
295
  "original": {
198
- "$value": "{fgColor.onEmphasis}",
199
- "$type": "color"
296
+ "$value": "{base.color.red.5}",
297
+ "$type": "color",
298
+ "mix": null,
299
+ "alpha": 1
200
300
  },
201
- "name": "diffBlob-deletion-fgColor-text",
301
+ "name": "diffBlob-deletionWord-bgColor",
202
302
  "attributes": {},
203
- "path": ["diffBlob", "deletion", "fgColor", "text"],
204
- "value": "#ffffff",
303
+ "path": ["diffBlob", "deletionWord", "bgColor"],
304
+ "value": "#a0111f",
205
305
  "type": "color"
206
306
  },
207
- "diffBlob-deletion-fgColor-num": {
307
+ "diffBlob-deletionNum-fgColor": {
208
308
  "$extensions": {
209
309
  "org.primer.figma": {
210
310
  "collection": "mode",
@@ -227,13 +327,13 @@
227
327
  }
228
328
  }
229
329
  },
230
- "name": "diffBlob-deletion-fgColor-num",
330
+ "name": "diffBlob-deletionNum-fgColor",
231
331
  "attributes": {},
232
- "path": ["diffBlob", "deletion", "fgColor", "num"],
332
+ "path": ["diffBlob", "deletionNum", "fgColor"],
233
333
  "value": "#010409",
234
334
  "type": "color"
235
335
  },
236
- "diffBlob-deletion-bgColor-num": {
336
+ "diffBlob-deletionNum-bgColor": {
237
337
  "$extensions": {
238
338
  "org.primer.figma": {
239
339
  "collection": "mode",
@@ -256,13 +356,13 @@
256
356
  }
257
357
  }
258
358
  },
259
- "name": "diffBlob-deletion-bgColor-num",
359
+ "name": "diffBlob-deletionNum-bgColor",
260
360
  "attributes": {},
261
- "path": ["diffBlob", "deletion", "bgColor", "num"],
361
+ "path": ["diffBlob", "deletionNum", "bgColor"],
262
362
  "value": "#ffc1bc",
263
363
  "type": "color"
264
364
  },
265
- "diffBlob-deletion-bgColor-line": {
365
+ "diffBlob-hunkLine-bgColor": {
266
366
  "$extensions": {
267
367
  "org.primer.figma": {
268
368
  "collection": "mode",
@@ -274,7 +374,7 @@
274
374
  "filePath": "src/tokens/functional/color/light/app-light.json5",
275
375
  "isSource": true,
276
376
  "original": {
277
- "$value": "{base.color.red.0}",
377
+ "$value": "{bgColor.accent.muted}",
278
378
  "$type": "color",
279
379
  "$extensions": {
280
380
  "org.primer.figma": {
@@ -285,30 +385,100 @@
285
385
  }
286
386
  }
287
387
  },
288
- "name": "diffBlob-deletion-bgColor-line",
388
+ "name": "diffBlob-hunkLine-bgColor",
289
389
  "attributes": {},
290
- "path": ["diffBlob", "deletion", "bgColor", "line"],
291
- "value": "#fff0ee",
390
+ "path": ["diffBlob", "hunkLine", "bgColor"],
391
+ "value": "#dff7ff",
292
392
  "type": "color"
293
393
  },
294
- "diffBlob-deletion-bgColor-word": {
295
- "mix": null,
296
- "alpha": 1,
297
- "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
394
+ "diffBlob-hunkLine-fgColor": {
395
+ "$extensions": {
396
+ "org.primer.figma": {
397
+ "collection": "mode",
398
+ "mode": "light",
399
+ "group": "component",
400
+ "scopes": ["fgColor"]
401
+ }
402
+ },
403
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
298
404
  "isSource": true,
299
405
  "original": {
300
- "$value": "{base.color.red.5}",
406
+ "$value": "{fgColor.muted}",
301
407
  "$type": "color",
302
- "mix": null,
303
- "alpha": 1
408
+ "$extensions": {
409
+ "org.primer.figma": {
410
+ "collection": "mode",
411
+ "mode": "light",
412
+ "group": "component",
413
+ "scopes": ["fgColor"]
414
+ }
415
+ }
304
416
  },
305
- "name": "diffBlob-deletion-bgColor-word",
417
+ "name": "diffBlob-hunkLine-fgColor",
306
418
  "attributes": {},
307
- "path": ["diffBlob", "deletion", "bgColor", "word"],
308
- "value": "#a0111f",
419
+ "path": ["diffBlob", "hunkLine", "fgColor"],
420
+ "value": "#454c54",
421
+ "type": "color"
422
+ },
423
+ "diffBlob-hunkNum-fgColor-rest": {
424
+ "$extensions": {
425
+ "org.primer.figma": {
426
+ "collection": "mode",
427
+ "mode": "light",
428
+ "group": "component",
429
+ "scopes": ["fgColor"]
430
+ }
431
+ },
432
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
433
+ "isSource": true,
434
+ "original": {
435
+ "$value": "{fgColor.default}",
436
+ "$type": "color",
437
+ "$extensions": {
438
+ "org.primer.figma": {
439
+ "collection": "mode",
440
+ "mode": "light",
441
+ "group": "component",
442
+ "scopes": ["fgColor"]
443
+ }
444
+ }
445
+ },
446
+ "name": "diffBlob-hunkNum-fgColor-rest",
447
+ "attributes": {},
448
+ "path": ["diffBlob", "hunkNum", "fgColor", "rest"],
449
+ "value": "#010409",
450
+ "type": "color"
451
+ },
452
+ "diffBlob-hunkNum-fgColor-hover": {
453
+ "$extensions": {
454
+ "org.primer.figma": {
455
+ "collection": "mode",
456
+ "mode": "light",
457
+ "group": "component",
458
+ "scopes": ["fgColor"]
459
+ }
460
+ },
461
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
462
+ "isSource": true,
463
+ "original": {
464
+ "$value": "{fgColor.onEmphasis}",
465
+ "$type": "color",
466
+ "$extensions": {
467
+ "org.primer.figma": {
468
+ "collection": "mode",
469
+ "mode": "light",
470
+ "group": "component",
471
+ "scopes": ["fgColor"]
472
+ }
473
+ }
474
+ },
475
+ "name": "diffBlob-hunkNum-fgColor-hover",
476
+ "attributes": {},
477
+ "path": ["diffBlob", "hunkNum", "fgColor", "hover"],
478
+ "value": "#ffffff",
309
479
  "type": "color"
310
480
  },
311
- "diffBlob-hunk-bgColor-num": {
481
+ "diffBlob-hunkNum-bgColor-rest": {
312
482
  "alpha": 1,
313
483
  "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
314
484
  "isSource": true,
@@ -317,39 +487,110 @@
317
487
  "$type": "color",
318
488
  "alpha": 1
319
489
  },
320
- "name": "diffBlob-hunk-bgColor-num",
490
+ "name": "diffBlob-hunkNum-bgColor-rest",
321
491
  "attributes": {},
322
- "path": ["diffBlob", "hunk", "bgColor", "num"],
492
+ "path": ["diffBlob", "hunkNum", "bgColor", "rest"],
323
493
  "value": "#9cd7ff",
324
494
  "type": "color"
325
495
  },
326
- "diffBlob-expander-iconColor": {
496
+ "diffBlob-hunkNum-bgColor-hover": {
327
497
  "$extensions": {
328
498
  "org.primer.figma": {
329
499
  "collection": "mode",
330
500
  "mode": "light",
331
501
  "group": "component",
332
- "scopes": ["fgColor"]
502
+ "scopes": ["bgColor"]
333
503
  }
334
504
  },
335
505
  "filePath": "src/tokens/functional/color/light/app-light.json5",
336
506
  "isSource": true,
337
507
  "original": {
338
- "$value": "{fgColor.muted}",
508
+ "$value": "{bgColor.accent.emphasis}",
339
509
  "$type": "color",
340
510
  "$extensions": {
341
511
  "org.primer.figma": {
342
512
  "collection": "mode",
343
513
  "mode": "light",
344
514
  "group": "component",
345
- "scopes": ["fgColor"]
515
+ "scopes": ["bgColor"]
346
516
  }
347
517
  }
348
518
  },
519
+ "name": "diffBlob-hunkNum-bgColor-hover",
520
+ "attributes": {},
521
+ "path": ["diffBlob", "hunkNum", "bgColor", "hover"],
522
+ "value": "#0349b4",
523
+ "type": "color"
524
+ },
525
+ "diffBlob-emptyNum-bgColor": {
526
+ "$extensions": {
527
+ "org.primer.figma": {
528
+ "collection": "mode",
529
+ "mode": "light",
530
+ "group": "component",
531
+ "scopes": ["bgColor"]
532
+ }
533
+ },
534
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
535
+ "isSource": true,
536
+ "original": {
537
+ "$value": "{bgColor.muted}",
538
+ "$type": "color",
539
+ "$extensions": {
540
+ "org.primer.figma": {
541
+ "collection": "mode",
542
+ "mode": "light",
543
+ "group": "component",
544
+ "scopes": ["bgColor"]
545
+ }
546
+ }
547
+ },
548
+ "name": "diffBlob-emptyNum-bgColor",
549
+ "attributes": {},
550
+ "path": ["diffBlob", "emptyNum", "bgColor"],
551
+ "value": "#e6eaef",
552
+ "type": "color"
553
+ },
554
+ "diffBlob-emptyLine-bgColor": {
555
+ "$extensions": {
556
+ "org.primer.figma": {
557
+ "collection": "mode",
558
+ "mode": "light",
559
+ "group": "component",
560
+ "scopes": ["bgColor"]
561
+ }
562
+ },
563
+ "filePath": "src/tokens/functional/color/light/app-light.json5",
564
+ "isSource": true,
565
+ "original": {
566
+ "$value": "{bgColor.muted}",
567
+ "$type": "color",
568
+ "$extensions": {
569
+ "org.primer.figma": {
570
+ "collection": "mode",
571
+ "mode": "light",
572
+ "group": "component",
573
+ "scopes": ["bgColor"]
574
+ }
575
+ }
576
+ },
577
+ "name": "diffBlob-emptyLine-bgColor",
578
+ "attributes": {},
579
+ "path": ["diffBlob", "emptyLine", "bgColor"],
580
+ "value": "#e6eaef",
581
+ "type": "color"
582
+ },
583
+ "diffBlob-expander-iconColor": {
584
+ "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
585
+ "isSource": true,
586
+ "original": {
587
+ "$value": "{fgColor.default}",
588
+ "$type": "color"
589
+ },
349
590
  "name": "diffBlob-expander-iconColor",
350
591
  "attributes": {},
351
592
  "path": ["diffBlob", "expander", "iconColor"],
352
- "value": "#454c54",
593
+ "value": "#010409",
353
594
  "type": "color"
354
595
  },
355
596
  "codeMirror-fgColor": {
@@ -1069,7 +1310,7 @@
1069
1310
  "collection": "mode",
1070
1311
  "mode": "dark",
1071
1312
  "group": "component",
1072
- "scopes": ["bgColor"]
1313
+ "scopes": ["bgColor", "borderColor"]
1073
1314
  }
1074
1315
  },
1075
1316
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1082,7 +1323,7 @@
1082
1323
  "collection": "mode",
1083
1324
  "mode": "dark",
1084
1325
  "group": "component",
1085
- "scopes": ["bgColor"]
1326
+ "scopes": ["bgColor", "borderColor"]
1086
1327
  }
1087
1328
  }
1088
1329
  },
@@ -1127,7 +1368,7 @@
1127
1368
  "collection": "mode",
1128
1369
  "mode": "dark",
1129
1370
  "group": "component",
1130
- "scopes": ["bgColor"]
1371
+ "scopes": ["bgColor", "borderColor"]
1131
1372
  }
1132
1373
  },
1133
1374
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1140,7 +1381,7 @@
1140
1381
  "collection": "mode",
1141
1382
  "mode": "dark",
1142
1383
  "group": "component",
1143
- "scopes": ["bgColor"]
1384
+ "scopes": ["bgColor", "borderColor"]
1144
1385
  }
1145
1386
  }
1146
1387
  },
@@ -1185,7 +1426,7 @@
1185
1426
  "collection": "mode",
1186
1427
  "mode": "dark",
1187
1428
  "group": "component",
1188
- "scopes": ["bgColor"]
1429
+ "scopes": ["bgColor", "borderColor"]
1189
1430
  }
1190
1431
  },
1191
1432
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1198,7 +1439,7 @@
1198
1439
  "collection": "mode",
1199
1440
  "mode": "dark",
1200
1441
  "group": "component",
1201
- "scopes": ["bgColor"]
1442
+ "scopes": ["bgColor", "borderColor"]
1202
1443
  }
1203
1444
  }
1204
1445
  },
@@ -1243,7 +1484,7 @@
1243
1484
  "collection": "mode",
1244
1485
  "mode": "dark",
1245
1486
  "group": "component",
1246
- "scopes": ["bgColor"]
1487
+ "scopes": ["bgColor", "borderColor"]
1247
1488
  }
1248
1489
  },
1249
1490
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1256,7 +1497,7 @@
1256
1497
  "collection": "mode",
1257
1498
  "mode": "dark",
1258
1499
  "group": "component",
1259
- "scopes": ["bgColor"]
1500
+ "scopes": ["bgColor", "borderColor"]
1260
1501
  }
1261
1502
  }
1262
1503
  },
@@ -1301,7 +1542,7 @@
1301
1542
  "collection": "mode",
1302
1543
  "mode": "dark",
1303
1544
  "group": "component",
1304
- "scopes": ["bgColor"]
1545
+ "scopes": ["bgColor", "borderColor"]
1305
1546
  }
1306
1547
  },
1307
1548
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1314,7 +1555,7 @@
1314
1555
  "collection": "mode",
1315
1556
  "mode": "dark",
1316
1557
  "group": "component",
1317
- "scopes": ["bgColor"]
1558
+ "scopes": ["bgColor", "borderColor"]
1318
1559
  }
1319
1560
  }
1320
1561
  },
@@ -1359,7 +1600,7 @@
1359
1600
  "collection": "mode",
1360
1601
  "mode": "dark",
1361
1602
  "group": "component",
1362
- "scopes": ["bgColor"]
1603
+ "scopes": ["bgColor", "borderColor"]
1363
1604
  }
1364
1605
  },
1365
1606
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1372,7 +1613,7 @@
1372
1613
  "collection": "mode",
1373
1614
  "mode": "dark",
1374
1615
  "group": "component",
1375
- "scopes": ["bgColor"]
1616
+ "scopes": ["bgColor", "borderColor"]
1376
1617
  }
1377
1618
  }
1378
1619
  },
@@ -1417,7 +1658,7 @@
1417
1658
  "collection": "mode",
1418
1659
  "mode": "dark",
1419
1660
  "group": "component",
1420
- "scopes": ["bgColor"]
1661
+ "scopes": ["bgColor", "borderColor"]
1421
1662
  }
1422
1663
  },
1423
1664
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1430,7 +1671,7 @@
1430
1671
  "collection": "mode",
1431
1672
  "mode": "dark",
1432
1673
  "group": "component",
1433
- "scopes": ["bgColor"]
1674
+ "scopes": ["bgColor", "borderColor"]
1434
1675
  }
1435
1676
  }
1436
1677
  },
@@ -1475,7 +1716,7 @@
1475
1716
  "collection": "mode",
1476
1717
  "mode": "dark",
1477
1718
  "group": "component",
1478
- "scopes": ["bgColor"]
1719
+ "scopes": ["bgColor", "borderColor"]
1479
1720
  }
1480
1721
  },
1481
1722
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1488,7 +1729,7 @@
1488
1729
  "collection": "mode",
1489
1730
  "mode": "dark",
1490
1731
  "group": "component",
1491
- "scopes": ["bgColor"]
1732
+ "scopes": ["bgColor", "borderColor"]
1492
1733
  }
1493
1734
  }
1494
1735
  },
@@ -1533,7 +1774,7 @@
1533
1774
  "collection": "mode",
1534
1775
  "mode": "dark",
1535
1776
  "group": "component",
1536
- "scopes": ["bgColor"]
1777
+ "scopes": ["bgColor", "borderColor"]
1537
1778
  }
1538
1779
  },
1539
1780
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1546,7 +1787,7 @@
1546
1787
  "collection": "mode",
1547
1788
  "mode": "dark",
1548
1789
  "group": "component",
1549
- "scopes": ["bgColor"]
1790
+ "scopes": ["bgColor", "borderColor"]
1550
1791
  }
1551
1792
  }
1552
1793
  },
@@ -1591,7 +1832,7 @@
1591
1832
  "collection": "mode",
1592
1833
  "mode": "dark",
1593
1834
  "group": "component",
1594
- "scopes": ["bgColor"]
1835
+ "scopes": ["bgColor", "borderColor"]
1595
1836
  }
1596
1837
  },
1597
1838
  "filePath": "src/tokens/functional/color/light/data-vis-light.json5",
@@ -1604,7 +1845,7 @@
1604
1845
  "collection": "mode",
1605
1846
  "mode": "dark",
1606
1847
  "group": "component",
1607
- "scopes": ["bgColor"]
1848
+ "scopes": ["bgColor", "borderColor"]
1608
1849
  }
1609
1850
  }
1610
1851
  },
@@ -5632,6 +5873,35 @@
5632
5873
  "value": "#393f46",
5633
5874
  "type": "color"
5634
5875
  },
5876
+ "button-invisible-fgColor-active": {
5877
+ "$extensions": {
5878
+ "org.primer.figma": {
5879
+ "collection": "mode",
5880
+ "mode": "light",
5881
+ "group": "component (internal)",
5882
+ "scopes": ["fgColor"]
5883
+ }
5884
+ },
5885
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
5886
+ "isSource": true,
5887
+ "original": {
5888
+ "$value": "{control.fgColor.rest}",
5889
+ "$type": "color",
5890
+ "$extensions": {
5891
+ "org.primer.figma": {
5892
+ "collection": "mode",
5893
+ "mode": "light",
5894
+ "group": "component (internal)",
5895
+ "scopes": ["fgColor"]
5896
+ }
5897
+ }
5898
+ },
5899
+ "name": "button-invisible-fgColor-active",
5900
+ "attributes": {},
5901
+ "path": ["button", "invisible", "fgColor", "active"],
5902
+ "value": "#25292e",
5903
+ "type": "color"
5904
+ },
5635
5905
  "button-invisible-fgColor-disabled": {
5636
5906
  "$extensions": {
5637
5907
  "org.primer.figma": {