@primer/primitives 11.3.2 → 11.4.0-rc.7bb41c84
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/schemas/dimensionToken.js +1 -1
- package/dist/build/schemas/dimensionValue.js +1 -1
- package/dist/css/base/typography/typography.css +11 -0
- package/dist/css/functional/typography/typography.css +20 -20
- package/dist/docs/base/typography/typography.json +319 -0
- package/dist/docs/functional/typography/typography.json +35 -35
- package/dist/fallbacks/base/typography/typography.json +12 -1
- package/dist/fallbacks/functional/typography/typography.json +15 -15
- package/dist/figma/typography/typography.json +140 -19
- package/dist/styleLint/base/typography/typography.json +319 -0
- package/dist/styleLint/functional/typography/typography.json +47 -47
- package/package.json +1 -1
- package/src/tokens/base/typography/typography.json5 +125 -0
- package/src/tokens/functional/typography/typography.json5 +20 -20
|
@@ -12,7 +12,7 @@ export const dimensionToken = baseToken
|
|
|
12
12
|
$extensions: z
|
|
13
13
|
.object({
|
|
14
14
|
'org.primer.figma': z.object({
|
|
15
|
-
collection: collection(['base/size', 'functional/size', 'pattern/size', 'typography']),
|
|
15
|
+
collection: collection(['base/size', 'base/typography', 'functional/size', 'pattern/size', 'typography']),
|
|
16
16
|
scopes: scopes([
|
|
17
17
|
'all',
|
|
18
18
|
'size',
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { schemaErrorMessage } from '../utilities/index.js';
|
|
3
3
|
export const dimensionValue = z.union([
|
|
4
4
|
z.string().superRefine((dim, ctx) => {
|
|
5
|
-
if (!/(^-?[0-9]
|
|
5
|
+
if (!/(^-?[0-9]+\.?[0-9]*(px|rem)$|^-?[0-9]+\.?[0-9]*em$)/.test(dim)) {
|
|
6
6
|
ctx.addIssue({
|
|
7
7
|
code: 'custom',
|
|
8
8
|
message: schemaErrorMessage(`Invalid dimension: "${dim}"`, `Dimension must be a string with a unit (px, rem or em) or 0`),
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
--base-text-lineHeight-loose: 1.75; /** Use sparingly for very small text or when maximum readability is critical. Best for footnotes, legal text, or content requiring high accessibility. */
|
|
3
|
+
--base-text-lineHeight-normal: 1.5; /** Default choice for body text and general UI content. Provides optimal readability for paragraphs, descriptions, and most multi-line text. Use when unsure which line-height to pick. */
|
|
4
|
+
--base-text-lineHeight-relaxed: 1.625; /** Use for longer-form content, smaller text sizes (12-13px), or when increased readability is desired. Good for text that needs extra breathing room. */
|
|
5
|
+
--base-text-lineHeight-snug: 1.375; /** Use for display text, large headings, or short multi-line text where moderate density is needed. Good for hero sections and marketing headlines. */
|
|
6
|
+
--base-text-lineHeight-tight: 1.25; /** Use for single-line text in compact UI elements like labels, badges, buttons, or captions where vertical space is limited. Not recommended for multi-line body text due to reduced readability. */
|
|
7
|
+
--base-text-size-2xl: 2.5rem; /** 40px - Display text for hero sections. */
|
|
8
|
+
--base-text-size-lg: 1.25rem; /** 20px - Medium titles and subtitles. */
|
|
9
|
+
--base-text-size-md: 1rem; /** 16px - Large body text and small titles. */
|
|
10
|
+
--base-text-size-sm: 0.875rem; /** 14px - Default body text size for UI. */
|
|
11
|
+
--base-text-size-xl: 2rem; /** 32px - Large titles and page headings. */
|
|
12
|
+
--base-text-size-xs: 0.75rem; /** 12px - Smallest text size for captions and compact UI elements. */
|
|
2
13
|
--base-text-weight-light: 300;
|
|
3
14
|
--base-text-weight-medium: 500;
|
|
4
15
|
--base-text-weight-normal: 400;
|
|
@@ -3,34 +3,34 @@
|
|
|
3
3
|
--fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
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
|
-
--text-body-lineHeight-large: 1.5;
|
|
7
|
-
--text-body-lineHeight-medium: 1.42857;
|
|
8
|
-
--text-body-lineHeight-small: 1.66667;
|
|
9
|
-
--text-body-size-large: 1rem;
|
|
10
|
-
--text-body-size-medium: 0.875rem;
|
|
11
|
-
--text-body-size-small: 0.75rem;
|
|
12
|
-
--text-caption-lineHeight: 1.3333;
|
|
13
|
-
--text-caption-size: 0.75rem;
|
|
14
|
-
--text-codeBlock-lineHeight: 1.5385;
|
|
15
6
|
--text-codeBlock-size: 0.8125rem;
|
|
16
7
|
--text-codeInline-size: 0.9285em;
|
|
17
|
-
--text-
|
|
18
|
-
--text-
|
|
19
|
-
--text-
|
|
20
|
-
--text-
|
|
21
|
-
--text-
|
|
22
|
-
--text-
|
|
23
|
-
--text-title-lineHeight-medium: 1.6;
|
|
24
|
-
--text-title-lineHeight-small: 1.5;
|
|
25
|
-
--text-title-size-large: 2rem;
|
|
26
|
-
--text-title-size-medium: 1.25rem;
|
|
27
|
-
--text-title-size-small: 1rem;
|
|
8
|
+
--text-body-lineHeight-large: var(--base-text-lineHeight-normal);
|
|
9
|
+
--text-body-lineHeight-medium: var(--base-text-lineHeight-normal);
|
|
10
|
+
--text-body-lineHeight-small: var(--base-text-lineHeight-relaxed);
|
|
11
|
+
--text-body-size-large: var(--base-text-size-md);
|
|
12
|
+
--text-body-size-medium: var(--base-text-size-sm);
|
|
13
|
+
--text-body-size-small: var(--base-text-size-xs);
|
|
28
14
|
--text-body-weight: var(--base-text-weight-normal);
|
|
15
|
+
--text-caption-lineHeight: var(--base-text-lineHeight-tight);
|
|
16
|
+
--text-caption-size: var(--base-text-size-xs);
|
|
29
17
|
--text-caption-weight: var(--base-text-weight-normal);
|
|
18
|
+
--text-codeBlock-lineHeight: var(--base-text-lineHeight-normal);
|
|
30
19
|
--text-codeBlock-weight: var(--base-text-weight-normal);
|
|
31
20
|
--text-codeInline-weight: var(--base-text-weight-normal);
|
|
21
|
+
--text-display-lineBoxHeight: var(--base-text-lineHeight-snug);
|
|
22
|
+
--text-display-lineHeight: var(--base-text-lineHeight-snug);
|
|
23
|
+
--text-display-size: var(--base-text-size-2xl);
|
|
32
24
|
--text-display-weight: var(--base-text-weight-medium);
|
|
25
|
+
--text-subtitle-lineHeight: var(--base-text-lineHeight-relaxed);
|
|
26
|
+
--text-subtitle-size: var(--base-text-size-lg);
|
|
33
27
|
--text-subtitle-weight: var(--base-text-weight-normal);
|
|
28
|
+
--text-title-lineHeight-large: var(--base-text-lineHeight-normal);
|
|
29
|
+
--text-title-lineHeight-medium: var(--base-text-lineHeight-relaxed);
|
|
30
|
+
--text-title-lineHeight-small: var(--base-text-lineHeight-normal);
|
|
31
|
+
--text-title-size-large: var(--base-text-size-xl);
|
|
32
|
+
--text-title-size-medium: var(--base-text-size-lg);
|
|
33
|
+
--text-title-size-small: var(--base-text-size-md);
|
|
34
34
|
--text-title-weight-large: var(--base-text-weight-semibold);
|
|
35
35
|
--text-title-weight-medium: var(--base-text-weight-semibold);
|
|
36
36
|
--text-title-weight-small: var(--base-text-weight-semibold);
|
|
@@ -1,4 +1,323 @@
|
|
|
1
1
|
{
|
|
2
|
+
"base-text-lineHeight-loose": {
|
|
3
|
+
"key": "{base.text.lineHeight.loose}",
|
|
4
|
+
"$extensions": {
|
|
5
|
+
"org.primer.figma": {
|
|
6
|
+
"collection": "typography",
|
|
7
|
+
"scopes": ["lineHeight"]
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
11
|
+
"isSource": true,
|
|
12
|
+
"original": {
|
|
13
|
+
"$value": 1.75,
|
|
14
|
+
"$type": "number",
|
|
15
|
+
"$description": "Use sparingly for very small text or when maximum readability is critical. Best for footnotes, legal text, or content requiring high accessibility.",
|
|
16
|
+
"$extensions": {
|
|
17
|
+
"org.primer.figma": {
|
|
18
|
+
"collection": "typography",
|
|
19
|
+
"scopes": ["lineHeight"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"key": "{base.text.lineHeight.loose}"
|
|
23
|
+
},
|
|
24
|
+
"name": "base-text-lineHeight-loose",
|
|
25
|
+
"attributes": {},
|
|
26
|
+
"path": ["base", "text", "lineHeight", "loose"],
|
|
27
|
+
"value": 1.75,
|
|
28
|
+
"type": "number",
|
|
29
|
+
"description": "Use sparingly for very small text or when maximum readability is critical. Best for footnotes, legal text, or content requiring high accessibility."
|
|
30
|
+
},
|
|
31
|
+
"base-text-lineHeight-normal": {
|
|
32
|
+
"key": "{base.text.lineHeight.normal}",
|
|
33
|
+
"$extensions": {
|
|
34
|
+
"org.primer.figma": {
|
|
35
|
+
"collection": "typography",
|
|
36
|
+
"scopes": ["lineHeight"]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
40
|
+
"isSource": true,
|
|
41
|
+
"original": {
|
|
42
|
+
"$value": 1.5,
|
|
43
|
+
"$type": "number",
|
|
44
|
+
"$description": "Default choice for body text and general UI content. Provides optimal readability for paragraphs, descriptions, and most multi-line text. Use when unsure which line-height to pick.",
|
|
45
|
+
"$extensions": {
|
|
46
|
+
"org.primer.figma": {
|
|
47
|
+
"collection": "typography",
|
|
48
|
+
"scopes": ["lineHeight"]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"key": "{base.text.lineHeight.normal}"
|
|
52
|
+
},
|
|
53
|
+
"name": "base-text-lineHeight-normal",
|
|
54
|
+
"attributes": {},
|
|
55
|
+
"path": ["base", "text", "lineHeight", "normal"],
|
|
56
|
+
"value": 1.5,
|
|
57
|
+
"type": "number",
|
|
58
|
+
"description": "Default choice for body text and general UI content. Provides optimal readability for paragraphs, descriptions, and most multi-line text. Use when unsure which line-height to pick."
|
|
59
|
+
},
|
|
60
|
+
"base-text-lineHeight-relaxed": {
|
|
61
|
+
"key": "{base.text.lineHeight.relaxed}",
|
|
62
|
+
"$extensions": {
|
|
63
|
+
"org.primer.figma": {
|
|
64
|
+
"collection": "typography",
|
|
65
|
+
"scopes": ["lineHeight"]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
69
|
+
"isSource": true,
|
|
70
|
+
"original": {
|
|
71
|
+
"$value": 1.625,
|
|
72
|
+
"$type": "number",
|
|
73
|
+
"$description": "Use for longer-form content, smaller text sizes (12-13px), or when increased readability is desired. Good for text that needs extra breathing room.",
|
|
74
|
+
"$extensions": {
|
|
75
|
+
"org.primer.figma": {
|
|
76
|
+
"collection": "typography",
|
|
77
|
+
"scopes": ["lineHeight"]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"key": "{base.text.lineHeight.relaxed}"
|
|
81
|
+
},
|
|
82
|
+
"name": "base-text-lineHeight-relaxed",
|
|
83
|
+
"attributes": {},
|
|
84
|
+
"path": ["base", "text", "lineHeight", "relaxed"],
|
|
85
|
+
"value": 1.625,
|
|
86
|
+
"type": "number",
|
|
87
|
+
"description": "Use for longer-form content, smaller text sizes (12-13px), or when increased readability is desired. Good for text that needs extra breathing room."
|
|
88
|
+
},
|
|
89
|
+
"base-text-lineHeight-snug": {
|
|
90
|
+
"key": "{base.text.lineHeight.snug}",
|
|
91
|
+
"$extensions": {
|
|
92
|
+
"org.primer.figma": {
|
|
93
|
+
"collection": "typography",
|
|
94
|
+
"scopes": ["lineHeight"]
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
98
|
+
"isSource": true,
|
|
99
|
+
"original": {
|
|
100
|
+
"$value": 1.375,
|
|
101
|
+
"$type": "number",
|
|
102
|
+
"$description": "Use for display text, large headings, or short multi-line text where moderate density is needed. Good for hero sections and marketing headlines.",
|
|
103
|
+
"$extensions": {
|
|
104
|
+
"org.primer.figma": {
|
|
105
|
+
"collection": "typography",
|
|
106
|
+
"scopes": ["lineHeight"]
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"key": "{base.text.lineHeight.snug}"
|
|
110
|
+
},
|
|
111
|
+
"name": "base-text-lineHeight-snug",
|
|
112
|
+
"attributes": {},
|
|
113
|
+
"path": ["base", "text", "lineHeight", "snug"],
|
|
114
|
+
"value": 1.375,
|
|
115
|
+
"type": "number",
|
|
116
|
+
"description": "Use for display text, large headings, or short multi-line text where moderate density is needed. Good for hero sections and marketing headlines."
|
|
117
|
+
},
|
|
118
|
+
"base-text-lineHeight-tight": {
|
|
119
|
+
"key": "{base.text.lineHeight.tight}",
|
|
120
|
+
"$extensions": {
|
|
121
|
+
"org.primer.figma": {
|
|
122
|
+
"collection": "typography",
|
|
123
|
+
"scopes": ["lineHeight"]
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
127
|
+
"isSource": true,
|
|
128
|
+
"original": {
|
|
129
|
+
"$value": 1.25,
|
|
130
|
+
"$type": "number",
|
|
131
|
+
"$description": "Use for single-line text in compact UI elements like labels, badges, buttons, or captions where vertical space is limited. Not recommended for multi-line body text due to reduced readability.",
|
|
132
|
+
"$extensions": {
|
|
133
|
+
"org.primer.figma": {
|
|
134
|
+
"collection": "typography",
|
|
135
|
+
"scopes": ["lineHeight"]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"key": "{base.text.lineHeight.tight}"
|
|
139
|
+
},
|
|
140
|
+
"name": "base-text-lineHeight-tight",
|
|
141
|
+
"attributes": {},
|
|
142
|
+
"path": ["base", "text", "lineHeight", "tight"],
|
|
143
|
+
"value": 1.25,
|
|
144
|
+
"type": "number",
|
|
145
|
+
"description": "Use for single-line text in compact UI elements like labels, badges, buttons, or captions where vertical space is limited. Not recommended for multi-line body text due to reduced readability."
|
|
146
|
+
},
|
|
147
|
+
"base-text-size-2xl": {
|
|
148
|
+
"key": "{base.text.size.2xl}",
|
|
149
|
+
"$extensions": {
|
|
150
|
+
"org.primer.figma": {
|
|
151
|
+
"collection": "base/typography",
|
|
152
|
+
"scopes": ["fontSize"]
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
156
|
+
"isSource": true,
|
|
157
|
+
"original": {
|
|
158
|
+
"$value": "2.5rem",
|
|
159
|
+
"$type": "dimension",
|
|
160
|
+
"$description": "40px - Display text for hero sections.",
|
|
161
|
+
"$extensions": {
|
|
162
|
+
"org.primer.figma": {
|
|
163
|
+
"collection": "base/typography",
|
|
164
|
+
"scopes": ["fontSize"]
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"key": "{base.text.size.2xl}"
|
|
168
|
+
},
|
|
169
|
+
"name": "base-text-size-2xl",
|
|
170
|
+
"attributes": {},
|
|
171
|
+
"path": ["base", "text", "size", "2xl"],
|
|
172
|
+
"value": "2.5rem",
|
|
173
|
+
"type": "dimension",
|
|
174
|
+
"description": "40px - Display text for hero sections."
|
|
175
|
+
},
|
|
176
|
+
"base-text-size-lg": {
|
|
177
|
+
"key": "{base.text.size.lg}",
|
|
178
|
+
"$extensions": {
|
|
179
|
+
"org.primer.figma": {
|
|
180
|
+
"collection": "base/typography",
|
|
181
|
+
"scopes": ["fontSize"]
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
185
|
+
"isSource": true,
|
|
186
|
+
"original": {
|
|
187
|
+
"$value": "1.25rem",
|
|
188
|
+
"$type": "dimension",
|
|
189
|
+
"$description": "20px - Medium titles and subtitles.",
|
|
190
|
+
"$extensions": {
|
|
191
|
+
"org.primer.figma": {
|
|
192
|
+
"collection": "base/typography",
|
|
193
|
+
"scopes": ["fontSize"]
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"key": "{base.text.size.lg}"
|
|
197
|
+
},
|
|
198
|
+
"name": "base-text-size-lg",
|
|
199
|
+
"attributes": {},
|
|
200
|
+
"path": ["base", "text", "size", "lg"],
|
|
201
|
+
"value": "1.25rem",
|
|
202
|
+
"type": "dimension",
|
|
203
|
+
"description": "20px - Medium titles and subtitles."
|
|
204
|
+
},
|
|
205
|
+
"base-text-size-md": {
|
|
206
|
+
"key": "{base.text.size.md}",
|
|
207
|
+
"$extensions": {
|
|
208
|
+
"org.primer.figma": {
|
|
209
|
+
"collection": "base/typography",
|
|
210
|
+
"scopes": ["fontSize"]
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
214
|
+
"isSource": true,
|
|
215
|
+
"original": {
|
|
216
|
+
"$value": "1rem",
|
|
217
|
+
"$type": "dimension",
|
|
218
|
+
"$description": "16px - Large body text and small titles.",
|
|
219
|
+
"$extensions": {
|
|
220
|
+
"org.primer.figma": {
|
|
221
|
+
"collection": "base/typography",
|
|
222
|
+
"scopes": ["fontSize"]
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"key": "{base.text.size.md}"
|
|
226
|
+
},
|
|
227
|
+
"name": "base-text-size-md",
|
|
228
|
+
"attributes": {},
|
|
229
|
+
"path": ["base", "text", "size", "md"],
|
|
230
|
+
"value": "1rem",
|
|
231
|
+
"type": "dimension",
|
|
232
|
+
"description": "16px - Large body text and small titles."
|
|
233
|
+
},
|
|
234
|
+
"base-text-size-sm": {
|
|
235
|
+
"key": "{base.text.size.sm}",
|
|
236
|
+
"$extensions": {
|
|
237
|
+
"org.primer.figma": {
|
|
238
|
+
"collection": "base/typography",
|
|
239
|
+
"scopes": ["fontSize"]
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
243
|
+
"isSource": true,
|
|
244
|
+
"original": {
|
|
245
|
+
"$value": "0.875rem",
|
|
246
|
+
"$type": "dimension",
|
|
247
|
+
"$description": "14px - Default body text size for UI.",
|
|
248
|
+
"$extensions": {
|
|
249
|
+
"org.primer.figma": {
|
|
250
|
+
"collection": "base/typography",
|
|
251
|
+
"scopes": ["fontSize"]
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"key": "{base.text.size.sm}"
|
|
255
|
+
},
|
|
256
|
+
"name": "base-text-size-sm",
|
|
257
|
+
"attributes": {},
|
|
258
|
+
"path": ["base", "text", "size", "sm"],
|
|
259
|
+
"value": "0.875rem",
|
|
260
|
+
"type": "dimension",
|
|
261
|
+
"description": "14px - Default body text size for UI."
|
|
262
|
+
},
|
|
263
|
+
"base-text-size-xl": {
|
|
264
|
+
"key": "{base.text.size.xl}",
|
|
265
|
+
"$extensions": {
|
|
266
|
+
"org.primer.figma": {
|
|
267
|
+
"collection": "base/typography",
|
|
268
|
+
"scopes": ["fontSize"]
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
272
|
+
"isSource": true,
|
|
273
|
+
"original": {
|
|
274
|
+
"$value": "2rem",
|
|
275
|
+
"$type": "dimension",
|
|
276
|
+
"$description": "32px - Large titles and page headings.",
|
|
277
|
+
"$extensions": {
|
|
278
|
+
"org.primer.figma": {
|
|
279
|
+
"collection": "base/typography",
|
|
280
|
+
"scopes": ["fontSize"]
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"key": "{base.text.size.xl}"
|
|
284
|
+
},
|
|
285
|
+
"name": "base-text-size-xl",
|
|
286
|
+
"attributes": {},
|
|
287
|
+
"path": ["base", "text", "size", "xl"],
|
|
288
|
+
"value": "2rem",
|
|
289
|
+
"type": "dimension",
|
|
290
|
+
"description": "32px - Large titles and page headings."
|
|
291
|
+
},
|
|
292
|
+
"base-text-size-xs": {
|
|
293
|
+
"key": "{base.text.size.xs}",
|
|
294
|
+
"$extensions": {
|
|
295
|
+
"org.primer.figma": {
|
|
296
|
+
"collection": "base/typography",
|
|
297
|
+
"scopes": ["fontSize"]
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
301
|
+
"isSource": true,
|
|
302
|
+
"original": {
|
|
303
|
+
"$value": "0.75rem",
|
|
304
|
+
"$type": "dimension",
|
|
305
|
+
"$description": "12px - Smallest text size for captions and compact UI elements.",
|
|
306
|
+
"$extensions": {
|
|
307
|
+
"org.primer.figma": {
|
|
308
|
+
"collection": "base/typography",
|
|
309
|
+
"scopes": ["fontSize"]
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"key": "{base.text.size.xs}"
|
|
313
|
+
},
|
|
314
|
+
"name": "base-text-size-xs",
|
|
315
|
+
"attributes": {},
|
|
316
|
+
"path": ["base", "text", "size", "xs"],
|
|
317
|
+
"value": "0.75rem",
|
|
318
|
+
"type": "dimension",
|
|
319
|
+
"description": "12px - Smallest text size for captions and compact UI elements."
|
|
320
|
+
},
|
|
2
321
|
"base-text-weight-light": {
|
|
3
322
|
"key": "{base.text.weight.light}",
|
|
4
323
|
"$extensions": {
|