@primer/primitives 10.5.0-rc.1c002767 → 10.5.0-rc.21e0fa7a

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.
Files changed (26) hide show
  1. package/dist/css/functional/themes/dark-high-contrast.css +12 -12
  2. package/dist/css/functional/themes/light-high-contrast.css +12 -12
  3. package/dist/docs/functional/themes/dark-colorblind.json +104 -0
  4. package/dist/docs/functional/themes/dark-dimmed.json +104 -0
  5. package/dist/docs/functional/themes/dark-high-contrast.json +121 -17
  6. package/dist/docs/functional/themes/dark-tritanopia.json +104 -0
  7. package/dist/docs/functional/themes/dark.json +104 -0
  8. package/dist/docs/functional/themes/light-colorblind.json +104 -0
  9. package/dist/docs/functional/themes/light-high-contrast.json +121 -17
  10. package/dist/docs/functional/themes/light-tritanopia.json +104 -0
  11. package/dist/docs/functional/themes/light.json +104 -0
  12. package/dist/figma/themes/dark-high-contrast.json +14 -14
  13. package/dist/figma/themes/light-high-contrast.json +14 -14
  14. package/dist/internalCss/dark-high-contrast.css +12 -12
  15. package/dist/internalCss/light-high-contrast.css +12 -12
  16. package/dist/styleLint/functional/themes/dark-colorblind.json +104 -0
  17. package/dist/styleLint/functional/themes/dark-dimmed.json +104 -0
  18. package/dist/styleLint/functional/themes/dark-high-contrast.json +121 -17
  19. package/dist/styleLint/functional/themes/dark-tritanopia.json +104 -0
  20. package/dist/styleLint/functional/themes/dark.json +104 -0
  21. package/dist/styleLint/functional/themes/light-colorblind.json +104 -0
  22. package/dist/styleLint/functional/themes/light-high-contrast.json +121 -17
  23. package/dist/styleLint/functional/themes/light-tritanopia.json +104 -0
  24. package/dist/styleLint/functional/themes/light.json +104 -0
  25. package/package.json +1 -1
  26. package/src/tokens/component/contribution.json5 +37 -0
@@ -140,16 +140,16 @@
140
140
  --color-prettylights-syntax-string-regexp: #72f088;
141
141
  --color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d;
142
142
  --color-prettylights-syntax-variable: #ffb757;
143
- --contribution-default-bgColor-0: #151b23;
143
+ --contribution-default-bgColor-0: #212830;
144
144
  --contribution-default-bgColor-1: #007728;
145
145
  --contribution-default-bgColor-2: #02a232;
146
146
  --contribution-default-bgColor-3: #0ac740;
147
147
  --contribution-default-bgColor-4: #4ae168;
148
- --contribution-default-borderColor-0: #ffffff0d;
149
- --contribution-default-borderColor-1: #ffffff0d;
150
- --contribution-default-borderColor-2: #ffffff0d;
151
- --contribution-default-borderColor-3: #ffffff0d;
152
- --contribution-default-borderColor-4: #ffffff0d;
148
+ --contribution-default-borderColor-0: #ffffff;
149
+ --contribution-default-borderColor-1: #ffffff;
150
+ --contribution-default-borderColor-2: #ffffff;
151
+ --contribution-default-borderColor-3: #ffffff;
152
+ --contribution-default-borderColor-4: #ffffff;
153
153
  --contribution-halloween-bgColor-1: #fac68f;
154
154
  --contribution-halloween-bgColor-2: #c46212;
155
155
  --contribution-halloween-bgColor-3: #984b10;
@@ -829,16 +829,16 @@
829
829
  --color-prettylights-syntax-string-regexp: #72f088;
830
830
  --color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d;
831
831
  --color-prettylights-syntax-variable: #ffb757;
832
- --contribution-default-bgColor-0: #151b23;
832
+ --contribution-default-bgColor-0: #212830;
833
833
  --contribution-default-bgColor-1: #007728;
834
834
  --contribution-default-bgColor-2: #02a232;
835
835
  --contribution-default-bgColor-3: #0ac740;
836
836
  --contribution-default-bgColor-4: #4ae168;
