@primer/primitives 10.3.4 → 10.4.0-rc.1cf1d876

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 (74) hide show
  1. package/dist/css/base/motion/motion.css +1 -0
  2. package/dist/css/functional/themes/dark-colorblind.css +36 -0
  3. package/dist/css/functional/themes/dark-dimmed.css +36 -0
  4. package/dist/css/functional/themes/dark-high-contrast.css +36 -0
  5. package/dist/css/functional/themes/dark-tritanopia.css +36 -0
  6. package/dist/css/functional/themes/dark.css +36 -0
  7. package/dist/css/functional/themes/light-colorblind.css +36 -0
  8. package/dist/css/functional/themes/light-high-contrast.css +36 -0
  9. package/dist/css/functional/themes/light-tritanopia.css +36 -0
  10. package/dist/css/functional/themes/light.css +36 -0
  11. package/dist/css/primitives.css +1 -0
  12. package/dist/docs/base/motion/motion.json +14 -0
  13. package/dist/docs/functional/themes/dark-colorblind.json +2600 -226
  14. package/dist/docs/functional/themes/dark-dimmed.json +2152 -166
  15. package/dist/docs/functional/themes/dark-high-contrast.json +2786 -260
  16. package/dist/docs/functional/themes/dark-tritanopia.json +2446 -160
  17. package/dist/docs/functional/themes/dark.json +2379 -215
  18. package/dist/docs/functional/themes/light-colorblind.json +2573 -225
  19. package/dist/docs/functional/themes/light-high-contrast.json +1990 -234
  20. package/dist/docs/functional/themes/light-tritanopia.json +2437 -163
  21. package/dist/docs/functional/themes/light.json +2380 -216
  22. package/dist/fallbacks/base/motion/motion.json +1 -0
  23. package/dist/figma/themes/dark-colorblind.json +4154 -3589
  24. package/dist/figma/themes/dark-dimmed.json +3945 -3563
  25. package/dist/figma/themes/dark-high-contrast.json +3361 -2651
  26. package/dist/figma/themes/dark-tritanopia.json +4128 -3675
  27. package/dist/figma/themes/dark.json +4039 -3746
  28. package/dist/figma/themes/light-colorblind.json +4084 -3551
  29. package/dist/figma/themes/light-high-contrast.json +3409 -3101
  30. package/dist/figma/themes/light-tritanopia.json +4086 -3649
  31. package/dist/figma/themes/light.json +3991 -3698
  32. package/dist/internalCss/dark-colorblind.css +36 -0
  33. package/dist/internalCss/dark-dimmed.css +36 -0
  34. package/dist/internalCss/dark-high-contrast.css +36 -0
  35. package/dist/internalCss/dark-tritanopia.css +36 -0
  36. package/dist/internalCss/dark.css +36 -0
  37. package/dist/internalCss/light-colorblind.css +36 -0
  38. package/dist/internalCss/light-high-contrast.css +36 -0
  39. package/dist/internalCss/light-tritanopia.css +36 -0
  40. package/dist/internalCss/light.css +36 -0
  41. package/dist/styleLint/base/motion/motion.json +14 -0
  42. package/dist/styleLint/functional/themes/dark-colorblind.json +2599 -225
  43. package/dist/styleLint/functional/themes/dark-dimmed.json +2151 -165
  44. package/dist/styleLint/functional/themes/dark-high-contrast.json +2785 -259
  45. package/dist/styleLint/functional/themes/dark-tritanopia.json +2446 -160
  46. package/dist/styleLint/functional/themes/dark.json +2379 -215
  47. package/dist/styleLint/functional/themes/light-colorblind.json +2575 -227
  48. package/dist/styleLint/functional/themes/light-high-contrast.json +1989 -233
  49. package/dist/styleLint/functional/themes/light-tritanopia.json +2436 -162
  50. package/dist/styleLint/functional/themes/light.json +2380 -216
  51. package/package.json +1 -1
  52. package/src/tokens/base/motion/timing.json5 +4 -0
  53. package/src/tokens/component/card.json5 +18 -0
  54. package/src/tokens/{functional/color/light/app-light.json5 → component/codeMirror.json5} +67 -0
  55. package/src/tokens/component/contribution.json5 +344 -0
  56. package/src/tokens/component/counter.json5 +43 -0
  57. package/src/tokens/component/tooltip.json5 +32 -0
  58. package/src/tokens/functional/color/bgColor.json5 +24 -20
  59. package/src/tokens/functional/color/control.json5 +968 -0
  60. package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -24
  61. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -164
  62. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +0 -104
  63. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -60
  64. package/src/tokens/functional/color/dark/patterns-dark.json5 +725 -1432
  65. package/src/tokens/functional/color/{dark/data-vis-dark.json5 → data-vis.json5} +61 -21
  66. package/src/tokens/functional/color/focus.json5 +15 -0
  67. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -20
  68. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +0 -90
  69. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +0 -56
  70. package/src/tokens/functional/color/light/patterns-light.json5 +720 -1428
  71. package/src/tokens/functional/color/{light/syntax-light.json5 → syntax.json5} +187 -0
  72. package/src/tokens/functional/color/dark/app-dark.json5 +0 -254
  73. package/src/tokens/functional/color/dark/syntax-dark.json5 +0 -559
  74. package/src/tokens/functional/color/light/data-vis-light.json5 +0 -284
