@primer/primitives 8.2.4-rc.fba4a4ab → 9.0.0-rc.02c27a21

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 (64) hide show
  1. package/dist/css/functional/size/size.css +0 -6
  2. package/dist/css/functional/themes/dark-colorblind.css +26 -20
  3. package/dist/css/functional/themes/dark-dimmed.css +26 -20
  4. package/dist/css/functional/themes/dark-high-contrast.css +28 -22
  5. package/dist/css/functional/themes/dark-tritanopia.css +26 -20
  6. package/dist/css/functional/themes/dark.css +26 -20
  7. package/dist/css/functional/themes/light-colorblind.css +26 -20
  8. package/dist/css/functional/themes/light-high-contrast.css +28 -22
  9. package/dist/css/functional/themes/light-tritanopia.css +26 -20
  10. package/dist/css/functional/themes/light.css +26 -20
  11. package/dist/css/primitives.css +0 -6
  12. package/dist/docs/functional/size/size.json +0 -162
  13. package/dist/docs/functional/themes/dark-colorblind.json +117 -30
  14. package/dist/docs/functional/themes/dark-dimmed.json +117 -30
  15. package/dist/docs/functional/themes/dark-high-contrast.json +120 -33
  16. package/dist/docs/functional/themes/dark-tritanopia.json +117 -30
  17. package/dist/docs/functional/themes/dark.json +117 -30
  18. package/dist/docs/functional/themes/light-colorblind.json +117 -30
  19. package/dist/docs/functional/themes/light-high-contrast.json +120 -33
  20. package/dist/docs/functional/themes/light-tritanopia.json +117 -30
  21. package/dist/docs/functional/themes/light.json +117 -30
  22. package/dist/fallbacks/color-fallbacks.json +11 -1
  23. package/dist/fallbacks/functional/size/size.json +0 -6
  24. package/dist/figma/dimension/dimension.json +0 -64
  25. package/dist/figma/themes/dark-colorblind.json +68 -20
  26. package/dist/figma/themes/dark-dimmed.json +68 -20
  27. package/dist/figma/themes/dark-high-contrast.json +84 -36
  28. package/dist/figma/themes/dark-tritanopia.json +68 -20
  29. package/dist/figma/themes/dark.json +68 -20
  30. package/dist/figma/themes/light-colorblind.json +68 -20
  31. package/dist/figma/themes/light-high-contrast.json +84 -36
  32. package/dist/figma/themes/light-tritanopia.json +68 -20
  33. package/dist/figma/themes/light.json +68 -20
  34. package/dist/internalCss/dark-colorblind.css +26 -20
  35. package/dist/internalCss/dark-dimmed.css +26 -20
  36. package/dist/internalCss/dark-high-contrast.css +28 -22
  37. package/dist/internalCss/dark-tritanopia.css +26 -20
  38. package/dist/internalCss/dark.css +26 -20
  39. package/dist/internalCss/light-colorblind.css +26 -20
  40. package/dist/internalCss/light-high-contrast.css +28 -22
  41. package/dist/internalCss/light-tritanopia.css +26 -20
  42. package/dist/internalCss/light.css +26 -20
  43. package/dist/styleLint/functional/size/size.json +0 -162
  44. package/dist/styleLint/functional/themes/dark-colorblind.json +117 -30
  45. package/dist/styleLint/functional/themes/dark-dimmed.json +117 -30
  46. package/dist/styleLint/functional/themes/dark-high-contrast.json +120 -33
  47. package/dist/styleLint/functional/themes/dark-tritanopia.json +117 -30
  48. package/dist/styleLint/functional/themes/dark.json +117 -30
  49. package/dist/styleLint/functional/themes/light-colorblind.json +117 -30
  50. package/dist/styleLint/functional/themes/light-high-contrast.json +120 -33
  51. package/dist/styleLint/functional/themes/light-tritanopia.json +117 -30
  52. package/dist/styleLint/functional/themes/light.json +117 -30
  53. package/package.json +1 -1
  54. package/src/tokens/fallback/color-fallbacks.json +11 -1
  55. package/src/tokens/functional/color/dark/data-vis-dark.json5 +10 -10
  56. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +16 -0
  57. package/src/tokens/functional/color/dark/patterns-dark.json5 +26 -0
  58. package/src/tokens/functional/color/dark/primitives-dark.json5 +12 -0
  59. package/src/tokens/functional/color/light/data-vis-light.json5 +10 -10
  60. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +6 -0
  61. package/src/tokens/functional/color/light/patterns-light.json5 +26 -0
  62. package/src/tokens/functional/color/light/primitives-light.json5 +12 -0
  63. package/src/tokens/functional/size/size.json +0 -68
  64. package/dist/deprecated/size.json +0 -8
