@primer/primitives 10.4.0-rc.a30c0d05 → 10.4.0-rc.a7bc1307
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 +2 -196
- package/dist/docs/functional/themes/dark-dimmed.json +2 -196
- package/dist/docs/functional/themes/dark-high-contrast.json +2 -196
- package/dist/docs/functional/themes/dark-tritanopia.json +2 -196
- package/dist/docs/functional/themes/dark.json +2 -196
- package/dist/docs/functional/themes/light-colorblind.json +2 -196
- package/dist/docs/functional/themes/light-high-contrast.json +64 -1180
- package/dist/docs/functional/themes/light-tritanopia.json +2 -196
- package/dist/docs/functional/themes/light.json +2 -196
- package/dist/figma/themes/light-high-contrast.json +2 -254
- package/dist/styleLint/functional/themes/dark-colorblind.json +2 -196
- package/dist/styleLint/functional/themes/dark-dimmed.json +2 -196
- package/dist/styleLint/functional/themes/dark-high-contrast.json +2 -196
- package/dist/styleLint/functional/themes/dark-tritanopia.json +2 -196
- package/dist/styleLint/functional/themes/dark.json +2 -196
- package/dist/styleLint/functional/themes/light-colorblind.json +2 -196
- package/dist/styleLint/functional/themes/light-high-contrast.json +64 -1180
- package/dist/styleLint/functional/themes/light-tritanopia.json +2 -196
- package/dist/styleLint/functional/themes/light.json +2 -196
- package/package.json +1 -1
- package/src/tokens/component/button.json5 +226 -125
- package/src/tokens/component/header.json5 +0 -3
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +116 -0
|
@@ -3831,12 +3831,6 @@
|
|
|
3831
3831
|
"filePath": "src/tokens/component/button.json5",
|
|
3832
3832
|
"isSource": true,
|
|
3833
3833
|
"$type": "color"
|
|
3834
|
-
},
|
|
3835
|
-
"light-high-contrast": {
|
|
3836
|
-
"$value": "#74041a",
|
|
3837
|
-
"filePath": "src/tokens/component/button.json5",
|
|
3838
|
-
"isSource": true,
|
|
3839
|
-
"$type": "color"
|
|
3840
3834
|
}
|
|
3841
3835
|
}
|
|
3842
3836
|
},
|
|
@@ -3881,12 +3875,6 @@
|
|
|
3881
3875
|
"filePath": "src/tokens/component/button.json5",
|
|
3882
3876
|
"isSource": true,
|
|
3883
3877
|
"$type": "color"
|
|
3884
|
-
},
|
|
3885
|
-
"light-high-contrast": {
|
|
3886
|
-
"$value": "#74041a",
|
|
3887
|
-
"filePath": "src/tokens/component/button.json5",
|
|
3888
|
-
"isSource": true,
|
|
3889
|
-
"$type": "color"
|
|
3890
3878
|
}
|
|
3891
3879
|
}
|
|
3892
3880
|
}
|
|
@@ -5011,12 +4999,6 @@
|
|
|
5011
4999
|
"filePath": "src/tokens/component/button.json5",
|
|
5012
5000
|
"isSource": true,
|
|
5013
5001
|
"$type": "color"
|
|
5014
|
-
},
|
|
5015
|
-
"light-high-contrast": {
|
|
5016
|
-
"$value": "#212830",
|
|
5017
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5018
|
-
"isSource": true,
|
|
5019
|
-
"$type": "color"
|
|
5020
5002
|
}
|
|
5021
5003
|
}
|
|
5022
5004
|
},
|
|
@@ -5049,12 +5031,6 @@
|
|
|
5049
5031
|
"filePath": "src/tokens/component/button.json5",
|
|
5050
5032
|
"isSource": true,
|
|
5051
5033
|
"$type": "color"
|
|
5052
|
-
},
|
|
5053
|
-
"light-high-contrast": {
|
|
5054
|
-
"$value": "{control.bgColor.rest}",
|
|
5055
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5056
|
-
"isSource": true,
|
|
5057
|
-
"$type": "color"
|
|
5058
5034
|
}
|
|
5059
5035
|
}
|
|
5060
5036
|
}
|
|
@@ -5091,12 +5067,6 @@
|
|
|
5091
5067
|
"filePath": "src/tokens/component/button.json5",
|
|
5092
5068
|
"isSource": true,
|
|
5093
5069
|
"$type": "color"
|
|
5094
|
-
},
|
|
5095
|
-
"light-high-contrast": {
|
|
5096
|
-
"$value": "#b7bdc8",
|
|
5097
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5098
|
-
"isSource": true,
|
|
5099
|
-
"$type": "color"
|
|
5100
5070
|
}
|
|
5101
5071
|
}
|
|
5102
5072
|
},
|
|
@@ -5129,12 +5099,6 @@
|
|
|
5129
5099
|
"filePath": "src/tokens/component/button.json5",
|
|
5130
5100
|
"isSource": true,
|
|
5131
5101
|
"$type": "color"
|
|
5132
|
-
},
|
|
5133
|
-
"light-high-contrast": {
|
|
5134
|
-
"$value": "{base.color.neutral.10}",
|
|
5135
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5136
|
-
"isSource": true,
|
|
5137
|
-
"$type": "color"
|
|
5138
5102
|
}
|
|
5139
5103
|
}
|
|
5140
5104
|
}
|
|
@@ -5583,12 +5547,6 @@
|
|
|
5583
5547
|
"filePath": "src/tokens/component/button.json5",
|
|
5584
5548
|
"isSource": true,
|
|
5585
5549
|
"$type": "color"
|
|
5586
|
-
},
|
|
5587
|
-
"light-high-contrast": {
|
|
5588
|
-
"$value": "#d1d7e0",
|
|
5589
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5590
|
-
"isSource": true,
|
|
5591
|
-
"$type": "color"
|
|
5592
5550
|
}
|
|
5593
5551
|
}
|
|
5594
5552
|
},
|
|
@@ -5609,12 +5567,6 @@
|
|
|
5609
5567
|
"filePath": "src/tokens/component/button.json5",
|
|
5610
5568
|
"isSource": true,
|
|
5611
5569
|
"$type": "color"
|
|
5612
|
-
},
|
|
5613
|
-
"light-high-contrast": {
|
|
5614
|
-
"$value": "{base.color.neutral.11}",
|
|
5615
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5616
|
-
"isSource": true,
|
|
5617
|
-
"$type": "color"
|
|
5618
5570
|
}
|
|
5619
5571
|
}
|
|
5620
5572
|
}
|
|
@@ -5739,12 +5691,6 @@
|
|
|
5739
5691
|
"filePath": "src/tokens/component/button.json5",
|
|
5740
5692
|
"isSource": true,
|
|
5741
5693
|
"$type": "color"
|
|
5742
|
-
},
|
|
5743
|
-
"light-high-contrast": {
|
|
5744
|
-
"$value": "#d1d7e0",
|
|
5745
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5746
|
-
"isSource": true,
|
|
5747
|
-
"$type": "color"
|
|
5748
5694
|
}
|
|
5749
5695
|
}
|
|
5750
5696
|
},
|
|
@@ -5777,12 +5723,6 @@
|
|
|
5777
5723
|
"filePath": "src/tokens/component/button.json5",
|
|
5778
5724
|
"isSource": true,
|
|
5779
5725
|
"$type": "color"
|
|
5780
|
-
},
|
|
5781
|
-
"light-high-contrast": {
|
|
5782
|
-
"$value": "{base.color.neutral.11}",
|
|
5783
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5784
|
-
"isSource": true,
|
|
5785
|
-
"$type": "color"
|
|
5786
5726
|
}
|
|
5787
5727
|
}
|
|
5788
5728
|
}
|
|
@@ -5881,12 +5821,6 @@
|
|
|
5881
5821
|
"filePath": "src/tokens/component/button.json5",
|
|
5882
5822
|
"isSource": true,
|
|
5883
5823
|
"$type": "color"
|
|
5884
|
-
},
|
|
5885
|
-
"light-high-contrast": {
|
|
5886
|
-
"$value": "#033f9d",
|
|
5887
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5888
|
-
"isSource": true,
|
|
5889
|
-
"$type": "color"
|
|
5890
5824
|
}
|
|
5891
5825
|
}
|
|
5892
5826
|
},
|
|
@@ -5913,12 +5847,6 @@
|
|
|
5913
5847
|
"filePath": "src/tokens/component/button.json5",
|
|
5914
5848
|
"isSource": true,
|
|
5915
5849
|
"$type": "color"
|
|
5916
|
-
},
|
|
5917
|
-
"light-high-contrast": {
|
|
5918
|
-
"$value": "#033f9d",
|
|
5919
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5920
|
-
"isSource": true,
|
|
5921
|
-
"$type": "color"
|
|
5922
5850
|
}
|
|
5923
5851
|
}
|
|
5924
5852
|
}
|
|
@@ -6435,12 +6363,6 @@
|
|
|
6435
6363
|
"filePath": "src/tokens/component/button.json5",
|
|
6436
6364
|
"isSource": true,
|
|
6437
6365
|
"$type": "color"
|
|
6438
|
-
},
|
|
6439
|
-
"light-high-contrast": {
|
|
6440
|
-
"$value": "#03501b",
|
|
6441
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6442
|
-
"isSource": true,
|
|
6443
|
-
"$type": "color"
|
|
6444
6366
|
}
|
|
6445
6367
|
}
|
|
6446
6368
|
},
|
|
@@ -6497,12 +6419,6 @@
|
|
|
6497
6419
|
"filePath": "src/tokens/component/button.json5",
|
|
6498
6420
|
"isSource": true,
|
|
6499
6421
|
"$type": "color"
|
|
6500
|
-
},
|
|
6501
|
-
"light-high-contrast": {
|
|
6502
|
-
"$value": "#03501b",
|
|
6503
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6504
|
-
"isSource": true,
|
|
6505
|
-
"$type": "color"
|
|
6506
6422
|
}
|
|
6507
6423
|
}
|
|
6508
6424
|
}
|
|
@@ -6563,12 +6479,6 @@
|
|
|
6563
6479
|
"filePath": "src/tokens/component/button.json5",
|
|
6564
6480
|
"isSource": true,
|
|
6565
6481
|
"$type": "color"
|
|
6566
|
-
},
|
|
6567
|
-
"light-high-contrast": {
|
|
6568
|
-
"$value": "#85cb97",
|
|
6569
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6570
|
-
"isSource": true,
|
|
6571
|
-
"$type": "color"
|
|
6572
6482
|
}
|
|
6573
6483
|
}
|
|
6574
6484
|
},
|
|
@@ -6625,12 +6535,6 @@
|
|
|
6625
6535
|
"filePath": "src/tokens/component/button.json5",
|
|
6626
6536
|
"isSource": true,
|
|
6627
6537
|
"$type": "color"
|
|
6628
|
-
},
|
|
6629
|
-
"light-high-contrast": {
|
|
6630
|
-
"$value": "#85cb97",
|
|
6631
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6632
|
-
"isSource": true,
|
|
6633
|
-
"$type": "color"
|
|
6634
6538
|
}
|
|
6635
6539
|
}
|
|
6636
6540
|
}
|
|
@@ -6691,12 +6595,6 @@
|
|
|
6691
6595
|
"filePath": "src/tokens/component/button.json5",
|
|
6692
6596
|
"isSource": true,
|
|
6693
6597
|
"$type": "color"
|
|
6694
|
-
},
|
|
6695
|
-
"light-high-contrast": {
|
|
6696
|
-
"$value": "#04571e",
|
|
6697
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6698
|
-
"isSource": true,
|
|
6699
|
-
"$type": "color"
|
|
6700
6598
|
}
|
|
6701
6599
|
}
|
|
6702
6600
|
},
|
|
@@ -6753,12 +6651,6 @@
|
|
|
6753
6651
|
"filePath": "src/tokens/component/button.json5",
|
|
6754
6652
|
"isSource": true,
|
|
6755
6653
|
"$type": "color"
|
|
6756
|
-
},
|
|
6757
|
-
"light-high-contrast": {
|
|
6758
|
-
"$value": "#04571e",
|
|
6759
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6760
|
-
"isSource": true,
|
|
6761
|
-
"$type": "color"
|
|
6762
6654
|
}
|
|
6763
6655
|
}
|
|
6764
6656
|
}
|
|
@@ -6783,12 +6675,6 @@
|
|
|
6783
6675
|
"filePath": "src/tokens/component/button.json5",
|
|
6784
6676
|
"isSource": true,
|
|
6785
6677
|
"$type": "color"
|
|
6786
|
-
},
|
|
6787
|
-
"light-high-contrast": {
|
|
6788
|
-
"$value": "#238636",
|
|
6789
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6790
|
-
"isSource": true,
|
|
6791
|
-
"$type": "color"
|
|
6792
6678
|
}
|
|
6793
6679
|
}
|
|
6794
6680
|
},
|
|
@@ -6809,12 +6695,6 @@
|
|
|
6809
6695
|
"filePath": "src/tokens/component/button.json5",
|
|
6810
6696
|
"isSource": true,
|
|
6811
6697
|
"$type": "color"
|
|
6812
|
-
},
|
|
6813
|
-
"light-high-contrast": {
|
|
6814
|
-
"$value": "{base.color.green.5}",
|
|
6815
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6816
|
-
"isSource": true,
|
|
6817
|
-
"$type": "color"
|
|
6818
6698
|
}
|
|
6819
6699
|
}
|
|
6820
6700
|
}
|
|
@@ -6846,13 +6726,6 @@
|
|
|
6846
6726
|
"filePath": "src/tokens/component/button.json5",
|
|
6847
6727
|
"isSource": true,
|
|
6848
6728
|
"$type": "color"
|
|
6849
|
-
},
|
|
6850
|
-
"light-high-contrast": {
|
|
6851
|
-
"$value": "#0f5323",
|
|
6852
|
-
"alpha": 1,
|
|
6853
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6854
|
-
"isSource": true,
|
|
6855
|
-
"$type": "color"
|
|
6856
6729
|
}
|
|
6857
6730
|
}
|
|
6858
6731
|
},
|
|
@@ -6880,13 +6753,6 @@
|
|
|
6880
6753
|
"filePath": "src/tokens/component/button.json5",
|
|
6881
6754
|
"isSource": true,
|
|
6882
6755
|
"$type": "color"
|
|
6883
|
-
},
|
|
6884
|
-
"light-high-contrast": {
|
|
6885
|
-
"$value": "{base.color.green.7}",
|
|
6886
|
-
"alpha": 1,
|
|
6887
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6888
|
-
"isSource": true,
|
|
6889
|
-
"$type": "color"
|
|
6890
6756
|
}
|
|
6891
6757
|
}
|
|
6892
6758
|
}
|
|
@@ -6936,12 +6802,6 @@
|
|
|
6936
6802
|
"filePath": "src/tokens/component/button.json5",
|
|
6937
6803
|
"isSource": true,
|
|
6938
6804
|
"$type": "color"
|
|
6939
|
-
},
|
|
6940
|
-
"light-high-contrast": {
|
|
6941
|
-
"$value": "#85cb97",
|
|
6942
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6943
|
-
"isSource": true,
|
|
6944
|
-
"$type": "color"
|
|
6945
6805
|
}
|
|
6946
6806
|
}
|
|
6947
6807
|
},
|
|
@@ -6987,12 +6847,6 @@
|
|
|
6987
6847
|
"filePath": "src/tokens/component/button.json5",
|
|
6988
6848
|
"isSource": true,
|
|
6989
6849
|
"$type": "color"
|
|
6990
|
-
},
|
|
6991
|
-
"light-high-contrast": {
|
|
6992
|
-
"$value": "#85cb97",
|
|
6993
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6994
|
-
"isSource": true,
|
|
6995
|
-
"$type": "color"
|
|
6996
6850
|
}
|
|
6997
6851
|
}
|
|
6998
6852
|
}
|
|
@@ -7024,13 +6878,6 @@
|
|
|
7024
6878
|
"filePath": "src/tokens/component/button.json5",
|
|
7025
6879
|
"isSource": true,
|
|
7026
6880
|
"$type": "color"
|
|
7027
|
-
},
|
|
7028
|
-
"light-high-contrast": {
|
|
7029
|
-
"$value": "#0f5323",
|
|
7030
|
-
"alpha": 1,
|
|
7031
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7032
|
-
"isSource": true,
|
|
7033
|
-
"$type": "color"
|
|
7034
6881
|
}
|
|
7035
6882
|
}
|
|
7036
6883
|
},
|
|
@@ -7058,13 +6905,6 @@
|
|
|
7058
6905
|
"filePath": "src/tokens/component/button.json5",
|
|
7059
6906
|
"isSource": true,
|
|
7060
6907
|
"$type": "color"
|
|
7061
|
-
},
|
|
7062
|
-
"light-high-contrast": {
|
|
7063
|
-
"$value": "{base.color.green.7}",
|
|
7064
|
-
"alpha": 1,
|
|
7065
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7066
|
-
"isSource": true,
|
|
7067
|
-
"$type": "color"
|
|
7068
6908
|
}
|
|
7069
6909
|
}
|
|
7070
6910
|
}
|
|
@@ -7097,13 +6937,6 @@
|
|
|
7097
6937
|
"filePath": "src/tokens/component/button.json5",
|
|
7098
6938
|
"isSource": true,
|
|
7099
6939
|
"$type": "color"
|
|
7100
|
-
},
|
|
7101
|
-
"light-high-contrast": {
|
|
7102
|
-
"$value": "#0f5323",
|
|
7103
|
-
"alpha": 1,
|
|
7104
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7105
|
-
"isSource": true,
|
|
7106
|
-
"$type": "color"
|
|
7107
6940
|
}
|
|
7108
6941
|
}
|
|
7109
6942
|
},
|
|
@@ -7133,13 +6966,6 @@
|
|
|
7133
6966
|
"filePath": "src/tokens/component/button.json5",
|
|
7134
6967
|
"isSource": true,
|
|
7135
6968
|
"$type": "color"
|
|
7136
|
-
},
|
|
7137
|
-
"light-high-contrast": {
|
|
7138
|
-
"$value": "{base.color.green.7}",
|
|
7139
|
-
"alpha": 1,
|
|
7140
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7141
|
-
"isSource": true,
|
|
7142
|
-
"$type": "color"
|
|
7143
6969
|
}
|
|
7144
6970
|
}
|
|
7145
6971
|
},
|
|
@@ -7683,12 +7509,6 @@
|
|
|
7683
7509
|
"filePath": "src/tokens/component/button.json5",
|
|
7684
7510
|
"isSource": true,
|
|
7685
7511
|
"$type": "color"
|
|
7686
|
-
},
|
|
7687
|
-
"light-high-contrast": {
|
|
7688
|
-
"$value": "#980e1e",
|
|
7689
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7690
|
-
"isSource": true,
|
|
7691
|
-
"$type": "color"
|
|
7692
7512
|
}
|
|
7693
7513
|
}
|
|
7694
7514
|
},
|
|
@@ -7709,12 +7529,6 @@
|
|
|
7709
7529
|
"filePath": "src/tokens/component/button.json5",
|
|
7710
7530
|
"isSource": true,
|
|
7711
7531
|
"$type": "color"
|
|
7712
|
-
},
|
|
7713
|
-
"light-high-contrast": {
|
|
7714
|
-
"$value": "#980e1e",
|
|
7715
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7716
|
-
"isSource": true,
|
|
7717
|
-
"$type": "color"
|
|
7718
7532
|
}
|
|
7719
7533
|
}
|
|
7720
7534
|
}
|
|
@@ -7739,8 +7553,7 @@
|
|
|
7739
7553
|
"filePath": "src/tokens/component/button.json5",
|
|
7740
7554
|
"isSource": true,
|
|
7741
7555
|
"$type": "color"
|
|
7742
|
-
}
|
|
7743
|
-
"light-high-contrast": "#3d444d"
|
|
7556
|
+
}
|
|
7744
7557
|
}
|
|
7745
7558
|
},
|
|
7746
7559
|
"filePath": "src/tokens/component/button.json5",
|
|
@@ -7760,8 +7573,7 @@
|
|
|
7760
7573
|
"filePath": "src/tokens/component/button.json5",
|
|
7761
7574
|
"isSource": true,
|
|
7762
7575
|
"$type": "color"
|
|
7763
|
-
}
|
|
7764
|
-
"light-high-contrast": "{base.color.neutral.7}"
|
|
7576
|
+
}
|
|
7765
7577
|
}
|
|
7766
7578
|
}
|
|
7767
7579
|
},
|
|
@@ -19150,9 +18962,6 @@
|
|
|
19150
18962
|
"collection": "mode",
|
|
19151
18963
|
"group": "component (internal)",
|
|
19152
18964
|
"scopes": ["borderColor"]
|
|
19153
|
-
},
|
|
19154
|
-
"org.primer.overrides": {
|
|
19155
|
-
"light-high-contrast": "#3d444d"
|
|
19156
18965
|
}
|
|
19157
18966
|
},
|
|
19158
18967
|
"filePath": "src/tokens/component/header.json5",
|
|
@@ -19165,9 +18974,6 @@
|
|
|
19165
18974
|
"collection": "mode",
|
|
19166
18975
|
"group": "component (internal)",
|
|
19167
18976
|
"scopes": ["borderColor"]
|
|
19168
|
-
},
|
|
19169
|
-
"org.primer.overrides": {
|
|
19170
|
-
"light-high-contrast": "{base.color.neutral.7}"
|
|
19171
18977
|
}
|
|
19172
18978
|
}
|
|
19173
18979
|
},
|