@primer/primitives 10.4.0-rc.a2a3c0dc → 10.4.0-rc.a30c0d05
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 +196 -2
- package/dist/docs/functional/themes/dark-dimmed.json +196 -2
- package/dist/docs/functional/themes/dark-high-contrast.json +196 -2
- package/dist/docs/functional/themes/dark-tritanopia.json +196 -2
- package/dist/docs/functional/themes/dark.json +196 -2
- package/dist/docs/functional/themes/light-colorblind.json +196 -2
- package/dist/docs/functional/themes/light-high-contrast.json +1174 -58
- package/dist/docs/functional/themes/light-tritanopia.json +196 -2
- package/dist/docs/functional/themes/light.json +196 -2
- package/dist/figma/themes/light-high-contrast.json +254 -2
- package/dist/styleLint/functional/themes/dark-colorblind.json +196 -2
- package/dist/styleLint/functional/themes/dark-dimmed.json +196 -2
- package/dist/styleLint/functional/themes/dark-high-contrast.json +196 -2
- package/dist/styleLint/functional/themes/dark-tritanopia.json +196 -2
- package/dist/styleLint/functional/themes/dark.json +196 -2
- package/dist/styleLint/functional/themes/light-colorblind.json +196 -2
- package/dist/styleLint/functional/themes/light-high-contrast.json +1174 -58
- package/dist/styleLint/functional/themes/light-tritanopia.json +196 -2
- package/dist/styleLint/functional/themes/light.json +196 -2
- package/package.json +1 -1
- package/src/tokens/component/button.json5 +125 -226
- package/src/tokens/component/header.json5 +3 -0
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -116
|
@@ -3823,6 +3823,12 @@
|
|
|
3823
3823
|
"filePath": "src/tokens/component/button.json5",
|
|
3824
3824
|
"isSource": true,
|
|
3825
3825
|
"$type": "color"
|
|
3826
|
+
},
|
|
3827
|
+
"light-high-contrast": {
|
|
3828
|
+
"$value": "#74041a",
|
|
3829
|
+
"filePath": "src/tokens/component/button.json5",
|
|
3830
|
+
"isSource": true,
|
|
3831
|
+
"$type": "color"
|
|
3826
3832
|
}
|
|
3827
3833
|
}
|
|
3828
3834
|
},
|
|
@@ -3867,6 +3873,12 @@
|
|
|
3867
3873
|
"filePath": "src/tokens/component/button.json5",
|
|
3868
3874
|
"isSource": true,
|
|
3869
3875
|
"$type": "color"
|
|
3876
|
+
},
|
|
3877
|
+
"light-high-contrast": {
|
|
3878
|
+
"$value": "#74041a",
|
|
3879
|
+
"filePath": "src/tokens/component/button.json5",
|
|
3880
|
+
"isSource": true,
|
|
3881
|
+
"$type": "color"
|
|
3870
3882
|
}
|
|
3871
3883
|
}
|
|
3872
3884
|
}
|
|
@@ -4995,6 +5007,12 @@
|
|
|
4995
5007
|
"filePath": "src/tokens/component/button.json5",
|
|
4996
5008
|
"isSource": true,
|
|
4997
5009
|
"$type": "color"
|
|
5010
|
+
},
|
|
5011
|
+
"light-high-contrast": {
|
|
5012
|
+
"$value": "#262c36",
|
|
5013
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5014
|
+
"isSource": true,
|
|
5015
|
+
"$type": "color"
|
|
4998
5016
|
}
|
|
4999
5017
|
}
|
|
5000
5018
|
},
|
|
@@ -5027,6 +5045,12 @@
|
|
|
5027
5045
|
"filePath": "src/tokens/component/button.json5",
|
|
5028
5046
|
"isSource": true,
|
|
5029
5047
|
"$type": "color"
|
|
5048
|
+
},
|
|
5049
|
+
"light-high-contrast": {
|
|
5050
|
+
"$value": "{control.bgColor.rest}",
|
|
5051
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5052
|
+
"isSource": true,
|
|
5053
|
+
"$type": "color"
|
|
5030
5054
|
}
|
|
5031
5055
|
}
|
|
5032
5056
|
}
|
|
@@ -5063,6 +5087,12 @@
|
|
|
5063
5087
|
"filePath": "src/tokens/component/button.json5",
|
|
5064
5088
|
"isSource": true,
|
|
5065
5089
|
"$type": "color"
|
|
5090
|
+
},
|
|
5091
|
+
"light-high-contrast": {
|
|
5092
|
+
"$value": "#b7bdc8",
|
|
5093
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5094
|
+
"isSource": true,
|
|
5095
|
+
"$type": "color"
|
|
5066
5096
|
}
|
|
5067
5097
|
}
|
|
5068
5098
|
},
|
|
@@ -5095,6 +5125,12 @@
|
|
|
5095
5125
|
"filePath": "src/tokens/component/button.json5",
|
|
5096
5126
|
"isSource": true,
|
|
5097
5127
|
"$type": "color"
|
|
5128
|
+
},
|
|
5129
|
+
"light-high-contrast": {
|
|
5130
|
+
"$value": "{base.color.neutral.10}",
|
|
5131
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5132
|
+
"isSource": true,
|
|
5133
|
+
"$type": "color"
|
|
5098
5134
|
}
|
|
5099
5135
|
}
|
|
5100
5136
|
}
|
|
@@ -5547,6 +5583,12 @@
|
|
|
5547
5583
|
"filePath": "src/tokens/component/button.json5",
|
|
5548
5584
|
"isSource": true,
|
|
5549
5585
|
"$type": "color"
|
|
5586
|
+
},
|
|
5587
|
+
"light-high-contrast": {
|
|
5588
|
+
"$value": "#d1d7e0",
|
|
5589
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5590
|
+
"isSource": true,
|
|
5591
|
+
"$type": "color"
|
|
5550
5592
|
}
|
|
5551
5593
|
}
|
|
5552
5594
|
},
|
|
@@ -5567,6 +5609,12 @@
|
|
|
5567
5609
|
"filePath": "src/tokens/component/button.json5",
|
|
5568
5610
|
"isSource": true,
|
|
5569
5611
|
"$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"
|
|
5570
5618
|
}
|
|
5571
5619
|
}
|
|
5572
5620
|
}
|
|
@@ -5691,6 +5739,12 @@
|
|
|
5691
5739
|
"filePath": "src/tokens/component/button.json5",
|
|
5692
5740
|
"isSource": true,
|
|
5693
5741
|
"$type": "color"
|
|
5742
|
+
},
|
|
5743
|
+
"light-high-contrast": {
|
|
5744
|
+
"$value": "#d1d7e0",
|
|
5745
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5746
|
+
"isSource": true,
|
|
5747
|
+
"$type": "color"
|
|
5694
5748
|
}
|
|
5695
5749
|
}
|
|
5696
5750
|
},
|
|
@@ -5723,6 +5777,12 @@
|
|
|
5723
5777
|
"filePath": "src/tokens/component/button.json5",
|
|
5724
5778
|
"isSource": true,
|
|
5725
5779
|
"$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"
|
|
5726
5786
|
}
|
|
5727
5787
|
}
|
|
5728
5788
|
}
|
|
@@ -5821,6 +5881,12 @@
|
|
|
5821
5881
|
"filePath": "src/tokens/component/button.json5",
|
|
5822
5882
|
"isSource": true,
|
|
5823
5883
|
"$type": "color"
|
|
5884
|
+
},
|
|
5885
|
+
"light-high-contrast": {
|
|
5886
|
+
"$value": "#033f9d",
|
|
5887
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5888
|
+
"isSource": true,
|
|
5889
|
+
"$type": "color"
|
|
5824
5890
|
}
|
|
5825
5891
|
}
|
|
5826
5892
|
},
|
|
@@ -5847,6 +5913,12 @@
|
|
|
5847
5913
|
"filePath": "src/tokens/component/button.json5",
|
|
5848
5914
|
"isSource": true,
|
|
5849
5915
|
"$type": "color"
|
|
5916
|
+
},
|
|
5917
|
+
"light-high-contrast": {
|
|
5918
|
+
"$value": "#033f9d",
|
|
5919
|
+
"filePath": "src/tokens/component/button.json5",
|
|
5920
|
+
"isSource": true,
|
|
5921
|
+
"$type": "color"
|
|
5850
5922
|
}
|
|
5851
5923
|
}
|
|
5852
5924
|
}
|
|
@@ -6363,6 +6435,12 @@
|
|
|
6363
6435
|
"filePath": "src/tokens/component/button.json5",
|
|
6364
6436
|
"isSource": true,
|
|
6365
6437
|
"$type": "color"
|
|
6438
|
+
},
|
|
6439
|
+
"light-high-contrast": {
|
|
6440
|
+
"$value": "#03501b",
|
|
6441
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6442
|
+
"isSource": true,
|
|
6443
|
+
"$type": "color"
|
|
6366
6444
|
}
|
|
6367
6445
|
}
|
|
6368
6446
|
},
|
|
@@ -6419,6 +6497,12 @@
|
|
|
6419
6497
|
"filePath": "src/tokens/component/button.json5",
|
|
6420
6498
|
"isSource": true,
|
|
6421
6499
|
"$type": "color"
|
|
6500
|
+
},
|
|
6501
|
+
"light-high-contrast": {
|
|
6502
|
+
"$value": "#03501b",
|
|
6503
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6504
|
+
"isSource": true,
|
|
6505
|
+
"$type": "color"
|
|
6422
6506
|
}
|
|
6423
6507
|
}
|
|
6424
6508
|
}
|
|
@@ -6479,6 +6563,12 @@
|
|
|
6479
6563
|
"filePath": "src/tokens/component/button.json5",
|
|
6480
6564
|
"isSource": true,
|
|
6481
6565
|
"$type": "color"
|
|
6566
|
+
},
|
|
6567
|
+
"light-high-contrast": {
|
|
6568
|
+
"$value": "#85cb97",
|
|
6569
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6570
|
+
"isSource": true,
|
|
6571
|
+
"$type": "color"
|
|
6482
6572
|
}
|
|
6483
6573
|
}
|
|
6484
6574
|
},
|
|
@@ -6535,6 +6625,12 @@
|
|
|
6535
6625
|
"filePath": "src/tokens/component/button.json5",
|
|
6536
6626
|
"isSource": true,
|
|
6537
6627
|
"$type": "color"
|
|
6628
|
+
},
|
|
6629
|
+
"light-high-contrast": {
|
|
6630
|
+
"$value": "#85cb97",
|
|
6631
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6632
|
+
"isSource": true,
|
|
6633
|
+
"$type": "color"
|
|
6538
6634
|
}
|
|
6539
6635
|
}
|
|
6540
6636
|
}
|
|
@@ -6595,6 +6691,12 @@
|
|
|
6595
6691
|
"filePath": "src/tokens/component/button.json5",
|
|
6596
6692
|
"isSource": true,
|
|
6597
6693
|
"$type": "color"
|
|
6694
|
+
},
|
|
6695
|
+
"light-high-contrast": {
|
|
6696
|
+
"$value": "#04571e",
|
|
6697
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6698
|
+
"isSource": true,
|
|
6699
|
+
"$type": "color"
|
|
6598
6700
|
}
|
|
6599
6701
|
}
|
|
6600
6702
|
},
|
|
@@ -6651,6 +6753,12 @@
|
|
|
6651
6753
|
"filePath": "src/tokens/component/button.json5",
|
|
6652
6754
|
"isSource": true,
|
|
6653
6755
|
"$type": "color"
|
|
6756
|
+
},
|
|
6757
|
+
"light-high-contrast": {
|
|
6758
|
+
"$value": "#04571e",
|
|
6759
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6760
|
+
"isSource": true,
|
|
6761
|
+
"$type": "color"
|
|
6654
6762
|
}
|
|
6655
6763
|
}
|
|
6656
6764
|
}
|
|
@@ -6675,6 +6783,12 @@
|
|
|
6675
6783
|
"filePath": "src/tokens/component/button.json5",
|
|
6676
6784
|
"isSource": true,
|
|
6677
6785
|
"$type": "color"
|
|
6786
|
+
},
|
|
6787
|
+
"light-high-contrast": {
|
|
6788
|
+
"$value": "#09b43a",
|
|
6789
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6790
|
+
"isSource": true,
|
|
6791
|
+
"$type": "color"
|
|
6678
6792
|
}
|
|
6679
6793
|
}
|
|
6680
6794
|
},
|
|
@@ -6695,6 +6809,12 @@
|
|
|
6695
6809
|
"filePath": "src/tokens/component/button.json5",
|
|
6696
6810
|
"isSource": true,
|
|
6697
6811
|
"$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"
|
|
6698
6818
|
}
|
|
6699
6819
|
}
|
|
6700
6820
|
}
|
|
@@ -6726,6 +6846,13 @@
|
|
|
6726
6846
|
"filePath": "src/tokens/component/button.json5",
|
|
6727
6847
|
"isSource": true,
|
|
6728
6848
|
"$type": "color"
|
|
6849
|
+
},
|
|
6850
|
+
"light-high-contrast": {
|
|
6851
|
+
"$value": "#008c2c",
|
|
6852
|
+
"alpha": 1,
|
|
6853
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6854
|
+
"isSource": true,
|
|
6855
|
+
"$type": "color"
|
|
6729
6856
|
}
|
|
6730
6857
|
}
|
|
6731
6858
|
},
|
|
@@ -6754,6 +6881,13 @@
|
|
|
6754
6881
|
"filePath": "src/tokens/component/button.json5",
|
|
6755
6882
|
"isSource": true,
|
|
6756
6883
|
"$type": "color"
|
|
6884
|
+
},
|
|
6885
|
+
"light-high-contrast": {
|
|
6886
|
+
"$value": "{base.color.green.7}",
|
|
6887
|
+
"alpha": 1,
|
|
6888
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6889
|
+
"isSource": true,
|
|
6890
|
+
"$type": "color"
|
|
6757
6891
|
}
|
|
6758
6892
|
}
|
|
6759
6893
|
},
|
|
@@ -6804,6 +6938,12 @@
|
|
|
6804
6938
|
"filePath": "src/tokens/component/button.json5",
|
|
6805
6939
|
"isSource": true,
|
|
6806
6940
|
"$type": "color"
|
|
6941
|
+
},
|
|
6942
|
+
"light-high-contrast": {
|
|
6943
|
+
"$value": "#85cb97",
|
|
6944
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6945
|
+
"isSource": true,
|
|
6946
|
+
"$type": "color"
|
|
6807
6947
|
}
|
|
6808
6948
|
}
|
|
6809
6949
|
},
|
|
@@ -6850,6 +6990,12 @@
|
|
|
6850
6990
|
"filePath": "src/tokens/component/button.json5",
|
|
6851
6991
|
"isSource": true,
|
|
6852
6992
|
"$type": "color"
|
|
6993
|
+
},
|
|
6994
|
+
"light-high-contrast": {
|
|
6995
|
+
"$value": "#85cb97",
|
|
6996
|
+
"filePath": "src/tokens/component/button.json5",
|
|
6997
|
+
"isSource": true,
|
|
6998
|
+
"$type": "color"
|
|
6853
6999
|
}
|
|
6854
7000
|
}
|
|
6855
7001
|
},
|
|
@@ -6882,6 +7028,13 @@
|
|
|
6882
7028
|
"filePath": "src/tokens/component/button.json5",
|
|
6883
7029
|
"isSource": true,
|
|
6884
7030
|
"$type": "color"
|
|
7031
|
+
},
|
|
7032
|
+
"light-high-contrast": {
|
|
7033
|
+
"$value": "#008c2c",
|
|
7034
|
+
"alpha": 1,
|
|
7035
|
+
"filePath": "src/tokens/component/button.json5",
|
|
7036
|
+
"isSource": true,
|
|
7037
|
+
"$type": "color"
|
|
6885
7038
|
}
|
|
6886
7039
|
}
|
|
6887
7040
|
},
|
|
@@ -6910,6 +7063,13 @@
|
|
|
6910
7063
|
"filePath": "src/tokens/component/button.json5",
|
|
6911
7064
|
"isSource": true,
|
|
6912
7065
|
"$type": "color"
|
|
7066
|
+
},
|
|
7067
|
+
"light-high-contrast": {
|
|
7068
|
+
"$value": "{base.color.green.7}",
|
|
7069
|
+
"alpha": 1,
|
|
7070
|
+
"filePath": "src/tokens/component/button.json5",
|
|
7071
|
+
"isSource": true,
|
|
7072
|
+
"$type": "color"
|
|
6913
7073
|
}
|
|
6914
7074
|
}
|
|
6915
7075
|
},
|
|
@@ -6943,6 +7103,13 @@
|
|
|
6943
7103
|
"filePath": "src/tokens/component/button.json5",
|
|
6944
7104
|
"isSource": true,
|
|
6945
7105
|
"$type": "color"
|
|
7106
|
+
},
|
|
7107
|
+
"light-high-contrast": {
|
|
7108
|
+
"$value": "#008c2c",
|
|
7109
|
+
"alpha": 1,
|
|
7110
|
+
"filePath": "src/tokens/component/button.json5",
|
|
7111
|
+
"isSource": true,
|
|
7112
|
+
"$type": "color"
|
|
6946
7113
|
}
|
|
6947
7114
|
}
|
|
6948
7115
|
},
|
|
@@ -6972,6 +7139,13 @@
|
|
|
6972
7139
|
"filePath": "src/tokens/component/button.json5",
|
|
6973
7140
|
"isSource": true,
|
|
6974
7141
|
"$type": "color"
|
|
7142
|
+
},
|
|
7143
|
+
"light-high-contrast": {
|
|
7144
|
+
"$value": "{base.color.green.7}",
|
|
7145
|
+
"alpha": 1,
|
|
7146
|
+
"filePath": "src/tokens/component/button.json5",
|
|
7147
|
+
"isSource": true,
|
|
7148
|
+
"$type": "color"
|
|
6975
7149
|
}
|
|
6976
7150
|
}
|
|
6977
7151
|
},
|
|
@@ -7515,6 +7689,12 @@
|
|
|
7515
7689
|
"filePath": "src/tokens/component/button.json5",
|
|
7516
7690
|
"isSource": true,
|
|
7517
7691
|
"$type": "color"
|
|
7692
|
+
},
|
|
7693
|
+
"light-high-contrast": {
|
|
7694
|
+
"$value": "#980e1e",
|
|
7695
|
+
"filePath": "src/tokens/component/button.json5",
|
|
7696
|
+
"isSource": true,
|
|
7697
|
+
"$type": "color"
|
|
7518
7698
|
}
|
|
7519
7699
|
}
|
|
7520
7700
|
},
|
|
@@ -7535,6 +7715,12 @@
|
|
|
7535
7715
|
"filePath": "src/tokens/component/button.json5",
|
|
7536
7716
|
"isSource": true,
|
|
7537
7717
|
"$type": "color"
|
|
7718
|
+
},
|
|
7719
|
+
"light-high-contrast": {
|
|
7720
|
+
"$value": "#980e1e",
|
|
7721
|
+
"filePath": "src/tokens/component/button.json5",
|
|
7722
|
+
"isSource": true,
|
|
7723
|
+
"$type": "color"
|
|
7538
7724
|
}
|
|
7539
7725
|
}
|
|
7540
7726
|
}
|
|
@@ -7559,7 +7745,8 @@
|
|
|
7559
7745
|
"filePath": "src/tokens/component/button.json5",
|
|
7560
7746
|
"isSource": true,
|
|
7561
7747
|
"$type": "color"
|
|
7562
|
-
}
|
|
7748
|
+
},
|
|
7749
|
+
"light-high-contrast": "#3d444d"
|
|
7563
7750
|
}
|
|
7564
7751
|
},
|
|
7565
7752
|
"filePath": "src/tokens/component/button.json5",
|
|
@@ -7579,7 +7766,8 @@
|
|
|
7579
7766
|
"filePath": "src/tokens/component/button.json5",
|
|
7580
7767
|
"isSource": true,
|
|
7581
7768
|
"$type": "color"
|
|
7582
|
-
}
|
|
7769
|
+
},
|
|
7770
|
+
"light-high-contrast": "{base.color.neutral.7}"
|
|
7583
7771
|
}
|
|
7584
7772
|
}
|
|
7585
7773
|
},
|
|
@@ -18170,6 +18358,9 @@
|
|
|
18170
18358
|
"collection": "mode",
|
|
18171
18359
|
"group": "component (internal)",
|
|
18172
18360
|
"scopes": ["borderColor"]
|
|
18361
|
+
},
|
|
18362
|
+
"org.primer.overrides": {
|
|
18363
|
+
"light-high-contrast": "#3d444d"
|
|
18173
18364
|
}
|
|
18174
18365
|
},
|
|
18175
18366
|
"filePath": "src/tokens/component/header.json5",
|
|
@@ -18182,6 +18373,9 @@
|
|
|
18182
18373
|
"collection": "mode",
|
|
18183
18374
|
"group": "component (internal)",
|
|
18184
18375
|
"scopes": ["borderColor"]
|
|
18376
|
+
},
|
|
18377
|
+
"org.primer.overrides": {
|
|
18378
|
+
"light-high-contrast": "{base.color.neutral.7}"
|
|
18185
18379
|
}
|
|
18186
18380
|
}
|
|
18187
18381
|
},
|