@@ -1173,7 +1173,7 @@
1173
1173
  "attributes": {},
1174
1174
  "path": ["headerSearch", "borderColor"]
1175
1175
  },
1176
- "data-blue-color": {
1176
+ "data-blue-color-emphasis": {
1177
1177
  "value": "#006edb",
1178
1178
  "$type": "color",
1179
1179
  "$extensions": {
@@ -1198,9 +1198,9 @@
1198
1198
  }
1199
1199
  }
1200
1200
  },
1201
- "name": "data-blue-color",
1201
+ "name": "data-blue-color-emphasis",
1202
1202
  "attributes": {},
1203
- "path": ["data", "blue", "color", "@"]
1203
+ "path": ["data", "blue", "color", "emphasis"]
1204
1204
  },
1205
1205
  "data-blue-color-muted": {
1206
1206
  "value": "#d1f0ff",
@@ -1231,7 +1231,7 @@
1231
1231
  "attributes": {},
1232
1232
  "path": ["data", "blue", "color", "muted"]
1233
1233
  },
1234
- "data-auburn-color": {
1234
+ "data-auburn-color-emphasis": {
1235
1235
  "value": "#9d615c",
1236
1236
  "$type": "color",
1237
1237
  "$extensions": {
@@ -1256,9 +1256,9 @@
1256
1256
  }
1257
1257
  }
1258
1258
  },
1259
- "name": "data-auburn-color",
1259
+ "name": "data-auburn-color-emphasis",
1260
1260
  "attributes": {},
1261
- "path": ["data", "auburn", "color", "@"]
1261
+ "path": ["data", "auburn", "color", "emphasis"]
1262
1262
  },
1263
1263
  "data-auburn-color-muted": {
1264
1264
  "value": "#f2e9e9",
@@ -1289,7 +1289,7 @@
1289
1289
  "attributes": {},
1290
1290
  "path": ["data", "auburn", "color", "muted"]
1291
1291
  },
1292
- "data-orange-color": {
1292
+ "data-orange-color-emphasis": {
1293
1293
  "value": "#eb670f",
1294
1294
  "$type": "color",
1295
1295
  "$extensions": {
@@ -1314,9 +1314,9 @@
1314
1314
  }
1315
1315
  }
1316
1316
  },
1317
- "name": "data-orange-color",
1317
+ "name": "data-orange-color-emphasis",
1318
1318
  "attributes": {},
1319
- "path": ["data", "orange", "color", "@"]
1319
+ "path": ["data", "orange", "color", "emphasis"]
1320
1320
  },
1321
1321
  "data-orange-color-muted": {
1322
1322
  "value": "#ffe7d1",
@@ -1347,7 +1347,7 @@
1347
1347
  "attributes": {},
1348
1348
  "path": ["data", "orange", "color", "muted"]
1349
1349
  },
1350
- "data-yellow-color": {
1350
+ "data-yellow-color-emphasis": {
1351
1351
  "value": "#b88700",
1352
1352
  "$type": "color",
1353
1353
  "$extensions": {
@@ -1372,9 +1372,9 @@
1372
1372
  }
1373
1373
  }
1374
1374
  },
1375
- "name": "data-yellow-color",
1375
+ "name": "data-yellow-color-emphasis",
1376
1376
  "attributes": {},
1377
- "path": ["data", "yellow", "color", "@"]
1377
+ "path": ["data", "yellow", "color", "emphasis"]
1378
1378
  },
1379
1379
  "data-yellow-color-muted": {
1380
1380
  "value": "#ffec9e",
@@ -1405,7 +1405,7 @@
1405
1405
  "attributes": {},
1406
1406
  "path": ["data", "yellow", "color", "muted"]
1407
1407
  },
1408
- "data-green-color": {
1408
+ "data-green-color-emphasis": {
1409
1409
  "value": "#30a147",
1410
1410
  "$type": "color",
1411
1411
  "$extensions": {
@@ -1430,9 +1430,9 @@
1430
1430
  }
1431
1431
  }
1432
1432
  },