837
- --contribution-default-borderColor-0: #ffffff0d;
838
- --contribution-default-borderColor-1: #ffffff0d;
839
- --contribution-default-borderColor-2: #ffffff0d;
840
- --contribution-default-borderColor-3: #ffffff0d;
841
- --contribution-default-borderColor-4: #ffffff0d;
837
+ --contribution-default-borderColor-0: #ffffff;
838
+ --contribution-default-borderColor-1: #ffffff;
839
+ --contribution-default-borderColor-2: #ffffff;
840
+ --contribution-default-borderColor-3: #ffffff;
841
+ --contribution-default-borderColor-4: #ffffff;
842
842
  --contribution-halloween-bgColor-1: #fac68f;
843
843
  --contribution-halloween-bgColor-2: #c46212;
844
844
  --contribution-halloween-bgColor-3: #984b10;
@@ -125,16 +125,16 @@
125
125
  --color-prettylights-syntax-string-regexp: #024c1a;
126
126
  --color-prettylights-syntax-sublimelinter-gutter-mark: #818b98;
127
127
  --color-prettylights-syntax-variable: #702c00;
128
- --contribution-default-bgColor-0: #eff2f5;
128
+ --contribution-default-bgColor-0: #e6eaef;
129
129
  --contribution-default-bgColor-1: #82e596;
130
130
  --contribution-default-bgColor-2: #26a148;
131
131
  --contribution-default-bgColor-3: #117f32;
132
132
  --contribution-default-bgColor-4: #024c1a;
133
- --contribution-default-borderColor-0: #0104090d;
134
- --contribution-default-borderColor-1: #0104090d;
135
- --contribution-default-borderColor-2: #0104090d;
136
- --contribution-default-borderColor-3: #0104090d;
137
- --contribution-default-borderColor-4: #0104090d;
133
+ --contribution-default-borderColor-0: #010409;
134
+ --contribution-default-borderColor-1: #010409;
135
+ --contribution-default-borderColor-2: #010409;
136
+ --contribution-default-borderColor-3: #010409;
137
+ --contribution-default-borderColor-4: #010409;
138
138
  --contribution-halloween-bgColor-1: #f0db3d;
139
139
  --contribution-halloween-bgColor-2: #ffd642;
140
140
  --contribution-halloween-bgColor-3: #f68c41;
@@ -814,16 +814,16 @@
814
814
  --color-prettylights-syntax-string-regexp: #024c1a;
815
815
  --color-prettylights-syntax-sublimelinter-gutter-mark: #818b98;
816
816
  --color-prettylights-syntax-variable: #702c00;
817
- --contribution-default-bgColor-0: #eff2f5;
817
+ --contribution-default-bgColor-0: #e6eaef;
818
818
  --contribution-default-bgColor-1: #82e596;
819
819
  --contribution-default-bgColor-2: #26a148;
820
820
  --contribution-default-bgColor-3: #117f32;
821
821
  --contribution-default-bgColor-4: #024c1a;
822
- --contribution-default-borderColor-0: #0104090d;
823
- --contribution-default-borderColor-1: #0104090d;
824
- --contribution-default-borderColor-2: #0104090d;
825
- --contribution-default-borderColor-3: #0104090d;
826
- --contribution-default-borderColor-4: #0104090d;
822
+ --contribution-default-borderColor-0: #010409;
823
+ --contribution-default-borderColor-1: #010409;
824
+ --contribution-default-borderColor-2: #010409;
825
+ --contribution-default-borderColor-3: #010409;
826
+ --contribution-default-borderColor-4: #010409;
827
827
  --contribution-halloween-bgColor-1: #f0db3d;
828
828
  --contribution-halloween-bgColor-2: #ffd642;
829
829
  --contribution-halloween-bgColor-3: #f68c41;
@@ -10738,6 +10738,8 @@
10738
10738
  "scopes": ["bgColor"]
10739
10739
  },
10740
10740
  "org.primer.overrides": {
10741
+ "dark-high-contrast": "#212830",
10742
+ "light-high-contrast": "#212830",
10741
10743
  "dark-dimmed": "#2a313c"
10742
10744
  }
10743
10745
  },
@@ -10753,6 +10755,8 @@
10753
10755
  "scopes": ["bgColor"]
10754
10756
  },
10755
10757
  "org.primer.overrides": {
10758
+ "dark-high-contrast": "{base.color.neutral.3}",
10759
+ "light-high-contrast": "{base.color.neutral.3}",
10756
10760
  "dark-dimmed": "{base.color.neutral.5}"
10757
10761
  }
10758
10762
  }
@@ -10916,6 +10920,16 @@
10916
10920
  "filePath": "src/tokens/component/contribution.json5",
