@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
@@ -10722,6 +10722,8 @@
10722
10722
  "scopes": ["bgColor"]
10723
10723
  },
10724
10724
  "org.primer.overrides": {
10725
+ "dark-high-contrast": "#e6eaef",
10726
+ "light-high-contrast": "#e6eaef",
10725
10727
  "dark-dimmed": "#dae0e7"
10726
10728
  }
10727
10729
  },
@@ -10737,6 +10739,8 @@
10737
10739
  "scopes": ["bgColor"]
10738
10740
  },
10739
10741
  "org.primer.overrides": {
10742
+ "dark-high-contrast": "{base.color.neutral.3}",
10743
+ "light-high-contrast": "{base.color.neutral.3}",
10740
10744
  "dark-dimmed": "{base.color.neutral.5}"
10741
10745
  }
10742
10746
  }
@@ -10900,6 +10904,16 @@
10900
10904
  "filePath": "src/tokens/component/contribution.json5",
10901
10905
  "isSource": true,
10902
10906
  "$type": "color"
10907
+ },
10908
+ "dark-high-contrast": {
10909
+ "$value": "#ffffff",
10910
+ "alpha": 1,
10911
+ "filePath": "src/tokens/component/contribution.json5",
10912
+ "isSource": true,
10913
+ "$type": "color"
10914
+ },
10915
+ "light-high-contrast": {
10916
+ "alpha": 1
10903
10917
  }
10904
10918
  }
10905
10919
  },
@@ -10929,6 +10943,16 @@
10929
10943
  "filePath": "src/tokens/component/contribution.json5",
10930
10944
  "isSource": true,
10931
10945
  "$type": "color"
10946
+ },
10947
+ "dark-high-contrast": {
10948
+ "$value": "{base.color.white}",
10949
+ "alpha": 1,
10950
+ "filePath": "src/tokens/component/contribution.json5",
10951
+ "isSource": true,
10952
+ "$type": "color"
10953
+ },
10954
+ "light-high-contrast": {
10955
+ "alpha": 1
10932
10956
  }
10933
10957
  }
10934
10958
  }
@@ -10962,6 +10986,16 @@
10962
10986
  "filePath": "src/tokens/component/contribution.json5",
10963
10987
  "isSource": true,
10964
10988
  "$type": "color"
10989
+ },
10990
+ "dark-high-contrast": {
10991
+ "$value": "#ffffff",
10992
+ "alpha": 1,
10993
+ "filePath": "src/tokens/component/contribution.json5",
10994
+ "isSource": true,
10995
+ "$type": "color"
10996
+ },
10997
+ "light-high-contrast": {
10998
+ "alpha": 1
10965
10999
  }
10966
11000
  }
10967
11001
  },
@@ -10991,6 +11025,16 @@
10991
11025
  "filePath": "src/tokens/component/contribution.json5",
10992
11026
  "isSource": true,
10993
11027
  "$type": "color"
11028
+ },
11029
+ "dark-high-contrast": {
11030
+ "$value": "{base.color.white}",
11031
+ "alpha": 1,
11032
+ "filePath": "src/tokens/component/contribution.json5",
11033
+ "isSource": true,
11034
+ "$type": "color"
11035
+ },
11036
+ "light-high-contrast": {
11037
+ "alpha": 1
10994
11038
  }
10995
11039
  }
10996
11040
  }
@@ -11024,6 +11068,16 @@
11024
11068
  "filePath": "src/tokens/component/contribution.json5",
11025
11069
  "isSource": true,
11026
11070
  "$type": "color"
11071
+ },
11072
+ "dark-high-contrast": {
11073
+ "$value": "#ffffff",
11074
+ "alpha": 1,
11075
+ "filePath": "src/tokens/component/contribution.json5",
11076
+ "isSource": true,
11077
+ "$type": "color"
11078
+ },
11079
+ "light-high-contrast": {
11080
+ "alpha": 1
11027
11081
  }
11028
11082
  }
11029
11083
  },
@@ -11053,6 +11107,16 @@
11053
11107
  "filePath": "src/tokens/component/contribution.json5",
11054
11108
  "isSource": true,
11055
11109
  "$type": "color"
