@primer/primitives 11.3.0-rc.839041ca → 11.3.1-rc.ed175f24
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/css/functional/typography/typography.css +2 -2
- package/dist/docs/functional/typography/typography.json +6 -6
- package/dist/fallbacks/functional/typography/typography.json +4 -4
- package/dist/figma/typography/typography.json +2 -2
- package/dist/styleLint/functional/typography/typography.json +6 -6
- package/package.json +1 -1
- package/src/tokens/functional/typography/typography.json5 +2 -2
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
--fontStack-sansSerifDisplay: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
5
5
|
--fontStack-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
6
6
|
--text-body-lineHeight-large: 1.5;
|
|
7
|
-
--text-body-lineHeight-medium: 1.
|
|
8
|
-
--text-body-lineHeight-small: 1.
|
|
7
|
+
--text-body-lineHeight-medium: 1.42857;
|
|
8
|
+
--text-body-lineHeight-small: 1.66667;
|
|
9
9
|
--text-body-size-large: 1rem;
|
|
10
10
|
--text-body-size-medium: 0.875rem;
|
|
11
11
|
--text-body-size-small: 0.75rem;
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
155
155
|
"isSource": true,
|
|
156
156
|
"original": {
|
|
157
|
-
"$value": 1.
|
|
157
|
+
"$value": 1.42857,
|
|
158
158
|
"$type": "number",
|
|
159
159
|
"$extensions": {
|
|
160
160
|
"org.primer.data": {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"name": "text-body-lineHeight-medium",
|
|
171
171
|
"attributes": {},
|
|
172
172
|
"path": ["text", "body", "lineHeight", "medium"],
|
|
173
|
-
"value": 1.
|
|
173
|
+
"value": 1.42857,
|
|
174
174
|
"type": "number"
|
|
175
175
|
},
|
|
176
176
|
"text-body-lineHeight-small": {
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
188
188
|
"isSource": true,
|
|
189
189
|
"original": {
|
|
190
|
-
"$value": 1.
|
|
190
|
+
"$value": 1.66667,
|
|
191
191
|
"$type": "number",
|
|
192
192
|
"$extensions": {
|
|
193
193
|
"org.primer.data": {
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"name": "text-body-lineHeight-small",
|
|
204
204
|
"attributes": {},
|
|
205
205
|
"path": ["text", "body", "lineHeight", "small"],
|
|
206
|
-
"value": 1.
|
|
206
|
+
"value": 1.66667,
|
|
207
207
|
"type": "number"
|
|
208
208
|
},
|
|
209
209
|
"text-body-shorthand-large": {
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"name": "text-body-shorthand-medium",
|
|
247
247
|
"attributes": {},
|
|
248
248
|
"path": ["text", "body", "shorthand", "medium"],
|
|
249
|
-
"value": "400 0.875rem/1.
|
|
249
|
+
"value": "400 0.875rem/1.42857 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
250
250
|
"type": "typography",
|
|
251
251
|
"description": "Default UI font. Most commonly used for body text."
|
|
252
252
|
},
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
"name": "text-body-shorthand-small",
|
|
269
269
|
"attributes": {},
|
|
270
270
|
"path": ["text", "body", "shorthand", "small"],
|
|
271
|
-
"value": "400 0.75rem/1.
|
|
271
|
+
"value": "400 0.75rem/1.66667 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
272
272
|
"type": "typography",
|
|
273
273
|
"description": "Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px."
|
|
274
274
|
},
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"--text-body-size-medium": "0.875rem",
|
|
29
29
|
"--text-body-size-small": "0.75rem",
|
|
30
30
|
"--text-body-lineHeight-large": 1.5,
|
|
31
|
-
"--text-body-lineHeight-medium": 1.
|
|
32
|
-
"--text-body-lineHeight-small": 1.
|
|
31
|
+
"--text-body-lineHeight-medium": 1.42857,
|
|
32
|
+
"--text-body-lineHeight-small": 1.66667,
|
|
33
33
|
"--text-body-weight": 400,
|
|
34
34
|
"--text-body-shorthand-large": "400 1rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
35
|
-
"--text-body-shorthand-medium": "400 0.875rem/1.
|
|
36
|
-
"--text-body-shorthand-small": "400 0.75rem/1.
|
|
35
|
+
"--text-body-shorthand-medium": "400 0.875rem/1.42857 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
36
|
+
"--text-body-shorthand-small": "400 0.75rem/1.66667 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
37
37
|
"--text-caption-size": "0.75rem",
|
|
38
38
|
"--text-caption-lineHeight": 1.3333,
|
|
39
39
|
"--text-caption-weight": 400,
|
|
@@ -258,13 +258,13 @@
|
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
"name": "medium",
|
|
261
|
-
"value": 1.
|
|
261
|
+
"value": 1.42857,
|
|
262
262
|
"type": "FLOAT",
|
|
263
263
|
"refId": "medium"
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
"name": "small",
|
|
267
|
-
"value": 1.
|
|
267
|
+
"value": 1.66667,
|
|
268
268
|
"type": "FLOAT",
|
|
269
269
|
"refId": "small"
|
|
270
270
|
},
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
},
|
|
143
143
|
"text-body-lineHeight-medium": {
|
|
144
144
|
"key": "{text.body.lineHeight.medium}",
|
|
145
|
-
"$value": 1.
|
|
145
|
+
"$value": 1.42857,
|
|
146
146
|
"$type": "number",
|
|
147
147
|
"$extensions": {
|
|
148
148
|
"org.primer.data": {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
157
157
|
"isSource": true,
|
|
158
158
|
"original": {
|
|
159
|
-
"$value": 1.
|
|
159
|
+
"$value": 1.42857,
|
|
160
160
|
"$type": "number",
|
|
161
161
|
"$extensions": {
|
|
162
162
|
"org.primer.data": {
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
},
|
|
176
176
|
"text-body-lineHeight-small": {
|
|
177
177
|
"key": "{text.body.lineHeight.small}",
|
|
178
|
-
"$value": 1.
|
|
178
|
+
"$value": 1.66667,
|
|
179
179
|
"$type": "number",
|
|
180
180
|
"$extensions": {
|
|
181
181
|
"org.primer.data": {
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
190
190
|
"isSource": true,
|
|
191
191
|
"original": {
|
|
192
|
-
"$value": 1.
|
|
192
|
+
"$value": 1.66667,
|
|
193
193
|
"$type": "number",
|
|
194
194
|
"$extensions": {
|
|
195
195
|
"org.primer.data": {
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
},
|
|
231
231
|
"text-body-shorthand-medium": {
|
|
232
232
|
"key": "{text.body.shorthand.medium}",
|
|
233
|
-
"$value": "400 0.875rem,14px/1.
|
|
233
|
+
"$value": "400 0.875rem,14px/1.42857 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
234
234
|
"$type": "typography",
|
|
235
235
|
"$description": "Default UI font. Most commonly used for body text.",
|
|
236
236
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
},
|
|
253
253
|
"text-body-shorthand-small": {
|
|
254
254
|
"key": "{text.body.shorthand.small}",
|
|
255
|
-
"$value": "400 0.75rem,12px/1.
|
|
255
|
+
"$value": "400 0.75rem,12px/1.66667 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
256
256
|
"$type": "typography",
|
|
257
257
|
"$description": "Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px.",
|
|
258
258
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
package/package.json
CHANGED
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
},
|
|
334
334
|
},
|
|
335
335
|
medium: {
|
|
336
|
-
$value: 1.
|
|
336
|
+
$value: 1.42857,
|
|
337
337
|
$type: 'number',
|
|
338
338
|
$extensions: {
|
|
339
339
|
'org.primer.data': {
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
},
|
|
347
347
|
},
|
|
348
348
|
small: {
|
|
349
|
-
$value: 1.
|
|
349
|
+
$value: 1.66667,
|
|
350
350
|
$type: 'number',
|
|
351
351
|
$extensions: {
|
|
352
352
|
'org.primer.data': {
|