1433
- "name": "data-green-color",
1433
+ "name": "data-green-color-emphasis",
1434
1434
  "attributes": {},
1435
- "path": ["data", "green", "color", "@"]
1435
+ "path": ["data", "green", "color", "emphasis"]
1436
1436
  },
1437
1437
  "data-green-color-muted": {
1438
1438
  "value": "#caf7ca",
@@ -1463,7 +1463,7 @@
1463
1463
  "attributes": {},
1464
1464
  "path": ["data", "green", "color", "muted"]
1465
1465
  },
1466
- "data-teal-color": {
1466
+ "data-teal-color-emphasis": {
1467
1467
  "value": "#179b9b",
1468
1468
  "$type": "color",
1469
1469
  "$extensions": {
@@ -1488,9 +1488,9 @@
1488
1488
  }
1489
1489
  }
1490
1490
  },
1491
- "name": "data-teal-color",
1491
+ "name": "data-teal-color-emphasis",
1492
1492
  "attributes": {},
1493
- "path": ["data", "teal", "color", "@"]
1493
+ "path": ["data", "teal", "color", "emphasis"]
1494
1494
  },
1495
1495
  "data-teal-color-muted": {
1496
1496
  "value": "#c7f5ef",
@@ -1521,7 +1521,7 @@
1521
1521
  "attributes": {},
1522
1522
  "path": ["data", "teal", "color", "muted"]
1523
1523
  },
1524
- "data-purple-color": {
1524
+ "data-purple-color-emphasis": {
1525
1525
  "value": "#894ceb",
1526
1526
  "$type": "color",
1527
1527
  "$extensions": {
@@ -1546,9 +1546,9 @@
1546
1546
  }
1547
1547
  }
1548
1548
  },
1549
- "name": "data-purple-color",
1549
+ "name": "data-purple-color-emphasis",
1550
1550
  "attributes": {},
1551
- "path": ["data", "purple", "color", "@"]
1551
+ "path": ["data", "purple", "color", "emphasis"]
1552
1552
  },
1553
1553
  "data-purple-color-muted": {
1554
1554
  "value": "#f1e5ff",
@@ -1579,7 +1579,7 @@
1579
1579
  "attributes": {},
1580
1580
  "path": ["data", "purple", "color", "muted"]
1581
1581
  },
1582
- "data-pink-color": {
1582
+ "data-pink-color-emphasis": {
1583
1583
  "value": "#ce2c85",
1584
1584
  "$type": "color",
1585
1585
  "$extensions": {
@@ -1604,9 +1604,9 @@
1604
1604
  }
1605
1605
  }
1606
1606
  },
1607
- "name": "data-pink-color",
1607
+ "name": "data-pink-color-emphasis",
1608
1608
  "attributes": {},
1609
- "path": ["data", "pink", "color", "@"]
1609
+ "path": ["data", "pink", "color", "emphasis"]
1610
1610
  },
1611
1611
  "data-pink-color-muted": {
1612
1612
  "value": "#ffe5f1",
@@ -1637,7 +1637,7 @@
1637
1637
  "attributes": {},
1638
1638
  "path": ["data", "pink", "color", "muted"]
1639
1639
  },
1640
- "data-red-color": {
1640
+ "data-red-color-emphasis": {
1641
1641
  "value": "#df0c24",
1642
1642
  "$type": "color",
1643
1643
  "$extensions": {
@@ -1662,9 +1662,9 @@
1662
1662
  }
1663
1663
  }
1664
1664
  },
1665
- "name": "data-red-color",
1665
+ "name": "data-red-color-emphasis",
1666
1666
  "attributes": {},
1667
- "path": ["data", "red", "color", "@"]
1667
+ "path": ["data", "red", "color", "emphasis"]
1668
1668
  },
1669
1669
  "data-red-color-muted": {
1670
1670
  "value": "#ffe2e0",
@@ -1695,7 +1695,7 @@
1695
1695
  "attributes": {},
1696
1696
  "path": ["data", "red", "color", "muted"]
1697
1697
  },
1698
- "data-gray-color": {
1698
+ "data-gray-color-emphasis": {
1699
1699
  "value": "#808fa3",
1700
1700
  "$type": "color",
1701
1701
  "$extensions": {
@@ -1720,9 +1720,9 @@
1720
1720
  }
1721
1721
  }
1722
1722
  },
