@primer/primitives 8.2.0-rc.d4121ebd → 8.2.1-rc.0c78ef35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/dist/css/functional/size/size-coarse.css +7 -0
- package/dist/css/functional/size/size-fine.css +7 -0
- package/dist/css/functional/themes/dark-colorblind.css +20 -0
- package/dist/css/functional/themes/dark-dimmed.css +20 -0
- package/dist/css/functional/themes/dark-high-contrast.css +20 -0
- package/dist/css/functional/themes/dark-tritanopia.css +20 -0
- package/dist/css/functional/themes/dark.css +20 -0
- package/dist/css/functional/themes/light-colorblind.css +20 -0
- package/dist/css/functional/themes/light-high-contrast.css +20 -0
- package/dist/css/functional/themes/light-tritanopia.css +20 -0
- package/dist/css/functional/themes/light.css +20 -0
- package/dist/css/primitives.css +189 -0
- package/dist/docs/functional/themes/dark-colorblind.json +300 -10
- package/dist/docs/functional/themes/dark-dimmed.json +300 -10
- package/dist/docs/functional/themes/dark-high-contrast.json +300 -10
- package/dist/docs/functional/themes/dark-tritanopia.json +300 -10
- package/dist/docs/functional/themes/dark.json +300 -10
- package/dist/docs/functional/themes/light-colorblind.json +300 -10
- package/dist/docs/functional/themes/light-high-contrast.json +300 -10
- package/dist/docs/functional/themes/light-tritanopia.json +300 -10
- package/dist/docs/functional/themes/light.json +300 -10
- package/dist/figma/themes/dark-colorblind.json +160 -0
- package/dist/figma/themes/dark-dimmed.json +160 -0
- package/dist/figma/themes/dark-high-contrast.json +160 -0
- package/dist/figma/themes/dark-tritanopia.json +160 -0
- package/dist/figma/themes/dark.json +160 -0
- package/dist/figma/themes/light-colorblind.json +160 -0
- package/dist/figma/themes/light-high-contrast.json +160 -0
- package/dist/figma/themes/light-tritanopia.json +160 -0
- package/dist/figma/themes/light.json +160 -0
- package/dist/internalCss/dark-colorblind.css +20 -0
- package/dist/internalCss/dark-dimmed.css +20 -0
- package/dist/internalCss/dark-high-contrast.css +20 -0
- package/dist/internalCss/dark-tritanopia.css +20 -0
- package/dist/internalCss/dark.css +20 -0
- package/dist/internalCss/light-colorblind.css +20 -0
- package/dist/internalCss/light-high-contrast.css +20 -0
- package/dist/internalCss/light-tritanopia.css +20 -0
- package/dist/internalCss/light.css +20 -0
- package/dist/styleLint/functional/themes/dark-colorblind.json +300 -10
- package/dist/styleLint/functional/themes/dark-dimmed.json +300 -10
- package/dist/styleLint/functional/themes/dark-high-contrast.json +300 -10
- package/dist/styleLint/functional/themes/dark-tritanopia.json +300 -10
- package/dist/styleLint/functional/themes/dark.json +300 -10
- package/dist/styleLint/functional/themes/light-colorblind.json +300 -10
- package/dist/styleLint/functional/themes/light-high-contrast.json +300 -10
- package/dist/styleLint/functional/themes/light-tritanopia.json +300 -10
- package/dist/styleLint/functional/themes/light.json +300 -10
- package/package.json +1 -1
- package/src/platforms/css.ts +2 -2
- package/src/tokens/functional/color/dark/data-vis-dark.json5 +220 -80
- package/src/tokens/functional/color/light/data-vis-light.json5 +220 -80
|
@@ -1204,7 +1204,36 @@
|
|
|
1204
1204
|
},
|
|
1205
1205
|
"name": "data-blue-color",
|
|
1206
1206
|
"attributes": {},
|
|
1207
|
-
"path": ["data", "blue", "color"]
|
|
1207
|
+
"path": ["data", "blue", "color", "@"]
|
|
1208
|
+
},
|
|
1209
|
+
"data-blue-color-muted": {
|
|
1210
|
+
"value": "#d1f0ff",
|
|
1211
|
+
"$type": "color",
|
|
1212
|
+
"$extensions": {
|
|
1213
|
+
"org.primer.figma": {
|
|
1214
|
+
"collection": "mode",
|
|
1215
|
+
"mode": "dark",
|
|
1216
|
+
"group": "component",
|
|
1217
|
+
"scopes": ["bgColor"]
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
"filePath": "src/tokens/functional/color/light/data-vis-light.json5",
|
|
1221
|
+
"isSource": true,
|
|
1222
|
+
"original": {
|
|
1223
|
+
"value": "{base.display.color.blue.0}",
|
|
1224
|
+
"$type": "color",
|
|
1225
|
+
"$extensions": {
|
|
1226
|
+
"org.primer.figma": {
|
|
1227
|
+
"collection": "mode",
|
|
1228
|
+
"mode": "dark",
|
|
1229
|
+
"group": "component",
|
|
1230
|
+
"scopes": ["bgColor"]
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
},
|
|
1234
|
+
"name": "data-blue-color-muted",
|
|
1235
|
+
"attributes": {},
|
|
1236
|
+
"path": ["data", "blue", "color", "muted"]
|
|
1208
1237
|
},
|
|
1209
1238
|
"data-auburn-color": {
|
|
1210
1239
|
"value": "#9d615c",
|
|
@@ -1233,7 +1262,36 @@
|
|
|
1233
1262
|
},
|
|
1234
1263
|
"name": "data-auburn-color",
|
|
1235
1264
|
"attributes": {},
|
|
1236
|
-
"path": ["data", "auburn", "color"]
|
|
1265
|
+
"path": ["data", "auburn", "color", "@"]
|
|
1266
|
+
},
|
|
1267
|
+
"data-auburn-color-muted": {
|
|
1268
|
+
"value": "#f2e9e9",
|
|
1269
|
+
"$type": "color",
|
|
1270
|
+
"$extensions": {
|
|
1271
|
+
"org.primer.figma": {
|
|
1272
|
+
"collection": "mode",
|
|
1273
|
+
"mode": "dark",
|
|
1274
|
+
"group": "component",
|
|
1275
|
+
"scopes": ["bgColor"]
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1278
|
+
"filePath": "src/tokens/functional/color/light/data-vis-light.json5",
|
|
1279
|
+
"isSource": true,
|
|
1280
|
+
"original": {
|
|
1281
|
+
"value": "{base.display.color.auburn.0}",
|
|
1282
|
+
"$type": "color",
|
|
1283
|
+
"$extensions": {
|
|
1284
|
+
"org.primer.figma": {
|
|
1285
|
+
"collection": "mode",
|
|
1286
|
+
"mode": "dark",
|
|
1287
|
+
"group": "component",
|
|
1288
|
+
"scopes": ["bgColor"]
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
"name": "data-auburn-color-muted",
|
|
1293
|
+
"attributes": {},
|
|
1294
|
+
"path": ["data", "auburn", "color", "muted"]
|
|
1237
1295
|
},
|
|
1238
1296
|
"data-orange-color": {
|
|
1239
1297
|
"value": "#eb670f",
|
|
@@ -1262,7 +1320,36 @@
|
|
|
1262
1320
|
},
|
|
1263
1321
|
"name": "data-orange-color",
|
|
1264
1322
|
"attributes": {},
|
|
1265
|
-
"path": ["data", "orange", "color"]
|
|
1323
|
+
"path": ["data", "orange", "color", "@"]
|
|
1324
|
+
},
|
|
1325
|
+
"data-orange-color-muted": {
|
|
1326
|
+
"value": "#ffe7d1",
|
|
1327
|
+
"$type": "color",
|
|
1328
|
+
"$extensions": {
|
|
1329
|
+
"org.primer.figma": {
|
|
1330
|
+
"collection": "mode",
|
|
1331
|
+
"mode": "dark",
|
|
1332
|
+
"group": "component",
|
|
1333
|
+
"scopes": ["bgColor"]
|
|
1334
|
+
}
|
|
1335
|
+
},
|
|
1336
|
+
"filePath": "src/tokens/functional/color/light/data-vis-light.json5",
|
|
1337
|
+
"isSource": true,
|
|
1338
|
+
"original": {
|
|
1339
|
+
"value": "{base.display.color.orange.0}",
|
|
1340
|
+
"$type": "color",
|
|
1341
|
+
"$extensions": {
|
|
1342
|
+
"org.primer.figma": {
|
|
1343
|
+
"collection": "mode",
|
|
1344
|
+
"mode": "dark",
|
|
1345
|
+
"group": "component",
|
|
1346
|
+
"scopes": ["bgColor"]
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
},
|
|
1350
|
+
"name": "data-orange-color-muted",
|
|
1351
|
+
"attributes": {},
|
|
1352
|
+
"path": ["data", "orange", "color", "muted"]
|
|
1266
1353
|
},
|
|
1267
1354
|
"data-yellow-color": {
|
|
1268
1355
|
"value": "#b88700",
|
|
@@ -1291,7 +1378,36 @@
|
|
|
1291
1378
|
},
|
|
1292
1379
|
"name": "data-yellow-color",
|
|
1293
1380
|
"attributes": {},
|
|
1294
|
-
"path": ["data", "yellow", "color"]
|
|
1381
|
+
"path": ["data", "yellow", "color", "@"]
|
|
1382
|
+
},
|
|
1383
|
+
"data-yellow-color-muted": {
|
|
1384
|
+
"value": "#ffec9e",
|
|
1385
|
+
"$type": "color",
|
|
1386
|
+
"$extensions": {
|
|
1387
|
+
"org.primer.figma": {
|
|
1388
|
+
"collection": "mode",
|
|
1389
|
+
"mode": "dark",
|
|
1390
|
+
"group": "component",
|
|
1391
|
+
"scopes": ["bgColor"]
|
|
1392
|
+
}
|
|
1393
|
+
},
|
|
1394
|
+
"filePath": "src/tokens/functional/color/light/data-vis-light.json5",
|
|
1395
|
+
"isSource": true,
|
|
1396
|
+
"original": {
|
|
1397
|
+
"value": "{base.display.color.yellow.0}",
|
|
1398
|
+
"$type": "color",
|
|
1399
|
+
"$extensions": {
|
|
1400
|
+
"org.primer.figma": {
|
|
1401
|
+
"collection": "mode",
|
|
1402
|
+
"mode": "dark",
|
|
1403
|
+
"group": "component",
|
|
1404
|
+
"scopes": ["bgColor"]
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
"name": "data-yellow-color-muted",
|
|
1409
|
+
"attributes": {},
|
|
1410
|
+
"path": ["data", "yellow", "color", "muted"]
|
|
1295
1411
|
},
|
|
1296
1412
|
"data-green-color": {
|
|
1297
1413
|
"value": "#30a147",
|
|
@@ -1320,7 +1436,36 @@
|
|
|
1320
1436
|
},
|
|
1321
1437
|
"name": "data-green-color",
|
|
1322
1438
|
"attributes": {},
|
|
1323
|
-
"path": ["data", "green", "color"]
|
|
1439
|
+
"path": ["data", "green", "color", "@"]
|
|
1440
|
+
},
|
|
1441
|
+
"data-green-color-muted": {
|
|
1442
|
+
"value": "#caf7ca",
|
|
1443
|
+
"$type": "color",
|
|
1444
|
+
"$extensions": {
|
|
1445
|
+
"org.primer.figma": {
|
|
1446
|
+
"collection": "mode",
|
|
1447
|
+
"mode": "dark",
|
|
1448
|
+
"group": "component",
|
|
1449
|
+
"scopes": ["bgColor"]
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
"filePath": "src/tokens/functional/color/light/data-vis-light.json5",
|
|
1453
|
+
"isSource": true,
|
|
1454
|
+
"original": {
|
|
1455
|
+
"value": "{base.display.color.green.0}",
|
|
1456
|
+
"$type": "color",
|
|
1457
|
+
"$extensions": {
|
|
1458
|
+
"org.primer.figma": {
|
|
1459
|
+
"collection": "mode",
|
|
1460
|
+
"mode": "dark",
|
|
1461
|
+
"group": "component",
|
|
1462
|
+
"scopes": ["bgColor"]
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
"name": "data-green-color-muted",
|
|
1467
|
+
"attributes": {},
|
|
1468
|
+
"path": ["data", "green", "color", "muted"]
|
|
1324
1469
|
},
|
|
1325
1470
|
"data-teal-color": {
|
|
1326
1471
|
"value": "#179b9b",
|
|
@@ -1349,7 +1494,36 @@
|
|
|
1349
1494
|
},
|
|
1350
1495
|
"name": "data-teal-color",
|
|
1351
1496
|
"attributes": {},
|
|
1352
|
-
"path": ["data", "teal", "color"]
|
|
1497
|
+
"path": ["data", "teal", "color", "@"]
|
|
1498
|
+
},
|
|
1499
|
+
"data-teal-color-muted": {
|
|
1500
|
+
"value": "#c7f5ef",
|
|
1501
|
+
"$type": "color",
|
|
1502
|
+
"$extensions": {
|
|
1503
|
+
"org.primer.figma": {
|
|
1504
|
+
"collection": "mode",
|
|
1505
|
+
"mode": "dark",
|
|
1506
|
+
"group": "component",
|
|
1507
|
+
"scopes": ["bgColor"]
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"filePath": "src/tokens/functional/color/light/data-vis-light.json5",
|
|
1511
|
+
"isSource": true,
|
|
1512
|
+
"original": {
|
|
1513
|
+
"value": "{base.display.color.teal.0}",
|
|
1514
|
+
"$type": "color",
|
|
1515
|
+
"$extensions": {
|
|
1516
|
+
"org.primer.figma": {
|
|
1517
|
+
"collection": "mode",
|
|
1518
|
+
"mode": "dark",
|
|
1519
|
+
"group": "component",
|
|
1520
|
+
"scopes": ["bgColor"]
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
"name": "data-teal-color-muted",
|
|
1525
|
+
"attributes": {},
|
|
1526
|
+
"path": ["data", "teal", "color", "muted"]
|
|
1353
1527
|
},
|
|
1354
1528
|
"data-purple-color": {
|
|
1355
1529
|
"value": "#894ceb",
|
|
@@ -1378,7 +1552,36 @@
|
|
|
1378
1552
|
},
|
|
1379
1553
|
"name": "data-purple-color",
|
|
1380
1554
|
"attributes": {},
|
|
1381
|
-
"path": ["data", "purple", "color"]
|
|
1555
|
+
"path": ["data", "purple", "color", "@"]
|
|
1556
|
+
},
|
|
1557
|
+
"data-purple-color-muted": {
|
|
1558
|
+
"value": "#f1e5ff",
|
|
1559
|
+
"$type": "color",
|
|
1560
|
+
"$extensions": {
|
|
1561
|
+
"org.primer.figma": {
|
|
1562
|
+
"collection": "mode",
|
|
1563
|
+
"mode": "dark",
|
|
1564
|
+
"group": "component",
|
|
1565
|
+
"scopes": ["bgColor"]
|
|
1566
|
+
}
|
|
1567
|
+
},
|
|
1568
|
+
"filePath": "src/tokens/functional/color/light/data-vis-light.json5",
|
|
1569
|
+
"isSource": true,
|
|
1570
|
+
"original": {
|
|
1571
|
+
"value": "{base.display.color.purple.0}",
|
|
1572
|
+
"$type": "color",
|
|
1573
|
+
"$extensions": {
|
|
1574
|
+
"org.primer.figma": {
|
|
1575
|
+
"collection": "mode",
|
|
1576
|
+
"mode": "dark",
|
|
1577
|
+
"group": "component",
|
|
1578
|
+
"scopes": ["bgColor"]
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
},
|
|
1582
|
+
"name": "data-purple-color-muted",
|
|
1583
|
+
"attributes": {},
|
|
1584
|
+
"path": ["data", "purple", "color", "muted"]
|
|
1382
1585
|
},
|
|
1383
1586
|
"data-pink-color": {
|
|
1384
1587
|
"value": "#ce2c85",
|
|
@@ -1407,7 +1610,36 @@
|
|
|
1407
1610
|
},
|
|
1408
1611
|
"name": "data-pink-color",
|
|
1409
1612
|
"attributes": {},
|
|
1410
|
-
"path": ["data", "pink", "color"]
|
|
1613
|
+
"path": ["data", "pink", "color", "@"]
|
|
1614
|
+
},
|
|
1615
|
+
"data-pink-color-muted": {
|
|
1616
|
+
"value": "#ffe5f1",
|
|
1617
|
+
"$type": "color",
|
|
1618
|
+
"$extensions": {
|
|
1619
|
+
"org.primer.figma": {
|
|
1620
|
+
"collection": "mode",
|
|
1621
|
+
"mode": "dark",
|
|
1622
|
+
"group": "component",
|
|
1623
|
+
"scopes": ["bgColor"]
|
|
1624
|
+
}
|
|
1625
|
+
},
|
|
1626
|
+
"filePath": "src/tokens/functional/color/light/data-vis-light.json5",
|
|
1627
|
+
"isSource": true,
|
|
1628
|
+
"original": {
|
|
1629
|
+
"value": "{base.display.color.pink.0}",
|
|
1630
|
+
"$type": "color",
|
|
1631
|
+
"$extensions": {
|
|
1632
|
+
"org.primer.figma": {
|
|
1633
|
+
"collection": "mode",
|
|
1634
|
+
"mode": "dark",
|
|
1635
|
+
"group": "component",
|
|
1636
|
+
"scopes": ["bgColor"]
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
},
|
|
1640
|
+
"name": "data-pink-color-muted",
|
|
1641
|
+
"attributes": {},
|
|
1642
|
+
"path": ["data", "pink", "color", "muted"]
|
|
1411
1643
|
},
|
|
1412
1644
|
"data-red-color": {
|
|
1413
1645
|
"value": "#df0c24",
|
|
@@ -1436,7 +1668,36 @@
|
|
|
1436
1668
|
},
|
|
1437
1669
|
"name": "data-red-color",
|
|
1438
1670
|
"attributes": {},
|
|
1439
|
-
"path": ["data", "red", "color"]
|
|
1671
|
+
"path": ["data", "red", "color", "@"]
|
|
1672
|
+
},
|
|
1673
|
+
"data-red-color-muted": {
|
|
1674
|
+
"value": "#ffe2e0",
|
|
1675
|
+
"$type": "color",
|
|
1676
|
+
"$extensions": {
|
|
1677
|
+
"org.primer.figma": {
|
|
1678
|
+
"collection": "mode",
|
|
1679
|
+
"mode": "dark",
|
|
1680
|
+
"group": "component",
|
|
1681
|
+
"scopes": ["bgColor"]
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
"filePath": "src/tokens/functional/color/light/data-vis-light.json5",
|
|
1685
|
+
"isSource": true,
|
|
1686
|
+
"original": {
|
|
1687
|
+
"value": "{base.display.color.red.0}",
|
|
1688
|
+
"$type": "color",
|
|
1689
|
+
"$extensions": {
|
|
1690
|
+
"org.primer.figma": {
|
|
1691
|
+
"collection": "mode",
|
|
1692
|
+
"mode": "dark",
|
|
1693
|
+
"group": "component",
|
|
1694
|
+
"scopes": ["bgColor"]
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
},
|
|
1698
|
+
"name": "data-red-color-muted",
|
|
1699
|
+
"attributes": {},
|
|
1700
|
+
"path": ["data", "red", "color", "muted"]
|
|
1440
1701
|
},
|
|
1441
1702
|
"data-gray-color": {
|
|
1442
1703
|
"value": "#808fa3",
|
|
@@ -1465,7 +1726,36 @@
|
|
|
1465
1726
|
},
|
|
1466
1727
|
"name": "data-gray-color",
|
|
1467
1728
|
"attributes": {},
|
|
1468
|
-
"path": ["data", "gray", "color"]
|
|
1729
|
+
"path": ["data", "gray", "color", "@"]
|
|
1730
|
+
},
|
|
1731
|
+
"data-gray-color-muted": {
|
|
1732
|
+
"value": "#e8ecf2",
|
|
1733
|
+
"$type": "color",
|
|
1734
|
+
"$extensions": {
|
|
1735
|
+
"org.primer.figma": {
|
|
1736
|
+
"collection": "mode",
|
|
1737
|
+
"mode": "dark",
|
|
1738
|
+
"group": "component",
|
|
1739
|
+
"scopes": ["bgColor"]
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
"filePath": "src/tokens/functional/color/light/data-vis-light.json5",
|
|
1743
|
+
"isSource": true,
|
|
1744
|
+
"original": {
|
|
1745
|
+
"value": "{base.display.color.gray.0}",
|
|
1746
|
+
"$type": "color",
|
|
1747
|
+
"$extensions": {
|
|
1748
|
+
"org.primer.figma": {
|
|
1749
|
+
"collection": "mode",
|
|
1750
|
+
"mode": "dark",
|
|
1751
|
+
"group": "component",
|
|
1752
|
+
"scopes": ["bgColor"]
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
},
|
|
1756
|
+
"name": "data-gray-color-muted",
|
|
1757
|
+
"attributes": {},
|
|
1758
|
+
"path": ["data", "gray", "color", "muted"]
|
|
1469
1759
|
},
|
|
1470
1760
|
"display-blue-bgColor-muted": {
|
|
1471
1761
|
"value": "#d1f0ff",
|