11110
+ },
11111
+ "dark-high-contrast": {
11112
+ "$value": "{base.color.white}",
11113
+ "alpha": 1,
11114
+ "filePath": "src/tokens/component/contribution.json5",
11115
+ "isSource": true,
11116
+ "$type": "color"
11117
+ },
11118
+ "light-high-contrast": {
11119
+ "alpha": 1
11056
11120
  }
11057
11121
  }
11058
11122
  }
@@ -11086,6 +11150,16 @@
11086
11150
  "filePath": "src/tokens/component/contribution.json5",
11087
11151
  "isSource": true,
11088
11152
  "$type": "color"
11153
+ },
11154
+ "dark-high-contrast": {
11155
+ "$value": "#ffffff",
11156
+ "alpha": 1,
11157
+ "filePath": "src/tokens/component/contribution.json5",
11158
+ "isSource": true,
11159
+ "$type": "color"
11160
+ },
11161
+ "light-high-contrast": {
11162
+ "alpha": 1
11089
11163
  }
11090
11164
  }
11091
11165
  },
@@ -11115,6 +11189,16 @@
11115
11189
  "filePath": "src/tokens/component/contribution.json5",
11116
11190
  "isSource": true,
11117
11191
  "$type": "color"
11192
+ },
11193
+ "dark-high-contrast": {
11194
+ "$value": "{base.color.white}",
11195
+ "alpha": 1,
11196
+ "filePath": "src/tokens/component/contribution.json5",
11197
+ "isSource": true,
11198
+ "$type": "color"
11199
+ },
11200
+ "light-high-contrast": {
11201
+ "alpha": 1
11118
11202
  }
11119
11203
  }
11120
11204
  }
@@ -11148,6 +11232,16 @@
11148
11232
  "filePath": "src/tokens/component/contribution.json5",
11149
11233
  "isSource": true,
11150
11234
  "$type": "color"
11235
+ },
11236
+ "dark-high-contrast": {
11237
+ "$value": "#ffffff",
11238
+ "alpha": 1,
11239
+ "filePath": "src/tokens/component/contribution.json5",
11240
+ "isSource": true,
11241
+ "$type": "color"
11242
+ },
11243
+ "light-high-contrast": {
11244
+ "alpha": 1
11151
11245
  }
11152
11246
  }
11153
11247
  },
@@ -11177,6 +11271,16 @@
11177
11271
  "filePath": "src/tokens/component/contribution.json5",
11178
11272
  "isSource": true,
11179
11273
  "$type": "color"
11274
+ },
11275
+ "dark-high-contrast": {
11276
+ "$value": "{base.color.white}",
11277
+ "alpha": 1,
11278
+ "filePath": "src/tokens/component/contribution.json5",
11279
+ "isSource": true,
11280
+ "$type": "color"
11281
+ },
11282
+ "light-high-contrast": {
11283
+ "alpha": 1
11180
11284
  }
11181
11285
  }
11182
11286
  }
@@ -10718,6 +10718,8 @@
10718
10718
  "scopes": ["bgColor"]
10719
10719
  },
10720
10720
  "org.primer.overrides": {
10721
+ "dark-high-contrast": "#e6eaef",
10722
+ "light-high-contrast": "#e6eaef",
10721
10723
  "dark-dimmed": "#dae0e7"
10722
10724
  }
10723
10725
  },
@@ -10733,6 +10735,8 @@
10733
10735
  "scopes": ["bgColor"]
10734
10736
  },
10735
10737
  "org.primer.overrides": {
10738
+ "dark-high-contrast": "{base.color.neutral.3}",
10739
+ "light-high-contrast": "{base.color.neutral.3}",
10736
10740
  "dark-dimmed": "{base.color.neutral.5}"
10737
10741
  }
10738
10742
  }
@@ -10896,6 +10900,16 @@
10896
10900
  "filePath": "src/tokens/component/contribution.json5",
10897
10901
  "isSource": true,
10898
10902
  "$type": "color"
10903
+ },
10904
+ "dark-high-contrast": {
10905
+ "$value": "#ffffff",
10906
+ "alpha": 1,
10907
+ "filePath": "src/tokens/component/contribution.json5",
10908
+ "isSource": true,
10909
+ "$type": "color"
10910
+ },
10911
+ "light-high-contrast": {
10912
+ "alpha": 1
10899
10913
  }
