@primer/primitives 10.4.0-rc.fd8ac4c9 → 10.5.0-rc.1c002767
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/build/filters/index.d.ts +1 -0
- package/dist/build/filters/index.js +1 -0
- package/dist/build/filters/isGradient.d.ts +7 -0
- package/dist/build/filters/isGradient.js +10 -0
- package/dist/build/platforms/css.js +1 -0
- package/dist/build/primerStyleDictionary.js +2 -1
- package/dist/build/schemas/borderToken.d.ts +3 -3
- package/dist/build/schemas/colorToken.d.ts +3 -3
- package/dist/build/schemas/cubicBezierToken.d.ts +3 -3
- package/dist/build/schemas/designToken.js +2 -0
- package/dist/build/schemas/dimensionToken.d.ts +3 -3
- package/dist/build/schemas/durationToken.d.ts +3 -3
- package/dist/build/schemas/fontFamilyToken.d.ts +3 -3
- package/dist/build/schemas/fontWeightToken.d.ts +3 -3
- package/dist/build/schemas/gradientToken.d.ts +60 -0
- package/dist/build/schemas/gradientToken.js +26 -0
- package/dist/build/schemas/numberToken.d.ts +3 -3
- package/dist/build/schemas/referenceValue.js +1 -1
- package/dist/build/schemas/shadowToken.d.ts +1995 -3
- package/dist/build/schemas/shadowToken.js +27 -0
- package/dist/build/schemas/stringToken.d.ts +3 -3
- package/dist/build/schemas/tokenType.d.ts +1 -1
- package/dist/build/schemas/typographyToken.d.ts +3 -3
- package/dist/build/schemas/validTokenType.d.ts +1 -1
- package/dist/build/schemas/validTokenType.js +1 -0
- package/dist/build/schemas/viewportRangeToken.d.ts +3 -3
- package/dist/build/transformers/gradientToCss.d.ts +8 -0
- package/dist/build/transformers/gradientToCss.js +23 -0
- package/dist/build/transformers/index.d.ts +1 -0
- package/dist/build/transformers/index.js +1 -0
- package/dist/css/functional/themes/dark-colorblind.css +138 -8
- package/dist/css/functional/themes/dark-dimmed.css +138 -8
- package/dist/css/functional/themes/dark-high-contrast.css +150 -20
- package/dist/css/functional/themes/dark-tritanopia.css +138 -8
- package/dist/css/functional/themes/dark.css +138 -8
- package/dist/css/functional/themes/light-colorblind.css +138 -8
- package/dist/css/functional/themes/light-high-contrast.css +150 -20
- package/dist/css/functional/themes/light-tritanopia.css +138 -8
- package/dist/css/functional/themes/light.css +138 -8
- package/dist/css/primitives.css +0 -6
- package/dist/docs/functional/themes/dark-colorblind.json +13601 -2768
- package/dist/docs/functional/themes/dark-dimmed.json +13889 -2760
- package/dist/docs/functional/themes/dark-high-contrast.json +15016 -2909
- package/dist/docs/functional/themes/dark-tritanopia.json +13546 -2741
- package/dist/docs/functional/themes/dark.json +12052 -1345
- package/dist/docs/functional/themes/light-colorblind.json +13567 -2764
- package/dist/docs/functional/themes/light-high-contrast.json +15056 -3021
- package/dist/docs/functional/themes/light-tritanopia.json +13555 -2780
- package/dist/docs/functional/themes/light.json +12092 -1359
- package/dist/figma/figma.json +1 -10
- package/dist/figma/themes/dark-colorblind.json +6380 -5472
- package/dist/figma/themes/dark-dimmed.json +6453 -5214
- package/dist/figma/themes/dark-high-contrast.json +6402 -4025
- package/dist/figma/themes/dark-tritanopia.json +6364 -5490
- package/dist/figma/themes/dark.json +5560 -4791
- package/dist/figma/themes/light-colorblind.json +6285 -5324
- package/dist/figma/themes/light-high-contrast.json +6362 -3994
- package/dist/figma/themes/light-tritanopia.json +6282 -5352
- package/dist/figma/themes/light.json +6281 -5396
- package/dist/internalCss/dark-colorblind.css +138 -8
- package/dist/internalCss/dark-dimmed.css +138 -8
- package/dist/internalCss/dark-high-contrast.css +150 -20
- package/dist/internalCss/dark-tritanopia.css +138 -8
- package/dist/internalCss/dark.css +138 -8
- package/dist/internalCss/light-colorblind.css +138 -8
- package/dist/internalCss/light-high-contrast.css +150 -20
- package/dist/internalCss/light-tritanopia.css +138 -8
- package/dist/internalCss/light.css +138 -8
- package/dist/styleLint/functional/themes/dark-colorblind.json +13581 -2748
- package/dist/styleLint/functional/themes/dark-dimmed.json +13905 -2776
- package/dist/styleLint/functional/themes/dark-high-contrast.json +15028 -2921
- package/dist/styleLint/functional/themes/dark-tritanopia.json +13587 -2782
- package/dist/styleLint/functional/themes/dark.json +12085 -1378
- package/dist/styleLint/functional/themes/light-colorblind.json +13535 -2732
- package/dist/styleLint/functional/themes/light-high-contrast.json +15071 -3036
- package/dist/styleLint/functional/themes/light-tritanopia.json +13524 -2749
- package/dist/styleLint/functional/themes/light.json +12097 -1364
- package/package.json +1 -1
- package/src/tokens/component/avatar.json5 +33 -0
- package/src/tokens/component/button.json5 +1714 -0
- package/src/tokens/component/contribution.json5 +0 -37
- package/src/tokens/component/header.json5 +3 -0
- package/src/tokens/component/label.json5 +1942 -0
- package/src/tokens/component/menu.json5 +24 -0
- package/src/tokens/component/overlay.json5 +1 -1
- package/src/tokens/component/selectMenu.json5 +38 -0
- package/src/tokens/component/sideNav.json5 +22 -0
- package/src/tokens/component/treeView.json5 +24 -0
- package/src/tokens/component/underlineNav.json5 +56 -0
- package/src/tokens/functional/color/borderColor.json5 +8 -8
- package/src/tokens/functional/color/control.json5 +1087 -0
- package/src/tokens/functional/color/data-vis.json5 +911 -41
- package/src/tokens/functional/color/display.json5 +2170 -0
- package/src/tokens/functional/color/selection.json5 +22 -0
- package/src/tokens/functional/shadow/shadow.json5 +478 -0
- package/dist/css/functional/motion/motion.css +0 -6
- package/dist/docs/functional/motion/motion.json +0 -66
- package/dist/fallbacks/functional/motion/motion.json +0 -6
- package/dist/figma/shadows/dark-colorblind.json +0 -1152
- package/dist/figma/shadows/dark-dimmed.json +0 -1152
- package/dist/figma/shadows/dark-high-contrast.json +0 -1152
- package/dist/figma/shadows/dark-tritanopia.json +0 -1152
- package/dist/figma/shadows/dark.json +0 -1152
- package/dist/figma/shadows/light-colorblind.json +0 -1052
- package/dist/figma/shadows/light-high-contrast.json +0 -1052
- package/dist/figma/shadows/light-tritanopia.json +0 -1052
- package/dist/figma/shadows/light.json +0 -1052
- package/dist/styleLint/functional/motion/motion.json +0 -66
- package/src/tokens/functional/color/dark/display-dark.json5 +0 -1258
- package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -199
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -618
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +0 -65
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -47
- package/src/tokens/functional/color/dark/patterns-dark.json5 +0 -2589
- package/src/tokens/functional/color/light/display-light.json5 +0 -1163
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -581
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +0 -69
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +0 -41
- package/src/tokens/functional/color/light/patterns-light.json5 +0 -2583
- package/src/tokens/functional/motion/loading.json5 +0 -17
- package/src/tokens/functional/motion/patterns.json5 +0 -35
- package/src/tokens/functional/shadow/dark.json5 +0 -369
- package/src/tokens/functional/shadow/light.json5 +0 -363
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
selection: {
|
|
3
|
+
bgColor: {
|
|
4
|
+
$value: '{bgColor.accent.emphasis}',
|
|
5
|
+
$type: 'color',
|
|
6
|
+
$extensions: {
|
|
7
|
+
'org.primer.figma': {
|
|
8
|
+
collection: 'mode',
|
|
9
|
+
group: 'component',
|
|
10
|
+
scopes: ['bgColor'],
|
|
11
|
+
},
|
|
12
|
+
'org.primer.overrides': {
|
|
13
|
+
dark: {
|
|
14
|
+
$value: '{bgColor.accent.emphasis}',
|
|
15
|
+
alpha: 0.7,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
alpha: 0.2,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
}
|
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
{
|
|
2
|
+
shadow: {
|
|
3
|
+
inset: {
|
|
4
|
+
$value: {
|
|
5
|
+
color: '{base.color.neutral.13}',
|
|
6
|
+
alpha: 0.04,
|
|
7
|
+
offsetX: '0px',
|
|
8
|
+
offsetY: '1px',
|
|
9
|
+
blur: '0px',
|
|
10
|
+
spread: '0px',
|
|
11
|
+
inset: true,
|
|
12
|
+
},
|
|
13
|
+
$type: 'shadow',
|
|
14
|
+
$extensions: {
|
|
15
|
+
'org.primer.figma': {
|
|
16
|
+
collection: 'mode',
|
|
17
|
+
group: 'shadow',
|
|
18
|
+
},
|
|
19
|
+
'org.primer.overrides': {
|
|
20
|
+
dark: {
|
|
21
|
+
$value: {
|
|
22
|
+
color: '{base.color.neutral.0}',
|
|
23
|
+
alpha: 0.24,
|
|
24
|
+
offsetX: '0px',
|
|
25
|
+
offsetY: '1px',
|
|
26
|
+
blur: '0px',
|
|
27
|
+
spread: '0px',
|
|
28
|
+
inset: true,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
resting: {
|
|
35
|
+
xsmall: {
|
|
36
|
+
$value: {
|
|
37
|
+
color: '{base.color.neutral.13}',
|
|
38
|
+
alpha: 0.06,
|
|
39
|
+
offsetX: '0px',
|
|
40
|
+
offsetY: '1px',
|
|
41
|
+
blur: '1px',
|
|
42
|
+
spread: '0px',
|
|
43
|
+
inset: false,
|
|
44
|
+
},
|
|
45
|
+
$type: 'shadow',
|
|
46
|
+
$extensions: {
|
|
47
|
+
'org.primer.figma': {
|
|
48
|
+
collection: 'mode',
|
|
49
|
+
group: 'shadow',
|
|
50
|
+
},
|
|
51
|
+
'org.primer.overrides': {
|
|
52
|
+
dark: {
|
|
53
|
+
$value: {
|
|
54
|
+
color: '{base.color.neutral.0}',
|
|
55
|
+
alpha: 0.8,
|
|
56
|
+
offsetX: '0px',
|
|
57
|
+
offsetY: '1px',
|
|
58
|
+
blur: '1px',
|
|
59
|
+
spread: '0px',
|
|
60
|
+
inset: false,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
small: {
|
|
67
|
+
$value: [
|
|
68
|
+
{
|
|
69
|
+
color: '{base.color.neutral.13}',
|
|
70
|
+
alpha: 0.06,
|
|
71
|
+
offsetX: '0px',
|
|
72
|
+
offsetY: '1px',
|
|
73
|
+
blur: '1px',
|
|
74
|
+
spread: '0px',
|
|
75
|
+
inset: false,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
color: '{base.color.neutral.13}',
|
|
79
|
+
alpha: 0.06,
|
|
80
|
+
offsetX: '0px',
|
|
81
|
+
offsetY: '1px',
|
|
82
|
+
blur: '3px',
|
|
83
|
+
spread: '0px',
|
|
84
|
+
inset: false,
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
$type: 'shadow',
|
|
88
|
+
$extensions: {
|
|
89
|
+
'org.primer.figma': {
|
|
90
|
+
collection: 'mode',
|
|
91
|
+
group: 'shadow',
|
|
92
|
+
},
|
|
93
|
+
'org.primer.overrides': {
|
|
94
|
+
dark: {
|
|
95
|
+
$value: [
|
|
96
|
+
{
|
|
97
|
+
color: '{base.color.neutral.0}',
|
|
98
|
+
alpha: 0.6,
|
|
99
|
+
offsetX: '0px',
|
|
100
|
+
offsetY: '1px',
|
|
101
|
+
blur: '1px',
|
|
102
|
+
spread: '0px',
|
|
103
|
+
inset: false,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
color: '{base.color.neutral.0}',
|
|
107
|
+
alpha: 0.6,
|
|
108
|
+
offsetX: '0px',
|
|
109
|
+
offsetY: '1px',
|
|
110
|
+
blur: '3px',
|
|
111
|
+
spread: '0px',
|
|
112
|
+
inset: false,
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
medium: {
|
|
120
|
+
$value: [
|
|
121
|
+
{
|
|
122
|
+
color: '{base.color.neutral.12}',
|
|
123
|
+
alpha: 0.1,
|
|
124
|
+
offsetX: '0px',
|
|
125
|
+
offsetY: '1px',
|
|
126
|
+
blur: '1px',
|
|
127
|
+
spread: '0px',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
color: '{base.color.neutral.12}',
|
|
131
|
+
alpha: 0.12,
|
|
132
|
+
offsetX: '0px',
|
|
133
|
+
offsetY: '3px',
|
|
134
|
+
blur: '6px',
|
|
135
|
+
spread: '0px',
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
$type: 'shadow',
|
|
139
|
+
$extensions: {
|
|
140
|
+
'org.primer.figma': {
|
|
141
|
+
collection: 'mode',
|
|
142
|
+
group: 'shadow',
|
|
143
|
+
},
|
|
144
|
+
'org.primer.overrides': {
|
|
145
|
+
dark: {
|
|
146
|
+
$value: [
|
|
147
|
+
{
|
|
148
|
+
color: '{base.color.neutral.0}',
|
|
149
|
+
alpha: 0.4,
|
|
150
|
+
offsetX: '0px',
|
|
151
|
+
offsetY: '1px',
|
|
152
|
+
blur: '1px',
|
|
153
|
+
spread: '0px',
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
color: '{base.color.neutral.0}',
|
|
157
|
+
alpha: 0.8,
|
|
158
|
+
offsetX: '0px',
|
|
159
|
+
offsetY: '3px',
|
|
160
|
+
blur: '6px',
|
|
161
|
+
spread: '0px',
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
floating: {
|
|
170
|
+
small: {
|
|
171
|
+
$value: [
|
|
172
|
+
{
|
|
173
|
+
color: '{overlay.borderColor}',
|
|
174
|
+
alpha: 0.5,
|
|
175
|
+
offsetX: '0px',
|
|
176
|
+
offsetY: '0px',
|
|
177
|
+
blur: '0px',
|
|
178
|
+
spread: '1px',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
color: '{base.color.neutral.12}',
|
|
182
|
+
alpha: 0.04,
|
|
183
|
+
offsetX: '0px',
|
|
184
|
+
offsetY: '6px',
|
|
185
|
+
blur: '12px',
|
|
186
|
+
spread: '-3px',
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
color: '{base.color.neutral.12}',
|
|
190
|
+
alpha: 0.12,
|
|
191
|
+
offsetX: '0px',
|
|
192
|
+
offsetY: '6px',
|
|
193
|
+
blur: '18px',
|
|
194
|
+
spread: '0px',
|
|
195
|
+
},
|
|
196
|
+
],
|
|
197
|
+
$type: 'shadow',
|
|
198
|
+
$extensions: {
|
|
199
|
+
'org.primer.figma': {
|
|
200
|
+
collection: 'mode',
|
|
201
|
+
group: 'shadow',
|
|
202
|
+
},
|
|
203
|
+
'org.primer.overrides': {
|
|
204
|
+
dark: {
|
|
205
|
+
$value: [
|
|
206
|
+
{
|
|
207
|
+
color: '{overlay.borderColor}',
|
|
208
|
+
alpha: 1,
|
|
209
|
+
offsetX: '0px',
|
|
210
|
+
offsetY: '0px',
|
|
211
|
+
blur: '0px',
|
|
212
|
+
spread: '1px',
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
color: '{base.color.neutral.0}',
|
|
216
|
+
alpha: 0.4,
|
|
217
|
+
offsetX: '0px',
|
|
218
|
+
offsetY: '6px',
|
|
219
|
+
blur: '12px',
|
|
220
|
+
spread: '-3px',
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
color: '{base.color.neutral.0}',
|
|
224
|
+
alpha: 0.4,
|
|
225
|
+
offsetX: '0px',
|
|
226
|
+
offsetY: '6px',
|
|
227
|
+
blur: '18px',
|
|
228
|
+
spread: '0px',
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
medium: {
|
|
236
|
+
$value: [
|
|
237
|
+
{
|
|
238
|
+
color: '{overlay.borderColor}',
|
|
239
|
+
alpha: 0,
|
|
240
|
+
offsetX: '0px',
|
|
241
|
+
offsetY: '0px',
|
|
242
|
+
blur: '0px',
|
|
243
|
+
spread: '1px',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
color: '{base.color.neutral.12}',
|
|
247
|
+
alpha: 0.08,
|
|
248
|
+
offsetX: '0px',
|
|
249
|
+
offsetY: '8px',
|
|
250
|
+
blur: '16px',
|
|
251
|
+
spread: '-4px',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
color: '{base.color.neutral.12}',
|
|
255
|
+
alpha: 0.08,
|
|
256
|
+
offsetX: '0px',
|
|
257
|
+
offsetY: '4px',
|
|
258
|
+
blur: '32px',
|
|
259
|
+
spread: '-4px',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
color: '{base.color.neutral.12}',
|
|
263
|
+
alpha: 0.08,
|
|
264
|
+
offsetX: '0px',
|
|
265
|
+
offsetY: '24px',
|
|
266
|
+
blur: '48px',
|
|
267
|
+
spread: '-12px',
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
color: '{base.color.neutral.12}',
|
|
271
|
+
alpha: 0.08,
|
|
272
|
+
offsetX: '0px',
|
|
273
|
+
offsetY: '48px',
|
|
274
|
+
blur: '96px',
|
|
275
|
+
spread: '-24px',
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
$type: 'shadow',
|
|
279
|
+
$extensions: {
|
|
280
|
+
'org.primer.figma': {
|
|
281
|
+
collection: 'mode',
|
|
282
|
+
group: 'shadow',
|
|
283
|
+
},
|
|
284
|
+
'org.primer.overrides': {
|
|
285
|
+
dark: {
|
|
286
|
+
$value: [
|
|
287
|
+
{
|
|
288
|
+
color: '{overlay.borderColor}',
|
|
289
|
+
alpha: 1,
|
|
290
|
+
offsetX: '0px',
|
|
291
|
+
offsetY: '0px',
|
|
292
|
+
blur: '0px',
|
|
293
|
+
spread: '1px',
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
color: '{base.color.neutral.0}',
|
|
297
|
+
alpha: 0.4,
|
|
298
|
+
offsetX: '0px',
|
|
299
|
+
offsetY: '8px',
|
|
300
|
+
blur: '16px',
|
|
301
|
+
spread: '-4px',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
color: '{base.color.neutral.0}',
|
|
305
|
+
alpha: 0.4,
|
|
306
|
+
offsetX: '0px',
|
|
307
|
+
offsetY: '4px',
|
|
308
|
+
blur: '32px',
|
|
309
|
+
spread: '-4px',
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
color: '{base.color.neutral.0}',
|
|
313
|
+
alpha: 0.4,
|
|
314
|
+
offsetX: '0px',
|
|
315
|
+
offsetY: '24px',
|
|
316
|
+
blur: '48px',
|
|
317
|
+
spread: '-12px',
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
color: '{base.color.neutral.0}',
|
|
321
|
+
alpha: 0.4,
|
|
322
|
+
offsetX: '0px',
|
|
323
|
+
offsetY: '48px',
|
|
324
|
+
blur: '96px',
|
|
325
|
+
spread: '-24px',
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
large: {
|
|
333
|
+
$value: [
|
|
334
|
+
{
|
|
335
|
+
color: '{overlay.borderColor}',
|
|
336
|
+
alpha: 0,
|
|
337
|
+
offsetX: '0px',
|
|
338
|
+
offsetY: '0px',
|
|
339
|
+
blur: '0px',
|
|
340
|
+
spread: '1px',
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
color: '{base.color.neutral.12}',
|
|
344
|
+
alpha: 0.24,
|
|
345
|
+
offsetX: '0px',
|
|
346
|
+
offsetY: '40px',
|
|
347
|
+
blur: '80px',
|
|
348
|
+
spread: '0px',
|
|
349
|
+
},
|
|
350
|
+
],
|
|
351
|
+
$type: 'shadow',
|
|
352
|
+
$extensions: {
|
|
353
|
+
'org.primer.figma': {
|
|
354
|
+
collection: 'mode',
|
|
355
|
+
group: 'shadow',
|
|
356
|
+
},
|
|
357
|
+
'org.primer.overrides': {
|
|
358
|
+
dark: {
|
|
359
|
+
$value: [
|
|
360
|
+
{
|
|
361
|
+
color: '{overlay.borderColor}',
|
|
362
|
+
alpha: 1,
|
|
363
|
+
offsetX: '0px',
|
|
364
|
+
offsetY: '0px',
|
|
365
|
+
blur: '0px',
|
|
366
|
+
spread: '1px',
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
color: '{base.color.neutral.0}',
|
|
370
|
+
alpha: 1,
|
|
371
|
+
offsetX: '0px',
|
|
372
|
+
offsetY: '24px',
|
|
373
|
+
blur: '48px',
|
|
374
|
+
spread: '0px',
|
|
375
|
+
},
|
|
376
|
+
],
|
|
377
|
+
},
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
},
|
|
381
|
+
xlarge: {
|
|
382
|
+
$value: [
|
|
383
|
+
{
|
|
384
|
+
color: '{overlay.borderColor}',
|
|
385
|
+
alpha: 0,
|
|
386
|
+
offsetX: '0px',
|
|
387
|
+
offsetY: '0px',
|
|
388
|
+
blur: '0px',
|
|
389
|
+
spread: '1px',
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
color: '{base.color.neutral.12}',
|
|
393
|
+
alpha: 0.32,
|
|
394
|
+
offsetX: '0px',
|
|
395
|
+
offsetY: '56px',
|
|
396
|
+
blur: '112px',
|
|
397
|
+
spread: '0px',
|
|
398
|
+
},
|
|
399
|
+
],
|
|
400
|
+
$type: 'shadow',
|
|
401
|
+
$extensions: {
|
|
402
|
+
'org.primer.figma': {
|
|
403
|
+
collection: 'mode',
|
|
404
|
+
group: 'shadow',
|
|
405
|
+
},
|
|
406
|
+
'org.primer.overrides': {
|
|
407
|
+
dark: {
|
|
408
|
+
$value: [
|
|
409
|
+
{
|
|
410
|
+
color: '{overlay.borderColor}',
|
|
411
|
+
alpha: 1,
|
|
412
|
+
offsetX: '0px',
|
|
413
|
+
offsetY: '0px',
|
|
414
|
+
blur: '0px',
|
|
415
|
+
spread: '1px',
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
color: '{base.color.neutral.0}',
|
|
419
|
+
alpha: 1,
|
|
420
|
+
offsetX: '0px',
|
|
421
|
+
offsetY: '32px',
|
|
422
|
+
blur: '64px',
|
|
423
|
+
spread: '0px',
|
|
424
|
+
},
|
|
425
|
+
],
|
|
426
|
+
},
|
|
427
|
+
},
|
|
428
|
+
},
|
|
429
|
+
},
|
|
430
|
+
legacy: {
|
|
431
|
+
$value: [
|
|
432
|
+
{
|
|
433
|
+
color: '{base.color.neutral.12}',
|
|
434
|
+
alpha: 0.04,
|
|
435
|
+
offsetX: '0px',
|
|
436
|
+
offsetY: '6px',
|
|
437
|
+
blur: '12px',
|
|
438
|
+
spread: '-3px',
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
color: '{base.color.neutral.12}',
|
|
442
|
+
alpha: 0.12,
|
|
443
|
+
offsetX: '0px',
|
|
444
|
+
offsetY: '6px',
|
|
445
|
+
blur: '18px',
|
|
446
|
+
spread: '0px',
|
|
447
|
+
},
|
|
448
|
+
],
|
|
449
|
+
$type: 'shadow',
|
|
450
|
+
$extensions: {
|
|
451
|
+
'org.primer.figma': {},
|
|
452
|
+
'org.primer.overrides': {
|
|
453
|
+
dark: {
|
|
454
|
+
$value: [
|
|
455
|
+
{
|
|
456
|
+
color: '{base.color.neutral.0}',
|
|
457
|
+
alpha: 0.4,
|
|
458
|
+
offsetX: '0px',
|
|
459
|
+
offsetY: '6px',
|
|
460
|
+
blur: '12px',
|
|
461
|
+
spread: '-3px',
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
color: '{base.color.neutral.0}',
|
|
465
|
+
alpha: 0.4,
|
|
466
|
+
offsetX: '0px',
|
|
467
|
+
offsetY: '6px',
|
|
468
|
+
blur: '18px',
|
|
469
|
+
spread: '0px',
|
|
470
|
+
},
|
|
471
|
+
],
|
|
472
|
+
},
|
|
473
|
+
},
|
|
474
|
+
},
|
|
475
|
+
},
|
|
476
|
+
},
|
|
477
|
+
},
|
|
478
|
+
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--motion-loading-delay-default: var(--base-duration-1000); /* The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies. */
|
|
3
|
-
--motion-skeletonLoader-shimmer-duration-scale: var(--base-duration-1000); /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
|
|
4
|
-
--motion-spinner-duration-rotation: var(--base-duration-1000); /* The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation */
|
|
5
|
-
--motion-spinner-easing-rotation: var(--base-easing-linear); /* The easing curve for the "Spinner" loading indicator rotation */
|
|
6
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"motion-loading-delay-default": {
|
|
3
|
-
"filePath": "src/tokens/functional/motion/loading.json5",
|
|
4
|
-
"isSource": true,
|
|
5
|
-
"original": {
|
|
6
|
-
"$value": "{base.duration.1000}",
|
|
7
|
-
"$type": "duration",
|
|
8
|
-
"$description": "The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies."
|
|
9
|
-
},
|
|
10
|
-
"name": "motion-loading-delay-default",
|
|
11
|
-
"attributes": {},
|
|
12
|
-
"path": ["motion", "loading", "delay", "default"],
|
|
13
|
-
"key": "{motion.loading.delay.default}",
|
|
14
|
-
"value": "1000ms",
|
|
15
|
-
"type": "duration",
|
|
16
|
-
"description": "The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies."
|
|
17
|
-
},
|
|
18
|
-
"motion-skeletonLoader-shimmer-duration-scale": {
|
|
19
|
-
"filePath": "src/tokens/functional/motion/patterns.json5",
|
|
20
|
-
"isSource": true,
|
|
21
|
-
"original": {
|
|
22
|
-
"$value": "{base.duration.1000}",
|
|
23
|
-
"$type": "duration",
|
|
24
|
-
"$description": "The amount of times it takes the \"shimmer\" effect to go from the start (left) of the skeleton loader to the end (right)"
|
|
25
|
-
},
|
|
26
|
-
"name": "motion-skeletonLoader-shimmer-duration-scale",
|
|
27
|
-
"attributes": {},
|
|
28
|
-
"path": ["motion", "skeletonLoader", "shimmer", "duration", "scale"],
|
|
29
|
-
"key": "{motion.skeletonLoader.shimmer.duration.scale}",
|
|
30
|
-
"value": "1000ms",
|
|
31
|
-
"type": "duration",
|
|
32
|
-
"description": "The amount of times it takes the \"shimmer\" effect to go from the start (left) of the skeleton loader to the end (right)"
|
|
33
|
-
},
|
|
34
|
-
"motion-spinner-duration-rotation": {
|
|
35
|
-
"filePath": "src/tokens/functional/motion/patterns.json5",
|
|
36
|
-
"isSource": true,
|
|
37
|
-
"original": {
|
|
38
|
-
"$value": "{base.duration.1000}",
|
|
39
|
-
"$type": "duration",
|
|
40
|
-
"$description": "The amount of time it takes the \"Spinner\" loading indicator to make a full 360deg rotation"
|
|
41
|
-
},
|
|
42
|
-
"name": "motion-spinner-duration-rotation",
|
|
43
|
-
"attributes": {},
|
|
44
|
-
"path": ["motion", "spinner", "duration", "rotation"],
|
|
45
|
-
"key": "{motion.spinner.duration.rotation}",
|
|
46
|
-
"value": "1000ms",
|
|
47
|
-
"type": "duration",
|
|
48
|
-
"description": "The amount of time it takes the \"Spinner\" loading indicator to make a full 360deg rotation"
|
|
49
|
-
},
|
|
50
|
-
"motion-spinner-easing-rotation": {
|
|
51
|
-
"filePath": "src/tokens/functional/motion/patterns.json5",
|
|
52
|
-
"isSource": true,
|
|
53
|
-
"original": {
|
|
54
|
-
"$value": "{base.easing.linear}",
|
|
55
|
-
"$type": "cubicBezier",
|
|
56
|
-
"$description": "The easing curve for the \"Spinner\" loading indicator rotation"
|
|
57
|
-
},
|
|
58
|
-
"name": "motion-spinner-easing-rotation",
|
|
59
|
-
"attributes": {},
|
|
60
|
-
"path": ["motion", "spinner", "easing", "rotation"],
|
|
61
|
-
"key": "{motion.spinner.easing.rotation}",
|
|
62
|
-
"value": [0, 0, 1, 1],
|
|
63
|
-
"type": "cubicBezier",
|
|
64
|
-
"description": "The easing curve for the \"Spinner\" loading indicator rotation"
|
|
65
|
-
}
|
|
66
|
-
}
|