1723
- "name": "data-gray-color",
1723
+ "name": "data-gray-color-emphasis",
1724
1724
  "attributes": {},
1725
- "path": ["data", "gray", "color", "@"]
1725
+ "path": ["data", "gray", "color", "emphasis"]
1726
1726
  },
1727
1727
  "data-gray-color-muted": {
1728
1728
  "value": "#e8ecf2",
@@ -12571,6 +12571,64 @@
12571
12571
  "attributes": {},
12572
12572
  "path": ["label", "coral", "fgColor", "active"]
12573
12573
  },
12574
+ "tooltip-bgColor": {
12575
+ "value": "#24292f",
12576
+ "$type": "color",
12577
+ "$extensions": {
12578
+ "org.primer.figma": {
12579
+ "collection": "mode",
12580
+ "mode": "light",
12581
+ "group": "component",
12582
+ "scopes": ["bgColor"]
12583
+ }
12584
+ },
12585
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
12586
+ "isSource": true,
12587
+ "original": {
12588
+ "value": "{bgColor.emphasis}",
12589
+ "$type": "color",
12590
+ "$extensions": {
12591
+ "org.primer.figma": {
12592
+ "collection": "mode",
12593
+ "mode": "light",
12594
+ "group": "component",
12595
+ "scopes": ["bgColor"]
12596
+ }
12597
+ }
12598
+ },
12599
+ "name": "tooltip-bgColor",
12600
+ "attributes": {},
12601
+ "path": ["tooltip", "bgColor"]
12602
+ },
12603
+ "tooltip-fgColor": {
12604
+ "value": "#ffffff",
12605
+ "$type": "color",
12606
+ "$extensions": {
12607
+ "org.primer.figma": {
12608
+ "collection": "mode",
12609
+ "mode": "light",
12610
+ "group": "component",
12611
+ "scopes": ["fgColor"]
12612
+ }
12613
+ },
12614
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
12615
+ "isSource": true,
12616
+ "original": {
12617
+ "value": "{fgColor.onEmphasis}",
12618
+ "$type": "color",
12619
+ "$extensions": {
12620
+ "org.primer.figma": {
12621
+ "collection": "mode",
12622
+ "mode": "light",
12623
+ "group": "component",
12624
+ "scopes": ["fgColor"]
12625
+ }
12626
+ }
12627
+ },
12628
+ "name": "tooltip-fgColor",
12629
+ "attributes": {},
12630
+ "path": ["tooltip", "fgColor"]
12631
+ },
12574
12632
  "fgColor-default": {
12575
12633
  "value": "#1f2328",
12576
12634
  "$type": "color",
@@ -12684,6 +12742,35 @@
12684
12742
  "attributes": {},
12685
12743
  "path": ["fgColor", "onEmphasis"]
12686
12744
  },
12745
+ "fgColor-onInverse": {
12746
+ "value": "#ffffff",
12747
+ "$type": "color",
12748
+ "$extensions": {
12749
+ "org.primer.figma": {
12750
+ "collection": "mode",
12751
+ "mode": "light",
12752
+ "group": "semantic",
12753
+ "scopes": ["fgColor"]
12754
+ }
12755
+ },
12756
+ "filePath": "src/tokens/functional/color/light/primitives-light.json5",
12757
+ "isSource": true,
12758
+ "original": {
12759
+ "value": "{base.color.white}",
12760
+ "$type": "color",
12761
+ "$extensions": {
12762
+ "org.primer.figma": {
12763
+ "collection": "mode",
12764
+ "mode": "light",
12765
+ "group": "semantic",
12766
+ "scopes": ["fgColor"]
12767
+ }
12768
+ }
12769
+ },
12770
+ "name": "fgColor-onInverse",
12771
+ "attributes": {},
12772
+ "path": ["fgColor", "onInverse"]
12773
+ },
12687
12774
  "fgColor-white": {
12688
12775
  "value": "#ffffff",
12689
12776
  "$type": "color",
@@ -1173,7 +1173,7 @@
1173
1173
  "attributes": {},
1174
1174
  "path": ["headerSearch", "borderColor"]
1175
1175
  },
1176
- "data-blue-color": {
1176
+ "data-blue-color-emphasis": {
1177
1177
  "value": "#006edb",
1178
1178
  "$type": "color",
1179
1179
  "$extensions": {
@@ -1198,9 +1198,9 @@
1198
1198
  }
1199
1199
  }
1200
1200
  },