10917
10921
  "isSource": true,
10918
10922
  "$type": "color"
10923
+ },
10924
+ "dark-high-contrast": {
10925
+ "$value": "#ffffff",
10926
+ "alpha": 1,
10927
+ "filePath": "src/tokens/component/contribution.json5",
10928
+ "isSource": true,
10929
+ "$type": "color"
10930
+ },
10931
+ "light-high-contrast": {
10932
+ "alpha": 1
10919
10933
  }
10920
10934
  }
10921
10935
  },
@@ -10945,6 +10959,16 @@
10945
10959
  "filePath": "src/tokens/component/contribution.json5",
10946
10960
  "isSource": true,
10947
10961
  "$type": "color"
10962
+ },
10963
+ "dark-high-contrast": {
10964
+ "$value": "{base.color.white}",
10965
+ "alpha": 1,
10966
+ "filePath": "src/tokens/component/contribution.json5",
10967
+ "isSource": true,
10968
+ "$type": "color"
10969
+ },
10970
+ "light-high-contrast": {
10971
+ "alpha": 1
10948
10972
  }
10949
10973
  }
10950
10974
  }
@@ -10978,6 +11002,16 @@
10978
11002
  "filePath": "src/tokens/component/contribution.json5",
10979
11003
  "isSource": true,
10980
11004
  "$type": "color"
11005
+ },
11006
+ "dark-high-contrast": {
11007
+ "$value": "#ffffff",
11008
+ "alpha": 1,
11009
+ "filePath": "src/tokens/component/contribution.json5",
11010
+ "isSource": true,
11011
+ "$type": "color"
11012
+ },
11013
+ "light-high-contrast": {
11014
+ "alpha": 1
10981
11015
  }
10982
11016
  }
10983
11017
  },
@@ -11007,6 +11041,16 @@
11007
11041
  "filePath": "src/tokens/component/contribution.json5",
11008
11042
  "isSource": true,
11009
11043
  "$type": "color"
11044
+ },
11045
+ "dark-high-contrast": {
11046
+ "$value": "{base.color.white}",
11047
+ "alpha": 1,
11048
+ "filePath": "src/tokens/component/contribution.json5",
11049
+ "isSource": true,
11050
+ "$type": "color"
11051
+ },
11052
+ "light-high-contrast": {
11053
+ "alpha": 1
11010
11054
  }
11011
11055
  }
11012
11056
  }
@@ -11040,6 +11084,16 @@
11040
11084
  "filePath": "src/tokens/component/contribution.json5",
11041
11085
  "isSource": true,
11042
11086
  "$type": "color"
11087
+ },
11088
+ "dark-high-contrast": {
11089
+ "$value": "#ffffff",
11090
+ "alpha": 1,
11091
+ "filePath": "src/tokens/component/contribution.json5",
11092
+ "isSource": true,
11093
+ "$type": "color"
11094
+ },
11095
+ "light-high-contrast": {
11096
+ "alpha": 1
11043
11097
  }
11044
11098
  }
11045
11099
  },
@@ -11069,6 +11123,16 @@
11069
11123
  "filePath": "src/tokens/component/contribution.json5",
11070
11124
  "isSource": true,
11071
11125
  "$type": "color"
11126
+ },
11127
+ "dark-high-contrast": {
11128
+ "$value": "{base.color.white}",
11129
+ "alpha": 1,
11130
+ "filePath": "src/tokens/component/contribution.json5",
11131
+ "isSource": true,
11132
+ "$type": "color"
11133
+ },
11134
+ "light-high-contrast": {
11135
+ "alpha": 1
11072
11136
  }
11073
11137
  }
11074
11138
  }
@@ -11102,6 +11166,16 @@
11102
11166
  "filePath": "src/tokens/component/contribution.json5",
11103
11167
  "isSource": true,
11104
11168
  "$type": "color"
11169
+ },
11170
+ "dark-high-contrast": {
11171
+ "$value": "#ffffff",
11172
+ "alpha": 1,
11173
+ "filePath": "src/tokens/component/contribution.json5",
11174
+ "isSource": true,
11175
+ "$type": "color"
11176
+ },
11177
+ "light-high-contrast": {
11178
+ "alpha": 1
11105
11179
  }
11106
11180
  }
11107
11181
  },
@@ -11131,6 +11205,16 @@
11131
11205
  "filePath": "src/tokens/component/contribution.json5",
11132
11206
  "isSource": true,
