@primer/primitives 7.17.0-rc.4dfa9cdd → 7.17.0-rc.5464d1af
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/README.md +1 -1
- package/dist/docs/base/typography/typography.json +4 -52
- package/dist/docs/functional/typography/typography.json +22 -264
- package/dist/figma/figma.json +0 -8
- package/dist/figma/typography/typography.json +0 -238
- package/dist/styleLint/base/typography/typography.json +4 -52
- package/dist/styleLint/functional/typography/typography.json +22 -264
- package/package.json +2 -2
- package/src/tokens/base/typography/typography.json +4 -28
- package/src/tokens/functional/typography/typography.json +21 -142
|
@@ -9,16 +9,6 @@
|
|
|
9
9
|
"group": "typography",
|
|
10
10
|
"scopes": ["ALL_SCOPES"]
|
|
11
11
|
},
|
|
12
|
-
{
|
|
13
|
-
"name": "text/codeBlock/size",
|
|
14
|
-
"value": 13,
|
|
15
|
-
"type": "FLOAT",
|
|
16
|
-
"refId": "typography/text/codeBlock/size",
|
|
17
|
-
"collection": "typography",
|
|
18
|
-
"mode": "default",
|
|
19
|
-
"group": "typography",
|
|
20
|
-
"scopes": ["ALL_SCOPES"]
|
|
21
|
-
},
|
|
22
12
|
{
|
|
23
13
|
"name": "text/caption/lineHeight",
|
|
24
14
|
"value": "16px",
|
|
@@ -29,16 +19,6 @@
|
|
|
29
19
|
"group": "typography",
|
|
30
20
|
"scopes": ["ALL_SCOPES"]
|
|
31
21
|
},
|
|
32
|
-
{
|
|
33
|
-
"name": "text/caption/size",
|
|
34
|
-
"value": 12,
|
|
35
|
-
"type": "FLOAT",
|
|
36
|
-
"refId": "typography/text/caption/size",
|
|
37
|
-
"collection": "typography",
|
|
38
|
-
"mode": "default",
|
|
39
|
-
"group": "typography",
|
|
40
|
-
"scopes": ["ALL_SCOPES"]
|
|
41
|
-
},
|
|
42
22
|
{
|
|
43
23
|
"name": "text/body/lineHeight/small",
|
|
44
24
|
"value": "20px",
|
|
@@ -69,56 +49,6 @@
|
|
|
69
49
|
"group": "typography",
|
|
70
50
|
"scopes": ["ALL_SCOPES"]
|
|
71
51
|
},
|
|
72
|
-
{
|
|
73
|
-
"name": "text/body/size/small",
|
|
74
|
-
"value": 12,
|
|
75
|
-
"type": "FLOAT",
|
|
76
|
-
"refId": "typography/text/body/size/small",
|
|
77
|
-
"collection": "typography",
|
|
78
|
-
"mode": "default",
|
|
79
|
-
"group": "typography",
|
|
80
|
-
"scopes": ["ALL_SCOPES"]
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"name": "text/body/size/medium",
|
|
84
|
-
"value": 14,
|
|
85
|
-
"type": "FLOAT",
|
|
86
|
-
"refId": "typography/text/body/size/medium",
|
|
87
|
-
"collection": "typography",
|
|
88
|
-
"mode": "default",
|
|
89
|
-
"group": "typography",
|
|
90
|
-
"scopes": ["ALL_SCOPES"]
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"name": "text/body/size/large",
|
|
94
|
-
"value": 16,
|
|
95
|
-
"type": "FLOAT",
|
|
96
|
-
"refId": "typography/text/body/size/large",
|
|
97
|
-
"collection": "typography",
|
|
98
|
-
"mode": "default",
|
|
99
|
-
"group": "typography",
|
|
100
|
-
"scopes": ["ALL_SCOPES"]
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"name": "text/subtitle/lineHeight",
|
|
104
|
-
"value": 1.6,
|
|
105
|
-
"type": "FLOAT",
|
|
106
|
-
"refId": "typography/text/subtitle/lineHeight",
|
|
107
|
-
"collection": "typography",
|
|
108
|
-
"mode": "default",
|
|
109
|
-
"group": "typography",
|
|
110
|
-
"scopes": ["ALL_SCOPES"]
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"name": "text/subtitle/size",
|
|
114
|
-
"value": 20,
|
|
115
|
-
"type": "FLOAT",
|
|
116
|
-
"refId": "typography/text/subtitle/size",
|
|
117
|
-
"collection": "typography",
|
|
118
|
-
"mode": "default",
|
|
119
|
-
"group": "typography",
|
|
120
|
-
"scopes": ["ALL_SCOPES"]
|
|
121
|
-
},
|
|
122
52
|
{
|
|
123
53
|
"name": "text/title/lineHeight/small",
|
|
124
54
|
"value": "24px",
|
|
@@ -149,36 +79,6 @@
|
|
|
149
79
|
"group": "typography",
|
|
150
80
|
"scopes": ["ALL_SCOPES"]
|
|
151
81
|
},
|
|
152
|
-
{
|
|
153
|
-
"name": "text/title/size/small",
|
|
154
|
-
"value": 16,
|
|
155
|
-
"type": "FLOAT",
|
|
156
|
-
"refId": "typography/text/title/size/small",
|
|
157
|
-
"collection": "typography",
|
|
158
|
-
"mode": "default",
|
|
159
|
-
"group": "typography",
|
|
160
|
-
"scopes": ["ALL_SCOPES"]
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"name": "text/title/size/medium",
|
|
164
|
-
"value": 20,
|
|
165
|
-
"type": "FLOAT",
|
|
166
|
-
"refId": "typography/text/title/size/medium",
|
|
167
|
-
"collection": "typography",
|
|
168
|
-
"mode": "default",
|
|
169
|
-
"group": "typography",
|
|
170
|
-
"scopes": ["ALL_SCOPES"]
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"name": "text/title/size/large",
|
|
174
|
-
"value": 32,
|
|
175
|
-
"type": "FLOAT",
|
|
176
|
-
"refId": "typography/text/title/size/large",
|
|
177
|
-
"collection": "typography",
|
|
178
|
-
"mode": "default",
|
|
179
|
-
"group": "typography",
|
|
180
|
-
"scopes": ["ALL_SCOPES"]
|
|
181
|
-
},
|
|
182
82
|
{
|
|
183
83
|
"name": "text/display/lineHeight",
|
|
184
84
|
"value": "56px",
|
|
@@ -189,16 +89,6 @@
|
|
|
189
89
|
"group": "typography",
|
|
190
90
|
"scopes": ["ALL_SCOPES"]
|
|
191
91
|
},
|
|
192
|
-
{
|
|
193
|
-
"name": "text/display/size",
|
|
194
|
-
"value": 40,
|
|
195
|
-
"type": "FLOAT",
|
|
196
|
-
"refId": "typography/text/display/size",
|
|
197
|
-
"collection": "typography",
|
|
198
|
-
"mode": "default",
|
|
199
|
-
"group": "typography",
|
|
200
|
-
"scopes": ["ALL_SCOPES"]
|
|
201
|
-
},
|
|
202
92
|
{
|
|
203
93
|
"name": "text/display/lineBoxHeight",
|
|
204
94
|
"value": "56px",
|
|
@@ -238,133 +128,5 @@
|
|
|
238
128
|
"mode": "default",
|
|
239
129
|
"group": "typography",
|
|
240
130
|
"scopes": ["ALL_SCOPES"]
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"name": "base/text/weight/semibold",
|
|
244
|
-
"value": 600,
|
|
245
|
-
"type": "FLOAT",
|
|
246
|
-
"refId": "base/typography/base/text/weight/semibold",
|
|
247
|
-
"collection": "base/typography",
|
|
248
|
-
"mode": "default",
|
|
249
|
-
"group": "base/typography",
|
|
250
|
-
"scopes": ["ALL_SCOPES"]
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"name": "base/text/weight/medium",
|
|
254
|
-
"value": 500,
|
|
255
|
-
"type": "FLOAT",
|
|
256
|
-
"refId": "base/typography/base/text/weight/medium",
|
|
257
|
-
"collection": "base/typography",
|
|
258
|
-
"mode": "default",
|
|
259
|
-
"group": "base/typography",
|
|
260
|
-
"scopes": ["ALL_SCOPES"]
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"name": "base/text/weight/normal",
|
|
264
|
-
"value": 400,
|
|
265
|
-
"type": "FLOAT",
|
|
266
|
-
"refId": "base/typography/base/text/weight/normal",
|
|
267
|
-
"collection": "base/typography",
|
|
268
|
-
"mode": "default",
|
|
269
|
-
"group": "base/typography",
|
|
270
|
-
"scopes": ["ALL_SCOPES"]
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"name": "base/text/weight/light",
|
|
274
|
-
"value": 300,
|
|
275
|
-
"type": "FLOAT",
|
|
276
|
-
"refId": "base/typography/base/text/weight/light",
|
|
277
|
-
"collection": "base/typography",
|
|
278
|
-
"mode": "default",
|
|
279
|
-
"group": "base/typography",
|
|
280
|
-
"scopes": ["ALL_SCOPES"]
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"name": "text/codeInline/weight",
|
|
284
|
-
"value": 400,
|
|
285
|
-
"type": "FLOAT",
|
|
286
|
-
"refId": "typography/text/codeInline/weight",
|
|
287
|
-
"reference": "base/typography/base/text/weight/normal",
|
|
288
|
-
"collection": "typography",
|
|
289
|
-
"mode": "default",
|
|
290
|
-
"group": "typography",
|
|
291
|
-
"scopes": ["ALL_SCOPES"]
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"name": "text/codeBlock/weight",
|
|
295
|
-
"value": 400,
|
|
296
|
-
"type": "FLOAT",
|
|
297
|
-
"refId": "typography/text/codeBlock/weight",
|
|
298
|
-
"reference": "base/typography/base/text/weight/normal",
|
|
299
|
-
"collection": "typography",
|
|
300
|
-
"mode": "default",
|
|
301
|
-
"group": "typography",
|
|
302
|
-
"scopes": ["ALL_SCOPES"]
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"name": "text/caption/weight",
|
|
306
|
-
"value": 400,
|
|
307
|
-
"type": "FLOAT",
|
|
308
|
-
"refId": "typography/text/caption/weight",
|
|
309
|
-
"reference": "base/typography/base/text/weight/normal",
|
|
310
|
-
"collection": "typography",
|
|
311
|
-
"mode": "default",
|
|
312
|
-
"group": "typography",
|
|
313
|
-
"scopes": ["ALL_SCOPES"]
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"name": "text/subtitle/weight",
|
|
317
|
-
"value": 400,
|
|
318
|
-
"type": "FLOAT",
|
|
319
|
-
"refId": "typography/text/subtitle/weight",
|
|
320
|
-
"reference": "base/typography/base/text/weight/normal",
|
|
321
|
-
"collection": "typography",
|
|
322
|
-
"mode": "default",
|
|
323
|
-
"group": "typography",
|
|
324
|
-
"scopes": ["ALL_SCOPES"]
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"name": "text/title/weight/small",
|
|
328
|
-
"value": 600,
|
|
329
|
-
"type": "FLOAT",
|
|
330
|
-
"refId": "typography/text/title/weight/small",
|
|
331
|
-
"reference": "base/typography/base/text/weight/semibold",
|
|
332
|
-
"collection": "typography",
|
|
333
|
-
"mode": "default",
|
|
334
|
-
"group": "typography",
|
|
335
|
-
"scopes": ["ALL_SCOPES"]
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"name": "text/title/weight/medium",
|
|
339
|
-
"value": 600,
|
|
340
|
-
"type": "FLOAT",
|
|
341
|
-
"refId": "typography/text/title/weight/medium",
|
|
342
|
-
"reference": "base/typography/base/text/weight/semibold",
|
|
343
|
-
"collection": "typography",
|
|
344
|
-
"mode": "default",
|
|
345
|
-
"group": "typography",
|
|
346
|
-
"scopes": ["ALL_SCOPES"]
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"name": "text/title/weight/large",
|
|
350
|
-
"value": 600,
|
|
351
|
-
"type": "FLOAT",
|
|
352
|
-
"refId": "typography/text/title/weight/large",
|
|
353
|
-
"reference": "base/typography/base/text/weight/semibold",
|
|
354
|
-
"collection": "typography",
|
|
355
|
-
"mode": "default",
|
|
356
|
-
"group": "typography",
|
|
357
|
-
"scopes": ["ALL_SCOPES"]
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"name": "text/display/weight",
|
|
361
|
-
"value": 500,
|
|
362
|
-
"type": "FLOAT",
|
|
363
|
-
"refId": "typography/text/display/weight",
|
|
364
|
-
"reference": "base/typography/base/text/weight/medium",
|
|
365
|
-
"collection": "typography",
|
|
366
|
-
"mode": "default",
|
|
367
|
-
"group": "typography",
|
|
368
|
-
"scopes": ["ALL_SCOPES"]
|
|
369
131
|
}
|
|
370
132
|
]
|
|
@@ -2,23 +2,11 @@
|
|
|
2
2
|
"base-text-weight-light": {
|
|
3
3
|
"$type": "fontWeight",
|
|
4
4
|
"value": 300,
|
|
5
|
-
"$extensions": {
|
|
6
|
-
"org.primer.figma": {
|
|
7
|
-
"collection": "base/typography",
|
|
8
|
-
"scopes": ["all"]
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
5
|
"filePath": "src/tokens/base/typography/typography.json",
|
|
12
6
|
"isSource": true,
|
|
13
7
|
"original": {
|
|
14
8
|
"$type": "fontWeight",
|
|
15
|
-
"value": 300
|
|
16
|
-
"$extensions": {
|
|
17
|
-
"org.primer.figma": {
|
|
18
|
-
"collection": "base/typography",
|
|
19
|
-
"scopes": ["all"]
|
|
20
|
-
}
|
|
21
|
-
}
|
|
9
|
+
"value": 300
|
|
22
10
|
},
|
|
23
11
|
"name": "base-text-weight-light",
|
|
24
12
|
"attributes": {},
|
|
@@ -27,23 +15,11 @@
|
|
|
27
15
|
"base-text-weight-normal": {
|
|
28
16
|
"value": 400,
|
|
29
17
|
"$type": "fontWeight",
|
|
30
|
-
"$extensions": {
|
|
31
|
-
"org.primer.figma": {
|
|
32
|
-
"collection": "base/typography",
|
|
33
|
-
"scopes": ["all"]
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
18
|
"filePath": "src/tokens/base/typography/typography.json",
|
|
37
19
|
"isSource": true,
|
|
38
20
|
"original": {
|
|
39
21
|
"value": 400,
|
|
40
|
-
"$type": "fontWeight"
|
|
41
|
-
"$extensions": {
|
|
42
|
-
"org.primer.figma": {
|
|
43
|
-
"collection": "base/typography",
|
|
44
|
-
"scopes": ["all"]
|
|
45
|
-
}
|
|
46
|
-
}
|
|
22
|
+
"$type": "fontWeight"
|
|
47
23
|
},
|
|
48
24
|
"name": "base-text-weight-normal",
|
|
49
25
|
"attributes": {},
|
|
@@ -52,23 +28,11 @@
|
|
|
52
28
|
"base-text-weight-medium": {
|
|
53
29
|
"value": 500,
|
|
54
30
|
"$type": "fontWeight",
|
|
55
|
-
"$extensions": {
|
|
56
|
-
"org.primer.figma": {
|
|
57
|
-
"collection": "base/typography",
|
|
58
|
-
"scopes": ["all"]
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
31
|
"filePath": "src/tokens/base/typography/typography.json",
|
|
62
32
|
"isSource": true,
|
|
63
33
|
"original": {
|
|
64
34
|
"value": 500,
|
|
65
|
-
"$type": "fontWeight"
|
|
66
|
-
"$extensions": {
|
|
67
|
-
"org.primer.figma": {
|
|
68
|
-
"collection": "base/typography",
|
|
69
|
-
"scopes": ["all"]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
35
|
+
"$type": "fontWeight"
|
|
72
36
|
},
|
|
73
37
|
"name": "base-text-weight-medium",
|
|
74
38
|
"attributes": {},
|
|
@@ -77,23 +41,11 @@
|
|
|
77
41
|
"base-text-weight-semibold": {
|
|
78
42
|
"value": 600,
|
|
79
43
|
"$type": "fontWeight",
|
|
80
|
-
"$extensions": {
|
|
81
|
-
"org.primer.figma": {
|
|
82
|
-
"collection": "base/typography",
|
|
83
|
-
"scopes": ["all"]
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
44
|
"filePath": "src/tokens/base/typography/typography.json",
|
|
87
45
|
"isSource": true,
|
|
88
46
|
"original": {
|
|
89
47
|
"value": 600,
|
|
90
|
-
"$type": "fontWeight"
|
|
91
|
-
"$extensions": {
|
|
92
|
-
"org.primer.figma": {
|
|
93
|
-
"collection": "base/typography",
|
|
94
|
-
"scopes": ["all"]
|
|
95
|
-
}
|
|
96
|
-
}
|
|
48
|
+
"$type": "fontWeight"
|
|
97
49
|
},
|
|
98
50
|
"name": "base-text-weight-semibold",
|
|
99
51
|
"attributes": {},
|