1201
- "name": "data-blue-color",
1201
+ "name": "data-blue-color-emphasis",
1202
1202
  "attributes": {},
1203
- "path": ["data", "blue", "color", "@"]
1203
+ "path": ["data", "blue", "color", "emphasis"]
1204
1204
  },
1205
1205
  "data-blue-color-muted": {
1206
1206
  "value": "#d1f0ff",
@@ -1231,7 +1231,7 @@
1231
1231
  "attributes": {},
1232
1232
  "path": ["data", "blue", "color", "muted"]
1233
1233
  },
1234
- "data-auburn-color": {
1234
+ "data-auburn-color-emphasis": {
1235
1235
  "value": "#9d615c",
1236
1236
  "$type": "color",
1237
1237
  "$extensions": {
@@ -1256,9 +1256,9 @@
1256
1256
  }
1257
1257
  }
1258
1258
  },
1259
- "name": "data-auburn-color",
1259
+ "name": "data-auburn-color-emphasis",
1260
1260
  "attributes": {},
1261
- "path": ["data", "auburn", "color", "@"]
1261
+ "path": ["data", "auburn", "color", "emphasis"]
1262
1262
  },
1263
1263
  "data-auburn-color-muted": {
1264
1264
  "value": "#f2e9e9",
@@ -1289,7 +1289,7 @@
1289
1289
  "attributes": {},
1290
1290
  "path": ["data", "auburn", "color", "muted"]
1291
1291
  },
1292
- "data-orange-color": {
1292
+ "data-orange-color-emphasis": {
1293
1293
  "value": "#eb670f",
1294
1294
  "$type": "color",
1295
1295
  "$extensions": {
@@ -1314,9 +1314,9 @@
1314
1314
  }
1315
1315
  }
1316
1316
  },
1317
- "name": "data-orange-color",
1317
+ "name": "data-orange-color-emphasis",
1318
1318
  "attributes": {},
1319
- "path": ["data", "orange", "color", "@"]
1319
+ "path": ["data", "orange", "color", "emphasis"]
1320
1320
  },
1321
1321
  "data-orange-color-muted": {
1322
1322
  "value": "#ffe7d1",
@@ -1347,7 +1347,7 @@
1347
1347
  "attributes": {},
1348
1348
  "path": ["data", "orange", "color", "muted"]
1349
1349
  },
1350
- "data-yellow-color": {
1350
+ "data-yellow-color-emphasis": {
1351
1351
  "value": "#b88700",
1352
1352
  "$type": "color",
1353
1353
  "$extensions": {
@@ -1372,9 +1372,9 @@
1372
1372
  }
1373
1373
  }
1374
1374
  },
1375
- "name": "data-yellow-color",
1375
+ "name": "data-yellow-color-emphasis",
1376
1376
  "attributes": {},
1377
- "path": ["data", "yellow", "color", "@"]
1377
+ "path": ["data", "yellow", "color", "emphasis"]
1378
1378
  },
1379
1379
  "data-yellow-color-muted": {
1380
1380
  "value": "#ffec9e",
@@ -1405,7 +1405,7 @@
1405
1405
  "attributes": {},
1406
1406
  "path": ["data", "yellow", "color", "muted"]
1407
1407
  },
1408
- "data-green-color": {
1408
+ "data-green-color-emphasis": {
1409
1409
  "value": "#30a147",
1410
1410
  "$type": "color",
1411
1411
  "$extensions": {
@@ -1430,9 +1430,9 @@
1430
1430
  }
1431
1431
  }
1432
1432
  },
1433
- "name": "data-green-color",
1433
+ "name": "data-green-color-emphasis",
1434
1434
  "attributes": {},
1435
- "path": ["data", "green", "color", "@"]
1435
+ "path": ["data", "green", "color", "emphasis"]
1436
1436
  },
1437
1437
  "data-green-color-muted": {
1438
1438
  "value": "#caf7ca",
@@ -1463,7 +1463,7 @@
1463
1463
  "attributes": {},
1464
1464
  "path": ["data", "green", "color", "muted"]
1465
1465
  },
1466
- "data-teal-color": {
1466
+ "data-teal-color-emphasis": {
1467
1467
  "value": "#179b9b",
1468
1468
  "$type": "color",
1469
1469
  "$extensions": {
@@ -1488,9 +1488,9 @@
1488
1488
  }
1489
1489
  }
1490
1490
  },
