@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,254 +0,0 @@
1
- {
2
- codeMirror: {
3
- fgColor: {
4
- $value: '{fgColor.default}',
5
- $type: 'color',
6
- $extensions: {
7
- 'org.primer.figma': {
8
- collection: 'mode',
9
-
10
- group: 'component',
11
- scopes: ['fgColor'],
12
- },
13
- },
14
- },
15
- bgColor: {
16
- $value: '{bgColor.default}',
17
- $type: 'color',
18
- $extensions: {
19
- 'org.primer.figma': {
20
- collection: 'mode',
21
-
22
- group: 'component',
23
- scopes: ['bgColor'],
24
- },
25
- },
26
- },
27
- gutters: {
28
- bgColor: {
29
- $value: '{bgColor.default}',
30
- $type: 'color',
31
- $extensions: {
32
- 'org.primer.figma': {
33
- collection: 'mode',
34
-
35
- group: 'component',
36
- scopes: ['bgColor'],
37
- },
38
- },
39
- },
40
- },
41
- gutterMarker: {
42
- fgColor: {
43
- default: {
44
- $value: '{bgColor.default}',
45
- $type: 'color',
46
- $extensions: {
47
- 'org.primer.figma': {
48
- collection: 'mode',
49
-
50
- group: 'component',
51
- scopes: ['fgColor'],
52
- },
53
- },
54
- },
55
- muted: {
56
- $value: '{fgColor.muted}',
57
- $type: 'color',
58
- $extensions: {
59
- 'org.primer.figma': {
60
- collection: 'mode',
61
-
62
- group: 'component',
63
- scopes: ['fgColor'],
64
- },
65
- },
66
- },
67
- },
68
- },
69
- lineNumber: {
70
- fgColor: {
71
- $value: '{fgColor.muted}',
72
- $type: 'color',
73
- $extensions: {
74
- 'org.primer.figma': {
75
- collection: 'mode',
76
-
77
- group: 'component',
78
- scopes: ['fgColor'],
79
- },
80
- },
81
- },
82
- },
83
- cursor: {
84
- fgColor: {
85
- $value: '{fgColor.default}',
86
- $type: 'color',
87
- $extensions: {
88
- 'org.primer.figma': {
89
- collection: 'mode',
90
-
91
- group: 'component',
92
- scopes: ['fgColor'],
93
- },
94
- },
95
- },
96
- },
97
- selection: {
98
- bgColor: {
99
- $value: '{borderColor.accent.muted}',
100
- $type: 'color',
101
- $extensions: {
102
- 'org.primer.figma': {
103
- collection: 'mode',
104
-
105
- group: 'component',
106
- scopes: ['bgColor'],
107
- },
108
- },
109
- },
110
- },
111
- activeline: {
112
- bgColor: {
113
- $value: '{bgColor.neutral.muted}',
114
- $type: 'color',
115
- $extensions: {
116
- 'org.primer.figma': {
117
- collection: 'mode',
118
-
119
- group: 'component',
120
- scopes: ['bgColor'],
121
- },
122
- },
123
- },
124
- },
125
- matchingBracket: {
126
- fgColor: {
127
- $value: '{fgColor.default}',
128
- $type: 'color',
129
- $extensions: {
130
- 'org.primer.figma': {
131
- collection: 'mode',
132
-
133
- group: 'component',
134
- scopes: ['fgColor'],
135
- },
136
- },
137
- },
138
- },
139
- lines: {
140
- bgColor: {
141
- $value: '{bgColor.default}',
142
- $type: 'color',
143
- $extensions: {
144
- 'org.primer.figma': {
145
- collection: 'mode',
146
-
147
- group: 'component',
148
- scopes: ['bgColor'],
149
- },
150
- },
151
- },
152
- },
153
- syntax: {
154
- fgColor: {
155
- comment: {
156
- $value: '{base.color.neutral.8}',
157
- $type: 'color',
158
- $extensions: {
159
- 'org.primer.figma': {
160
- collection: 'mode',
161
-
162
- group: 'component',
163
- scopes: ['fgColor'],
164
- },
165
- },
166
- },
167
- constant: {
168
- $value: '{base.color.blue.2}',
169
- $type: 'color',
170
- $extensions: {
171
- 'org.primer.figma': {
172
- collection: 'mode',
173
-
174
- group: 'component',
175
- scopes: ['fgColor'],
176
- },
177
- },
178
- },
179
- entity: {
180
- $value: '{base.color.purple.2}',
181
- $type: 'color',
182
- $extensions: {
183
- 'org.primer.figma': {
184
- collection: 'mode',
185
-
186
- group: 'component',
187
- scopes: ['fgColor'],
188
- },
189
- },
190
- },
191
- keyword: {
192
- $value: '{base.color.red.3}',
193
- $type: 'color',
194
- $extensions: {
195
- 'org.primer.figma': {
196
- collection: 'mode',
197
-
198
- group: 'component',
199
- scopes: ['fgColor'],
200
- },
201
- },
202
- },
203
- storage: {
204
- $value: '{base.color.red.3}',
205
- $type: 'color',
206
- $extensions: {
207
- 'org.primer.figma': {
208
- collection: 'mode',
209
-
210
- group: 'component',
211
- scopes: ['fgColor'],
212
- },
213
- },
214
- },
215
- string: {
216
- $value: '{base.color.blue.1}',
217
- $type: 'color',
218
- $extensions: {
219
- 'org.primer.figma': {
220
- collection: 'mode',
221
-
222
- group: 'component',
223
- scopes: ['fgColor'],
224
- },
225
- },
226
- },
227
- support: {
228
- $value: '{base.color.blue.2}',
229
- $type: 'color',
230
- $extensions: {
231
- 'org.primer.figma': {
232
- collection: 'mode',
233
-
234
- group: 'component',
235
- scopes: ['fgColor'],
236
- },
237
- },
238
- },
239
- variable: {
240
- $value: '{base.color.orange.2}',
241
- $type: 'color',
242
- $extensions: {
243
- 'org.primer.figma': {
244
- collection: 'mode',
245
-
246
- group: 'component',
247
- scopes: ['fgColor'],
248
- },
249
- },
250
- },
251
- },
252
- },
253
- },
254
- }