11133
11207
  "$type": "color"
11208
+ },
11209
+ "dark-high-contrast": {
11210
+ "$value": "{base.color.white}",
11211
+ "alpha": 1,
11212
+ "filePath": "src/tokens/component/contribution.json5",
11213
+ "isSource": true,
11214
+ "$type": "color"
11215
+ },
11216
+ "light-high-contrast": {
11217
+ "alpha": 1
11134
11218
  }
11135
11219
  }
11136
11220
  }
@@ -11164,6 +11248,16 @@
11164
11248
  "filePath": "src/tokens/component/contribution.json5",
11165
11249
  "isSource": true,
11166
11250
  "$type": "color"
11251
+ },
11252
+ "dark-high-contrast": {
11253
+ "$value": "#ffffff",
11254
+ "alpha": 1,
11255
+ "filePath": "src/tokens/component/contribution.json5",
11256
+ "isSource": true,
11257
+ "$type": "color"
11258
+ },
11259
+ "light-high-contrast": {
11260
+ "alpha": 1
11167
11261
  }
11168
11262
  }
11169
11263
  },
@@ -11193,6 +11287,16 @@
11193
11287
  "filePath": "src/tokens/component/contribution.json5",
11194
11288
  "isSource": true,
11195
11289
  "$type": "color"
11290
+ },
11291
+ "dark-high-contrast": {
11292
+ "$value": "{base.color.white}",
11293
+ "alpha": 1,
11294
+ "filePath": "src/tokens/component/contribution.json5",
11295
+ "isSource": true,
11296
+ "$type": "color"
11297
+ },
11298
+ "light-high-contrast": {
11299
+ "alpha": 1
11196
11300
  }
11197
11301
  }
11198
11302
  }
@@ -10732,6 +10732,8 @@
10732
10732
  "scopes": ["bgColor"]
10733
10733
  },
10734
10734
  "org.primer.overrides": {
10735
+ "dark-high-contrast": "#212830",
10736
+ "light-high-contrast": "#212830",
10735
10737
  "dark-dimmed": "#2a313c"
10736
10738
  }
10737
10739
  },
@@ -10747,6 +10749,8 @@
10747
10749
  "scopes": ["bgColor"]
10748
10750
  },
10749
10751
  "org.primer.overrides": {
10752
+ "dark-high-contrast": "{base.color.neutral.3}",
10753
+ "light-high-contrast": "{base.color.neutral.3}",
10750
10754
  "dark-dimmed": "{base.color.neutral.5}"
10751
10755
  }
10752
10756
  }
@@ -10910,6 +10914,16 @@
10910
10914
  "filePath": "src/tokens/component/contribution.json5",
10911
10915
  "isSource": true,
10912
10916
  "$type": "color"
10917
+ },
10918
+ "dark-high-contrast": {
10919
+ "$value": "#cdd9e5",
10920
+ "alpha": 1,
10921
+ "filePath": "src/tokens/component/contribution.json5",
10922
+ "isSource": true,
10923
+ "$type": "color"
10924
+ },
10925
+ "light-high-contrast": {
10926
+ "alpha": 1
10913
10927
  }
10914
10928
  }
10915
10929
  },
@@ -10939,6 +10953,16 @@
10939
10953
  "filePath": "src/tokens/component/contribution.json5",
10940
10954
  "isSource": true,
10941
10955
  "$type": "color"
10956
+ },
10957
+ "dark-high-contrast": {
10958
+ "$value": "{base.color.white}",
10959
+ "alpha": 1,
10960
+ "filePath": "src/tokens/component/contribution.json5",
10961
+ "isSource": true,
10962
+ "$type": "color"
10963
+ },
10964
+ "light-high-contrast": {
10965
+ "alpha": 1
10942
10966
  }
10943
10967
  }
10944
10968
  }
@@ -10972,6 +10996,16 @@
10972
10996
  "filePath": "src/tokens/component/contribution.json5",
10973
10997
  "isSource": true,
10974
10998
  "$type": "color"
10999
+ },
11000
+ "dark-high-contrast": {
11001
+ "$value": "#cdd9e5",
11002
+ "alpha": 1,
11003
+ "filePath": "src/tokens/component/contribution.json5",
11004
+ "isSource": true,
11005
+ "$type": "color"
11006
+ },
11007
+ "light-high-contrast": {
11008
+ "alpha": 1
10975
11009
  }
10976
11010
  }
