@primer/primitives 10.2.0 → 10.3.0-rc.37645a3a
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 +408 -408
- 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 +444 -444
- 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 +7175 -6545
- 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 +1148 -1148
- 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 +6927 -6297
- 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 +7042 -6412
- 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/dark/overrides/dark.protanopia-deuteranopia.json5 +5 -5
- package/src/tokens/functional/color/light/app-light.json5 +1 -274
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +5 -5
|
@@ -1,158 +1,69 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"filePath": "src/tokens/functional/size/border.json5",
|
|
4
|
-
"isSource": true,
|
|
5
|
-
"original": {
|
|
6
|
-
"$value": "inset 0 0 0 {borderWidth.thin}",
|
|
7
|
-
"$description": "Thin shadow for borders",
|
|
8
|
-
"$type": "string"
|
|
9
|
-
},
|
|
10
|
-
"name": "boxShadow-thin",
|
|
11
|
-
"attributes": {},
|
|
12
|
-
"path": ["boxShadow", "thin"],
|
|
13
|
-
"value": "inset 0 0 0 0.0625rem",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "Thin shadow for borders"
|
|
16
|
-
},
|
|
17
|
-
"boxShadow-thick": {
|
|
18
|
-
"filePath": "src/tokens/functional/size/border.json5",
|
|
19
|
-
"isSource": true,
|
|
20
|
-
"original": {
|
|
21
|
-
"$value": "inset 0 0 0 {borderWidth.thick}",
|
|
22
|
-
"$type": "string"
|
|
23
|
-
},
|
|
24
|
-
"name": "boxShadow-thick",
|
|
25
|
-
"attributes": {},
|
|
26
|
-
"path": ["boxShadow", "thick"],
|
|
27
|
-
"value": "inset 0 0 0 0.125rem",
|
|
28
|
-
"type": "string"
|
|
29
|
-
},
|
|
30
|
-
"boxShadow-thicker": {
|
|
31
|
-
"filePath": "src/tokens/functional/size/border.json5",
|
|
32
|
-
"isSource": true,
|
|
33
|
-
"original": {
|
|
34
|
-
"$value": "inset 0 0 0 {borderWidth.thicker}",
|
|
35
|
-
"$type": "string"
|
|
36
|
-
},
|
|
37
|
-
"name": "boxShadow-thicker",
|
|
38
|
-
"attributes": {},
|
|
39
|
-
"path": ["boxShadow", "thicker"],
|
|
40
|
-
"value": "inset 0 0 0 0.25rem",
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
"borderWidth-default": {
|
|
44
|
-
"filePath": "src/tokens/functional/size/border.json5",
|
|
45
|
-
"isSource": true,
|
|
46
|
-
"original": {
|
|
47
|
-
"$value": "{borderWidth.thin}",
|
|
48
|
-
"$type": "dimension"
|
|
49
|
-
},
|
|
50
|
-
"name": "borderWidth-default",
|
|
51
|
-
"attributes": {},
|
|
52
|
-
"path": ["borderWidth", "default"],
|
|
53
|
-
"value": "0.0625rem",
|
|
54
|
-
"type": "dimension"
|
|
55
|
-
},
|
|
56
|
-
"borderWidth-thin": {
|
|
57
|
-
"filePath": "src/tokens/functional/size/border.json5",
|
|
58
|
-
"isSource": true,
|
|
59
|
-
"original": {
|
|
60
|
-
"$value": "1px",
|
|
61
|
-
"$type": "dimension"
|
|
62
|
-
},
|
|
63
|
-
"name": "borderWidth-thin",
|
|
64
|
-
"attributes": {},
|
|
65
|
-
"path": ["borderWidth", "thin"],
|
|
66
|
-
"value": "0.0625rem",
|
|
67
|
-
"type": "dimension"
|
|
68
|
-
},
|
|
69
|
-
"borderWidth-thick": {
|
|
70
|
-
"filePath": "src/tokens/functional/size/border.json5",
|
|
71
|
-
"isSource": true,
|
|
72
|
-
"original": {
|
|
73
|
-
"$value": "2px",
|
|
74
|
-
"$type": "dimension"
|
|
75
|
-
},
|
|
76
|
-
"name": "borderWidth-thick",
|
|
77
|
-
"attributes": {},
|
|
78
|
-
"path": ["borderWidth", "thick"],
|
|
79
|
-
"value": "0.125rem",
|
|
80
|
-
"type": "dimension"
|
|
81
|
-
},
|
|
82
|
-
"borderWidth-thicker": {
|
|
83
|
-
"filePath": "src/tokens/functional/size/border.json5",
|
|
84
|
-
"isSource": true,
|
|
85
|
-
"original": {
|
|
86
|
-
"$value": "4px",
|
|
87
|
-
"$type": "dimension"
|
|
88
|
-
},
|
|
89
|
-
"name": "borderWidth-thicker",
|
|
90
|
-
"attributes": {},
|
|
91
|
-
"path": ["borderWidth", "thicker"],
|
|
92
|
-
"value": "0.25rem",
|
|
93
|
-
"type": "dimension"
|
|
94
|
-
},
|
|
95
|
-
"borderRadius-small": {
|
|
2
|
+
"borderRadius-default": {
|
|
96
3
|
"$extensions": {
|
|
97
4
|
"org.primer.figma": {
|
|
98
5
|
"collection": "functional/size",
|
|
99
6
|
"scopes": ["radius"],
|
|
100
7
|
"codeSyntax": {
|
|
101
|
-
"web": "var(--borderRadius-
|
|
8
|
+
"web": "var(--borderRadius-default) /* utility class: .rounded-2 */"
|
|
102
9
|
}
|
|
103
10
|
}
|
|
104
11
|
},
|
|
105
12
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
106
13
|
"isSource": true,
|
|
107
14
|
"original": {
|
|
108
|
-
"$value": "
|
|
15
|
+
"$value": "{borderRadius.medium}",
|
|
109
16
|
"$type": "dimension",
|
|
110
17
|
"$extensions": {
|
|
111
18
|
"org.primer.figma": {
|
|
112
19
|
"collection": "functional/size",
|
|
113
20
|
"scopes": ["radius"],
|
|
114
21
|
"codeSyntax": {
|
|
115
|
-
"web": "var(--borderRadius-
|
|
22
|
+
"web": "var(--borderRadius-default) /* utility class: .rounded-2 */"
|
|
116
23
|
}
|
|
117
24
|
}
|
|
118
25
|
}
|
|
119
26
|
},
|
|
120
|
-
"name": "borderRadius-
|
|
27
|
+
"name": "borderRadius-default",
|
|
121
28
|
"attributes": {},
|
|
122
|
-
"path": ["borderRadius", "
|
|
123
|
-
"
|
|
29
|
+
"path": ["borderRadius", "default"],
|
|
30
|
+
"key": "{borderRadius.default}",
|
|
31
|
+
"value": "0.375rem",
|
|
124
32
|
"type": "dimension"
|
|
125
33
|
},
|
|
126
|
-
"borderRadius-
|
|
34
|
+
"borderRadius-full": {
|
|
127
35
|
"$extensions": {
|
|
128
36
|
"org.primer.figma": {
|
|
129
37
|
"collection": "functional/size",
|
|
130
38
|
"scopes": ["radius"],
|
|
131
39
|
"codeSyntax": {
|
|
132
|
-
"web": "var(--borderRadius-
|
|
40
|
+
"web": "var(--borderRadius-full) /* utility class: .circle */"
|
|
133
41
|
}
|
|
134
42
|
}
|
|
135
43
|
},
|
|
136
44
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
137
45
|
"isSource": true,
|
|
138
46
|
"original": {
|
|
139
|
-
"$value": "
|
|
47
|
+
"$value": "9999px",
|
|
140
48
|
"$type": "dimension",
|
|
49
|
+
"$description": "Use this border radius for pill shaped elements",
|
|
141
50
|
"$extensions": {
|
|
142
51
|
"org.primer.figma": {
|
|
143
52
|
"collection": "functional/size",
|
|
144
53
|
"scopes": ["radius"],
|
|
145
54
|
"codeSyntax": {
|
|
146
|
-
"web": "var(--borderRadius-
|
|
55
|
+
"web": "var(--borderRadius-full) /* utility class: .circle */"
|
|
147
56
|
}
|
|
148
57
|
}
|
|
149
58
|
}
|
|
150
59
|
},
|
|
151
|
-
"name": "borderRadius-
|
|
60
|
+
"name": "borderRadius-full",
|
|
152
61
|
"attributes": {},
|
|
153
|
-
"path": ["borderRadius", "
|
|
154
|
-
"
|
|
155
|
-
"
|
|
62
|
+
"path": ["borderRadius", "full"],
|
|
63
|
+
"key": "{borderRadius.full}",
|
|
64
|
+
"value": "624.9375rem",
|
|
65
|
+
"type": "dimension",
|
|
66
|
+
"description": "Use this border radius for pill shaped elements"
|
|
156
67
|
},
|
|
157
68
|
"borderRadius-large": {
|
|
158
69
|
"$extensions": {
|
|
@@ -182,73 +93,174 @@
|
|
|
182
93
|
"name": "borderRadius-large",
|
|
183
94
|
"attributes": {},
|
|
184
95
|
"path": ["borderRadius", "large"],
|
|
96
|
+
"key": "{borderRadius.large}",
|
|
185
97
|
"value": "0.75rem",
|
|
186
98
|
"type": "dimension"
|
|
187
99
|
},
|
|
188
|
-
"borderRadius-
|
|
100
|
+
"borderRadius-medium": {
|
|
189
101
|
"$extensions": {
|
|
190
102
|
"org.primer.figma": {
|
|
191
103
|
"collection": "functional/size",
|
|
192
104
|
"scopes": ["radius"],
|
|
193
105
|
"codeSyntax": {
|
|
194
|
-
"web": "var(--borderRadius-
|
|
106
|
+
"web": "var(--borderRadius-medium) /* utility class: .rounded-2 */"
|
|
195
107
|
}
|
|
196
108
|
}
|
|
197
109
|
},
|
|
198
110
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
199
111
|
"isSource": true,
|
|
200
112
|
"original": {
|
|
201
|
-
"$value": "
|
|
113
|
+
"$value": "6px",
|
|
202
114
|
"$type": "dimension",
|
|
203
|
-
"$description": "Use this border radius for pill shaped elements",
|
|
204
115
|
"$extensions": {
|
|
205
116
|
"org.primer.figma": {
|
|
206
117
|
"collection": "functional/size",
|
|
207
118
|
"scopes": ["radius"],
|
|
208
119
|
"codeSyntax": {
|
|
209
|
-
"web": "var(--borderRadius-
|
|
120
|
+
"web": "var(--borderRadius-medium) /* utility class: .rounded-2 */"
|
|
210
121
|
}
|
|
211
122
|
}
|
|
212
123
|
}
|
|
213
124
|
},
|
|
214
|
-
"name": "borderRadius-
|
|
125
|
+
"name": "borderRadius-medium",
|
|
215
126
|
"attributes": {},
|
|
216
|
-
"path": ["borderRadius", "
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
"
|
|
127
|
+
"path": ["borderRadius", "medium"],
|
|
128
|
+
"key": "{borderRadius.medium}",
|
|
129
|
+
"value": "0.375rem",
|
|
130
|
+
"type": "dimension"
|
|
220
131
|
},
|
|
221
|
-
"borderRadius-
|
|
132
|
+
"borderRadius-small": {
|
|
222
133
|
"$extensions": {
|
|
223
134
|
"org.primer.figma": {
|
|
224
135
|
"collection": "functional/size",
|
|
225
136
|
"scopes": ["radius"],
|
|
226
137
|
"codeSyntax": {
|
|
227
|
-
"web": "var(--borderRadius-
|
|
138
|
+
"web": "var(--borderRadius-small) /* utility class: .rounded-1 */"
|
|
228
139
|
}
|
|
229
140
|
}
|
|
230
141
|
},
|
|
231
142
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
232
143
|
"isSource": true,
|
|
233
144
|
"original": {
|
|
234
|
-
"$value": "
|
|
145
|
+
"$value": "3px",
|
|
235
146
|
"$type": "dimension",
|
|
236
147
|
"$extensions": {
|
|
237
148
|
"org.primer.figma": {
|
|
238
149
|
"collection": "functional/size",
|
|
239
150
|
"scopes": ["radius"],
|
|
240
151
|
"codeSyntax": {
|
|
241
|
-
"web": "var(--borderRadius-
|
|
152
|
+
"web": "var(--borderRadius-small) /* utility class: .rounded-1 */"
|
|
242
153
|
}
|
|
243
154
|
}
|
|
244
155
|
}
|
|
245
156
|
},
|
|
246
|
-
"name": "borderRadius-
|
|
157
|
+
"name": "borderRadius-small",
|
|
247
158
|
"attributes": {},
|
|
248
|
-
"path": ["borderRadius", "
|
|
249
|
-
"
|
|
159
|
+
"path": ["borderRadius", "small"],
|
|
160
|
+
"key": "{borderRadius.small}",
|
|
161
|
+
"value": "0.1875rem",
|
|
250
162
|
"type": "dimension"
|
|
251
163
|
},
|
|
164
|
+
"borderWidth-default": {
|
|
165
|
+
"filePath": "src/tokens/functional/size/border.json5",
|
|
166
|
+
"isSource": true,
|
|
167
|
+
"original": {
|
|
168
|
+
"$value": "{borderWidth.thin}",
|
|
169
|
+
"$type": "dimension"
|
|
170
|
+
},
|
|
171
|
+
"name": "borderWidth-default",
|
|
172
|
+
"attributes": {},
|
|
173
|
+
"path": ["borderWidth", "default"],
|
|
174
|
+
"key": "{borderWidth.default}",
|
|
175
|
+
"value": "0.0625rem",
|
|
176
|
+
"type": "dimension"
|
|
177
|
+
},
|
|
178
|
+
"borderWidth-thick": {
|
|
179
|
+
"filePath": "src/tokens/functional/size/border.json5",
|
|
180
|
+
"isSource": true,
|
|
181
|
+
"original": {
|
|
182
|
+
"$value": "2px",
|
|
183
|
+
"$type": "dimension"
|
|
184
|
+
},
|
|
185
|
+
"name": "borderWidth-thick",
|
|
186
|
+
"attributes": {},
|
|
187
|
+
"path": ["borderWidth", "thick"],
|
|
188
|
+
"key": "{borderWidth.thick}",
|
|
189
|
+
"value": "0.125rem",
|
|
190
|
+
"type": "dimension"
|
|
191
|
+
},
|
|
192
|
+
"borderWidth-thicker": {
|
|
193
|
+
"filePath": "src/tokens/functional/size/border.json5",
|
|
194
|
+
"isSource": true,
|
|
195
|
+
"original": {
|
|
196
|
+
"$value": "4px",
|
|
197
|
+
"$type": "dimension"
|
|
198
|
+
},
|
|
199
|
+
"name": "borderWidth-thicker",
|
|
200
|
+
"attributes": {},
|
|
201
|
+
"path": ["borderWidth", "thicker"],
|
|
202
|
+
"key": "{borderWidth.thicker}",
|
|
203
|
+
"value": "0.25rem",
|
|
204
|
+
"type": "dimension"
|
|
205
|
+
},
|
|
206
|
+
"borderWidth-thin": {
|
|
207
|
+
"filePath": "src/tokens/functional/size/border.json5",
|
|
208
|
+
"isSource": true,
|
|
209
|
+
"original": {
|
|
210
|
+
"$value": "1px",
|
|
211
|
+
"$type": "dimension"
|
|
212
|
+
},
|
|
213
|
+
"name": "borderWidth-thin",
|
|
214
|
+
"attributes": {},
|
|
215
|
+
"path": ["borderWidth", "thin"],
|
|
216
|
+
"key": "{borderWidth.thin}",
|
|
217
|
+
"value": "0.0625rem",
|
|
218
|
+
"type": "dimension"
|
|
219
|
+
},
|
|
220
|
+
"boxShadow-thick": {
|
|
221
|
+
"filePath": "src/tokens/functional/size/border.json5",
|
|
222
|
+
"isSource": true,
|
|
223
|
+
"original": {
|
|
224
|
+
"$value": "inset 0 0 0 {borderWidth.thick}",
|
|
225
|
+
"$type": "string"
|
|
226
|
+
},
|
|
227
|
+
"name": "boxShadow-thick",
|
|
228
|
+
"attributes": {},
|
|
229
|
+
"path": ["boxShadow", "thick"],
|
|
230
|
+
"key": "{boxShadow.thick}",
|
|
231
|
+
"value": "inset 0 0 0 0.125rem",
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
234
|
+
"boxShadow-thicker": {
|
|
235
|
+
"filePath": "src/tokens/functional/size/border.json5",
|
|
236
|
+
"isSource": true,
|
|
237
|
+
"original": {
|
|
238
|
+
"$value": "inset 0 0 0 {borderWidth.thicker}",
|
|
239
|
+
"$type": "string"
|
|
240
|
+
},
|
|
241
|
+
"name": "boxShadow-thicker",
|
|
242
|
+
"attributes": {},
|
|
243
|
+
"path": ["boxShadow", "thicker"],
|
|
244
|
+
"key": "{boxShadow.thicker}",
|
|
245
|
+
"value": "inset 0 0 0 0.25rem",
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"boxShadow-thin": {
|
|
249
|
+
"filePath": "src/tokens/functional/size/border.json5",
|
|
250
|
+
"isSource": true,
|
|
251
|
+
"original": {
|
|
252
|
+
"$value": "inset 0 0 0 {borderWidth.thin}",
|
|
253
|
+
"$description": "Thin shadow for borders",
|
|
254
|
+
"$type": "string"
|
|
255
|
+
},
|
|
256
|
+
"name": "boxShadow-thin",
|
|
257
|
+
"attributes": {},
|
|
258
|
+
"path": ["boxShadow", "thin"],
|
|
259
|
+
"key": "{boxShadow.thin}",
|
|
260
|
+
"value": "inset 0 0 0 0.0625rem",
|
|
261
|
+
"type": "string",
|
|
262
|
+
"description": "Thin shadow for borders"
|
|
263
|
+
},
|
|
252
264
|
"outline-focus-offset": {
|
|
253
265
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
254
266
|
"isSource": true,
|
|
@@ -259,6 +271,7 @@
|
|
|
259
271
|
"name": "outline-focus-offset",
|
|
260
272
|
"attributes": {},
|
|
261
273
|
"path": ["outline", "focus", "offset"],
|
|
274
|
+
"key": "{outline.focus.offset}",
|
|
262
275
|
"value": "-0.125rem",
|
|
263
276
|
"type": "dimension"
|
|
264
277
|
},
|
|
@@ -272,6 +285,7 @@
|
|
|
272
285
|
"name": "outline-focus-width",
|
|
273
286
|
"attributes": {},
|
|
274
287
|
"path": ["outline", "focus", "width"],
|
|
288
|
+
"key": "{outline.focus.width}",
|
|
275
289
|
"value": "0.125rem",
|
|
276
290
|
"type": "dimension"
|
|
277
291
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"breakpoint-
|
|
2
|
+
"breakpoint-large": {
|
|
3
3
|
"$extensions": {
|
|
4
4
|
"org.primer.figma": {
|
|
5
5
|
"collection": "functional/size",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
10
10
|
"isSource": true,
|
|
11
11
|
"original": {
|
|
12
|
-
"$value": "
|
|
12
|
+
"$value": "1012px",
|
|
13
13
|
"$type": "dimension",
|
|
14
14
|
"$extensions": {
|
|
15
15
|
"org.primer.figma": {
|
|
@@ -18,13 +18,14 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
-
"name": "breakpoint-
|
|
21
|
+
"name": "breakpoint-large",
|
|
22
22
|
"attributes": {},
|
|
23
|
-
"path": ["breakpoint", "
|
|
24
|
-
"
|
|
23
|
+
"path": ["breakpoint", "large"],
|
|
24
|
+
"key": "{breakpoint.large}",
|
|
25
|
+
"value": "63.25rem",
|
|
25
26
|
"type": "dimension"
|
|
26
27
|
},
|
|
27
|
-
"breakpoint-
|
|
28
|
+
"breakpoint-medium": {
|
|
28
29
|
"$extensions": {
|
|
29
30
|
"org.primer.figma": {
|
|
30
31
|
"collection": "functional/size",
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
35
36
|
"isSource": true,
|
|
36
37
|
"original": {
|
|
37
|
-
"$value": "
|
|
38
|
+
"$value": "768px",
|
|
38
39
|
"$type": "dimension",
|
|
39
40
|
"$extensions": {
|
|
40
41
|
"org.primer.figma": {
|
|
@@ -43,13 +44,14 @@
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
},
|
|
46
|
-
"name": "breakpoint-
|
|
47
|
+
"name": "breakpoint-medium",
|
|
47
48
|
"attributes": {},
|
|
48
|
-
"path": ["breakpoint", "
|
|
49
|
-
"
|
|
49
|
+
"path": ["breakpoint", "medium"],
|
|
50
|
+
"key": "{breakpoint.medium}",
|
|
51
|
+
"value": "48rem",
|
|
50
52
|
"type": "dimension"
|
|
51
53
|
},
|
|
52
|
-
"breakpoint-
|
|
54
|
+
"breakpoint-small": {
|
|
53
55
|
"$extensions": {
|
|
54
56
|
"org.primer.figma": {
|
|
55
57
|
"collection": "functional/size",
|
|
@@ -59,7 +61,7 @@
|
|
|
59
61
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
60
62
|
"isSource": true,
|
|
61
63
|
"original": {
|
|
62
|
-
"$value": "
|
|
64
|
+
"$value": "544px",
|
|
63
65
|
"$type": "dimension",
|
|
64
66
|
"$extensions": {
|
|
65
67
|
"org.primer.figma": {
|
|
@@ -68,13 +70,14 @@
|
|
|
68
70
|
}
|
|
69
71
|
}
|
|
70
72
|
},
|
|
71
|
-
"name": "breakpoint-
|
|
73
|
+
"name": "breakpoint-small",
|
|
72
74
|
"attributes": {},
|
|
73
|
-
"path": ["breakpoint", "
|
|
74
|
-
"
|
|
75
|
+
"path": ["breakpoint", "small"],
|
|
76
|
+
"key": "{breakpoint.small}",
|
|
77
|
+
"value": "34rem",
|
|
75
78
|
"type": "dimension"
|
|
76
79
|
},
|
|
77
|
-
"breakpoint-
|
|
80
|
+
"breakpoint-xlarge": {
|
|
78
81
|
"$extensions": {
|
|
79
82
|
"org.primer.figma": {
|
|
80
83
|
"collection": "functional/size",
|
|
@@ -84,7 +87,7 @@
|
|
|
84
87
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
85
88
|
"isSource": true,
|
|
86
89
|
"original": {
|
|
87
|
-
"$value": "
|
|
90
|
+
"$value": "1280px",
|
|
88
91
|
"$type": "dimension",
|
|
89
92
|
"$extensions": {
|
|
90
93
|
"org.primer.figma": {
|
|
@@ -93,13 +96,14 @@
|
|
|
93
96
|
}
|
|
94
97
|
}
|
|
95
98
|
},
|
|
96
|
-
"name": "breakpoint-
|
|
99
|
+
"name": "breakpoint-xlarge",
|
|
97
100
|
"attributes": {},
|
|
98
|
-
"path": ["breakpoint", "
|
|
99
|
-
"
|
|
101
|
+
"path": ["breakpoint", "xlarge"],
|
|
102
|
+
"key": "{breakpoint.xlarge}",
|
|
103
|
+
"value": "80rem",
|
|
100
104
|
"type": "dimension"
|
|
101
105
|
},
|
|
102
|
-
"breakpoint-
|
|
106
|
+
"breakpoint-xsmall": {
|
|
103
107
|
"$extensions": {
|
|
104
108
|
"org.primer.figma": {
|
|
105
109
|
"collection": "functional/size",
|
|
@@ -109,7 +113,7 @@
|
|
|
109
113
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
110
114
|
"isSource": true,
|
|
111
115
|
"original": {
|
|
112
|
-
"$value": "
|
|
116
|
+
"$value": "320px",
|
|
113
117
|
"$type": "dimension",
|
|
114
118
|
"$extensions": {
|
|
115
119
|
"org.primer.figma": {
|
|
@@ -118,10 +122,11 @@
|
|
|
118
122
|
}
|
|
119
123
|
}
|
|
120
124
|
},
|
|
121
|
-
"name": "breakpoint-
|
|
125
|
+
"name": "breakpoint-xsmall",
|
|
122
126
|
"attributes": {},
|
|
123
|
-
"path": ["breakpoint", "
|
|
124
|
-
"
|
|
127
|
+
"path": ["breakpoint", "xsmall"],
|
|
128
|
+
"key": "{breakpoint.xsmall}",
|
|
129
|
+
"value": "20rem",
|
|
125
130
|
"type": "dimension"
|
|
126
131
|
},
|
|
127
132
|
"breakpoint-xxlarge": {
|
|
@@ -146,6 +151,7 @@
|
|
|
146
151
|
"name": "breakpoint-xxlarge",
|
|
147
152
|
"attributes": {},
|
|
148
153
|
"path": ["breakpoint", "xxlarge"],
|
|
154
|
+
"key": "{breakpoint.xxlarge}",
|
|
149
155
|
"value": "87.5rem",
|
|
150
156
|
"type": "dimension"
|
|
151
157
|
}
|
|
@@ -9,33 +9,36 @@
|
|
|
9
9
|
"name": "control-minTarget-auto",
|
|
10
10
|
"attributes": {},
|
|
11
11
|
"path": ["control", "minTarget", "auto"],
|
|
12
|
+
"key": "{control.minTarget.auto}",
|
|
12
13
|
"value": "2.75rem",
|
|
13
14
|
"type": "dimension"
|
|
14
15
|
},
|
|
15
|
-
"controlStack-
|
|
16
|
+
"controlStack-medium-gap-auto": {
|
|
16
17
|
"filePath": "src/tokens/functional/size/size-coarse.json5",
|
|
17
18
|
"isSource": true,
|
|
18
19
|
"original": {
|
|
19
|
-
"$value": "{base.size.
|
|
20
|
+
"$value": "{base.size.12}",
|
|
20
21
|
"$type": "dimension"
|
|
21
22
|
},
|
|
22
|
-
"name": "controlStack-
|
|
23
|
+
"name": "controlStack-medium-gap-auto",
|
|
23
24
|
"attributes": {},
|
|
24
|
-
"path": ["controlStack", "
|
|
25
|
-
"
|
|
25
|
+
"path": ["controlStack", "medium", "gap", "auto"],
|
|
26
|
+
"key": "{controlStack.medium.gap.auto}",
|
|
27
|
+
"value": "0.75rem",
|
|
26
28
|
"type": "dimension"
|
|
27
29
|
},
|
|
28
|
-
"controlStack-
|
|
30
|
+
"controlStack-small-gap-auto": {
|
|
29
31
|
"filePath": "src/tokens/functional/size/size-coarse.json5",
|
|
30
32
|
"isSource": true,
|
|
31
33
|
"original": {
|
|
32
|
-
"$value": "{base.size.
|
|
34
|
+
"$value": "{base.size.16}",
|
|
33
35
|
"$type": "dimension"
|
|
34
36
|
},
|
|
35
|
-
"name": "controlStack-
|
|
37
|
+
"name": "controlStack-small-gap-auto",
|
|
36
38
|
"attributes": {},
|
|
37
|
-
"path": ["controlStack", "
|
|
38
|
-
"
|
|
39
|
+
"path": ["controlStack", "small", "gap", "auto"],
|
|
40
|
+
"key": "{controlStack.small.gap.auto}",
|
|
41
|
+
"value": "1rem",
|
|
39
42
|
"type": "dimension"
|
|
40
43
|
}
|
|
41
44
|
}
|
|
@@ -9,32 +9,35 @@
|
|
|
9
9
|
"name": "control-minTarget-auto",
|
|
10
10
|
"attributes": {},
|
|
11
11
|
"path": ["control", "minTarget", "auto"],
|
|
12
|
+
"key": "{control.minTarget.auto}",
|
|
12
13
|
"value": "1rem",
|
|
13
14
|
"type": "dimension"
|
|
14
15
|
},
|
|
15
|
-
"controlStack-
|
|
16
|
+
"controlStack-medium-gap-auto": {
|
|
16
17
|
"filePath": "src/tokens/functional/size/size-fine.json5",
|
|
17
18
|
"isSource": true,
|
|
18
19
|
"original": {
|
|
19
20
|
"$value": "{base.size.8}",
|
|
20
21
|
"$type": "dimension"
|
|
21
22
|
},
|
|
22
|
-
"name": "controlStack-
|
|
23
|
+
"name": "controlStack-medium-gap-auto",
|
|
23
24
|
"attributes": {},
|
|
24
|
-
"path": ["controlStack", "
|
|
25
|
+
"path": ["controlStack", "medium", "gap", "auto"],
|
|
26
|
+
"key": "{controlStack.medium.gap.auto}",
|
|
25
27
|
"value": "0.5rem",
|
|
26
28
|
"type": "dimension"
|
|
27
29
|
},
|
|
28
|
-
"controlStack-
|
|
30
|
+
"controlStack-small-gap-auto": {
|
|
29
31
|
"filePath": "src/tokens/functional/size/size-fine.json5",
|
|
30
32
|
"isSource": true,
|
|
31
33
|
"original": {
|
|
32
34
|
"$value": "{base.size.8}",
|
|
33
35
|
"$type": "dimension"
|
|
34
36
|
},
|
|
35
|
-
"name": "controlStack-
|
|
37
|
+
"name": "controlStack-small-gap-auto",
|
|
36
38
|
"attributes": {},
|
|
37
|
-
"path": ["controlStack", "
|
|
39
|
+
"path": ["controlStack", "small", "gap", "auto"],
|
|
40
|
+
"key": "{controlStack.small.gap.auto}",
|
|
38
41
|
"value": "0.5rem",
|
|
39
42
|
"type": "dimension"
|
|
40
43
|
}
|