@primer/primitives 0.0.0-20250131123729 → 0.0.0-20250131132242
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/dist/docs/functional/themes/dark-colorblind.json +36 -0
- package/dist/docs/functional/themes/dark-dimmed.json +84 -0
- package/dist/docs/functional/themes/dark-high-contrast.json +36 -0
- package/dist/docs/functional/themes/dark-tritanopia.json +356 -14
- package/dist/docs/functional/themes/dark.json +84 -0
- package/dist/docs/functional/themes/light-colorblind.json +48 -0
- package/dist/docs/functional/themes/light-high-contrast.json +24 -0
- package/dist/docs/functional/themes/light-tritanopia.json +48 -0
- package/dist/docs/functional/themes/light.json +84 -0
- package/dist/figma/themes/dark-tritanopia.json +105 -0
- package/dist/styleLint/functional/themes/dark-colorblind.json +36 -0
- package/dist/styleLint/functional/themes/dark-dimmed.json +84 -0
- package/dist/styleLint/functional/themes/dark-high-contrast.json +36 -0
- package/dist/styleLint/functional/themes/dark-tritanopia.json +356 -14
- package/dist/styleLint/functional/themes/dark.json +84 -0
- package/dist/styleLint/functional/themes/light-colorblind.json +48 -0
- package/dist/styleLint/functional/themes/light-high-contrast.json +24 -0
- package/dist/styleLint/functional/themes/light-tritanopia.json +48 -0
- package/dist/styleLint/functional/themes/light.json +84 -0
- package/package.json +1 -1
- package/src/tokens/component/button.json5 +21 -0
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -47
|
@@ -5435,6 +5435,12 @@
|
|
|
5435
5435
|
"filePath": "src/tokens/component/button.json5",
|
|
5436
5436
|
"isSource": true,
|
|
5437
5437
|
"$type": "color"
|
|
5438
|
+
},
|
|
5439
|
+
"dark-tritanopia": {
|
|
5440
|
+
"$value": "#0d419d",
|
|
5441
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5442
|
+
"isSource": true,
|
|
5443
|
+
"$type": "color"
|
|
5438
5444
|
}
|
|
5439
5445
|
}
|
|
5440
5446
|
},
|
|
@@ -5455,6 +5461,12 @@
|
|
|
5455
5461
|
"filePath": "src/tokens/component/button.json5",
|
|
5456
5462
|
"isSource": true,
|
|
5457
5463
|
"$type": "color"
|
|
5464
|
+
},
|
|
5465
|
+
"dark-tritanopia": {
|
|
5466
|
+
"$value": "#0d419d",
|
|
5467
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5468
|
+
"isSource": true,
|
|
5469
|
+
"$type": "color"
|
|
5458
5470
|
}
|
|
5459
5471
|
}
|
|
5460
5472
|
}
|
|
@@ -5479,6 +5491,12 @@
|
|
|
5479
5491
|
"filePath": "src/tokens/component/button.json5",
|
|
5480
5492
|
"isSource": true,
|
|
5481
5493
|
"$type": "color"
|
|
5494
|
+
},
|
|
5495
|
+
"dark-tritanopia": {
|
|
5496
|
+
"$value": "#212830",
|
|
5497
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5498
|
+
"isSource": true,
|
|
5499
|
+
"$type": "color"
|
|
5482
5500
|
}
|
|
5483
5501
|
}
|
|
5484
5502
|
},
|
|
@@ -5499,6 +5517,12 @@
|
|
|
5499
5517
|
"filePath": "src/tokens/component/button.json5",
|
|
5500
5518
|
"isSource": true,
|
|
5501
5519
|
"$type": "color"
|
|
5520
|
+
},
|
|
5521
|
+
"dark-tritanopia": {
|
|
5522
|
+
"$value": "#212830",
|
|
5523
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5524
|
+
"isSource": true,
|
|
5525
|
+
"$type": "color"
|
|
5502
5526
|
}
|
|
5503
5527
|
}
|
|
5504
5528
|
}
|
|
@@ -5523,6 +5547,12 @@
|
|
|
5523
5547
|
"filePath": "src/tokens/component/button.json5",
|
|
5524
5548
|
"isSource": true,
|
|
5525
5549
|
"$type": "color"
|
|
5550
|
+
},
|
|
5551
|
+
"dark-tritanopia": {
|
|
5552
|
+
"$value": "#262c36",
|
|
5553
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5554
|
+
"isSource": true,
|
|
5555
|
+
"$type": "color"
|
|
5526
5556
|
}
|
|
5527
5557
|
}
|
|
5528
5558
|
},
|
|
@@ -5543,6 +5573,12 @@
|
|
|
5543
5573
|
"filePath": "src/tokens/component/button.json5",
|
|
5544
5574
|
"isSource": true,
|
|
5545
5575
|
"$type": "color"
|
|
5576
|
+
},
|
|
5577
|
+
"dark-tritanopia": {
|
|
5578
|
+
"$value": "#262c36",
|
|
5579
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5580
|
+
"isSource": true,
|
|
5581
|
+
"$type": "color"
|
|
5546
5582
|
}
|
|
5547
5583
|
}
|
|
5548
5584
|
}
|
|
@@ -5585,6 +5585,12 @@
|
|
|
5585
5585
|
"filePath": "src/tokens/component/button.json5",
|
|
5586
5586
|
"isSource": true,
|
|
5587
5587
|
"$type": "color"
|
|
5588
|
+
},
|
|
5589
|
+
"dark-tritanopia": {
|
|
5590
|
+
"$value": "#0d419d",
|
|
5591
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5592
|
+
"isSource": true,
|
|
5593
|
+
"$type": "color"
|
|
5588
5594
|
}
|
|
5589
5595
|
}
|
|
5590
5596
|
},
|
|
@@ -5605,6 +5611,12 @@
|
|
|
5605
5611
|
"filePath": "src/tokens/component/button.json5",
|
|
5606
5612
|
"isSource": true,
|
|
5607
5613
|
"$type": "color"
|
|
5614
|
+
},
|
|
5615
|
+
"dark-tritanopia": {
|
|
5616
|
+
"$value": "#0d419d",
|
|
5617
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5618
|
+
"isSource": true,
|
|
5619
|
+
"$type": "color"
|
|
5608
5620
|
}
|
|
5609
5621
|
}
|
|
5610
5622
|
}
|
|
@@ -5629,6 +5641,12 @@
|
|
|
5629
5641
|
"filePath": "src/tokens/component/button.json5",
|
|
5630
5642
|
"isSource": true,
|
|
5631
5643
|
"$type": "color"
|
|
5644
|
+
},
|
|
5645
|
+
"dark-tritanopia": {
|
|
5646
|
+
"$value": "#212830",
|
|
5647
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5648
|
+
"isSource": true,
|
|
5649
|
+
"$type": "color"
|
|
5632
5650
|
}
|
|
5633
5651
|
}
|
|
5634
5652
|
},
|
|
@@ -5649,6 +5667,12 @@
|
|
|
5649
5667
|
"filePath": "src/tokens/component/button.json5",
|
|
5650
5668
|
"isSource": true,
|
|
5651
5669
|
"$type": "color"
|
|
5670
|
+
},
|
|
5671
|
+
"dark-tritanopia": {
|
|
5672
|
+
"$value": "#212830",
|
|
5673
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5674
|
+
"isSource": true,
|
|
5675
|
+
"$type": "color"
|
|
5652
5676
|
}
|
|
5653
5677
|
}
|
|
5654
5678
|
}
|
|
@@ -5673,6 +5697,12 @@
|
|
|
5673
5697
|
"filePath": "src/tokens/component/button.json5",
|
|
5674
5698
|
"isSource": true,
|
|
5675
5699
|
"$type": "color"
|
|
5700
|
+
},
|
|
5701
|
+
"dark-tritanopia": {
|
|
5702
|
+
"$value": "#262c36",
|
|
5703
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5704
|
+
"isSource": true,
|
|
5705
|
+
"$type": "color"
|
|
5676
5706
|
}
|
|
5677
5707
|
}
|
|
5678
5708
|
},
|
|
@@ -5693,6 +5723,12 @@
|
|
|
5693
5723
|
"filePath": "src/tokens/component/button.json5",
|
|
5694
5724
|
"isSource": true,
|
|
5695
5725
|
"$type": "color"
|
|
5726
|
+
},
|
|
5727
|
+
"dark-tritanopia": {
|
|
5728
|
+
"$value": "#262c36",
|
|
5729
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5730
|
+
"isSource": true,
|
|
5731
|
+
"$type": "color"
|
|
5696
5732
|
}
|
|
5697
5733
|
}
|
|
5698
5734
|
}
|
|
@@ -6067,6 +6103,12 @@
|
|
|
6067
6103
|
"filePath": "src/tokens/component/button.json5",
|
|
6068
6104
|
"isSource": true,
|
|
6069
6105
|
"$type": "color"
|
|
6106
|
+
},
|
|
6107
|
+
"dark-tritanopia": {
|
|
6108
|
+
"$value": "#3685f3",
|
|
6109
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6110
|
+
"isSource": true,
|
|
6111
|
+
"$type": "color"
|
|
6070
6112
|
}
|
|
6071
6113
|
}
|
|
6072
6114
|
},
|
|
@@ -6093,6 +6135,12 @@
|
|
|
6093
6135
|
"filePath": "src/tokens/component/button.json5",
|
|
6094
6136
|
"isSource": true,
|
|
6095
6137
|
"$type": "color"
|
|
6138
|
+
},
|
|
6139
|
+
"dark-tritanopia": {
|
|
6140
|
+
"$value": "#3685f3",
|
|
6141
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6142
|
+
"isSource": true,
|
|
6143
|
+
"$type": "color"
|
|
6096
6144
|
}
|
|
6097
6145
|
}
|
|
6098
6146
|
}
|
|
@@ -6123,6 +6171,12 @@
|
|
|
6123
6171
|
"filePath": "src/tokens/component/button.json5",
|
|
6124
6172
|
"isSource": true,
|
|
6125
6173
|
"$type": "color"
|
|
6174
|
+
},
|
|
6175
|
+
"dark-tritanopia": {
|
|
6176
|
+
"$value": "#5fabfe",
|
|
6177
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6178
|
+
"isSource": true,
|
|
6179
|
+
"$type": "color"
|
|
6126
6180
|
}
|
|
6127
6181
|
}
|
|
6128
6182
|
},
|
|
@@ -6149,6 +6203,12 @@
|
|
|
6149
6203
|
"filePath": "src/tokens/component/button.json5",
|
|
6150
6204
|
"isSource": true,
|
|
6151
6205
|
"$type": "color"
|
|
6206
|
+
},
|
|
6207
|
+
"dark-tritanopia": {
|
|
6208
|
+
"$value": "#5fabfe",
|
|
6209
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6210
|
+
"isSource": true,
|
|
6211
|
+
"$type": "color"
|
|
6152
6212
|
}
|
|
6153
6213
|
}
|
|
6154
6214
|
}
|
|
@@ -6179,6 +6239,12 @@
|
|
|
6179
6239
|
"filePath": "src/tokens/component/button.json5",
|
|
6180
6240
|
"isSource": true,
|
|
6181
6241
|
"$type": "color"
|
|
6242
|
+
},
|
|
6243
|
+
"dark-tritanopia": {
|
|
6244
|
+
"$value": "#2a7aef",
|
|
6245
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6246
|
+
"isSource": true,
|
|
6247
|
+
"$type": "color"
|
|
6182
6248
|
}
|
|
6183
6249
|
}
|
|
6184
6250
|
},
|
|
@@ -6205,6 +6271,12 @@
|
|
|
6205
6271
|
"filePath": "src/tokens/component/button.json5",
|
|
6206
6272
|
"isSource": true,
|
|
6207
6273
|
"$type": "color"
|
|
6274
|
+
},
|
|
6275
|
+
"dark-tritanopia": {
|
|
6276
|
+
"$value": "#2a7aef",
|
|
6277
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6278
|
+
"isSource": true,
|
|
6279
|
+
"$type": "color"
|
|
6208
6280
|
}
|
|
6209
6281
|
}
|
|
6210
6282
|
}
|
|
@@ -6323,6 +6395,12 @@
|
|
|
6323
6395
|
"filePath": "src/tokens/component/button.json5",
|
|
6324
6396
|
"isSource": true,
|
|
6325
6397
|
"$type": "color"
|
|
6398
|
+
},
|
|
6399
|
+
"dark-tritanopia": {
|
|
6400
|
+
"$value": "#5fabfe",
|
|
6401
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6402
|
+
"isSource": true,
|
|
6403
|
+
"$type": "color"
|
|
6326
6404
|
}
|
|
6327
6405
|
}
|
|
6328
6406
|
},
|
|
@@ -6349,6 +6427,12 @@
|
|
|
6349
6427
|
"filePath": "src/tokens/component/button.json5",
|
|
6350
6428
|
"isSource": true,
|
|
6351
6429
|
"$type": "color"
|
|
6430
|
+
},
|
|
6431
|
+
"dark-tritanopia": {
|
|
6432
|
+
"$value": "#5fabfe",
|
|
6433
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6434
|
+
"isSource": true,
|
|
6435
|
+
"$type": "color"
|
|
6352
6436
|
}
|
|
6353
6437
|
}
|
|
6354
6438
|
}
|
|
@@ -5161,6 +5161,12 @@
|
|
|
5161
5161
|
"filePath": "src/tokens/component/button.json5",
|
|
5162
5162
|
"isSource": true,
|
|
5163
5163
|
"$type": "color"
|
|
5164
|
+
},
|
|
5165
|
+
"dark-tritanopia": {
|
|
5166
|
+
"$value": "#0d419d",
|
|
5167
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5168
|
+
"isSource": true,
|
|
5169
|
+
"$type": "color"
|
|
5164
5170
|
}
|
|
5165
5171
|
}
|
|
5166
5172
|
},
|
|
@@ -5181,6 +5187,12 @@
|
|
|
5181
5187
|
"filePath": "src/tokens/component/button.json5",
|
|
5182
5188
|
"isSource": true,
|
|
5183
5189
|
"$type": "color"
|
|
5190
|
+
},
|
|
5191
|
+
"dark-tritanopia": {
|
|
5192
|
+
"$value": "#0d419d",
|
|
5193
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5194
|
+
"isSource": true,
|
|
5195
|
+
"$type": "color"
|
|
5184
5196
|
}
|
|
5185
5197
|
}
|
|
5186
5198
|
}
|
|
@@ -5205,6 +5217,12 @@
|
|
|
5205
5217
|
"filePath": "src/tokens/component/button.json5",
|
|
5206
5218
|
"isSource": true,
|
|
5207
5219
|
"$type": "color"
|
|
5220
|
+
},
|
|
5221
|
+
"dark-tritanopia": {
|
|
5222
|
+
"$value": "#212830",
|
|
5223
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5224
|
+
"isSource": true,
|
|
5225
|
+
"$type": "color"
|
|
5208
5226
|
}
|
|
5209
5227
|
}
|
|
5210
5228
|
},
|
|
@@ -5225,6 +5243,12 @@
|
|
|
5225
5243
|
"filePath": "src/tokens/component/button.json5",
|
|
5226
5244
|
"isSource": true,
|
|
5227
5245
|
"$type": "color"
|
|
5246
|
+
},
|
|
5247
|
+
"dark-tritanopia": {
|
|
5248
|
+
"$value": "#212830",
|
|
5249
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5250
|
+
"isSource": true,
|
|
5251
|
+
"$type": "color"
|
|
5228
5252
|
}
|
|
5229
5253
|
}
|
|
5230
5254
|
}
|
|
@@ -5249,6 +5273,12 @@
|
|
|
5249
5273
|
"filePath": "src/tokens/component/button.json5",
|
|
5250
5274
|
"isSource": true,
|
|
5251
5275
|
"$type": "color"
|
|
5276
|
+
},
|
|
5277
|
+
"dark-tritanopia": {
|
|
5278
|
+
"$value": "#262c36",
|
|
5279
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5280
|
+
"isSource": true,
|
|
5281
|
+
"$type": "color"
|
|
5252
5282
|
}
|
|
5253
5283
|
}
|
|
5254
5284
|
},
|
|
@@ -5269,6 +5299,12 @@
|
|
|
5269
5299
|
"filePath": "src/tokens/component/button.json5",
|
|
5270
5300
|
"isSource": true,
|
|
5271
5301
|
"$type": "color"
|
|
5302
|
+
},
|
|
5303
|
+
"dark-tritanopia": {
|
|
5304
|
+
"$value": "#262c36",
|
|
5305
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5306
|
+
"isSource": true,
|
|
5307
|
+
"$type": "color"
|
|
5272
5308
|
}
|
|
5273
5309
|
}
|
|
5274
5310
|
}
|