10977
11011
  },
@@ -11001,6 +11035,16 @@
11001
11035
  "filePath": "src/tokens/component/contribution.json5",
11002
11036
  "isSource": true,
11003
11037
  "$type": "color"
11038
+ },
11039
+ "dark-high-contrast": {
11040
+ "$value": "{base.color.white}",
11041
+ "alpha": 1,
11042
+ "filePath": "src/tokens/component/contribution.json5",
11043
+ "isSource": true,
11044
+ "$type": "color"
11045
+ },
11046
+ "light-high-contrast": {
11047
+ "alpha": 1
11004
11048
  }
11005
11049
  }
11006
11050
  }
@@ -11034,6 +11078,16 @@
11034
11078
  "filePath": "src/tokens/component/contribution.json5",
11035
11079
  "isSource": true,
11036
11080
  "$type": "color"
11081
+ },
11082
+ "dark-high-contrast": {
11083
+ "$value": "#cdd9e5",
11084
+ "alpha": 1,
11085
+ "filePath": "src/tokens/component/contribution.json5",
11086
+ "isSource": true,
11087
+ "$type": "color"
11088
+ },
11089
+ "light-high-contrast": {
11090
+ "alpha": 1
11037
11091
  }
11038
11092
  }
11039
11093
  },
@@ -11063,6 +11117,16 @@
11063
11117
  "filePath": "src/tokens/component/contribution.json5",
11064
11118
  "isSource": true,
11065
11119
  "$type": "color"
11120
+ },
11121
+ "dark-high-contrast": {
11122
+ "$value": "{base.color.white}",
11123
+ "alpha": 1,
11124
+ "filePath": "src/tokens/component/contribution.json5",
11125
+ "isSource": true,
11126
+ "$type": "color"
11127
+ },
11128
+ "light-high-contrast": {
11129
+ "alpha": 1
11066
11130
  }
11067
11131
  }
11068
11132
  }
@@ -11096,6 +11160,16 @@
11096
11160
  "filePath": "src/tokens/component/contribution.json5",
11097
11161
  "isSource": true,
11098
11162
  "$type": "color"
11163
+ },
11164
+ "dark-high-contrast": {
11165
+ "$value": "#cdd9e5",
11166
+ "alpha": 1,
11167
+ "filePath": "src/tokens/component/contribution.json5",
11168
+ "isSource": true,
11169
+ "$type": "color"
11170
+ },
11171
+ "light-high-contrast": {
11172
+ "alpha": 1
11099
11173
  }
11100
11174
  }
11101
11175
  },
@@ -11125,6 +11199,16 @@
11125
11199
  "filePath": "src/tokens/component/contribution.json5",
11126
11200
  "isSource": true,
11127
11201
  "$type": "color"
11202
+ },
11203
+ "dark-high-contrast": {
11204
+ "$value": "{base.color.white}",
11205
+ "alpha": 1,
11206
+ "filePath": "src/tokens/component/contribution.json5",
11207
+ "isSource": true,
11208
+ "$type": "color"
11209
+ },
11210
+ "light-high-contrast": {
11211
+ "alpha": 1
11128
11212
  }
11129
11213
  }
11130
11214
  }
@@ -11158,6 +11242,16 @@
11158
11242
  "filePath": "src/tokens/component/contribution.json5",
11159
11243
  "isSource": true,
11160
11244
  "$type": "color"
11245
+ },
11246
+ "dark-high-contrast": {
11247
+ "$value": "#cdd9e5",
11248
+ "alpha": 1,
11249
+ "filePath": "src/tokens/component/contribution.json5",
11250
+ "isSource": true,
11251
+ "$type": "color"
11252
+ },
11253
+ "light-high-contrast": {
11254
+ "alpha": 1
11161
11255
  }
11162
11256
  }
11163
11257
  },
@@ -11187,6 +11281,16 @@
11187
11281
  "filePath": "src/tokens/component/contribution.json5",
11188
11282
  "isSource": true,
11189
11283
  "$type": "color"
11284
+ },
11285
+ "dark-high-contrast": {
11286
+ "$value": "{base.color.white}",
11287
+ "alpha": 1,
11288
+ "filePath": "src/tokens/component/contribution.json5",
11289
+ "isSource": true,
11290
+ "$type": "color"
11291
+ },
11292
+ "light-high-contrast": {
11293
+ "alpha": 1
11190
11294
  }
11191
11295
  }
11192
11296
  }