@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
|
@@ -3825,12 +3825,6 @@
|
|
|
3825
3825
|
"filePath": "src/tokens/component/button.json5",
|
|
3826
3826
|
"isSource": true,
|
|
3827
3827
|
"$type": "color"
|
|
3828
|
-
},
|
|
3829
|
-
"light-high-contrast": {
|
|
3830
|
-
"$value": "#74041a",
|
|
3831
|
-
"filePath": "src/tokens/component/button.json5",
|
|
3832
|
-
"isSource": true,
|
|
3833
|
-
"$type": "color"
|
|
3834
3828
|
}
|
|
3835
3829
|
}
|
|
3836
3830
|
},
|
|
@@ -3875,12 +3869,6 @@
|
|
|
3875
3869
|
"filePath": "src/tokens/component/button.json5",
|
|
3876
3870
|
"isSource": true,
|
|
3877
3871
|
"$type": "color"
|
|
3878
|
-
},
|
|
3879
|
-
"light-high-contrast": {
|
|
3880
|
-
"$value": "#74041a",
|
|
3881
|
-
"filePath": "src/tokens/component/button.json5",
|
|
3882
|
-
"isSource": true,
|
|
3883
|
-
"$type": "color"
|
|
3884
3872
|
}
|
|
3885
3873
|
}
|
|
3886
3874
|
}
|
|
@@ -5005,12 +4993,6 @@
|
|
|
5005
4993
|
"filePath": "src/tokens/component/button.json5",
|
|
5006
4994
|
"isSource": true,
|
|
5007
4995
|
"$type": "color"
|
|
5008
|
-
},
|
|
5009
|
-
"light-high-contrast": {
|
|
5010
|
-
"$value": "#2a313c",
|
|
5011
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5012
|
-
"isSource": true,
|
|
5013
|
-
"$type": "color"
|
|
5014
4996
|
}
|
|
5015
4997
|
}
|
|
5016
4998
|
},
|
|
@@ -5043,12 +5025,6 @@
|
|
|
5043
5025
|
"filePath": "src/tokens/component/button.json5",
|
|
5044
5026
|
"isSource": true,
|
|
5045
5027
|
"$type": "color"
|
|
5046
|
-
},
|
|
5047
|
-
"light-high-contrast": {
|
|
5048
|
-
"$value": "{control.bgColor.rest}",
|
|
5049
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5050
|
-
"isSource": true,
|
|
5051
|
-
"$type": "color"
|
|
5052
5028
|
}
|
|
5053
5029
|
}
|
|
5054
5030
|
}
|
|
@@ -5085,12 +5061,6 @@
|
|
|
5085
5061
|
"filePath": "src/tokens/component/button.json5",
|
|
5086
5062
|
"isSource": true,
|
|
5087
5063
|
"$type": "color"
|
|
5088
|
-
},
|
|
5089
|
-
"light-high-contrast": {
|
|
5090
|
-
"$value": "#b7bdc8",
|
|
5091
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5092
|
-
"isSource": true,
|
|
5093
|
-
"$type": "color"
|
|
5094
5064
|
}
|
|
5095
5065
|
}
|
|
5096
5066
|
},
|
|
@@ -5123,12 +5093,6 @@
|
|
|
5123
5093
|
"filePath": "src/tokens/component/button.json5",
|
|
5124
5094
|
"isSource": true,
|
|
5125
5095
|
"$type": "color"
|
|
5126
|
-
},
|
|
5127
|
-
"light-high-contrast": {
|
|
5128
|
-
"$value": "{base.color.neutral.10}",
|
|
5129
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5130
|
-
"isSource": true,
|
|
5131
|
-
"$type": "color"
|
|
5132
5096
|
}
|
|
5133
5097
|
}
|
|
5134
5098
|
}
|
|
@@ -5577,12 +5541,6 @@
|
|
|
5577
5541
|
"filePath": "src/tokens/component/button.json5",
|
|
5578
5542
|
"isSource": true,
|
|
5579
5543
|
"$type": "color"
|
|
5580
|
-
},
|
|
5581
|
-
"light-high-contrast": {
|
|
5582
|
-
"$value": "#d1d7e0",
|
|
5583
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5584
|
-
"isSource": true,
|
|
5585
|
-
"$type": "color"
|
|
5586
5544
|
}
|
|
5587
5545
|
}
|
|
5588
5546
|
},
|
|
@@ -5603,12 +5561,6 @@
|
|
|
5603
5561
|
"filePath": "src/tokens/component/button.json5",
|
|
5604
5562
|
"isSource": true,
|
|
5605
5563
|
"$type": "color"
|
|
5606
|
-
},
|
|
5607
|
-
"light-high-contrast": {
|
|
5608
|
-
"$value": "{base.color.neutral.11}",
|
|
5609
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5610
|
-
"isSource": true,
|
|
5611
|
-
"$type": "color"
|
|
5612
5564
|
}
|
|
5613
5565
|
}
|
|
5614
5566
|
}
|
|
@@ -5733,12 +5685,6 @@
|
|
|
5733
5685
|
"filePath": "src/tokens/component/button.json5",
|
|
5734
5686
|
"isSource": true,
|
|
5735
5687
|
"$type": "color"
|
|
5736
|
-
},
|
|
5737
|
-
"light-high-contrast": {
|
|
5738
|
-
"$value": "#d1d7e0",
|
|
5739
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5740
|
-
"isSource": true,
|
|
5741
|
-
"$type": "color"
|
|
5742
5688
|
}
|
|
5743
5689
|
}
|
|
5744
5690
|
},
|
|
@@ -5771,12 +5717,6 @@
|
|
|
5771
5717
|
"filePath": "src/tokens/component/button.json5",
|
|
5772
5718
|
"isSource": true,
|
|
5773
5719
|
"$type": "color"
|
|
5774
|
-
},
|
|
5775
|
-
"light-high-contrast": {
|
|
5776
|
-
"$value": "{base.color.neutral.11}",
|
|
5777
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5778
|
-
"isSource": true,
|
|
5779
|
-
"$type": "color"
|
|
5780
5720
|
}
|
|
5781
5721
|
}
|
|
5782
5722
|
}
|
|
@@ -5875,12 +5815,6 @@
|
|
|
5875
5815
|
"filePath": "src/tokens/component/button.json5",
|
|
5876
5816
|
"isSource": true,
|
|
5877
5817
|
"$type": "color"
|
|
5878
|
-
},
|
|
5879
|
-
"light-high-contrast": {
|
|
5880
|
-
"$value": "#033f9d",
|
|
5881
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5882
|
-
"isSource": true,
|
|
5883
|
-
"$type": "color"
|
|
5884
5818
|
}
|
|
5885
5819
|
}
|
|
5886
5820
|
},
|
|
@@ -5907,12 +5841,6 @@
|
|
|
5907
5841
|
"filePath": "src/tokens/component/button.json5",
|
|
5908
5842
|
"isSource": true,
|
|
5909
5843
|
"$type": "color"
|
|
5910
|
-
},
|
|
5911
|
-
"light-high-contrast": {
|
|
5912
|
-
"$value": "#033f9d",
|
|
5913
|
-
"filePath": "src/tokens/component/button.json5",
|
|
5914
|
-
"isSource": true,
|
|
5915
|
-
"$type": "color"
|
|
5916
5844
|
}
|
|
5917
5845
|
}
|
|
5918
5846
|
}
|
|
@@ -6429,12 +6357,6 @@
|
|
|
6429
6357
|
"filePath": "src/tokens/component/button.json5",
|
|
6430
6358
|
"isSource": true,
|
|
6431
6359
|
"$type": "color"
|
|
6432
|
-
},
|
|
6433
|
-
"light-high-contrast": {
|
|
6434
|
-
"$value": "#03501b",
|
|
6435
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6436
|
-
"isSource": true,
|
|
6437
|
-
"$type": "color"
|
|
6438
6360
|
}
|
|
6439
6361
|
}
|
|
6440
6362
|
},
|
|
@@ -6491,12 +6413,6 @@
|
|
|
6491
6413
|
"filePath": "src/tokens/component/button.json5",
|
|
6492
6414
|
"isSource": true,
|
|
6493
6415
|
"$type": "color"
|
|
6494
|
-
},
|
|
6495
|
-
"light-high-contrast": {
|
|
6496
|
-
"$value": "#03501b",
|
|
6497
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6498
|
-
"isSource": true,
|
|
6499
|
-
"$type": "color"
|
|
6500
6416
|
}
|
|
6501
6417
|
}
|
|
6502
6418
|
}
|
|
@@ -6557,12 +6473,6 @@
|
|
|
6557
6473
|
"filePath": "src/tokens/component/button.json5",
|
|
6558
6474
|
"isSource": true,
|
|
6559
6475
|
"$type": "color"
|
|
6560
|
-
},
|
|
6561
|
-
"light-high-contrast": {
|
|
6562
|
-
"$value": "#85cb97",
|
|
6563
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6564
|
-
"isSource": true,
|
|
6565
|
-
"$type": "color"
|
|
6566
6476
|
}
|
|
6567
6477
|
}
|
|
6568
6478
|
},
|
|
@@ -6619,12 +6529,6 @@
|
|
|
6619
6529
|
"filePath": "src/tokens/component/button.json5",
|
|
6620
6530
|
"isSource": true,
|
|
6621
6531
|
"$type": "color"
|
|
6622
|
-
},
|
|
6623
|
-
"light-high-contrast": {
|
|
6624
|
-
"$value": "#85cb97",
|
|
6625
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6626
|
-
"isSource": true,
|
|
6627
|
-
"$type": "color"
|
|
6628
6532
|
}
|
|
6629
6533
|
}
|
|
6630
6534
|
}
|
|
@@ -6685,12 +6589,6 @@
|
|
|
6685
6589
|
"filePath": "src/tokens/component/button.json5",
|
|
6686
6590
|
"isSource": true,
|
|
6687
6591
|
"$type": "color"
|
|
6688
|
-
},
|
|
6689
|
-
"light-high-contrast": {
|
|
6690
|
-
"$value": "#04571e",
|
|
6691
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6692
|
-
"isSource": true,
|
|
6693
|
-
"$type": "color"
|
|
6694
6592
|
}
|
|
6695
6593
|
}
|
|
6696
6594
|
},
|
|
@@ -6747,12 +6645,6 @@
|
|
|
6747
6645
|
"filePath": "src/tokens/component/button.json5",
|
|
6748
6646
|
"isSource": true,
|
|
6749
6647
|
"$type": "color"
|
|
6750
|
-
},
|
|
6751
|
-
"light-high-contrast": {
|
|
6752
|
-
"$value": "#04571e",
|
|
6753
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6754
|
-
"isSource": true,
|
|
6755
|
-
"$type": "color"
|
|
6756
6648
|
}
|
|
6757
6649
|
}
|
|
6758
6650
|
}
|
|
@@ -6777,12 +6669,6 @@
|
|
|
6777
6669
|
"filePath": "src/tokens/component/button.json5",
|
|
6778
6670
|
"isSource": true,
|
|
6779
6671
|
"$type": "color"
|
|
6780
|
-
},
|
|
6781
|
-
"light-high-contrast": {
|
|
6782
|
-
"$value": "#347d39",
|
|
6783
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6784
|
-
"isSource": true,
|
|
6785
|
-
"$type": "color"
|
|
6786
6672
|
}
|
|
6787
6673
|
}
|
|
6788
6674
|
},
|
|
@@ -6803,12 +6689,6 @@
|
|
|
6803
6689
|
"filePath": "src/tokens/component/button.json5",
|
|
6804
6690
|
"isSource": true,
|
|
6805
6691
|
"$type": "color"
|
|
6806
|
-
},
|
|
6807
|
-
"light-high-contrast": {
|
|
6808
|
-
"$value": "{base.color.green.5}",
|
|
6809
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6810
|
-
"isSource": true,
|
|
6811
|
-
"$type": "color"
|
|
6812
6692
|
}
|
|
6813
6693
|
}
|
|
6814
6694
|
}
|
|
@@ -6840,13 +6720,6 @@
|
|
|
6840
6720
|
"filePath": "src/tokens/component/button.json5",
|
|
6841
6721
|
"isSource": true,
|
|
6842
6722
|
"$type": "color"
|
|
6843
|
-
},
|
|
6844
|
-
"light-high-contrast": {
|
|
6845
|
-
"$value": "#245829",
|
|
6846
|
-
"alpha": 1,
|
|
6847
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6848
|
-
"isSource": true,
|
|
6849
|
-
"$type": "color"
|
|
6850
6723
|
}
|
|
6851
6724
|
}
|
|
6852
6725
|
},
|
|
@@ -6874,13 +6747,6 @@
|
|
|
6874
6747
|
"filePath": "src/tokens/component/button.json5",
|
|
6875
6748
|
"isSource": true,
|
|
6876
6749
|
"$type": "color"
|
|
6877
|
-
},
|
|
6878
|
-
"light-high-contrast": {
|
|
6879
|
-
"$value": "{base.color.green.7}",
|
|
6880
|
-
"alpha": 1,
|
|
6881
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6882
|
-
"isSource": true,
|
|
6883
|
-
"$type": "color"
|
|
6884
6750
|
}
|
|
6885
6751
|
}
|
|
6886
6752
|
}
|
|
@@ -6930,12 +6796,6 @@
|
|
|
6930
6796
|
"filePath": "src/tokens/component/button.json5",
|
|
6931
6797
|
"isSource": true,
|
|
6932
6798
|
"$type": "color"
|
|
6933
|
-
},
|
|
6934
|
-
"light-high-contrast": {
|
|
6935
|
-
"$value": "#85cb97",
|
|
6936
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6937
|
-
"isSource": true,
|
|
6938
|
-
"$type": "color"
|
|
6939
6799
|
}
|
|
6940
6800
|
}
|
|
6941
6801
|
},
|
|
@@ -6981,12 +6841,6 @@
|
|
|
6981
6841
|
"filePath": "src/tokens/component/button.json5",
|
|
6982
6842
|
"isSource": true,
|
|
6983
6843
|
"$type": "color"
|
|
6984
|
-
},
|
|
6985
|
-
"light-high-contrast": {
|
|
6986
|
-
"$value": "#85cb97",
|
|
6987
|
-
"filePath": "src/tokens/component/button.json5",
|
|
6988
|
-
"isSource": true,
|
|
6989
|
-
"$type": "color"
|
|
6990
6844
|
}
|
|
6991
6845
|
}
|
|
6992
6846
|
}
|
|
@@ -7018,13 +6872,6 @@
|
|
|
7018
6872
|
"filePath": "src/tokens/component/button.json5",
|
|
7019
6873
|
"isSource": true,
|
|
7020
6874
|
"$type": "color"
|
|
7021
|
-
},
|
|
7022
|
-
"light-high-contrast": {
|
|
7023
|
-
"$value": "#245829",
|
|
7024
|
-
"alpha": 1,
|
|
7025
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7026
|
-
"isSource": true,
|
|
7027
|
-
"$type": "color"
|
|
7028
6875
|
}
|
|
7029
6876
|
}
|
|
7030
6877
|
},
|
|
@@ -7052,13 +6899,6 @@
|
|
|
7052
6899
|
"filePath": "src/tokens/component/button.json5",
|
|
7053
6900
|
"isSource": true,
|
|
7054
6901
|
"$type": "color"
|
|
7055
|
-
},
|
|
7056
|
-
"light-high-contrast": {
|
|
7057
|
-
"$value": "{base.color.green.7}",
|
|
7058
|
-
"alpha": 1,
|
|
7059
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7060
|
-
"isSource": true,
|
|
7061
|
-
"$type": "color"
|
|
7062
6902
|
}
|
|
7063
6903
|
}
|
|
7064
6904
|
}
|
|
@@ -7091,13 +6931,6 @@
|
|
|
7091
6931
|
"filePath": "src/tokens/component/button.json5",
|
|
7092
6932
|
"isSource": true,
|
|
7093
6933
|
"$type": "color"
|
|
7094
|
-
},
|
|
7095
|
-
"light-high-contrast": {
|
|
7096
|
-
"$value": "#245829",
|
|
7097
|
-
"alpha": 1,
|
|
7098
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7099
|
-
"isSource": true,
|
|
7100
|
-
"$type": "color"
|
|
7101
6934
|
}
|
|
7102
6935
|
}
|
|
7103
6936
|
},
|
|
@@ -7127,13 +6960,6 @@
|
|
|
7127
6960
|
"filePath": "src/tokens/component/button.json5",
|
|
7128
6961
|
"isSource": true,
|
|
7129
6962
|
"$type": "color"
|
|
7130
|
-
},
|
|
7131
|
-
"light-high-contrast": {
|
|
7132
|
-
"$value": "{base.color.green.7}",
|
|
7133
|
-
"alpha": 1,
|
|
7134
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7135
|
-
"isSource": true,
|
|
7136
|
-
"$type": "color"
|
|
7137
6963
|
}
|
|
7138
6964
|
}
|
|
7139
6965
|
},
|
|
@@ -7677,12 +7503,6 @@
|
|
|
7677
7503
|
"filePath": "src/tokens/component/button.json5",
|
|
7678
7504
|
"isSource": true,
|
|
7679
7505
|
"$type": "color"
|
|
7680
|
-
},
|
|
7681
|
-
"light-high-contrast": {
|
|
7682
|
-
"$value": "#980e1e",
|
|
7683
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7684
|
-
"isSource": true,
|
|
7685
|
-
"$type": "color"
|
|
7686
7506
|
}
|
|
7687
7507
|
}
|
|
7688
7508
|
},
|
|
@@ -7703,12 +7523,6 @@
|
|
|
7703
7523
|
"filePath": "src/tokens/component/button.json5",
|
|
7704
7524
|
"isSource": true,
|
|
7705
7525
|
"$type": "color"
|
|
7706
|
-
},
|
|
7707
|
-
"light-high-contrast": {
|
|
7708
|
-
"$value": "#980e1e",
|
|
7709
|
-
"filePath": "src/tokens/component/button.json5",
|
|
7710
|
-
"isSource": true,
|
|
7711
|
-
"$type": "color"
|
|
7712
7526
|
}
|
|
7713
7527
|
}
|
|
7714
7528
|
}
|
|
@@ -7733,8 +7547,7 @@
|
|
|
7733
7547
|
"filePath": "src/tokens/component/button.json5",
|
|
7734
7548
|
"isSource": true,
|
|
7735
7549
|
"$type": "color"
|
|
7736
|
-
}
|
|
7737
|
-
"light-high-contrast": "#3d444d"
|
|
7550
|
+
}
|
|
7738
7551
|
}
|
|
7739
7552
|
},
|
|
7740
7553
|
"filePath": "src/tokens/component/button.json5",
|
|
@@ -7754,8 +7567,7 @@
|
|
|
7754
7567
|
"filePath": "src/tokens/component/button.json5",
|
|
7755
7568
|
"isSource": true,
|
|
7756
7569
|
"$type": "color"
|
|
7757
|
-
}
|
|
7758
|
-
"light-high-contrast": "{base.color.neutral.7}"
|
|
7570
|
+
}
|
|
7759
7571
|
}
|
|
7760
7572
|
}
|
|
7761
7573
|
},
|
|
@@ -19142,9 +18954,6 @@
|
|
|
19142
18954
|
"collection": "mode",
|
|
19143
18955
|
"group": "component (internal)",
|
|
19144
18956
|
"scopes": ["borderColor"]
|
|
19145
|
-
},
|
|
19146
|
-
"org.primer.overrides": {
|
|
19147
|
-
"light-high-contrast": "#3d444d"
|
|
19148
18957
|
}
|
|
19149
18958
|
},
|
|
19150
18959
|
"filePath": "src/tokens/component/header.json5",
|
|
@@ -19157,9 +18966,6 @@
|
|
|
19157
18966
|
"collection": "mode",
|
|
19158
18967
|
"group": "component (internal)",
|
|
19159
18968
|
"scopes": ["borderColor"]
|
|
19160
|
-
},
|
|
19161
|
-
"org.primer.overrides": {
|
|
19162
|
-
"light-high-contrast": "{base.color.neutral.7}"
|
|
19163
18969
|
}
|
|
19164
18970
|
}
|
|
19165
18971
|
},
|