@@ -1,284 +0,0 @@
1
- {
2
- data: {
3
- blue: {
4
- color: {
5
- emphasis: {
6
- $value: '{base.display.color.blue.5}',
7
- $type: 'color',
8
- $extensions: {
9
- 'org.primer.figma': {
10
- collection: 'mode',
11
-
12
- group: 'component',
13
- scopes: ['bgColor', 'borderColor'],
14
- },
15
- },
16
- },
17
- muted: {
18
- $value: '{base.display.color.blue.0}',
19
- $type: 'color',
20
- $extensions: {
21
- 'org.primer.figma': {
22
- collection: 'mode',
23
-
24
- group: 'component',
25
- scopes: ['bgColor'],
26
- },
27
- },
28
- },
29
- },
30
- },
31
- auburn: {
32
- color: {
33
- emphasis: {
34
- $value: '{base.display.color.auburn.5}',
35
- $type: 'color',
36
- $extensions: {
37
- 'org.primer.figma': {
38
- collection: 'mode',
39
-
40
- group: 'component',
41
- scopes: ['bgColor', 'borderColor'],
42
- },
43
- },
44
- },
45
- muted: {
46
- $value: '{base.display.color.auburn.0}',
47
- $type: 'color',
48
- $extensions: {
49
- 'org.primer.figma': {
50
- collection: 'mode',
51
-
52
- group: 'component',
53
- scopes: ['bgColor'],
54
- },
55
- },
56
- },
57
- },
58
- },
59
- orange: {
60
- color: {
61
- emphasis: {
62
- $value: '{base.display.color.orange.4}',
63
- $type: 'color',
64
- $extensions: {
65
- 'org.primer.figma': {
66
- collection: 'mode',
67
-
68
- group: 'component',
69
- scopes: ['bgColor', 'borderColor'],
70
- },
71
- },
72
- },
73
- muted: {
74
- $value: '{base.display.color.orange.0}',
75
- $type: 'color',
76
- $extensions: {
77
- 'org.primer.figma': {
78
- collection: 'mode',
79
-
80
- group: 'component',
81
- scopes: ['bgColor'],
82
- },
83
- },
84
- },
85
- },
86
- },
87
- yellow: {
88
- color: {
89
- emphasis: {
90
- $value: '{base.display.color.yellow.4}',
91
- $type: 'color',
92
- $extensions: {
93
- 'org.primer.figma': {
94
- collection: 'mode',
95
-
96
- group: 'component',
97
- scopes: ['bgColor', 'borderColor'],
98
- },
99
- },
100
- },
101
- muted: {
102
- $value: '{base.display.color.yellow.0}',
103
- $type: 'color',
104
- $extensions: {
105
- 'org.primer.figma': {
106
- collection: 'mode',
107
-
108
- group: 'component',
109
- scopes: ['bgColor'],
110
- },
111
- },
112
- },
113
- },
114
- },
115
- green: {
116
- color: {
117
- emphasis: {
118
- $value: '{base.display.color.green.4}',
119
- $type: 'color',
120
- $extensions: {
121
- 'org.primer.figma': {
122
- collection: 'mode',
123
-
124
- group: 'component',
125
- scopes: ['bgColor', 'borderColor'],
126
- },
127
- },
128
- },
129
- muted: {
130
- $value: '{base.display.color.green.0}',
131
- $type: 'color',
132
- $extensions: {
133
- 'org.primer.figma': {
134
- collection: 'mode',
135
-
136
- group: 'component',
137
- scopes: ['bgColor'],
138
- },
139
- },
140
- },
141
- },
142
- },
143
- teal: {
144
- color: {
145
- emphasis: {
146
- $value: '{base.display.color.teal.4}',
147
- $type: 'color',
148
- $extensions: {
149
- 'org.primer.figma': {
150
- collection: 'mode',
151
-
152
- group: 'component',
153
- scopes: ['bgColor', 'borderColor'],
154
- },
155
- },
156
- },
157
- muted: {
158
- $value: '{base.display.color.teal.0}',
159
- $type: 'color',
160
- $extensions: {
161
- 'org.primer.figma': {
162
- collection: 'mode',
163
-
164
- group: 'component',
165
- scopes: ['bgColor'],
166
- },
167
- },
168
- },
169
- },
170
- },
171
- purple: {
172
- color: {
173
- emphasis: {
174
- $value: '{base.display.color.purple.5}',
175
- $type: 'color',
176
- $extensions: {
177
- 'org.primer.figma': {
178
- collection: 'mode',
179
-
180
- group: 'component',
181
- scopes: ['bgColor', 'borderColor'],
182
- },
183
- },
184
- },
185
- muted: {
186
- $value: '{base.display.color.purple.0}',
187
- $type: 'color',
188
- $extensions: {
189
- 'org.primer.figma': {
190
- collection: 'mode',
191
-
192
- group: 'component',
193
- scopes: ['bgColor'],
194
- },
195
- },
196
- },
197
- },
198
- },
199
- pink: {
200
- color: {
201
- emphasis: {
202
- $value: '{base.display.color.pink.5}',
203
- $type: 'color',
204
- $extensions: {
205
- 'org.primer.figma': {
206
- collection: 'mode',
207
-
208
- group: 'component',
209
- scopes: ['bgColor', 'borderColor'],
210
- },
211
- },
212
- },
213
- muted: {
214
- $value: '{base.display.color.pink.0}',
215
- $type: 'color',
216
- $extensions: {
217
- 'org.primer.figma': {
218
- collection: 'mode',
219
-
220
- group: 'component',
221
- scopes: ['bgColor'],
222
- },
223
- },
224
- },
225
- },
226
- },
227
- red: {
228
- color: {
229
- emphasis: {
230
- $value: '{base.display.color.red.5}',
231
- $type: 'color',
232
- $extensions: {
233
- 'org.primer.figma': {
234
- collection: 'mode',
235
-
236
- group: 'component',
237
- scopes: ['bgColor', 'borderColor'],
238
- },
239
- },
240
- },
241
- muted: {
242
- $value: '{base.display.color.red.0}',
243
- $type: 'color',
244
- $extensions: {
245
- 'org.primer.figma': {
246
- collection: 'mode',
247
-
248
- group: 'component',
249
- scopes: ['bgColor'],
250
- },
251
- },
252
- },
253
- },
254
- },
255
- gray: {
256
- color: {
257
- emphasis: {
258
- $value: '{base.display.color.gray.4}',
259
- $type: 'color',
260
- $extensions: {
261
- 'org.primer.figma': {
262
- collection: 'mode',
263
-
264
- group: 'component',
265
- scopes: ['bgColor', 'borderColor'],
266
- },
267
- },
268
- },
269
- muted: {
270
- $value: '{base.display.color.gray.0}',
271
- $type: 'color',
272
- $extensions: {
273
- 'org.primer.figma': {
274
- collection: 'mode',
275
-
276
- group: 'component',
277
- scopes: ['bgColor'],
278
- },
279
- },
280
- },
281
- },
282
- },
283
- },
284
- }