@primer/primitives 10.2.0 → 10.3.0-rc.416d4297
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/formats/cssCustomMedia.js +2 -2
- package/dist/build/formats/jsonOneDimensional.js +2 -1
- package/dist/build/platforms/css.js +5 -2
- package/dist/build/platforms/figma.js +2 -2
- package/dist/build/preprocessors/themeOverrides.js +7 -4
- package/dist/build/schemas/collections.d.ts +1 -1
- package/dist/build/schemas/colorToken.d.ts +471 -65
- package/dist/build/schemas/colorToken.js +18 -15
- package/dist/build/schemas/shadowToken.js +2 -2
- package/dist/build/transformers/colorAlphaToCss.d.ts +1 -1
- package/dist/build/transformers/figmaAttributes.js +2 -1
- package/dist/build/types/styleDictionaryConfigGenerator.d.ts +1 -1
- package/dist/build/utilities/asArray.d.ts +1 -0
- package/dist/build/utilities/asArray.js +1 -0
- package/dist/css/functional/size/border.css +5 -5
- package/dist/css/functional/size/size.css +15 -15
- package/dist/css/functional/size/viewport.css +2 -2
- package/dist/css/functional/themes/dark-colorblind.css +398 -398
- package/dist/css/functional/themes/dark-dimmed.css +390 -390
- package/dist/css/functional/themes/dark-high-contrast.css +412 -412
- package/dist/css/functional/themes/dark-tritanopia.css +406 -406
- package/dist/css/functional/themes/dark.css +416 -416
- package/dist/css/functional/themes/light-colorblind.css +434 -434
- package/dist/css/functional/themes/light-high-contrast.css +438 -438
- package/dist/css/functional/themes/light-tritanopia.css +432 -432
- package/dist/css/functional/themes/light.css +444 -444
- package/dist/css/primitives.css +20 -20
- package/dist/docs/base/motion/motion.json +88 -73
- package/dist/docs/base/size/size.json +94 -75
- package/dist/docs/base/typography/typography.json +14 -10
- package/dist/docs/functional/motion/motion.json +19 -15
- package/dist/docs/functional/size/border.json +139 -125
- package/dist/docs/functional/size/breakpoints.json +31 -25
- package/dist/docs/functional/size/size-coarse.json +13 -10
- package/dist/docs/functional/size/size-fine.json +9 -6
- package/dist/docs/functional/size/size.json +499 -433
- package/dist/docs/functional/size/viewport.json +32 -26
- package/dist/docs/functional/themes/dark-colorblind.json +7174 -6544
- package/dist/docs/functional/themes/dark-dimmed.json +7181 -6473
- package/dist/docs/functional/themes/dark-high-contrast.json +7445 -6789
- package/dist/docs/functional/themes/dark-tritanopia.json +7164 -6498
- package/dist/docs/functional/themes/dark.json +7202 -6494
- package/dist/docs/functional/themes/light-colorblind.json +7096 -6466
- package/dist/docs/functional/themes/light-high-contrast.json +7326 -6660
- package/dist/docs/functional/themes/light-tritanopia.json +7109 -6479
- package/dist/docs/functional/themes/light.json +7159 -6451
- package/dist/docs/functional/typography/typography.json +518 -472
- package/dist/figma/figma.json +3 -3
- package/dist/figma/shadows/dark-colorblind.json +115 -115
- package/dist/figma/shadows/light-colorblind.json +105 -105
- package/dist/figma/themes/dark-colorblind.json +5553 -5553
- package/dist/figma/themes/dark-dimmed.json +5162 -5162
- package/dist/figma/themes/dark-high-contrast.json +4196 -4196
- package/dist/figma/themes/dark-tritanopia.json +5211 -5211
- package/dist/figma/themes/dark.json +5537 -5537
- package/dist/figma/themes/light-colorblind.json +5501 -5501
- package/dist/figma/themes/light-high-contrast.json +4176 -4176
- package/dist/figma/themes/light-tritanopia.json +5077 -5077
- package/dist/figma/themes/light.json +1950 -1950
- package/dist/internalCss/dark-colorblind.css +1144 -1144
- package/dist/internalCss/dark-dimmed.css +1138 -1138
- package/dist/internalCss/dark-high-contrast.css +1154 -1154
- package/dist/internalCss/dark-tritanopia.css +1148 -1148
- package/dist/internalCss/dark.css +1150 -1150
- package/dist/internalCss/light-colorblind.css +1152 -1152
- package/dist/internalCss/light-high-contrast.css +1166 -1166
- package/dist/internalCss/light-tritanopia.css +1156 -1156
- package/dist/internalCss/light.css +1158 -1158
- package/dist/styleLint/base/motion/motion.json +97 -82
- package/dist/styleLint/base/size/size.json +102 -83
- package/dist/styleLint/base/typography/typography.json +16 -12
- package/dist/styleLint/functional/motion/motion.json +22 -18
- package/dist/styleLint/functional/size/border.json +140 -126
- package/dist/styleLint/functional/size/breakpoints.json +32 -26
- package/dist/styleLint/functional/size/size-coarse.json +14 -11
- package/dist/styleLint/functional/size/size-fine.json +10 -7
- package/dist/styleLint/functional/size/size.json +486 -420
- package/dist/styleLint/functional/size/viewport.json +36 -30
- package/dist/styleLint/functional/themes/dark-colorblind.json +6916 -6286
- package/dist/styleLint/functional/themes/dark-dimmed.json +7372 -6664
- package/dist/styleLint/functional/themes/dark-high-contrast.json +7472 -6816
- package/dist/styleLint/functional/themes/dark-tritanopia.json +7051 -6385
- package/dist/styleLint/functional/themes/dark.json +7180 -6472
- package/dist/styleLint/functional/themes/light-colorblind.json +7041 -6411
- package/dist/styleLint/functional/themes/light-high-contrast.json +7418 -6752
- package/dist/styleLint/functional/themes/light-tritanopia.json +6926 -6296
- package/dist/styleLint/functional/themes/light.json +7093 -6385
- package/dist/styleLint/functional/typography/typography.json +520 -474
- package/package.json +2 -2
- package/src/tokens/component/diffBlob.json5 +293 -0
- package/src/tokens/component/highlight.json5 +23 -0
- package/src/tokens/functional/color/dark/app-dark.json5 +0 -302
- package/src/tokens/functional/color/light/app-light.json5 +1 -274
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"fontStack-
|
|
2
|
+
"fontStack-monospace": {
|
|
3
3
|
"$extensions": {
|
|
4
4
|
"org.primer.figma": {
|
|
5
5
|
"collection": "typography",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
10
10
|
"isSource": true,
|
|
11
11
|
"original": {
|
|
12
|
-
"$value": "-
|
|
12
|
+
"$value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
13
13
|
"$type": "fontFamily",
|
|
14
14
|
"$extensions": {
|
|
15
15
|
"org.primer.figma": {
|
|
@@ -18,10 +18,11 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
-
"name": "fontStack-
|
|
21
|
+
"name": "fontStack-monospace",
|
|
22
22
|
"attributes": {},
|
|
23
|
-
"path": ["fontStack", "
|
|
24
|
-
"
|
|
23
|
+
"path": ["fontStack", "monospace"],
|
|
24
|
+
"key": "{fontStack.monospace}",
|
|
25
|
+
"value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
25
26
|
"type": "fontFamily"
|
|
26
27
|
},
|
|
27
28
|
"fontStack-sansSerif": {
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
"name": "fontStack-sansSerif",
|
|
47
48
|
"attributes": {},
|
|
48
49
|
"path": ["fontStack", "sansSerif"],
|
|
50
|
+
"key": "{fontStack.sansSerif}",
|
|
49
51
|
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
50
52
|
"type": "fontFamily"
|
|
51
53
|
},
|
|
@@ -71,10 +73,11 @@
|
|
|
71
73
|
"name": "fontStack-sansSerifDisplay",
|
|
72
74
|
"attributes": {},
|
|
73
75
|
"path": ["fontStack", "sansSerifDisplay"],
|
|
76
|
+
"key": "{fontStack.sansSerifDisplay}",
|
|
74
77
|
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
75
78
|
"type": "fontFamily"
|
|
76
79
|
},
|
|
77
|
-
"fontStack-
|
|
80
|
+
"fontStack-system": {
|
|
78
81
|
"$extensions": {
|
|
79
82
|
"org.primer.figma": {
|
|
80
83
|
"collection": "typography",
|
|
@@ -84,7 +87,7 @@
|
|
|
84
87
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
85
88
|
"isSource": true,
|
|
86
89
|
"original": {
|
|
87
|
-
"$value": "
|
|
90
|
+
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
88
91
|
"$type": "fontFamily",
|
|
89
92
|
"$extensions": {
|
|
90
93
|
"org.primer.figma": {
|
|
@@ -93,74 +96,81 @@
|
|
|
93
96
|
}
|
|
94
97
|
}
|
|
95
98
|
},
|
|
96
|
-
"name": "fontStack-
|
|
99
|
+
"name": "fontStack-system",
|
|
97
100
|
"attributes": {},
|
|
98
|
-
"path": ["fontStack", "
|
|
99
|
-
"
|
|
101
|
+
"path": ["fontStack", "system"],
|
|
102
|
+
"key": "{fontStack.system}",
|
|
103
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
100
104
|
"type": "fontFamily"
|
|
101
105
|
},
|
|
102
|
-
"text-
|
|
106
|
+
"text-body-lineHeight-large": {
|
|
103
107
|
"$extensions": {
|
|
104
108
|
"org.primer.data": {
|
|
105
|
-
"fontSize":
|
|
109
|
+
"fontSize": 16
|
|
106
110
|
},
|
|
107
111
|
"org.primer.figma": {
|
|
108
112
|
"collection": "typography",
|
|
109
|
-
"scopes": ["lineHeight"]
|
|
110
|
-
"fontSizeInPx": 40
|
|
113
|
+
"scopes": ["lineHeight"]
|
|
111
114
|
}
|
|
112
115
|
},
|
|
113
116
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
114
117
|
"isSource": true,
|
|
115
118
|
"original": {
|
|
116
|
-
"$value": 1.
|
|
119
|
+
"$value": 1.5,
|
|
117
120
|
"$type": "number",
|
|
118
121
|
"$extensions": {
|
|
119
122
|
"org.primer.data": {
|
|
120
|
-
"fontSize":
|
|
123
|
+
"fontSize": 16
|
|
121
124
|
},
|
|
122
125
|
"org.primer.figma": {
|
|
123
126
|
"collection": "typography",
|
|
124
|
-
"scopes": ["lineHeight"]
|
|
125
|
-
"fontSizeInPx": 40
|
|
127
|
+
"scopes": ["lineHeight"]
|
|
126
128
|
}
|
|
127
129
|
}
|
|
128
130
|
},
|
|
129
|
-
"name": "text-
|
|
131
|
+
"name": "text-body-lineHeight-large",
|
|
130
132
|
"attributes": {},
|
|
131
|
-
"path": ["text", "
|
|
132
|
-
"
|
|
133
|
+
"path": ["text", "body", "lineHeight", "large"],
|
|
134
|
+
"key": "{text.body.lineHeight.large}",
|
|
135
|
+
"value": 1.5,
|
|
133
136
|
"type": "number"
|
|
134
137
|
},
|
|
135
|
-
"text-
|
|
138
|
+
"text-body-lineHeight-medium": {
|
|
136
139
|
"$extensions": {
|
|
140
|
+
"org.primer.data": {
|
|
141
|
+
"fontSize": 14
|
|
142
|
+
},
|
|
137
143
|
"org.primer.figma": {
|
|
138
144
|
"collection": "typography",
|
|
139
|
-
"scopes": ["
|
|
145
|
+
"scopes": ["lineHeight"]
|
|
140
146
|
}
|
|
141
147
|
},
|
|
142
148
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
143
149
|
"isSource": true,
|
|
144
150
|
"original": {
|
|
145
|
-
"$value":
|
|
146
|
-
"$type": "
|
|
151
|
+
"$value": 1.4285,
|
|
152
|
+
"$type": "number",
|
|
147
153
|
"$extensions": {
|
|
154
|
+
"org.primer.data": {
|
|
155
|
+
"fontSize": 14
|
|
156
|
+
},
|
|
148
157
|
"org.primer.figma": {
|
|
149
158
|
"collection": "typography",
|
|
150
|
-
"scopes": ["
|
|
159
|
+
"scopes": ["lineHeight"]
|
|
151
160
|
}
|
|
152
161
|
}
|
|
153
162
|
},
|
|
154
|
-
"name": "text-
|
|
163
|
+
"name": "text-body-lineHeight-medium",
|
|
155
164
|
"attributes": {},
|
|
156
|
-
"path": ["text", "
|
|
157
|
-
"
|
|
158
|
-
"
|
|
165
|
+
"path": ["text", "body", "lineHeight", "medium"],
|
|
166
|
+
"key": "{text.body.lineHeight.medium}",
|
|
167
|
+
"value": 1.4285,
|
|
168
|
+
"type": "number"
|
|
159
169
|
},
|
|
160
|
-
"text-
|
|
170
|
+
"text-body-lineHeight-small": {
|
|
161
171
|
"$extensions": {
|
|
162
172
|
"org.primer.data": {
|
|
163
|
-
"fontSize":
|
|
173
|
+
"fontSize": 12
|
|
164
174
|
},
|
|
165
175
|
"org.primer.figma": {
|
|
166
176
|
"collection": "typography",
|
|
@@ -170,11 +180,11 @@
|
|
|
170
180
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
171
181
|
"isSource": true,
|
|
172
182
|
"original": {
|
|
173
|
-
"$value": 1.
|
|
183
|
+
"$value": 1.6666,
|
|
174
184
|
"$type": "number",
|
|
175
185
|
"$extensions": {
|
|
176
186
|
"org.primer.data": {
|
|
177
|
-
"fontSize":
|
|
187
|
+
"fontSize": 12
|
|
178
188
|
},
|
|
179
189
|
"org.primer.figma": {
|
|
180
190
|
"collection": "typography",
|
|
@@ -182,58 +192,77 @@
|
|
|
182
192
|
}
|
|
183
193
|
}
|
|
184
194
|
},
|
|
185
|
-
"name": "text-
|
|
195
|
+
"name": "text-body-lineHeight-small",
|
|
186
196
|
"attributes": {},
|
|
187
|
-
"path": ["text", "
|
|
188
|
-
"
|
|
197
|
+
"path": ["text", "body", "lineHeight", "small"],
|
|
198
|
+
"key": "{text.body.lineHeight.small}",
|
|
199
|
+
"value": 1.6666,
|
|
189
200
|
"type": "number"
|
|
190
201
|
},
|
|
191
|
-
"text-
|
|
192
|
-
"
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
202
|
+
"text-body-shorthand-large": {
|
|
203
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
204
|
+
"isSource": true,
|
|
205
|
+
"original": {
|
|
206
|
+
"$value": {
|
|
207
|
+
"fontWeight": "{text.body.weight}",
|
|
208
|
+
"fontSize": "{text.body.size.large}",
|
|
209
|
+
"lineHeight": "{text.body.lineHeight.large}",
|
|
210
|
+
"fontFamily": "{fontStack.sansSerif}"
|
|
211
|
+
},
|
|
212
|
+
"$type": "typography",
|
|
213
|
+
"$description": "User-generated content, markdown rendering."
|
|
197
214
|
},
|
|
215
|
+
"name": "text-body-shorthand-large",
|
|
216
|
+
"attributes": {},
|
|
217
|
+
"path": ["text", "body", "shorthand", "large"],
|
|
218
|
+
"key": "{text.body.shorthand.large}",
|
|
219
|
+
"value": "400 1rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
220
|
+
"type": "typography",
|
|
221
|
+
"description": "User-generated content, markdown rendering."
|
|
222
|
+
},
|
|
223
|
+
"text-body-shorthand-medium": {
|
|
198
224
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
199
225
|
"isSource": true,
|
|
200
226
|
"original": {
|
|
201
|
-
"$value":
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
227
|
+
"$value": {
|
|
228
|
+
"fontWeight": "{text.body.weight}",
|
|
229
|
+
"fontSize": "{text.body.size.medium}",
|
|
230
|
+
"lineHeight": "{text.body.lineHeight.medium}",
|
|
231
|
+
"fontFamily": "{fontStack.sansSerif}"
|
|
232
|
+
},
|
|
233
|
+
"$type": "typography",
|
|
234
|
+
"$description": "Default UI font. Most commonly used for body text."
|
|
209
235
|
},
|
|
210
|
-
"name": "text-
|
|
236
|
+
"name": "text-body-shorthand-medium",
|
|
211
237
|
"attributes": {},
|
|
212
|
-
"path": ["text", "
|
|
213
|
-
"
|
|
214
|
-
"
|
|
238
|
+
"path": ["text", "body", "shorthand", "medium"],
|
|
239
|
+
"key": "{text.body.shorthand.medium}",
|
|
240
|
+
"value": "400 0.875rem/1.4285 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
241
|
+
"type": "typography",
|
|
242
|
+
"description": "Default UI font. Most commonly used for body text."
|
|
215
243
|
},
|
|
216
|
-
"text-
|
|
244
|
+
"text-body-shorthand-small": {
|
|
217
245
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
218
246
|
"isSource": true,
|
|
219
247
|
"original": {
|
|
220
248
|
"$value": {
|
|
221
|
-
"fontWeight": "{text.
|
|
222
|
-
"fontSize": "{text.
|
|
223
|
-
"lineHeight": "{text.
|
|
224
|
-
"fontFamily": "{fontStack.
|
|
249
|
+
"fontWeight": "{text.body.weight}",
|
|
250
|
+
"fontSize": "{text.body.size.small}",
|
|
251
|
+
"lineHeight": "{text.body.lineHeight.small}",
|
|
252
|
+
"fontFamily": "{fontStack.sansSerif}"
|
|
225
253
|
},
|
|
226
254
|
"$type": "typography",
|
|
227
|
-
"$description": "
|
|
255
|
+
"$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."
|
|
228
256
|
},
|
|
229
|
-
"name": "text-
|
|
257
|
+
"name": "text-body-shorthand-small",
|
|
230
258
|
"attributes": {},
|
|
231
|
-
"path": ["text", "
|
|
232
|
-
"
|
|
259
|
+
"path": ["text", "body", "shorthand", "small"],
|
|
260
|
+
"key": "{text.body.shorthand.small}",
|
|
261
|
+
"value": "400 0.75rem/1.6666 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
233
262
|
"type": "typography",
|
|
234
|
-
"description": "
|
|
263
|
+
"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."
|
|
235
264
|
},
|
|
236
|
-
"text-
|
|
265
|
+
"text-body-size-large": {
|
|
237
266
|
"$extensions": {
|
|
238
267
|
"org.primer.figma": {
|
|
239
268
|
"collection": "typography",
|
|
@@ -243,7 +272,7 @@
|
|
|
243
272
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
244
273
|
"isSource": true,
|
|
245
274
|
"original": {
|
|
246
|
-
"$value": "
|
|
275
|
+
"$value": "16px",
|
|
247
276
|
"$type": "dimension",
|
|
248
277
|
"$extensions": {
|
|
249
278
|
"org.primer.figma": {
|
|
@@ -252,13 +281,14 @@
|
|
|
252
281
|
}
|
|
253
282
|
}
|
|
254
283
|
},
|
|
255
|
-
"name": "text-
|
|
284
|
+
"name": "text-body-size-large",
|
|
256
285
|
"attributes": {},
|
|
257
|
-
"path": ["text", "
|
|
258
|
-
"
|
|
286
|
+
"path": ["text", "body", "size", "large"],
|
|
287
|
+
"key": "{text.body.size.large}",
|
|
288
|
+
"value": "1rem",
|
|
259
289
|
"type": "dimension"
|
|
260
290
|
},
|
|
261
|
-
"text-
|
|
291
|
+
"text-body-size-medium": {
|
|
262
292
|
"$extensions": {
|
|
263
293
|
"org.primer.figma": {
|
|
264
294
|
"collection": "typography",
|
|
@@ -268,7 +298,7 @@
|
|
|
268
298
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
269
299
|
"isSource": true,
|
|
270
300
|
"original": {
|
|
271
|
-
"$value": "
|
|
301
|
+
"$value": "14px",
|
|
272
302
|
"$type": "dimension",
|
|
273
303
|
"$extensions": {
|
|
274
304
|
"org.primer.figma": {
|
|
@@ -277,13 +307,14 @@
|
|
|
277
307
|
}
|
|
278
308
|
}
|
|
279
309
|
},
|
|
280
|
-
"name": "text-
|
|
310
|
+
"name": "text-body-size-medium",
|
|
281
311
|
"attributes": {},
|
|
282
|
-
"path": ["text", "
|
|
283
|
-
"
|
|
312
|
+
"path": ["text", "body", "size", "medium"],
|
|
313
|
+
"key": "{text.body.size.medium}",
|
|
314
|
+
"value": "0.875rem",
|
|
284
315
|
"type": "dimension"
|
|
285
316
|
},
|
|
286
|
-
"text-
|
|
317
|
+
"text-body-size-small": {
|
|
287
318
|
"$extensions": {
|
|
288
319
|
"org.primer.figma": {
|
|
289
320
|
"collection": "typography",
|
|
@@ -293,7 +324,7 @@
|
|
|
293
324
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
294
325
|
"isSource": true,
|
|
295
326
|
"original": {
|
|
296
|
-
"$value": "
|
|
327
|
+
"$value": "12px",
|
|
297
328
|
"$type": "dimension",
|
|
298
329
|
"$extensions": {
|
|
299
330
|
"org.primer.figma": {
|
|
@@ -302,47 +333,43 @@
|
|
|
302
333
|
}
|
|
303
334
|
}
|
|
304
335
|
},
|
|
305
|
-
"name": "text-
|
|
336
|
+
"name": "text-body-size-small",
|
|
306
337
|
"attributes": {},
|
|
307
|
-
"path": ["text", "
|
|
308
|
-
"
|
|
338
|
+
"path": ["text", "body", "size", "small"],
|
|
339
|
+
"key": "{text.body.size.small}",
|
|
340
|
+
"value": "0.75rem",
|
|
309
341
|
"type": "dimension"
|
|
310
342
|
},
|
|
311
|
-
"text-
|
|
343
|
+
"text-body-weight": {
|
|
312
344
|
"$extensions": {
|
|
313
|
-
"org.primer.data": {
|
|
314
|
-
"fontSize": 32
|
|
315
|
-
},
|
|
316
345
|
"org.primer.figma": {
|
|
317
346
|
"collection": "typography",
|
|
318
|
-
"scopes": ["
|
|
347
|
+
"scopes": ["fontWeight"]
|
|
319
348
|
}
|
|
320
349
|
},
|
|
321
350
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
322
351
|
"isSource": true,
|
|
323
352
|
"original": {
|
|
324
|
-
"$value":
|
|
325
|
-
"$type": "
|
|
353
|
+
"$value": "{base.text.weight.normal}",
|
|
354
|
+
"$type": "fontWeight",
|
|
326
355
|
"$extensions": {
|
|
327
|
-
"org.primer.data": {
|
|
328
|
-
"fontSize": 32
|
|
329
|
-
},
|
|
330
356
|
"org.primer.figma": {
|
|
331
357
|
"collection": "typography",
|
|
332
|
-
"scopes": ["
|
|
358
|
+
"scopes": ["fontWeight"]
|
|
333
359
|
}
|
|
334
360
|
}
|
|
335
361
|
},
|
|
336
|
-
"name": "text-
|
|
362
|
+
"name": "text-body-weight",
|
|
337
363
|
"attributes": {},
|
|
338
|
-
"path": ["text", "
|
|
339
|
-
"
|
|
340
|
-
"
|
|
364
|
+
"path": ["text", "body", "weight"],
|
|
365
|
+
"key": "{text.body.weight}",
|
|
366
|
+
"value": 400,
|
|
367
|
+
"type": "fontWeight"
|
|
341
368
|
},
|
|
342
|
-
"text-
|
|
369
|
+
"text-caption-lineHeight": {
|
|
343
370
|
"$extensions": {
|
|
344
371
|
"org.primer.data": {
|
|
345
|
-
"fontSize":
|
|
372
|
+
"fontSize": 12
|
|
346
373
|
},
|
|
347
374
|
"org.primer.figma": {
|
|
348
375
|
"collection": "typography",
|
|
@@ -352,11 +379,11 @@
|
|
|
352
379
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
353
380
|
"isSource": true,
|
|
354
381
|
"original": {
|
|
355
|
-
"$value": 1.
|
|
382
|
+
"$value": 1.3333,
|
|
356
383
|
"$type": "number",
|
|
357
384
|
"$extensions": {
|
|
358
385
|
"org.primer.data": {
|
|
359
|
-
"fontSize":
|
|
386
|
+
"fontSize": 12
|
|
360
387
|
},
|
|
361
388
|
"org.primer.figma": {
|
|
362
389
|
"collection": "typography",
|
|
@@ -364,69 +391,61 @@
|
|
|
364
391
|
}
|
|
365
392
|
}
|
|
366
393
|
},
|
|
367
|
-
"name": "text-
|
|
394
|
+
"name": "text-caption-lineHeight",
|
|
368
395
|
"attributes": {},
|
|
369
|
-
"path": ["text", "
|
|
370
|
-
"
|
|
396
|
+
"path": ["text", "caption", "lineHeight"],
|
|
397
|
+
"key": "{text.caption.lineHeight}",
|
|
398
|
+
"value": 1.3333,
|
|
371
399
|
"type": "number"
|
|
372
400
|
},
|
|
373
|
-
"text-
|
|
374
|
-
"
|
|
375
|
-
|
|
376
|
-
|
|
401
|
+
"text-caption-shorthand": {
|
|
402
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
403
|
+
"isSource": true,
|
|
404
|
+
"original": {
|
|
405
|
+
"$value": {
|
|
406
|
+
"fontWeight": "{text.caption.weight}",
|
|
407
|
+
"fontSize": "{text.caption.size}",
|
|
408
|
+
"lineHeight": "{text.caption.lineHeight}",
|
|
409
|
+
"fontFamily": "{fontStack.sansSerif}"
|
|
377
410
|
},
|
|
411
|
+
"$type": "typography",
|
|
412
|
+
"$description": "Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements."
|
|
413
|
+
},
|
|
414
|
+
"name": "text-caption-shorthand",
|
|
415
|
+
"attributes": {},
|
|
416
|
+
"path": ["text", "caption", "shorthand"],
|
|
417
|
+
"key": "{text.caption.shorthand}",
|
|
418
|
+
"value": "400 0.75rem/1.3333 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
419
|
+
"type": "typography",
|
|
420
|
+
"description": "Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements."
|
|
421
|
+
},
|
|
422
|
+
"text-caption-size": {
|
|
423
|
+
"$extensions": {
|
|
378
424
|
"org.primer.figma": {
|
|
379
425
|
"collection": "typography",
|
|
380
|
-
"scopes": ["
|
|
426
|
+
"scopes": ["fontSize"]
|
|
381
427
|
}
|
|
382
428
|
},
|
|
383
429
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
384
430
|
"isSource": true,
|
|
385
431
|
"original": {
|
|
386
|
-
"$value":
|
|
387
|
-
"$type": "
|
|
432
|
+
"$value": "12px",
|
|
433
|
+
"$type": "dimension",
|
|
388
434
|
"$extensions": {
|
|
389
|
-
"org.primer.data": {
|
|
390
|
-
"fontSize": 16
|
|
391
|
-
},
|
|
392
435
|
"org.primer.figma": {
|
|
393
436
|
"collection": "typography",
|
|
394
|
-
"scopes": ["
|
|
437
|
+
"scopes": ["fontSize"]
|
|
395
438
|
}
|
|
396
439
|
}
|
|
397
440
|
},
|
|
398
|
-
"name": "text-
|
|
441
|
+
"name": "text-caption-size",
|
|
399
442
|
"attributes": {},
|
|
400
|
-
"path": ["text", "
|
|
401
|
-
"
|
|
402
|
-
"
|
|
403
|
-
|
|
404
|
-
"text-title-weight-large": {
|
|
405
|
-
"$extensions": {
|
|
406
|
-
"org.primer.figma": {
|
|
407
|
-
"collection": "typography",
|
|
408
|
-
"scopes": ["fontWeight"]
|
|
409
|
-
}
|
|
410
|
-
},
|
|
411
|
-
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
412
|
-
"isSource": true,
|
|
413
|
-
"original": {
|
|
414
|
-
"$value": "{base.text.weight.semibold}",
|
|
415
|
-
"$type": "fontWeight",
|
|
416
|
-
"$extensions": {
|
|
417
|
-
"org.primer.figma": {
|
|
418
|
-
"collection": "typography",
|
|
419
|
-
"scopes": ["fontWeight"]
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
"name": "text-title-weight-large",
|
|
424
|
-
"attributes": {},
|
|
425
|
-
"path": ["text", "title", "weight", "large"],
|
|
426
|
-
"value": 600,
|
|
427
|
-
"type": "fontWeight"
|
|
443
|
+
"path": ["text", "caption", "size"],
|
|
444
|
+
"key": "{text.caption.size}",
|
|
445
|
+
"value": "0.75rem",
|
|
446
|
+
"type": "dimension"
|
|
428
447
|
},
|
|
429
|
-
"text-
|
|
448
|
+
"text-caption-weight": {
|
|
430
449
|
"$extensions": {
|
|
431
450
|
"org.primer.figma": {
|
|
432
451
|
"collection": "typography",
|
|
@@ -436,7 +455,7 @@
|
|
|
436
455
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
437
456
|
"isSource": true,
|
|
438
457
|
"original": {
|
|
439
|
-
"$value": "{base.text.weight.
|
|
458
|
+
"$value": "{base.text.weight.normal}",
|
|
440
459
|
"$type": "fontWeight",
|
|
441
460
|
"$extensions": {
|
|
442
461
|
"org.primer.figma": {
|
|
@@ -445,98 +464,67 @@
|
|
|
445
464
|
}
|
|
446
465
|
}
|
|
447
466
|
},
|
|
448
|
-
"name": "text-
|
|
467
|
+
"name": "text-caption-weight",
|
|
449
468
|
"attributes": {},
|
|
450
|
-
"path": ["text", "
|
|
451
|
-
"
|
|
469
|
+
"path": ["text", "caption", "weight"],
|
|
470
|
+
"key": "{text.caption.weight}",
|
|
471
|
+
"value": 400,
|
|
452
472
|
"type": "fontWeight"
|
|
453
473
|
},
|
|
454
|
-
"text-
|
|
474
|
+
"text-codeBlock-lineHeight": {
|
|
455
475
|
"$extensions": {
|
|
476
|
+
"org.primer.data": {
|
|
477
|
+
"fontSize": 13
|
|
478
|
+
},
|
|
456
479
|
"org.primer.figma": {
|
|
457
480
|
"collection": "typography",
|
|
458
|
-
"scopes": ["
|
|
481
|
+
"scopes": ["lineHeight"]
|
|
459
482
|
}
|
|
460
483
|
},
|
|
461
484
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
462
485
|
"isSource": true,
|
|
463
486
|
"original": {
|
|
464
|
-
"$value":
|
|
465
|
-
"$type": "
|
|
487
|
+
"$value": 1.5385,
|
|
488
|
+
"$type": "number",
|
|
466
489
|
"$extensions": {
|
|
490
|
+
"org.primer.data": {
|
|
491
|
+
"fontSize": 13
|
|
492
|
+
},
|
|
467
493
|
"org.primer.figma": {
|
|
468
494
|
"collection": "typography",
|
|
469
|
-
"scopes": ["
|
|
495
|
+
"scopes": ["lineHeight"]
|
|
470
496
|
}
|
|
471
497
|
}
|
|
472
498
|
},
|
|
473
|
-
"name": "text-
|
|
474
|
-
"attributes": {},
|
|
475
|
-
"path": ["text", "title", "weight", "small"],
|
|
476
|
-
"value": 600,
|
|
477
|
-
"type": "fontWeight"
|
|
478
|
-
},
|
|
479
|
-
"text-title-shorthand-large": {
|
|
480
|
-
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
481
|
-
"isSource": true,
|
|
482
|
-
"original": {
|
|
483
|
-
"$value": {
|
|
484
|
-
"fontWeight": "{text.title.weight.large}",
|
|
485
|
-
"fontSize": "{text.title.size.large}",
|
|
486
|
-
"lineHeight": "{text.title.lineHeight.large}",
|
|
487
|
-
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
488
|
-
},
|
|
489
|
-
"$type": "typography",
|
|
490
|
-
"$description": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports."
|
|
491
|
-
},
|
|
492
|
-
"name": "text-title-shorthand-large",
|
|
493
|
-
"attributes": {},
|
|
494
|
-
"path": ["text", "title", "shorthand", "large"],
|
|
495
|
-
"value": "600 2rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
496
|
-
"type": "typography",
|
|
497
|
-
"description": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports."
|
|
498
|
-
},
|
|
499
|
-
"text-title-shorthand-medium": {
|
|
500
|
-
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
501
|
-
"isSource": true,
|
|
502
|
-
"original": {
|
|
503
|
-
"$value": {
|
|
504
|
-
"fontWeight": "{text.title.weight.medium}",
|
|
505
|
-
"fontSize": "{text.title.size.medium}",
|
|
506
|
-
"lineHeight": "{text.title.lineHeight.medium}",
|
|
507
|
-
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
508
|
-
},
|
|
509
|
-
"$type": "typography",
|
|
510
|
-
"$description": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition."
|
|
511
|
-
},
|
|
512
|
-
"name": "text-title-shorthand-medium",
|
|
499
|
+
"name": "text-codeBlock-lineHeight",
|
|
513
500
|
"attributes": {},
|
|
514
|
-
"path": ["text", "
|
|
515
|
-
"
|
|
516
|
-
"
|
|
517
|
-
"
|
|
501
|
+
"path": ["text", "codeBlock", "lineHeight"],
|
|
502
|
+
"key": "{text.codeBlock.lineHeight}",
|
|
503
|
+
"value": 1.5385,
|
|
504
|
+
"type": "number"
|
|
518
505
|
},
|
|
519
|
-
"text-
|
|
506
|
+
"text-codeBlock-shorthand": {
|
|
520
507
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
521
508
|
"isSource": true,
|
|
522
509
|
"original": {
|
|
523
510
|
"$value": {
|
|
524
|
-
"fontWeight": "{text.
|
|
525
|
-
"fontSize": "{text.
|
|
526
|
-
"lineHeight": "{text.
|
|
527
|
-
"fontFamily": "{fontStack.
|
|
511
|
+
"fontWeight": "{text.codeBlock.weight}",
|
|
512
|
+
"fontSize": "{text.codeBlock.size}",
|
|
513
|
+
"lineHeight": "{text.codeBlock.lineHeight}",
|
|
514
|
+
"fontFamily": "{fontStack.monospace}"
|
|
528
515
|
},
|
|
529
516
|
"$type": "typography",
|
|
530
|
-
"$description": "
|
|
517
|
+
"$description": "Default style for rendering code blocks."
|
|
531
518
|
},
|
|
532
|
-
"name": "text-
|
|
519
|
+
"name": "text-codeBlock-shorthand",
|
|
533
520
|
"attributes": {},
|
|
534
|
-
"path": ["text", "
|
|
535
|
-
"
|
|
521
|
+
"path": ["text", "codeBlock", "shorthand"],
|
|
522
|
+
"key": "{text.codeBlock.shorthand}",
|
|
523
|
+
"value": "400 0.8125rem/1.5385 ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
536
524
|
"type": "typography",
|
|
537
|
-
"description": "
|
|
525
|
+
"description": "Default style for rendering code blocks."
|
|
538
526
|
},
|
|
539
|
-
"text-
|
|
527
|
+
"text-codeBlock-size": {
|
|
540
528
|
"$extensions": {
|
|
541
529
|
"org.primer.figma": {
|
|
542
530
|
"collection": "typography",
|
|
@@ -546,7 +534,7 @@
|
|
|
546
534
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
547
535
|
"isSource": true,
|
|
548
536
|
"original": {
|
|
549
|
-
"$value": "
|
|
537
|
+
"$value": "13px",
|
|
550
538
|
"$type": "dimension",
|
|
551
539
|
"$extensions": {
|
|
552
540
|
"org.primer.figma": {
|
|
@@ -555,44 +543,14 @@
|
|
|
555
543
|
}
|
|
556
544
|
}
|
|
557
545
|
},
|
|
558
|
-
"name": "text-
|
|
546
|
+
"name": "text-codeBlock-size",
|
|
559
547
|
"attributes": {},
|
|
560
|
-
"path": ["text", "
|
|
561
|
-
"
|
|
548
|
+
"path": ["text", "codeBlock", "size"],
|
|
549
|
+
"key": "{text.codeBlock.size}",
|
|
550
|
+
"value": "0.8125rem",
|
|
562
551
|
"type": "dimension"
|
|
563
552
|
},
|
|
564
|
-
"text-
|
|
565
|
-
"$extensions": {
|
|
566
|
-
"org.primer.data": {
|
|
567
|
-
"fontSize": 20
|
|
568
|
-
},
|
|
569
|
-
"org.primer.figma": {
|
|
570
|
-
"collection": "typography",
|
|
571
|
-
"scopes": ["lineHeight"]
|
|
572
|
-
}
|
|
573
|
-
},
|
|
574
|
-
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
575
|
-
"isSource": true,
|
|
576
|
-
"original": {
|
|
577
|
-
"$value": 1.6,
|
|
578
|
-
"$type": "number",
|
|
579
|
-
"$extensions": {
|
|
580
|
-
"org.primer.data": {
|
|
581
|
-
"fontSize": 20
|
|
582
|
-
},
|
|
583
|
-
"org.primer.figma": {
|
|
584
|
-
"collection": "typography",
|
|
585
|
-
"scopes": ["lineHeight"]
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
"name": "text-subtitle-lineHeight",
|
|
590
|
-
"attributes": {},
|
|
591
|
-
"path": ["text", "subtitle", "lineHeight"],
|
|
592
|
-
"value": 1.6,
|
|
593
|
-
"type": "number"
|
|
594
|
-
},
|
|
595
|
-
"text-subtitle-weight": {
|
|
553
|
+
"text-codeBlock-weight": {
|
|
596
554
|
"$extensions": {
|
|
597
555
|
"org.primer.figma": {
|
|
598
556
|
"collection": "typography",
|
|
@@ -611,33 +569,34 @@
|
|
|
611
569
|
}
|
|
612
570
|
}
|
|
613
571
|
},
|
|
614
|
-
"name": "text-
|
|
572
|
+
"name": "text-codeBlock-weight",
|
|
615
573
|
"attributes": {},
|
|
616
|
-
"path": ["text", "
|
|
574
|
+
"path": ["text", "codeBlock", "weight"],
|
|
575
|
+
"key": "{text.codeBlock.weight}",
|
|
617
576
|
"value": 400,
|
|
618
577
|
"type": "fontWeight"
|
|
619
578
|
},
|
|
620
|
-
"text-
|
|
579
|
+
"text-codeInline-shorthand": {
|
|
621
580
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
622
581
|
"isSource": true,
|
|
623
582
|
"original": {
|
|
624
583
|
"$value": {
|
|
625
|
-
"fontWeight": "{text.
|
|
626
|
-
"fontSize": "{text.
|
|
627
|
-
"
|
|
628
|
-
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
584
|
+
"fontWeight": "{text.codeInline.weight}",
|
|
585
|
+
"fontSize": "{text.codeInline.size}",
|
|
586
|
+
"fontFamily": "{fontStack.monospace}"
|
|
629
587
|
},
|
|
630
588
|
"$type": "typography",
|
|
631
|
-
"$description": "
|
|
589
|
+
"$description": "Inline code blocks using em units to inherit size from its parent."
|
|
632
590
|
},
|
|
633
|
-
"name": "text-
|
|
591
|
+
"name": "text-codeInline-shorthand",
|
|
634
592
|
"attributes": {},
|
|
635
|
-
"path": ["text", "
|
|
636
|
-
"
|
|
593
|
+
"path": ["text", "codeInline", "shorthand"],
|
|
594
|
+
"key": "{text.codeInline.shorthand}",
|
|
595
|
+
"value": "400 0.9285em ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
637
596
|
"type": "typography",
|
|
638
|
-
"description": "
|
|
597
|
+
"description": "Inline code blocks using em units to inherit size from its parent."
|
|
639
598
|
},
|
|
640
|
-
"text-
|
|
599
|
+
"text-codeInline-size": {
|
|
641
600
|
"$extensions": {
|
|
642
601
|
"org.primer.figma": {
|
|
643
602
|
"collection": "typography",
|
|
@@ -647,7 +606,7 @@
|
|
|
647
606
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
648
607
|
"isSource": true,
|
|
649
608
|
"original": {
|
|
650
|
-
"$value": "
|
|
609
|
+
"$value": "0.9285em",
|
|
651
610
|
"$type": "dimension",
|
|
652
611
|
"$extensions": {
|
|
653
612
|
"org.primer.figma": {
|
|
@@ -656,66 +615,77 @@
|
|
|
656
615
|
}
|
|
657
616
|
}
|
|
658
617
|
},
|
|
659
|
-
"name": "text-
|
|
618
|
+
"name": "text-codeInline-size",
|
|
660
619
|
"attributes": {},
|
|
661
|
-
"path": ["text", "
|
|
662
|
-
"
|
|
620
|
+
"path": ["text", "codeInline", "size"],
|
|
621
|
+
"key": "{text.codeInline.size}",
|
|
622
|
+
"value": "0.9285em",
|
|
663
623
|
"type": "dimension"
|
|
664
624
|
},
|
|
665
|
-
"text-
|
|
625
|
+
"text-codeInline-weight": {
|
|
666
626
|
"$extensions": {
|
|
667
627
|
"org.primer.figma": {
|
|
668
628
|
"collection": "typography",
|
|
669
|
-
"scopes": ["
|
|
629
|
+
"scopes": ["fontWeight"]
|
|
670
630
|
}
|
|
671
631
|
},
|
|
672
632
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
673
633
|
"isSource": true,
|
|
674
634
|
"original": {
|
|
675
|
-
"$value": "
|
|
676
|
-
"$type": "
|
|
635
|
+
"$value": "{base.text.weight.normal}",
|
|
636
|
+
"$type": "fontWeight",
|
|
677
637
|
"$extensions": {
|
|
678
638
|
"org.primer.figma": {
|
|
679
639
|
"collection": "typography",
|
|
680
|
-
"scopes": ["
|
|
640
|
+
"scopes": ["fontWeight"]
|
|
681
641
|
}
|
|
682
642
|
}
|
|
683
643
|
},
|
|
684
|
-
"name": "text-
|
|
644
|
+
"name": "text-codeInline-weight",
|
|
685
645
|
"attributes": {},
|
|
686
|
-
"path": ["text", "
|
|
687
|
-
"
|
|
688
|
-
"
|
|
646
|
+
"path": ["text", "codeInline", "weight"],
|
|
647
|
+
"key": "{text.codeInline.weight}",
|
|
648
|
+
"value": 400,
|
|
649
|
+
"type": "fontWeight"
|
|
689
650
|
},
|
|
690
|
-
"text-
|
|
651
|
+
"text-display-lineBoxHeight": {
|
|
691
652
|
"$extensions": {
|
|
653
|
+
"org.primer.data": {
|
|
654
|
+
"fontSize": 40
|
|
655
|
+
},
|
|
692
656
|
"org.primer.figma": {
|
|
693
657
|
"collection": "typography",
|
|
694
|
-
"scopes": ["
|
|
658
|
+
"scopes": ["lineHeight"],
|
|
659
|
+
"fontSizeInPx": 40
|
|
695
660
|
}
|
|
696
661
|
},
|
|
697
662
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
698
663
|
"isSource": true,
|
|
699
664
|
"original": {
|
|
700
|
-
"$value":
|
|
701
|
-
"$type": "
|
|
665
|
+
"$value": 1.4,
|
|
666
|
+
"$type": "number",
|
|
702
667
|
"$extensions": {
|
|
668
|
+
"org.primer.data": {
|
|
669
|
+
"fontSize": 40
|
|
670
|
+
},
|
|
703
671
|
"org.primer.figma": {
|
|
704
672
|
"collection": "typography",
|
|
705
|
-
"scopes": ["
|
|
673
|
+
"scopes": ["lineHeight"],
|
|
674
|
+
"fontSizeInPx": 40
|
|
706
675
|
}
|
|
707
676
|
}
|
|
708
677
|
},
|
|
709
|
-
"name": "text-
|
|
678
|
+
"name": "text-display-lineBoxHeight",
|
|
710
679
|
"attributes": {},
|
|
711
|
-
"path": ["text", "
|
|
712
|
-
"
|
|
713
|
-
"
|
|
680
|
+
"path": ["text", "display", "lineBoxHeight"],
|
|
681
|
+
"key": "{text.display.lineBoxHeight}",
|
|
682
|
+
"value": 1.4,
|
|
683
|
+
"type": "number"
|
|
714
684
|
},
|
|
715
|
-
"text-
|
|
685
|
+
"text-display-lineHeight": {
|
|
716
686
|
"$extensions": {
|
|
717
687
|
"org.primer.data": {
|
|
718
|
-
"fontSize":
|
|
688
|
+
"fontSize": 40
|
|
719
689
|
},
|
|
720
690
|
"org.primer.figma": {
|
|
721
691
|
"collection": "typography",
|
|
@@ -725,11 +695,11 @@
|
|
|
725
695
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
726
696
|
"isSource": true,
|
|
727
697
|
"original": {
|
|
728
|
-
"$value": 1.
|
|
698
|
+
"$value": 1.4,
|
|
729
699
|
"$type": "number",
|
|
730
700
|
"$extensions": {
|
|
731
701
|
"org.primer.data": {
|
|
732
|
-
"fontSize":
|
|
702
|
+
"fontSize": 40
|
|
733
703
|
},
|
|
734
704
|
"org.primer.figma": {
|
|
735
705
|
"collection": "typography",
|
|
@@ -737,188 +707,227 @@
|
|
|
737
707
|
}
|
|
738
708
|
}
|
|
739
709
|
},
|
|
740
|
-
"name": "text-
|
|
710
|
+
"name": "text-display-lineHeight",
|
|
741
711
|
"attributes": {},
|
|
742
|
-
"path": ["text", "
|
|
743
|
-
"
|
|
712
|
+
"path": ["text", "display", "lineHeight"],
|
|
713
|
+
"key": "{text.display.lineHeight}",
|
|
714
|
+
"value": 1.4,
|
|
744
715
|
"type": "number"
|
|
745
716
|
},
|
|
746
|
-
"text-
|
|
747
|
-
"
|
|
748
|
-
|
|
749
|
-
|
|
717
|
+
"text-display-shorthand": {
|
|
718
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
719
|
+
"isSource": true,
|
|
720
|
+
"original": {
|
|
721
|
+
"$value": {
|
|
722
|
+
"fontWeight": "{text.display.weight}",
|
|
723
|
+
"fontSize": "{text.display.size}",
|
|
724
|
+
"lineHeight": "{text.display.lineHeight}",
|
|
725
|
+
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
750
726
|
},
|
|
727
|
+
"$type": "typography",
|
|
728
|
+
"$description": "Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports."
|
|
729
|
+
},
|
|
730
|
+
"name": "text-display-shorthand",
|
|
731
|
+
"attributes": {},
|
|
732
|
+
"path": ["text", "display", "shorthand"],
|
|
733
|
+
"key": "{text.display.shorthand}",
|
|
734
|
+
"value": "500 2.5rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
735
|
+
"type": "typography",
|
|
736
|
+
"description": "Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports."
|
|
737
|
+
},
|
|
738
|
+
"text-display-size": {
|
|
739
|
+
"$extensions": {
|
|
751
740
|
"org.primer.figma": {
|
|
752
741
|
"collection": "typography",
|
|
753
|
-
"scopes": ["
|
|
742
|
+
"scopes": ["fontSize"]
|
|
754
743
|
}
|
|
755
744
|
},
|
|
756
745
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
757
746
|
"isSource": true,
|
|
758
747
|
"original": {
|
|
759
|
-
"$value":
|
|
760
|
-
"$type": "
|
|
748
|
+
"$value": "40px",
|
|
749
|
+
"$type": "dimension",
|
|
761
750
|
"$extensions": {
|
|
762
|
-
"org.primer.data": {
|
|
763
|
-
"fontSize": 14
|
|
764
|
-
},
|
|
765
751
|
"org.primer.figma": {
|
|
766
752
|
"collection": "typography",
|
|
767
|
-
"scopes": ["
|
|
753
|
+
"scopes": ["fontSize"]
|
|
768
754
|
}
|
|
769
755
|
}
|
|
770
756
|
},
|
|
771
|
-
"name": "text-
|
|
757
|
+
"name": "text-display-size",
|
|
772
758
|
"attributes": {},
|
|
773
|
-
"path": ["text", "
|
|
774
|
-
"
|
|
775
|
-
"
|
|
759
|
+
"path": ["text", "display", "size"],
|
|
760
|
+
"key": "{text.display.size}",
|
|
761
|
+
"value": "2.5rem",
|
|
762
|
+
"type": "dimension"
|
|
776
763
|
},
|
|
777
|
-
"text-
|
|
764
|
+
"text-display-weight": {
|
|
778
765
|
"$extensions": {
|
|
779
|
-
"org.primer.data": {
|
|
780
|
-
"fontSize": 12
|
|
781
|
-
},
|
|
782
766
|
"org.primer.figma": {
|
|
783
767
|
"collection": "typography",
|
|
784
|
-
"scopes": ["
|
|
768
|
+
"scopes": ["fontWeight"]
|
|
785
769
|
}
|
|
786
770
|
},
|
|
787
771
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
788
772
|
"isSource": true,
|
|
789
773
|
"original": {
|
|
790
|
-
"$value":
|
|
791
|
-
"$type": "
|
|
774
|
+
"$value": "{base.text.weight.medium}",
|
|
775
|
+
"$type": "fontWeight",
|
|
792
776
|
"$extensions": {
|
|
793
|
-
"org.primer.data": {
|
|
794
|
-
"fontSize": 12
|
|
795
|
-
},
|
|
796
777
|
"org.primer.figma": {
|
|
797
778
|
"collection": "typography",
|
|
798
|
-
"scopes": ["
|
|
779
|
+
"scopes": ["fontWeight"]
|
|
799
780
|
}
|
|
800
781
|
}
|
|
801
782
|
},
|
|
802
|
-
"name": "text-
|
|
783
|
+
"name": "text-display-weight",
|
|
803
784
|
"attributes": {},
|
|
804
|
-
"path": ["text", "
|
|
805
|
-
"
|
|
806
|
-
"
|
|
785
|
+
"path": ["text", "display", "weight"],
|
|
786
|
+
"key": "{text.display.weight}",
|
|
787
|
+
"value": 500,
|
|
788
|
+
"type": "fontWeight"
|
|
807
789
|
},
|
|
808
|
-
"text-
|
|
790
|
+
"text-subtitle-lineHeight": {
|
|
809
791
|
"$extensions": {
|
|
792
|
+
"org.primer.data": {
|
|
793
|
+
"fontSize": 20
|
|
794
|
+
},
|
|
810
795
|
"org.primer.figma": {
|
|
811
796
|
"collection": "typography",
|
|
812
|
-
"scopes": ["
|
|
797
|
+
"scopes": ["lineHeight"]
|
|
813
798
|
}
|
|
814
799
|
},
|
|
815
800
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
816
801
|
"isSource": true,
|
|
817
802
|
"original": {
|
|
818
|
-
"$value":
|
|
819
|
-
"$type": "
|
|
803
|
+
"$value": 1.6,
|
|
804
|
+
"$type": "number",
|
|
820
805
|
"$extensions": {
|
|
806
|
+
"org.primer.data": {
|
|
807
|
+
"fontSize": 20
|
|
808
|
+
},
|
|
821
809
|
"org.primer.figma": {
|
|
822
810
|
"collection": "typography",
|
|
823
|
-
"scopes": ["
|
|
811
|
+
"scopes": ["lineHeight"]
|
|
824
812
|
}
|
|
825
813
|
}
|
|
826
814
|
},
|
|
827
|
-
"name": "text-
|
|
815
|
+
"name": "text-subtitle-lineHeight",
|
|
828
816
|
"attributes": {},
|
|
829
|
-
"path": ["text", "
|
|
830
|
-
"
|
|
831
|
-
"
|
|
817
|
+
"path": ["text", "subtitle", "lineHeight"],
|
|
818
|
+
"key": "{text.subtitle.lineHeight}",
|
|
819
|
+
"value": 1.6,
|
|
820
|
+
"type": "number"
|
|
832
821
|
},
|
|
833
|
-
"text-
|
|
822
|
+
"text-subtitle-shorthand": {
|
|
834
823
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
835
824
|
"isSource": true,
|
|
836
825
|
"original": {
|
|
837
826
|
"$value": {
|
|
838
|
-
"fontWeight": "{text.
|
|
839
|
-
"fontSize": "{text.
|
|
840
|
-
"lineHeight": "{text.
|
|
841
|
-
"fontFamily": "{fontStack.
|
|
827
|
+
"fontWeight": "{text.subtitle.weight}",
|
|
828
|
+
"fontSize": "{text.subtitle.size}",
|
|
829
|
+
"lineHeight": "{text.subtitle.lineHeight}",
|
|
830
|
+
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
842
831
|
},
|
|
843
832
|
"$type": "typography",
|
|
844
|
-
"$description": "
|
|
833
|
+
"$description": "Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium)."
|
|
845
834
|
},
|
|
846
|
-
"name": "text-
|
|
835
|
+
"name": "text-subtitle-shorthand",
|
|
847
836
|
"attributes": {},
|
|
848
|
-
"path": ["text", "
|
|
849
|
-
"
|
|
837
|
+
"path": ["text", "subtitle", "shorthand"],
|
|
838
|
+
"key": "{text.subtitle.shorthand}",
|
|
839
|
+
"value": "400 1.25rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
850
840
|
"type": "typography",
|
|
851
|
-
"description": "
|
|
841
|
+
"description": "Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium)."
|
|
852
842
|
},
|
|
853
|
-
"text-
|
|
843
|
+
"text-subtitle-size": {
|
|
844
|
+
"$extensions": {
|
|
845
|
+
"org.primer.figma": {
|
|
846
|
+
"collection": "typography",
|
|
847
|
+
"scopes": ["fontSize"]
|
|
848
|
+
}
|
|
849
|
+
},
|
|
854
850
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
855
851
|
"isSource": true,
|
|
856
852
|
"original": {
|
|
857
|
-
"$value":
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
"
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
853
|
+
"$value": "20px",
|
|
854
|
+
"$type": "dimension",
|
|
855
|
+
"$extensions": {
|
|
856
|
+
"org.primer.figma": {
|
|
857
|
+
"collection": "typography",
|
|
858
|
+
"scopes": ["fontSize"]
|
|
859
|
+
}
|
|
860
|
+
}
|
|
865
861
|
},
|
|
866
|
-
"name": "text-
|
|
862
|
+
"name": "text-subtitle-size",
|
|
867
863
|
"attributes": {},
|
|
868
|
-
"path": ["text", "
|
|
869
|
-
"
|
|
870
|
-
"
|
|
871
|
-
"
|
|
864
|
+
"path": ["text", "subtitle", "size"],
|
|
865
|
+
"key": "{text.subtitle.size}",
|
|
866
|
+
"value": "1.25rem",
|
|
867
|
+
"type": "dimension"
|
|
872
868
|
},
|
|
873
|
-
"text-
|
|
869
|
+
"text-subtitle-weight": {
|
|
870
|
+
"$extensions": {
|
|
871
|
+
"org.primer.figma": {
|
|
872
|
+
"collection": "typography",
|
|
873
|
+
"scopes": ["fontWeight"]
|
|
874
|
+
}
|
|
875
|
+
},
|
|
874
876
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
875
877
|
"isSource": true,
|
|
876
878
|
"original": {
|
|
877
|
-
"$value": {
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
"
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
879
|
+
"$value": "{base.text.weight.normal}",
|
|
880
|
+
"$type": "fontWeight",
|
|
881
|
+
"$extensions": {
|
|
882
|
+
"org.primer.figma": {
|
|
883
|
+
"collection": "typography",
|
|
884
|
+
"scopes": ["fontWeight"]
|
|
885
|
+
}
|
|
886
|
+
}
|
|
885
887
|
},
|
|
886
|
-
"name": "text-
|
|
888
|
+
"name": "text-subtitle-weight",
|
|
887
889
|
"attributes": {},
|
|
888
|
-
"path": ["text", "
|
|
889
|
-
"
|
|
890
|
-
"
|
|
891
|
-
"
|
|
890
|
+
"path": ["text", "subtitle", "weight"],
|
|
891
|
+
"key": "{text.subtitle.weight}",
|
|
892
|
+
"value": 400,
|
|
893
|
+
"type": "fontWeight"
|
|
892
894
|
},
|
|
893
|
-
"text-
|
|
895
|
+
"text-title-lineHeight-large": {
|
|
894
896
|
"$extensions": {
|
|
897
|
+
"org.primer.data": {
|
|
898
|
+
"fontSize": 32
|
|
899
|
+
},
|
|
895
900
|
"org.primer.figma": {
|
|
896
901
|
"collection": "typography",
|
|
897
|
-
"scopes": ["
|
|
902
|
+
"scopes": ["lineHeight"]
|
|
898
903
|
}
|
|
899
904
|
},
|
|
900
905
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
901
906
|
"isSource": true,
|
|
902
907
|
"original": {
|
|
903
|
-
"$value":
|
|
904
|
-
"$type": "
|
|
908
|
+
"$value": 1.5,
|
|
909
|
+
"$type": "number",
|
|
905
910
|
"$extensions": {
|
|
911
|
+
"org.primer.data": {
|
|
912
|
+
"fontSize": 32
|
|
913
|
+
},
|
|
906
914
|
"org.primer.figma": {
|
|
907
915
|
"collection": "typography",
|
|
908
|
-
"scopes": ["
|
|
916
|
+
"scopes": ["lineHeight"]
|
|
909
917
|
}
|
|
910
918
|
}
|
|
911
919
|
},
|
|
912
|
-
"name": "text-
|
|
920
|
+
"name": "text-title-lineHeight-large",
|
|
913
921
|
"attributes": {},
|
|
914
|
-
"path": ["text", "
|
|
915
|
-
"
|
|
916
|
-
"
|
|
922
|
+
"path": ["text", "title", "lineHeight", "large"],
|
|
923
|
+
"key": "{text.title.lineHeight.large}",
|
|
924
|
+
"value": 1.5,
|
|
925
|
+
"type": "number"
|
|
917
926
|
},
|
|
918
|
-
"text-
|
|
927
|
+
"text-title-lineHeight-medium": {
|
|
919
928
|
"$extensions": {
|
|
920
929
|
"org.primer.data": {
|
|
921
|
-
"fontSize":
|
|
930
|
+
"fontSize": 20
|
|
922
931
|
},
|
|
923
932
|
"org.primer.figma": {
|
|
924
933
|
"collection": "typography",
|
|
@@ -928,11 +937,11 @@
|
|
|
928
937
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
929
938
|
"isSource": true,
|
|
930
939
|
"original": {
|
|
931
|
-
"$value": 1.
|
|
940
|
+
"$value": 1.6,
|
|
932
941
|
"$type": "number",
|
|
933
942
|
"$extensions": {
|
|
934
943
|
"org.primer.data": {
|
|
935
|
-
"fontSize":
|
|
944
|
+
"fontSize": 20
|
|
936
945
|
},
|
|
937
946
|
"org.primer.figma": {
|
|
938
947
|
"collection": "typography",
|
|
@@ -940,58 +949,109 @@
|
|
|
940
949
|
}
|
|
941
950
|
}
|
|
942
951
|
},
|
|
943
|
-
"name": "text-
|
|
952
|
+
"name": "text-title-lineHeight-medium",
|
|
944
953
|
"attributes": {},
|
|
945
|
-
"path": ["text", "
|
|
946
|
-
"
|
|
954
|
+
"path": ["text", "title", "lineHeight", "medium"],
|
|
955
|
+
"key": "{text.title.lineHeight.medium}",
|
|
956
|
+
"value": 1.6,
|
|
947
957
|
"type": "number"
|
|
948
958
|
},
|
|
949
|
-
"text-
|
|
959
|
+
"text-title-lineHeight-small": {
|
|
950
960
|
"$extensions": {
|
|
961
|
+
"org.primer.data": {
|
|
962
|
+
"fontSize": 16
|
|
963
|
+
},
|
|
951
964
|
"org.primer.figma": {
|
|
952
965
|
"collection": "typography",
|
|
953
|
-
"scopes": ["
|
|
966
|
+
"scopes": ["lineHeight"]
|
|
954
967
|
}
|
|
955
968
|
},
|
|
956
969
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
957
970
|
"isSource": true,
|
|
958
971
|
"original": {
|
|
959
|
-
"$value":
|
|
960
|
-
"$type": "
|
|
972
|
+
"$value": 1.5,
|
|
973
|
+
"$type": "number",
|
|
961
974
|
"$extensions": {
|
|
975
|
+
"org.primer.data": {
|
|
976
|
+
"fontSize": 16
|
|
977
|
+
},
|
|
962
978
|
"org.primer.figma": {
|
|
963
979
|
"collection": "typography",
|
|
964
|
-
"scopes": ["
|
|
980
|
+
"scopes": ["lineHeight"]
|
|
965
981
|
}
|
|
966
982
|
}
|
|
967
983
|
},
|
|
968
|
-
"name": "text-
|
|
984
|
+
"name": "text-title-lineHeight-small",
|
|
969
985
|
"attributes": {},
|
|
970
|
-
"path": ["text", "
|
|
971
|
-
"
|
|
972
|
-
"
|
|
986
|
+
"path": ["text", "title", "lineHeight", "small"],
|
|
987
|
+
"key": "{text.title.lineHeight.small}",
|
|
988
|
+
"value": 1.5,
|
|
989
|
+
"type": "number"
|
|
973
990
|
},
|
|
974
|
-
"text-
|
|
991
|
+
"text-title-shorthand-large": {
|
|
975
992
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
976
993
|
"isSource": true,
|
|
977
994
|
"original": {
|
|
978
995
|
"$value": {
|
|
979
|
-
"fontWeight": "{text.
|
|
980
|
-
"fontSize": "{text.
|
|
981
|
-
"lineHeight": "{text.
|
|
996
|
+
"fontWeight": "{text.title.weight.large}",
|
|
997
|
+
"fontSize": "{text.title.size.large}",
|
|
998
|
+
"lineHeight": "{text.title.lineHeight.large}",
|
|
999
|
+
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
1000
|
+
},
|
|
1001
|
+
"$type": "typography",
|
|
1002
|
+
"$description": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports."
|
|
1003
|
+
},
|
|
1004
|
+
"name": "text-title-shorthand-large",
|
|
1005
|
+
"attributes": {},
|
|
1006
|
+
"path": ["text", "title", "shorthand", "large"],
|
|
1007
|
+
"key": "{text.title.shorthand.large}",
|
|
1008
|
+
"value": "600 2rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
1009
|
+
"type": "typography",
|
|
1010
|
+
"description": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports."
|
|
1011
|
+
},
|
|
1012
|
+
"text-title-shorthand-medium": {
|
|
1013
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1014
|
+
"isSource": true,
|
|
1015
|
+
"original": {
|
|
1016
|
+
"$value": {
|
|
1017
|
+
"fontWeight": "{text.title.weight.medium}",
|
|
1018
|
+
"fontSize": "{text.title.size.medium}",
|
|
1019
|
+
"lineHeight": "{text.title.lineHeight.medium}",
|
|
1020
|
+
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
1021
|
+
},
|
|
1022
|
+
"$type": "typography",
|
|
1023
|
+
"$description": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition."
|
|
1024
|
+
},
|
|
1025
|
+
"name": "text-title-shorthand-medium",
|
|
1026
|
+
"attributes": {},
|
|
1027
|
+
"path": ["text", "title", "shorthand", "medium"],
|
|
1028
|
+
"key": "{text.title.shorthand.medium}",
|
|
1029
|
+
"value": "600 1.25rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
1030
|
+
"type": "typography",
|
|
1031
|
+
"description": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition."
|
|
1032
|
+
},
|
|
1033
|
+
"text-title-shorthand-small": {
|
|
1034
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1035
|
+
"isSource": true,
|
|
1036
|
+
"original": {
|
|
1037
|
+
"$value": {
|
|
1038
|
+
"fontWeight": "{text.title.weight.small}",
|
|
1039
|
+
"fontSize": "{text.title.size.small}",
|
|
1040
|
+
"lineHeight": "{text.title.lineHeight.small}",
|
|
982
1041
|
"fontFamily": "{fontStack.sansSerif}"
|
|
983
1042
|
},
|
|
984
1043
|
"$type": "typography",
|
|
985
|
-
"$description": "
|
|
1044
|
+
"$description": "Uses the same size as body (large) with a heavier weight of semibold (600)."
|
|
986
1045
|
},
|
|
987
|
-
"name": "text-
|
|
1046
|
+
"name": "text-title-shorthand-small",
|
|
988
1047
|
"attributes": {},
|
|
989
|
-
"path": ["text", "
|
|
990
|
-
"
|
|
1048
|
+
"path": ["text", "title", "shorthand", "small"],
|
|
1049
|
+
"key": "{text.title.shorthand.small}",
|
|
1050
|
+
"value": "600 1rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
991
1051
|
"type": "typography",
|
|
992
|
-
"description": "
|
|
1052
|
+
"description": "Uses the same size as body (large) with a heavier weight of semibold (600)."
|
|
993
1053
|
},
|
|
994
|
-
"text-
|
|
1054
|
+
"text-title-size-large": {
|
|
995
1055
|
"$extensions": {
|
|
996
1056
|
"org.primer.figma": {
|
|
997
1057
|
"collection": "typography",
|
|
@@ -1001,7 +1061,7 @@
|
|
|
1001
1061
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1002
1062
|
"isSource": true,
|
|
1003
1063
|
"original": {
|
|
1004
|
-
"$value": "
|
|
1064
|
+
"$value": "32px",
|
|
1005
1065
|
"$type": "dimension",
|
|
1006
1066
|
"$extensions": {
|
|
1007
1067
|
"org.primer.figma": {
|
|
@@ -1010,114 +1070,92 @@
|
|
|
1010
1070
|
}
|
|
1011
1071
|
}
|
|
1012
1072
|
},
|
|
1013
|
-
"name": "text-
|
|
1073
|
+
"name": "text-title-size-large",
|
|
1014
1074
|
"attributes": {},
|
|
1015
|
-
"path": ["text", "
|
|
1016
|
-
"
|
|
1075
|
+
"path": ["text", "title", "size", "large"],
|
|
1076
|
+
"key": "{text.title.size.large}",
|
|
1077
|
+
"value": "2rem",
|
|
1017
1078
|
"type": "dimension"
|
|
1018
1079
|
},
|
|
1019
|
-
"text-
|
|
1080
|
+
"text-title-size-medium": {
|
|
1020
1081
|
"$extensions": {
|
|
1021
|
-
"org.primer.data": {
|
|
1022
|
-
"fontSize": 13
|
|
1023
|
-
},
|
|
1024
1082
|
"org.primer.figma": {
|
|
1025
1083
|
"collection": "typography",
|
|
1026
|
-
"scopes": ["
|
|
1084
|
+
"scopes": ["fontSize"]
|
|
1027
1085
|
}
|
|
1028
1086
|
},
|
|
1029
1087
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1030
1088
|
"isSource": true,
|
|
1031
1089
|
"original": {
|
|
1032
|
-
"$value":
|
|
1033
|
-
"$type": "
|
|
1090
|
+
"$value": "20px",
|
|
1091
|
+
"$type": "dimension",
|
|
1034
1092
|
"$extensions": {
|
|
1035
|
-
"org.primer.data": {
|
|
1036
|
-
"fontSize": 13
|
|
1037
|
-
},
|
|
1038
1093
|
"org.primer.figma": {
|
|
1039
1094
|
"collection": "typography",
|
|
1040
|
-
"scopes": ["
|
|
1095
|
+
"scopes": ["fontSize"]
|
|
1041
1096
|
}
|
|
1042
1097
|
}
|
|
1043
1098
|
},
|
|
1044
|
-
"name": "text-
|
|
1099
|
+
"name": "text-title-size-medium",
|
|
1045
1100
|
"attributes": {},
|
|
1046
|
-
"path": ["text", "
|
|
1047
|
-
"
|
|
1048
|
-
"
|
|
1101
|
+
"path": ["text", "title", "size", "medium"],
|
|
1102
|
+
"key": "{text.title.size.medium}",
|
|
1103
|
+
"value": "1.25rem",
|
|
1104
|
+
"type": "dimension"
|
|
1049
1105
|
},
|
|
1050
|
-
"text-
|
|
1106
|
+
"text-title-size-small": {
|
|
1051
1107
|
"$extensions": {
|
|
1052
1108
|
"org.primer.figma": {
|
|
1053
1109
|
"collection": "typography",
|
|
1054
|
-
"scopes": ["
|
|
1110
|
+
"scopes": ["fontSize"]
|
|
1055
1111
|
}
|
|
1056
1112
|
},
|
|
1057
1113
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1058
1114
|
"isSource": true,
|
|
1059
1115
|
"original": {
|
|
1060
|
-
"$value": "
|
|
1061
|
-
"$type": "
|
|
1116
|
+
"$value": "16px",
|
|
1117
|
+
"$type": "dimension",
|
|
1062
1118
|
"$extensions": {
|
|
1063
1119
|
"org.primer.figma": {
|
|
1064
1120
|
"collection": "typography",
|
|
1065
|
-
"scopes": ["
|
|
1121
|
+
"scopes": ["fontSize"]
|
|
1066
1122
|
}
|
|
1067
1123
|
}
|
|
1068
1124
|
},
|
|
1069
|
-
"name": "text-
|
|
1070
|
-
"attributes": {},
|
|
1071
|
-
"path": ["text", "codeBlock", "weight"],
|
|
1072
|
-
"value": 400,
|
|
1073
|
-
"type": "fontWeight"
|
|
1074
|
-
},
|
|
1075
|
-
"text-codeBlock-shorthand": {
|
|
1076
|
-
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1077
|
-
"isSource": true,
|
|
1078
|
-
"original": {
|
|
1079
|
-
"$value": {
|
|
1080
|
-
"fontWeight": "{text.codeBlock.weight}",
|
|
1081
|
-
"fontSize": "{text.codeBlock.size}",
|
|
1082
|
-
"lineHeight": "{text.codeBlock.lineHeight}",
|
|
1083
|
-
"fontFamily": "{fontStack.monospace}"
|
|
1084
|
-
},
|
|
1085
|
-
"$type": "typography",
|
|
1086
|
-
"$description": "Default style for rendering code blocks."
|
|
1087
|
-
},
|
|
1088
|
-
"name": "text-codeBlock-shorthand",
|
|
1125
|
+
"name": "text-title-size-small",
|
|
1089
1126
|
"attributes": {},
|
|
1090
|
-
"path": ["text", "
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1093
|
-
"
|
|
1127
|
+
"path": ["text", "title", "size", "small"],
|
|
1128
|
+
"key": "{text.title.size.small}",
|
|
1129
|
+
"value": "1rem",
|
|
1130
|
+
"type": "dimension"
|
|
1094
1131
|
},
|
|
1095
|
-
"text-
|
|
1132
|
+
"text-title-weight-large": {
|
|
1096
1133
|
"$extensions": {
|
|
1097
1134
|
"org.primer.figma": {
|
|
1098
1135
|
"collection": "typography",
|
|
1099
|
-
"scopes": ["
|
|
1136
|
+
"scopes": ["fontWeight"]
|
|
1100
1137
|
}
|
|
1101
1138
|
},
|
|
1102
1139
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1103
1140
|
"isSource": true,
|
|
1104
1141
|
"original": {
|
|
1105
|
-
"$value": "
|
|
1106
|
-
"$type": "
|
|
1142
|
+
"$value": "{base.text.weight.semibold}",
|
|
1143
|
+
"$type": "fontWeight",
|
|
1107
1144
|
"$extensions": {
|
|
1108
1145
|
"org.primer.figma": {
|
|
1109
1146
|
"collection": "typography",
|
|
1110
|
-
"scopes": ["
|
|
1147
|
+
"scopes": ["fontWeight"]
|
|
1111
1148
|
}
|
|
1112
1149
|
}
|
|
1113
1150
|
},
|
|
1114
|
-
"name": "text-
|
|
1151
|
+
"name": "text-title-weight-large",
|
|
1115
1152
|
"attributes": {},
|
|
1116
|
-
"path": ["text", "
|
|
1117
|
-
"
|
|
1118
|
-
"
|
|
1153
|
+
"path": ["text", "title", "weight", "large"],
|
|
1154
|
+
"key": "{text.title.weight.large}",
|
|
1155
|
+
"value": 600,
|
|
1156
|
+
"type": "fontWeight"
|
|
1119
1157
|
},
|
|
1120
|
-
"text-
|
|
1158
|
+
"text-title-weight-medium": {
|
|
1121
1159
|
"$extensions": {
|
|
1122
1160
|
"org.primer.figma": {
|
|
1123
1161
|
"collection": "typography",
|
|
@@ -1127,7 +1165,7 @@
|
|
|
1127
1165
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1128
1166
|
"isSource": true,
|
|
1129
1167
|
"original": {
|
|
1130
|
-
"$value": "{base.text.weight.
|
|
1168
|
+
"$value": "{base.text.weight.semibold}",
|
|
1131
1169
|
"$type": "fontWeight",
|
|
1132
1170
|
"$extensions": {
|
|
1133
1171
|
"org.primer.figma": {
|
|
@@ -1136,29 +1174,37 @@
|
|
|
1136
1174
|
}
|
|
1137
1175
|
}
|
|
1138
1176
|
},
|
|
1139
|
-
"name": "text-
|
|
1177
|
+
"name": "text-title-weight-medium",
|
|
1140
1178
|
"attributes": {},
|
|
1141
|
-
"path": ["text", "
|
|
1142
|
-
"
|
|
1179
|
+
"path": ["text", "title", "weight", "medium"],
|
|
1180
|
+
"key": "{text.title.weight.medium}",
|
|
1181
|
+
"value": 600,
|
|
1143
1182
|
"type": "fontWeight"
|
|
1144
1183
|
},
|
|
1145
|
-
"text-
|
|
1184
|
+
"text-title-weight-small": {
|
|
1185
|
+
"$extensions": {
|
|
1186
|
+
"org.primer.figma": {
|
|
1187
|
+
"collection": "typography",
|
|
1188
|
+
"scopes": ["fontWeight"]
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1146
1191
|
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1147
1192
|
"isSource": true,
|
|
1148
1193
|
"original": {
|
|
1149
|
-
"$value": {
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
"
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1194
|
+
"$value": "{base.text.weight.semibold}",
|
|
1195
|
+
"$type": "fontWeight",
|
|
1196
|
+
"$extensions": {
|
|
1197
|
+
"org.primer.figma": {
|
|
1198
|
+
"collection": "typography",
|
|
1199
|
+
"scopes": ["fontWeight"]
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1156
1202
|
},
|
|
1157
|
-
"name": "text-
|
|
1203
|
+
"name": "text-title-weight-small",
|
|
1158
1204
|
"attributes": {},
|
|
1159
|
-
"path": ["text", "
|
|
1160
|
-
"
|
|
1161
|
-
"
|
|
1162
|
-
"
|
|
1205
|
+
"path": ["text", "title", "weight", "small"],
|
|
1206
|
+
"key": "{text.title.weight.small}",
|
|
1207
|
+
"value": 600,
|
|
1208
|
+
"type": "fontWeight"
|
|
1163
1209
|
}
|
|
1164
1210
|
}
|