10900
10914
  }
10901
10915
  },
@@ -10925,6 +10939,16 @@
10925
10939
  "filePath": "src/tokens/component/contribution.json5",
10926
10940
  "isSource": true,
10927
10941
  "$type": "color"
10942
+ },
10943
+ "dark-high-contrast": {
10944
+ "$value": "{base.color.white}",
10945
+ "alpha": 1,
10946
+ "filePath": "src/tokens/component/contribution.json5",
10947
+ "isSource": true,
10948
+ "$type": "color"
10949
+ },
10950
+ "light-high-contrast": {
10951
+ "alpha": 1
10928
10952
  }
10929
10953
  }
10930
10954
  }
@@ -10958,6 +10982,16 @@
10958
10982
  "filePath": "src/tokens/component/contribution.json5",
10959
10983
  "isSource": true,
10960
10984
  "$type": "color"
10985
+ },
10986
+ "dark-high-contrast": {
10987
+ "$value": "#ffffff",
10988
+ "alpha": 1,
10989
+ "filePath": "src/tokens/component/contribution.json5",
10990
+ "isSource": true,
10991
+ "$type": "color"
10992
+ },
10993
+ "light-high-contrast": {
10994
+ "alpha": 1
10961
10995
  }
10962
10996
  }
10963
10997
  },
@@ -10987,6 +11021,16 @@
10987
11021
  "filePath": "src/tokens/component/contribution.json5",
10988
11022
  "isSource": true,
10989
11023
  "$type": "color"
11024
+ },
11025
+ "dark-high-contrast": {
11026
+ "$value": "{base.color.white}",
11027
+ "alpha": 1,
11028
+ "filePath": "src/tokens/component/contribution.json5",
11029
+ "isSource": true,
11030
+ "$type": "color"
11031
+ },
11032
+ "light-high-contrast": {
11033
+ "alpha": 1
10990
11034
  }
10991
11035
  }
10992
11036
  }
@@ -11020,6 +11064,16 @@
11020
11064
  "filePath": "src/tokens/component/contribution.json5",
11021
11065
  "isSource": true,
11022
11066
  "$type": "color"
11067
+ },
11068
+ "dark-high-contrast": {
11069
+ "$value": "#ffffff",
11070
+ "alpha": 1,
11071
+ "filePath": "src/tokens/component/contribution.json5",
11072
+ "isSource": true,
11073
+ "$type": "color"
11074
+ },
11075
+ "light-high-contrast": {
11076
+ "alpha": 1
11023
11077
  }
11024
11078
  }
11025
11079
  },
@@ -11049,6 +11103,16 @@
11049
11103
  "filePath": "src/tokens/component/contribution.json5",
11050
11104
  "isSource": true,
11051
11105
  "$type": "color"
11106
+ },
11107
+ "dark-high-contrast": {
11108
+ "$value": "{base.color.white}",
11109
+ "alpha": 1,
11110
+ "filePath": "src/tokens/component/contribution.json5",
11111
+ "isSource": true,
11112
+ "$type": "color"
11113
+ },
11114
+ "light-high-contrast": {
11115
+ "alpha": 1
11052
11116
  }
11053
11117
  }
11054
11118
  }
@@ -11082,6 +11146,16 @@
11082
11146
  "filePath": "src/tokens/component/contribution.json5",
11083
11147
  "isSource": true,
11084
11148
  "$type": "color"
11149
+ },
11150
+ "dark-high-contrast": {
11151
+ "$value": "#ffffff",
11152
+ "alpha": 1,
11153
+ "filePath": "src/tokens/component/contribution.json5",
11154
+ "isSource": true,
11155
+ "$type": "color"
11156
+ },
11157
+ "light-high-contrast": {
11158
+ "alpha": 1
11085
11159
  }
11086
11160
  }
11087
11161
  },
@@ -11111,6 +11185,16 @@
11111
11185
  "filePath": "src/tokens/component/contribution.json5",
11112
11186
  "isSource": true,
11113
11187
  "$type": "color"