1491
- "name": "data-teal-color",
1491
+ "name": "data-teal-color-emphasis",
1492
1492
  "attributes": {},
1493
- "path": ["data", "teal", "color", "@"]
1493
+ "path": ["data", "teal", "color", "emphasis"]
1494
1494
  },
1495
1495
  "data-teal-color-muted": {
1496
1496
  "value": "#c7f5ef",
@@ -1521,7 +1521,7 @@
1521
1521
  "attributes": {},
1522
1522
  "path": ["data", "teal", "color", "muted"]
1523
1523
  },
1524
- "data-purple-color": {
1524
+ "data-purple-color-emphasis": {
1525
1525
  "value": "#894ceb",
1526
1526
  "$type": "color",
1527
1527
  "$extensions": {
@@ -1546,9 +1546,9 @@
1546
1546
  }
1547
1547
  }
1548
1548
  },
1549
- "name": "data-purple-color",
1549
+ "name": "data-purple-color-emphasis",
1550
1550
  "attributes": {},
1551
- "path": ["data", "purple", "color", "@"]
1551
+ "path": ["data", "purple", "color", "emphasis"]
1552
1552
  },
1553
1553
  "data-purple-color-muted": {
1554
1554
  "value": "#f1e5ff",
@@ -1579,7 +1579,7 @@
1579
1579
  "attributes": {},
1580
1580
  "path": ["data", "purple", "color", "muted"]
1581
1581
  },
1582
- "data-pink-color": {
1582
+ "data-pink-color-emphasis": {
1583
1583
  "value": "#ce2c85",
1584
1584
  "$type": "color",
1585
1585
  "$extensions": {
@@ -1604,9 +1604,9 @@
1604
1604
  }
1605
1605
  }
1606
1606
  },
1607
- "name": "data-pink-color",
1607
+ "name": "data-pink-color-emphasis",
1608
1608
  "attributes": {},
1609
- "path": ["data", "pink", "color", "@"]
1609
+ "path": ["data", "pink", "color", "emphasis"]
1610
1610
  },
1611
1611
  "data-pink-color-muted": {
1612
1612
  "value": "#ffe5f1",
@@ -1637,7 +1637,7 @@
1637
1637
  "attributes": {},
1638
1638
  "path": ["data", "pink", "color", "muted"]
1639
1639
  },
1640
- "data-red-color": {
1640
+ "data-red-color-emphasis": {
1641
1641
  "value": "#df0c24",
1642
1642
  "$type": "color",
1643
1643
  "$extensions": {
@@ -1662,9 +1662,9 @@
1662
1662
  }
1663
1663
  }
1664
1664
  },
1665
- "name": "data-red-color",
1665
+ "name": "data-red-color-emphasis",
1666
1666
  "attributes": {},
1667
- "path": ["data", "red", "color", "@"]
1667
+ "path": ["data", "red", "color", "emphasis"]
1668
1668
  },
1669
1669
  "data-red-color-muted": {
1670
1670
  "value": "#ffe2e0",
@@ -1695,7 +1695,7 @@
1695
1695
  "attributes": {},
1696
1696
  "path": ["data", "red", "color", "muted"]
1697
1697
  },
1698
- "data-gray-color": {
1698
+ "data-gray-color-emphasis": {
1699
1699
  "value": "#808fa3",
1700
1700
  "$type": "color",
1701
1701
  "$extensions": {
@@ -1720,9 +1720,9 @@
1720
1720
  }
1721
1721
  }
1722
1722
  },
1723
- "name": "data-gray-color",
1723
+ "name": "data-gray-color-emphasis",
1724
1724
  "attributes": {},
1725
- "path": ["data", "gray", "color", "@"]
1725
+ "path": ["data", "gray", "color", "emphasis"]
1726
1726
  },
1727
1727
  "data-gray-color-muted": {
1728
1728
  "value": "#e8ecf2",
@@ -12571,6 +12571,64 @@
12571
12571
  "attributes": {},
12572
12572
  "path": ["label", "coral", "fgColor", "active"]
12573
12573
  },
