@adobe/spectrum-tokens 12.25.0 → 12.27.0
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/CHANGELOG.md +53 -0
- package/dist/json/drover.json +17 -6
- package/dist/json/variables.json +223 -48
- package/package.json +1 -1
- package/schemas/token-types/color-set.json +6 -2
- package/schemas/token-types/scale-set.json +6 -2
- package/src/color-aliases.json +136 -68
- package/src/color-component.json +2 -1
- package/src/color-palette.json +386 -193
- package/src/icons.json +109 -55
- package/src/layout-component.json +963 -449
- package/src/layout.json +277 -139
- package/src/semantic-color-palette.json +28 -14
- package/src/typography.json +74 -33
- package/tasks/addIds.js +2 -1
- package/test/snapshots/deprecateExpress.test.js.md +1 -1
- package/test/snapshots/deprecateExpress.test.js.snap +0 -0
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
15
15
|
"uuid": "f9fc7606-b699-46e7-b139-aeefc287923c"
|
|
16
16
|
}
|
|
17
|
-
}
|
|
17
|
+
},
|
|
18
|
+
"uuid": "0dd9c008-b20f-4a51-be59-67d9530877ff"
|
|
18
19
|
},
|
|
19
20
|
"accent-color-200": {
|
|
20
21
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -31,7 +32,8 @@
|
|
|
31
32
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
32
33
|
"uuid": "78e50d0b-78a0-46c4-8262-417143f00902"
|
|
33
34
|
}
|
|
34
|
-
}
|
|
35
|
+
},
|
|
36
|
+
"uuid": "d4850a3d-cce3-4cd5-ba44-27281cad5934"
|
|
35
37
|
},
|
|
36
38
|
"accent-color-300": {
|
|
37
39
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -48,7 +50,8 @@
|
|
|
48
50
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
49
51
|
"uuid": "d014e1e8-a5f8-4169-8c43-d69afd07847a"
|
|
50
52
|
}
|
|
51
|
-
}
|
|
53
|
+
},
|
|
54
|
+
"uuid": "89c05b32-63f5-46ed-abe1-a36247bd9797"
|
|
52
55
|
},
|
|
53
56
|
"accent-color-400": {
|
|
54
57
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -65,7 +68,8 @@
|
|
|
65
68
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
66
69
|
"uuid": "1b70bc67-7877-4f92-8ce4-1abd2665fab1"
|
|
67
70
|
}
|
|
68
|
-
}
|
|
71
|
+
},
|
|
72
|
+
"uuid": "794b3679-1bcf-4c64-a55b-99be3f7676e5"
|
|
69
73
|
},
|
|
70
74
|
"accent-color-500": {
|
|
71
75
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -82,7 +86,8 @@
|
|
|
82
86
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
83
87
|
"uuid": "06246e8e-44da-49a3-8d65-7f3ce1ec8128"
|
|
84
88
|
}
|
|
85
|
-
}
|
|
89
|
+
},
|
|
90
|
+
"uuid": "6eee723c-d9dd-4b14-ab44-75779c44f59e"
|
|
86
91
|
},
|
|
87
92
|
"accent-color-600": {
|
|
88
93
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -99,7 +104,8 @@
|
|
|
99
104
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
100
105
|
"uuid": "eaee7f34-1725-411e-9a23-2331167e08f5"
|
|
101
106
|
}
|
|
102
|
-
}
|
|
107
|
+
},
|
|
108
|
+
"uuid": "11e391f6-66f0-4ed0-b70a-3f3d3a0e2f90"
|
|
103
109
|
},
|
|
104
110
|
"accent-color-700": {
|
|
105
111
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -116,7 +122,8 @@
|
|
|
116
122
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
117
123
|
"uuid": "5c7ac5cc-4fe4-4392-a5c3-4274cd15a48e"
|
|
118
124
|
}
|
|
119
|
-
}
|
|
125
|
+
},
|
|
126
|
+
"uuid": "fc2868a8-1b1b-4da7-a51f-7faa6e7f7d4d"
|
|
120
127
|
},
|
|
121
128
|
"accent-color-800": {
|
|
122
129
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -133,7 +140,8 @@
|
|
|
133
140
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
134
141
|
"uuid": "3cf62c35-1e2e-4400-886f-473de9e8a958"
|
|
135
142
|
}
|
|
136
|
-
}
|
|
143
|
+
},
|
|
144
|
+
"uuid": "85bd13e9-ff5a-419d-bc33-97fd44cf1789"
|
|
137
145
|
},
|
|
138
146
|
"accent-color-900": {
|
|
139
147
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -150,7 +158,8 @@
|
|
|
150
158
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
151
159
|
"uuid": "42d37753-8b78-4328-a895-7b74d9a7aa86"
|
|
152
160
|
}
|
|
153
|
-
}
|
|
161
|
+
},
|
|
162
|
+
"uuid": "23cb9c14-f3cf-430b-9d0c-4749160542d8"
|
|
154
163
|
},
|
|
155
164
|
"accent-color-1000": {
|
|
156
165
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -167,7 +176,8 @@
|
|
|
167
176
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
168
177
|
"uuid": "b848c6ce-f921-4303-b298-20e359a1aa2e"
|
|
169
178
|
}
|
|
170
|
-
}
|
|
179
|
+
},
|
|
180
|
+
"uuid": "203cf947-661e-4e96-8d13-5f0d3e9237bf"
|
|
171
181
|
},
|
|
172
182
|
"accent-color-1100": {
|
|
173
183
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -184,7 +194,8 @@
|
|
|
184
194
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
185
195
|
"uuid": "46991cf0-e4e5-4c32-a140-4589e2456523"
|
|
186
196
|
}
|
|
187
|
-
}
|
|
197
|
+
},
|
|
198
|
+
"uuid": "80493b68-bdd4-4478-8ec1-2049922382be"
|
|
188
199
|
},
|
|
189
200
|
"accent-color-1200": {
|
|
190
201
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -201,7 +212,8 @@
|
|
|
201
212
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
202
213
|
"uuid": "7de1e3f0-a5b3-4a09-955b-242ff78dbaa9"
|
|
203
214
|
}
|
|
204
|
-
}
|
|
215
|
+
},
|
|
216
|
+
"uuid": "eeed3404-3bde-4bb6-975f-556ec92297bd"
|
|
205
217
|
},
|
|
206
218
|
"accent-color-1300": {
|
|
207
219
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -218,7 +230,8 @@
|
|
|
218
230
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
219
231
|
"uuid": "a598813b-347f-4528-aa35-94b6642985db"
|
|
220
232
|
}
|
|
221
|
-
}
|
|
233
|
+
},
|
|
234
|
+
"uuid": "0083814f-7761-4a52-97e3-ca154d7b8603"
|
|
222
235
|
},
|
|
223
236
|
"accent-color-1400": {
|
|
224
237
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/system-set.json",
|
|
@@ -235,7 +248,8 @@
|
|
|
235
248
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
236
249
|
"uuid": "12c250df-6088-4c20-8b04-59814d53ed7a"
|
|
237
250
|
}
|
|
238
|
-
}
|
|
251
|
+
},
|
|
252
|
+
"uuid": "1124ea0a-6ba1-4b7e-852e-db760d182a97"
|
|
239
253
|
},
|
|
240
254
|
"informative-color-100": {
|
|
241
255
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
package/src/typography.json
CHANGED
|
@@ -59,6 +59,22 @@
|
|
|
59
59
|
"value": "normal",
|
|
60
60
|
"uuid": "25668698-bf78-46f4-bc6c-8fea068ddb34"
|
|
61
61
|
},
|
|
62
|
+
"font-size-25": {
|
|
63
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
64
|
+
"sets": {
|
|
65
|
+
"desktop": {
|
|
66
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/font-size.json",
|
|
67
|
+
"value": "10px",
|
|
68
|
+
"uuid": "26ab49ea-7e86-4f0d-812e-ef1ba794c8a8"
|
|
69
|
+
},
|
|
70
|
+
"mobile": {
|
|
71
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/font-size.json",
|
|
72
|
+
"value": "12px",
|
|
73
|
+
"uuid": "5946a4e5-8bed-4dd7-aa73-9ebe232f9790"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"uuid": "f0c5ab51-5fc0-417d-a57a-edd12a62847e"
|
|
77
|
+
},
|
|
62
78
|
"font-size-50": {
|
|
63
79
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
64
80
|
"sets": {
|
|
@@ -72,7 +88,8 @@
|
|
|
72
88
|
"value": "13px",
|
|
73
89
|
"uuid": "b7561ce1-e12e-4aed-9766-181f7eca309e"
|
|
74
90
|
}
|
|
75
|
-
}
|
|
91
|
+
},
|
|
92
|
+
"uuid": "daa864c1-e91e-4357-bcfc-02f3a5037f9c"
|
|
76
93
|
},
|
|
77
94
|
"font-size-75": {
|
|
78
95
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -87,7 +104,8 @@
|
|
|
87
104
|
"value": "15px",
|
|
88
105
|
"uuid": "07e1c2a8-3925-4d71-8fae-3486483ff44c"
|
|
89
106
|
}
|
|
90
|
-
}
|
|
107
|
+
},
|
|
108
|
+
"uuid": "5cf4dd2a-2a85-4eb6-b163-fa6737e4f838"
|
|
91
109
|
},
|
|
92
110
|
"font-size-100": {
|
|
93
111
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -102,7 +120,8 @@
|
|
|
102
120
|
"value": "17px",
|
|
103
121
|
"uuid": "2f9ee3cf-ccb1-4f0b-aed6-96e472fb7411"
|
|
104
122
|
}
|
|
105
|
-
}
|
|
123
|
+
},
|
|
124
|
+
"uuid": "86103cc9-4510-45af-8139-a81ea3b69da7"
|
|
106
125
|
},
|
|
107
126
|
"font-size-200": {
|
|
108
127
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -117,7 +136,8 @@
|
|
|
117
136
|
"value": "19px",
|
|
118
137
|
"uuid": "7e51ff4e-2749-49d1-b9ed-75de92a73991"
|
|
119
138
|
}
|
|
120
|
-
}
|
|
139
|
+
},
|
|
140
|
+
"uuid": "0cfbf6f7-7e79-44bb-af03-6355f412f590"
|
|
121
141
|
},
|
|
122
142
|
"font-size-300": {
|
|
123
143
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -132,7 +152,8 @@
|
|
|
132
152
|
"value": "22px",
|
|
133
153
|
"uuid": "9b9a7175-dcca-43aa-98ce-f1c3e4eefda7"
|
|
134
154
|
}
|
|
135
|
-
}
|
|
155
|
+
},
|
|
156
|
+
"uuid": "cd34b2cb-e7fa-41dd-bd1e-cb1e8113554a"
|
|
136
157
|
},
|
|
137
158
|
"font-size-400": {
|
|
138
159
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -147,7 +168,8 @@
|
|
|
147
168
|
"value": "24px",
|
|
148
169
|
"uuid": "d5ed0e8d-01ac-495f-bd15-fecc30af17c4"
|
|
149
170
|
}
|
|
150
|
-
}
|
|
171
|
+
},
|
|
172
|
+
"uuid": "c5ae539c-9b16-489a-a39b-c9cee1a1701b"
|
|
151
173
|
},
|
|
152
174
|
"font-size-500": {
|
|
153
175
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -162,7 +184,8 @@
|
|
|
162
184
|
"value": "27px",
|
|
163
185
|
"uuid": "a69a5079-1b5b-4ccf-946f-8b6e3fae4d7e"
|
|
164
186
|
}
|
|
165
|
-
}
|
|
187
|
+
},
|
|
188
|
+
"uuid": "ff5914d7-5d19-4b21-b633-c742d95942db"
|
|
166
189
|
},
|
|
167
190
|
"font-size-600": {
|
|
168
191
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -177,7 +200,8 @@
|
|
|
177
200
|
"value": "31px",
|
|
178
201
|
"uuid": "ac892307-2559-48f5-9e2c-98dabbb0abc2"
|
|
179
202
|
}
|
|
180
|
-
}
|
|
203
|
+
},
|
|
204
|
+
"uuid": "ed0c86e1-f062-405e-a1c4-ce74f62c0ea7"
|
|
181
205
|
},
|
|
182
206
|
"font-size-700": {
|
|
183
207
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -192,7 +216,8 @@
|
|
|
192
216
|
"value": "34px",
|
|
193
217
|
"uuid": "6bd6456c-b73b-4926-8e67-7b942e32bbc2"
|
|
194
218
|
}
|
|
195
|
-
}
|
|
219
|
+
},
|
|
220
|
+
"uuid": "b2b59d6e-50f8-4e72-a5c5-993a87971e3d"
|
|
196
221
|
},
|
|
197
222
|
"font-size-800": {
|
|
198
223
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -207,7 +232,8 @@
|
|
|
207
232
|
"value": "39px",
|
|
208
233
|
"uuid": "bdfae93d-ae49-456b-af54-8620ea976ca8"
|
|
209
234
|
}
|
|
210
|
-
}
|
|
235
|
+
},
|
|
236
|
+
"uuid": "3b3711a6-44fd-44b5-b273-e2c775a15986"
|
|
211
237
|
},
|
|
212
238
|
"font-size-900": {
|
|
213
239
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -222,7 +248,8 @@
|
|
|
222
248
|
"value": "44px",
|
|
223
249
|
"uuid": "5296e771-6d04-4e9a-b1fe-ab22d4dfd92b"
|
|
224
250
|
}
|
|
225
|
-
}
|
|
251
|
+
},
|
|
252
|
+
"uuid": "b164fd8e-2d83-45fc-b636-dba832faad37"
|
|
226
253
|
},
|
|
227
254
|
"font-size-1000": {
|
|
228
255
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -237,7 +264,8 @@
|
|
|
237
264
|
"value": "49px",
|
|
238
265
|
"uuid": "8b158ab0-7e82-4dab-a4d9-84cf7a71fa0a"
|
|
239
266
|
}
|
|
240
|
-
}
|
|
267
|
+
},
|
|
268
|
+
"uuid": "db55c6a2-c72d-4e63-838c-5f30d467bb66"
|
|
241
269
|
},
|
|
242
270
|
"font-size-1100": {
|
|
243
271
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -252,7 +280,8 @@
|
|
|
252
280
|
"value": "55px",
|
|
253
281
|
"uuid": "5eb96c78-c8f6-4e31-9bc8-fa62794ac4db"
|
|
254
282
|
}
|
|
255
|
-
}
|
|
283
|
+
},
|
|
284
|
+
"uuid": "56149ad7-84a7-4067-bad8-c5b143dd0561"
|
|
256
285
|
},
|
|
257
286
|
"font-size-1200": {
|
|
258
287
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -267,7 +296,8 @@
|
|
|
267
296
|
"value": "62px",
|
|
268
297
|
"uuid": "0ab38fb2-0de9-4be0-8967-8241379706be"
|
|
269
298
|
}
|
|
270
|
-
}
|
|
299
|
+
},
|
|
300
|
+
"uuid": "164b0eae-cd17-4e2c-8f30-436c0df7d4c9"
|
|
271
301
|
},
|
|
272
302
|
"font-size-1300": {
|
|
273
303
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
|
|
@@ -282,7 +312,13 @@
|
|
|
282
312
|
"value": "70px",
|
|
283
313
|
"uuid": "bd880141-81f6-47fe-a421-01124fe66b67"
|
|
284
314
|
}
|
|
285
|
-
}
|
|
315
|
+
},
|
|
316
|
+
"uuid": "db26e411-a118-4bef-a413-eeb383e85f37"
|
|
317
|
+
},
|
|
318
|
+
"letter-spacing": {
|
|
319
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
320
|
+
"value": "0em",
|
|
321
|
+
"uuid": "d8caf3aa-1261-411f-b383-18f87334c117"
|
|
286
322
|
},
|
|
287
323
|
"line-height-100": {
|
|
288
324
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/multiplier.json",
|
|
@@ -305,8 +341,8 @@
|
|
|
305
341
|
"uuid": "c5a5d186-54b3-44a0-b1c6-e9b102871015"
|
|
306
342
|
},
|
|
307
343
|
"cjk-letter-spacing": {
|
|
308
|
-
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/
|
|
309
|
-
"value": "
|
|
344
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
345
|
+
"value": "{letter-spacing}",
|
|
310
346
|
"uuid": "12e27721-35f5-4d03-95f3-3fc9e1cf50e4"
|
|
311
347
|
},
|
|
312
348
|
"heading-sans-serif-font-family": {
|
|
@@ -379,7 +415,8 @@
|
|
|
379
415
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
380
416
|
"uuid": "e5bfbd82-a8e6-43dc-b2b6-dc1e171f48aa"
|
|
381
417
|
}
|
|
382
|
-
}
|
|
418
|
+
},
|
|
419
|
+
"uuid": "2094ec97-c8de-46d7-93a4-1f49988bfbf2"
|
|
383
420
|
},
|
|
384
421
|
"heading-sans-serif-font-style": {
|
|
385
422
|
"component": "heading",
|
|
@@ -403,7 +440,8 @@
|
|
|
403
440
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
404
441
|
"uuid": "36bea3bb-06b8-4c66-87ad-ffc86be18243"
|
|
405
442
|
}
|
|
406
|
-
}
|
|
443
|
+
},
|
|
444
|
+
"uuid": "2e852baa-60a2-4e7e-9e30-99c14d7e4fef"
|
|
407
445
|
},
|
|
408
446
|
"heading-serif-font-style": {
|
|
409
447
|
"component": "heading",
|
|
@@ -427,7 +465,8 @@
|
|
|
427
465
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
428
466
|
"uuid": "21643fcd-b1da-4057-8fb5-e75167c0d89f"
|
|
429
467
|
}
|
|
430
|
-
}
|
|
468
|
+
},
|
|
469
|
+
"uuid": "203b2652-aa62-47f7-b4b5-52e22532de80"
|
|
431
470
|
},
|
|
432
471
|
"heading-cjk-font-style": {
|
|
433
472
|
"component": "heading",
|
|
@@ -462,7 +501,7 @@
|
|
|
462
501
|
"heading-cjk-heavy-font-weight": {
|
|
463
502
|
"component": "heading",
|
|
464
503
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
465
|
-
"value": "{
|
|
504
|
+
"value": "{extra-bold-font-weight}",
|
|
466
505
|
"uuid": "73c20d2f-1227-46bc-8548-102358405b0b"
|
|
467
506
|
},
|
|
468
507
|
"heading-cjk-heavy-font-style": {
|
|
@@ -631,7 +670,8 @@
|
|
|
631
670
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
632
671
|
"uuid": "723c8306-12fb-4cb5-9fd2-3ad40d57bb25"
|
|
633
672
|
}
|
|
634
|
-
}
|
|
673
|
+
},
|
|
674
|
+
"uuid": "445edecf-360c-4c42-aaf2-3b7380678365"
|
|
635
675
|
},
|
|
636
676
|
"heading-sans-serif-emphasized-font-style": {
|
|
637
677
|
"component": "heading",
|
|
@@ -655,7 +695,8 @@
|
|
|
655
695
|
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2.",
|
|
656
696
|
"uuid": "e9b3a7b0-ae46-48be-a143-f26463860d3f"
|
|
657
697
|
}
|
|
658
|
-
}
|
|
698
|
+
},
|
|
699
|
+
"uuid": "aa539366-543c-4cf5-b326-8c6e8a09f846"
|
|
659
700
|
},
|
|
660
701
|
"heading-serif-emphasized-font-style": {
|
|
661
702
|
"component": "heading",
|
|
@@ -870,13 +911,13 @@
|
|
|
870
911
|
"heading-cjk-size-xxxl": {
|
|
871
912
|
"component": "heading",
|
|
872
913
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
873
|
-
"value": "{font-size-
|
|
914
|
+
"value": "{font-size-1200}",
|
|
874
915
|
"uuid": "5a44e177-2478-4bb0-9212-ba2df64c8b00"
|
|
875
916
|
},
|
|
876
917
|
"heading-cjk-size-xxl": {
|
|
877
918
|
"component": "heading",
|
|
878
919
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
879
|
-
"value": "{font-size-
|
|
920
|
+
"value": "{font-size-1000}",
|
|
880
921
|
"uuid": "fbf59302-1ad2-4327-bfde-d638a0ca2429"
|
|
881
922
|
},
|
|
882
923
|
"heading-cjk-size-xl": {
|
|
@@ -900,19 +941,19 @@
|
|
|
900
941
|
"heading-cjk-size-s": {
|
|
901
942
|
"component": "heading",
|
|
902
943
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
903
|
-
"value": "{font-size-
|
|
944
|
+
"value": "{font-size-200}",
|
|
904
945
|
"uuid": "c1242a8c-ca10-40d0-8fc4-67bbbce8fc5f"
|
|
905
946
|
},
|
|
906
947
|
"heading-cjk-size-xs": {
|
|
907
948
|
"component": "heading",
|
|
908
949
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
909
|
-
"value": "{font-size-
|
|
950
|
+
"value": "{font-size-100}",
|
|
910
951
|
"uuid": "132688a7-917d-44b9-a34f-a7135599b299"
|
|
911
952
|
},
|
|
912
953
|
"heading-cjk-size-xxs": {
|
|
913
954
|
"component": "heading",
|
|
914
955
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
915
|
-
"value": "{font-size-
|
|
956
|
+
"value": "{font-size-75}",
|
|
916
957
|
"uuid": "bddd6a96-c280-47ca-8858-20df055e488d"
|
|
917
958
|
},
|
|
918
959
|
"heading-line-height": {
|
|
@@ -1026,7 +1067,7 @@
|
|
|
1026
1067
|
"body-cjk-strong-font-weight": {
|
|
1027
1068
|
"component": "body",
|
|
1028
1069
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
1029
|
-
"value": "{
|
|
1070
|
+
"value": "{extra-bold-font-weight}",
|
|
1030
1071
|
"uuid": "d79de2c4-ca7c-4316-ac44-fee1a66983d7"
|
|
1031
1072
|
},
|
|
1032
1073
|
"body-cjk-strong-font-style": {
|
|
@@ -1098,7 +1139,7 @@
|
|
|
1098
1139
|
"body-cjk-strong-emphasized-font-weight": {
|
|
1099
1140
|
"component": "body",
|
|
1100
1141
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
1101
|
-
"value": "{
|
|
1142
|
+
"value": "{extra-bold-font-weight}",
|
|
1102
1143
|
"uuid": "54020791-a975-4e5d-a905-8bffcc9d2d93"
|
|
1103
1144
|
},
|
|
1104
1145
|
"body-cjk-strong-emphasized-font-style": {
|
|
@@ -1290,7 +1331,7 @@
|
|
|
1290
1331
|
"detail-cjk-strong-font-weight": {
|
|
1291
1332
|
"component": "detail",
|
|
1292
1333
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
1293
|
-
"value": "{
|
|
1334
|
+
"value": "{extra-bold-font-weight}",
|
|
1294
1335
|
"uuid": "ef2997f3-276c-4662-8644-9514590114f4"
|
|
1295
1336
|
},
|
|
1296
1337
|
"detail-cjk-strong-font-style": {
|
|
@@ -1362,7 +1403,7 @@
|
|
|
1362
1403
|
"detail-cjk-emphasized-font-weight": {
|
|
1363
1404
|
"component": "detail",
|
|
1364
1405
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
1365
|
-
"value": "{
|
|
1406
|
+
"value": "{extra-bold-font-weight}",
|
|
1366
1407
|
"uuid": "aa70fa2d-87ee-4e67-b230-85f400ddd7d1"
|
|
1367
1408
|
},
|
|
1368
1409
|
"detail-cjk-emphasized-font-style": {
|
|
@@ -1434,7 +1475,7 @@
|
|
|
1434
1475
|
"detail-cjk-strong-emphasized-font-weight": {
|
|
1435
1476
|
"component": "detail",
|
|
1436
1477
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
1437
|
-
"value": "{
|
|
1478
|
+
"value": "{extra-bold-font-weight}",
|
|
1438
1479
|
"uuid": "a7007c07-15a4-4671-bd3b-7406f4b374bb"
|
|
1439
1480
|
},
|
|
1440
1481
|
"detail-cjk-strong-emphasized-font-style": {
|
package/tasks/addIds.js
CHANGED
|
@@ -19,6 +19,7 @@ console.log(files);
|
|
|
19
19
|
|
|
20
20
|
const VALUE = "value";
|
|
21
21
|
const UUID = "uuid";
|
|
22
|
+
const SETS = "sets";
|
|
22
23
|
const uuids = [];
|
|
23
24
|
|
|
24
25
|
// dumb function to check if something is an object
|
|
@@ -46,7 +47,7 @@ function findUUIDs(json) {
|
|
|
46
47
|
// check for and add uuids
|
|
47
48
|
function addUUIDs(json) {
|
|
48
49
|
// if it is in want of uuid, give it one
|
|
49
|
-
if (json[
|
|
50
|
+
if (!json[UUID] && (json[VALUE] || json[SETS])) {
|
|
50
51
|
while (!json[UUID] || uuids.includes(json[UUID])) {
|
|
51
52
|
json[UUID] = crypto.randomUUID(); // https://stackoverflow.com/questions/105034/how-do-i-create-a-guid-uuid#2117523
|
|
52
53
|
}
|
|
Binary file
|