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