12574
+ "tooltip-bgColor": {
12575
+ "value": "#24292f",
12576
+ "$type": "color",
12577
+ "$extensions": {
12578
+ "org.primer.figma": {
12579
+ "collection": "mode",
12580
+ "mode": "light",
12581
+ "group": "component",
12582
+ "scopes": ["bgColor"]
12583
+ }
12584
+ },
12585
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
12586
+ "isSource": true,
12587
+ "original": {
12588
+ "value": "{bgColor.emphasis}",
12589
+ "$type": "color",
12590
+ "$extensions": {
12591
+ "org.primer.figma": {
12592
+ "collection": "mode",
12593
+ "mode": "light",
12594
+ "group": "component",
12595
+ "scopes": ["bgColor"]
12596
+ }
12597
+ }
12598
+ },
12599
+ "name": "tooltip-bgColor",
12600
+ "attributes": {},
12601
+ "path": ["tooltip", "bgColor"]
12602
+ },
12603
+ "tooltip-fgColor": {
12604
+ "value": "#ffffff",
12605
+ "$type": "color",
12606
+ "$extensions": {
12607
+ "org.primer.figma": {
12608
+ "collection": "mode",
12609
+ "mode": "light",
12610
+ "group": "component",
12611
+ "scopes": ["fgColor"]
12612
+ }
12613
+ },
12614
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
12615
+ "isSource": true,
12616
+ "original": {
12617
+ "value": "{fgColor.onEmphasis}",
12618
+ "$type": "color",
12619
+ "$extensions": {
12620
+ "org.primer.figma": {
12621
+ "collection": "mode",
12622
+ "mode": "light",
12623
+ "group": "component",
12624
+ "scopes": ["fgColor"]
12625
+ }
12626
+ }
12627
+ },
12628
+ "name": "tooltip-fgColor",
12629
+ "attributes": {},
12630
+ "path": ["tooltip", "fgColor"]
12631
+ },
12574
12632
  "fgColor-default": {
12575
12633
  "value": "#1f2328",
12576
12634
  "$type": "color",
@@ -12684,6 +12742,35 @@
12684
12742
  "attributes": {},
12685
12743
  "path": ["fgColor", "onEmphasis"]
12686
12744
  },
12745
+ "fgColor-onInverse": {
12746
+ "value": "#ffffff",
12747
+ "$type": "color",
12748
+ "$extensions": {
12749
+ "org.primer.figma": {
12750
+ "collection": "mode",
12751
+ "mode": "light",
12752
+ "group": "semantic",
12753
+ "scopes": ["fgColor"]
12754
+ }
12755
+ },
12756
+ "filePath": "src/tokens/functional/color/light/primitives-light.json5",
12757
+ "isSource": true,
12758
+ "original": {
12759
+ "value": "{base.color.white}",
12760
+ "$type": "color",
12761
+ "$extensions": {
12762
+ "org.primer.figma": {
12763
+ "collection": "mode",
12764
+ "mode": "light",
12765
+ "group": "semantic",
12766
+ "scopes": ["fgColor"]
12767
+ }
12768
+ }
12769
+ },
12770
+ "name": "fgColor-onInverse",
12771
+ "attributes": {},
12772
+ "path": ["fgColor", "onInverse"]
12773
+ },
12687
12774
  "fgColor-white": {
12688
12775
  "value": "#ffffff",
12689
12776
  "$type": "color",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "8.2.4-rc.fba4a4ab",
3
+ "version": "9.0.0-rc.02c27a21",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "engines": {
6
6
  "node": ">=18.18.0 <18.19.0"
@@ -256,5 +256,15 @@
256
256
  "--shadow-floating-xlarge": "var(--color-shadow-extra-large)",
257
257
  "--shadow-inset": "var(--color-primer-shadow-inset)",
258
258
  "--borderColor-transparent": "transparent",
259
- "--bgColor-transparent": "transparent"
259
+ "--bgColor-transparent": "transparent",
260
+ "--data-blue-color": "var(--data-blue-color-emphasis)",
261
+ "--data-auburn-color": "var(--data-auburn-color-emphasis)",
262
+ "--data-orange-color": "var(--data-orange-color-emphasis)",
263
+ "--data-yellow-color": "var(--data-yellow-color-emphasis)",
264
+ "--data-green-color": "var(--data-green-color-emphasis)",
265
+ "--data-teal-color": "var(--data-teal-color-emphasis)",
266
+ "--data-purple-color": "var(--data-purple-color-emphasis)",
267
+ "--data-pink-color": "var(--data-pink-color-emphasis)",
268
+ "--data-red-color": "var(--data-red-color-emphasis)",
269
+ "--data-gray-color": "var(--data-gray-color-emphasis)"
260
270
  }