11188
+ },
11189
+ "dark-high-contrast": {
11190
+ "$value": "{base.color.white}",
11191
+ "alpha": 1,
11192
+ "filePath": "src/tokens/component/contribution.json5",
11193
+ "isSource": true,
11194
+ "$type": "color"
11195
+ },
11196
+ "light-high-contrast": {
11197
+ "alpha": 1
11114
11198
  }
11115
11199
  }
11116
11200
  }
@@ -11144,6 +11228,16 @@
11144
11228
  "filePath": "src/tokens/component/contribution.json5",
11145
11229
  "isSource": true,
11146
11230
  "$type": "color"
11231
+ },
11232
+ "dark-high-contrast": {
11233
+ "$value": "#ffffff",
11234
+ "alpha": 1,
11235
+ "filePath": "src/tokens/component/contribution.json5",
11236
+ "isSource": true,
11237
+ "$type": "color"
11238
+ },
11239
+ "light-high-contrast": {
11240
+ "alpha": 1
11147
11241
  }
11148
11242
  }
11149
11243
  },
@@ -11173,6 +11267,16 @@
11173
11267
  "filePath": "src/tokens/component/contribution.json5",
11174
11268
  "isSource": true,
11175
11269
  "$type": "color"
11270
+ },
11271
+ "dark-high-contrast": {
11272
+ "$value": "{base.color.white}",
11273
+ "alpha": 1,
11274
+ "filePath": "src/tokens/component/contribution.json5",
11275
+ "isSource": true,
11276
+ "$type": "color"
11277
+ },
11278
+ "light-high-contrast": {
11279
+ "alpha": 1
11176
11280
  }
11177
11281
  }
11178
11282
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "10.5.0-rc.1c002767",
3
+ "version": "10.5.0-rc.21e0fa7a",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "type": "module",
6
6
  "files": [
@@ -12,6 +12,8 @@
12
12
  scopes: ['bgColor'],
13
13
  },
14
14
  'org.primer.overrides': {
15
+ 'dark-high-contrast': '{base.color.neutral.3}',
16
+ 'light-high-contrast': '{base.color.neutral.3}',
15
17
  'dark-dimmed': '{base.color.neutral.5}',
16
18
  },
17
19
  },
@@ -90,6 +92,13 @@
90
92
  $value: '{base.color.white}',
91
93
  alpha: 0.05,
92
94
  },
95
+ 'dark-high-contrast': {
96
+ $value: '{base.color.white}',
97
+ alpha: 1,
98
+ },
99
+ 'light-high-contrast': {
100
+ alpha: 1,
101
+ },
93
102
  },
94
103
  },
95
104
  },
@@ -112,6 +121,13 @@
112
121
  $value: '{base.color.white}',
113
122
  alpha: 0.05,
114
123
  },
124
+ 'dark-high-contrast': {
125
+ $value: '{base.color.white}',
126
+ alpha: 1,
127
+ },
128
+ 'light-high-contrast': {
129
+ alpha: 1,
130
+ },
115
131
  },
116
132
  },
117
133
  },
@@ -134,6 +150,13 @@
134
150
  $value: '{base.color.white}',
135
151
  alpha: 0.05,
136
152
  },
153
+ 'dark-high-contrast': {
154
+ $value: '{base.color.white}',
155
+ alpha: 1,
156
+ },
157
+ 'light-high-contrast': {
158
+ alpha: 1,
159
+ },
137
160
  },
138
161
  },
139
162
  },
@@ -156,6 +179,13 @@
156
179
  $value: '{base.color.white}',
157
180
  alpha: 0.05,
158
181
  },
182
+ 'dark-high-contrast': {
183
+ $value: '{base.color.white}',
184
+ alpha: 1,
185
+ },
186
+ 'light-high-contrast': {
187
+ alpha: 1,
188
+ },
159
189
  },
160
190
  },
161
191
  },
@@ -178,6 +208,13 @@
178
208
  $value: '{base.color.white}',
179
209
  alpha: 0.05,
180
210
  },
211
+ 'dark-high-contrast': {
212
+ $value: '{base.color.white}',
213
+ alpha: 1,
214
+ },
215
+ 'light-high-contrast': {
216
+ alpha: 1,
217
+ },
181
218
  },
182
219
  },
183
220
  },