@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,64 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"base-easing-linear": {
|
|
3
|
-
"$value": [0, 0, 1, 1],
|
|
4
|
-
"$type": "cubicBezier",
|
|
5
|
-
"$description": "Ideal for non-movement properties, like opacity or background color.",
|
|
6
|
-
"filePath": "src/tokens/base/motion/easing.json5",
|
|
7
|
-
"isSource": true,
|
|
8
|
-
"original": {
|
|
9
|
-
"$value": [0, 0, 1, 1],
|
|
10
|
-
"$type": "cubicBezier",
|
|
11
|
-
"$description": "Ideal for non-movement properties, like opacity or background color."
|
|
12
|
-
},
|
|
13
|
-
"name": "base-easing-linear",
|
|
14
|
-
"attributes": {},
|
|
15
|
-
"path": ["base", "easing", "linear"]
|
|
16
|
-
},
|
|
17
|
-
"base-easing-easeIn": {
|
|
18
|
-
"$value": [0.7, 0.1, 0.75, 0.9],
|
|
19
|
-
"$type": "cubicBezier",
|
|
20
|
-
"$description": "Ideal for movement that starts on the page and ends off the page.",
|
|
21
|
-
"filePath": "src/tokens/base/motion/easing.json5",
|
|
22
|
-
"isSource": true,
|
|
23
|
-
"original": {
|
|
24
|
-
"$value": [0.7, 0.1, 0.75, 0.9],
|
|
25
|
-
"$type": "cubicBezier",
|
|
26
|
-
"$description": "Ideal for movement that starts on the page and ends off the page."
|
|
27
|
-
},
|
|
28
|
-
"name": "base-easing-easeIn",
|
|
29
|
-
"attributes": {},
|
|
30
|
-
"path": ["base", "easing", "easeIn"]
|
|
31
|
-
},
|
|
32
|
-
"base-easing-easeOut": {
|
|
33
|
-
"$value": [0.16, 1, 0.3, 1],
|
|
34
|
-
"$type": "cubicBezier",
|
|
35
|
-
"$description": "Ideal for movement that starts off the page and ends on the page.",
|
|
36
|
-
"filePath": "src/tokens/base/motion/easing.json5",
|
|
37
|
-
"isSource": true,
|
|
38
|
-
"original": {
|
|
39
|
-
"$value": [0.16, 1, 0.3, 1],
|
|
40
|
-
"$type": "cubicBezier",
|
|
41
|
-
"$description": "Ideal for movement that starts off the page and ends on the page."
|
|
42
|
-
},
|
|
43
|
-
"name": "base-easing-easeOut",
|
|
44
|
-
"attributes": {},
|
|
45
|
-
"path": ["base", "easing", "easeOut"]
|
|
46
|
-
},
|
|
47
|
-
"base-easing-easeInOut": {
|
|
48
|
-
"$value": [0.6, 0, 0.2, 1],
|
|
49
|
-
"$type": "cubicBezier",
|
|
50
|
-
"$description": "Ideal for movement that starts and ends on the page.",
|
|
51
|
-
"filePath": "src/tokens/base/motion/easing.json5",
|
|
52
|
-
"isSource": true,
|
|
53
|
-
"original": {
|
|
54
|
-
"$value": [0.6, 0, 0.2, 1],
|
|
55
|
-
"$type": "cubicBezier",
|
|
56
|
-
"$description": "Ideal for movement that starts and ends on the page."
|
|
57
|
-
},
|
|
58
|
-
"name": "base-easing-easeInOut",
|
|
59
|
-
"attributes": {},
|
|
60
|
-
"path": ["base", "easing", "easeInOut"]
|
|
61
|
-
},
|
|
62
2
|
"base-duration-0": {
|
|
63
3
|
"$value": "0ms",
|
|
64
4
|
"$type": "duration",
|
|
@@ -70,20 +10,22 @@
|
|
|
70
10
|
},
|
|
71
11
|
"name": "base-duration-0",
|
|
72
12
|
"attributes": {},
|
|
73
|
-
"path": ["base", "duration", "0"]
|
|
13
|
+
"path": ["base", "duration", "0"],
|
|
14
|
+
"key": "{base.duration.0}"
|
|
74
15
|
},
|
|
75
|
-
"base-duration-
|
|
76
|
-
"$value": "
|
|
16
|
+
"base-duration-1000": {
|
|
17
|
+
"$value": "1000ms",
|
|
77
18
|
"$type": "duration",
|
|
78
19
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
79
20
|
"isSource": true,
|
|
80
21
|
"original": {
|
|
81
|
-
"$value": "
|
|
22
|
+
"$value": "1000ms",
|
|
82
23
|
"$type": "duration"
|
|
83
24
|
},
|
|
84
|
-
"name": "base-duration-
|
|
25
|
+
"name": "base-duration-1000",
|
|
85
26
|
"attributes": {},
|
|
86
|
-
"path": ["base", "duration", "
|
|
27
|
+
"path": ["base", "duration", "1000"],
|
|
28
|
+
"key": "{base.duration.1000}"
|
|
87
29
|
},
|
|
88
30
|
"base-duration-200": {
|
|
89
31
|
"$value": "200ms",
|
|
@@ -96,7 +38,8 @@
|
|
|
96
38
|
},
|
|
97
39
|
"name": "base-duration-200",
|
|
98
40
|
"attributes": {},
|
|
99
|
-
"path": ["base", "duration", "200"]
|
|
41
|
+
"path": ["base", "duration", "200"],
|
|
42
|
+
"key": "{base.duration.200}"
|
|
100
43
|
},
|
|
101
44
|
"base-duration-300": {
|
|
102
45
|
"$value": "300ms",
|
|
@@ -109,7 +52,8 @@
|
|
|
109
52
|
},
|
|
110
53
|
"name": "base-duration-300",
|
|
111
54
|
"attributes": {},
|
|
112
|
-
"path": ["base", "duration", "300"]
|
|
55
|
+
"path": ["base", "duration", "300"],
|
|
56
|
+
"key": "{base.duration.300}"
|
|
113
57
|
},
|
|
114
58
|
"base-duration-400": {
|
|
115
59
|
"$value": "400ms",
|
|
@@ -122,7 +66,8 @@
|
|
|
122
66
|
},
|
|
123
67
|
"name": "base-duration-400",
|
|
124
68
|
"attributes": {},
|
|
125
|
-
"path": ["base", "duration", "400"]
|
|
69
|
+
"path": ["base", "duration", "400"],
|
|
70
|
+
"key": "{base.duration.400}"
|
|
126
71
|
},
|
|
127
72
|
"base-duration-500": {
|
|
128
73
|
"$value": "500ms",
|
|
@@ -135,7 +80,8 @@
|
|
|
135
80
|
},
|
|
136
81
|
"name": "base-duration-500",
|
|
137
82
|
"attributes": {},
|
|
138
|
-
"path": ["base", "duration", "500"]
|
|
83
|
+
"path": ["base", "duration", "500"],
|
|
84
|
+
"key": "{base.duration.500}"
|
|
139
85
|
},
|
|
140
86
|
"base-duration-600": {
|
|
141
87
|
"$value": "600ms",
|
|
@@ -148,7 +94,8 @@
|
|
|
148
94
|
},
|
|
149
95
|
"name": "base-duration-600",
|
|
150
96
|
"attributes": {},
|
|
151
|
-
"path": ["base", "duration", "600"]
|
|
97
|
+
"path": ["base", "duration", "600"],
|
|
98
|
+
"key": "{base.duration.600}"
|
|
152
99
|
},
|
|
153
100
|
"base-duration-700": {
|
|
154
101
|
"$value": "700ms",
|
|
@@ -161,7 +108,22 @@
|
|
|
161
108
|
},
|
|
162
109
|
"name": "base-duration-700",
|
|
163
110
|
"attributes": {},
|
|
164
|
-
"path": ["base", "duration", "700"]
|
|
111
|
+
"path": ["base", "duration", "700"],
|
|
112
|
+
"key": "{base.duration.700}"
|
|
113
|
+
},
|
|
114
|
+
"base-duration-75": {
|
|
115
|
+
"$value": "75ms",
|
|
116
|
+
"$type": "duration",
|
|
117
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
118
|
+
"isSource": true,
|
|
119
|
+
"original": {
|
|
120
|
+
"$value": "75ms",
|
|
121
|
+
"$type": "duration"
|
|
122
|
+
},
|
|
123
|
+
"name": "base-duration-75",
|
|
124
|
+
"attributes": {},
|
|
125
|
+
"path": ["base", "duration", "75"],
|
|
126
|
+
"key": "{base.duration.75}"
|
|
165
127
|
},
|
|
166
128
|
"base-duration-800": {
|
|
167
129
|
"$value": "800ms",
|
|
@@ -174,7 +136,8 @@
|
|
|
174
136
|
},
|
|
175
137
|
"name": "base-duration-800",
|
|
176
138
|
"attributes": {},
|
|
177
|
-
"path": ["base", "duration", "800"]
|
|
139
|
+
"path": ["base", "duration", "800"],
|
|
140
|
+
"key": "{base.duration.800}"
|
|
178
141
|
},
|
|
179
142
|
"base-duration-900": {
|
|
180
143
|
"$value": "900ms",
|
|
@@ -187,19 +150,71 @@
|
|
|
187
150
|
},
|
|
188
151
|
"name": "base-duration-900",
|
|
189
152
|
"attributes": {},
|
|
190
|
-
"path": ["base", "duration", "900"]
|
|
153
|
+
"path": ["base", "duration", "900"],
|
|
154
|
+
"key": "{base.duration.900}"
|
|
191
155
|
},
|
|
192
|
-
"base-
|
|
193
|
-
"$value":
|
|
194
|
-
"$type": "
|
|
195
|
-
"
|
|
156
|
+
"base-easing-easeIn": {
|
|
157
|
+
"$value": [0.7, 0.1, 0.75, 0.9],
|
|
158
|
+
"$type": "cubicBezier",
|
|
159
|
+
"$description": "Ideal for movement that starts on the page and ends off the page.",
|
|
160
|
+
"filePath": "src/tokens/base/motion/easing.json5",
|
|
196
161
|
"isSource": true,
|
|
197
162
|
"original": {
|
|
198
|
-
"$value":
|
|
199
|
-
"$type": "
|
|
163
|
+
"$value": [0.7, 0.1, 0.75, 0.9],
|
|
164
|
+
"$type": "cubicBezier",
|
|
165
|
+
"$description": "Ideal for movement that starts on the page and ends off the page."
|
|
200
166
|
},
|
|
201
|
-
"name": "base-
|
|
167
|
+
"name": "base-easing-easeIn",
|
|
168
|
+
"attributes": {},
|
|
169
|
+
"path": ["base", "easing", "easeIn"],
|
|
170
|
+
"key": "{base.easing.easeIn}"
|
|
171
|
+
},
|
|
172
|
+
"base-easing-easeInOut": {
|
|
173
|
+
"$value": [0.6, 0, 0.2, 1],
|
|
174
|
+
"$type": "cubicBezier",
|
|
175
|
+
"$description": "Ideal for movement that starts and ends on the page.",
|
|
176
|
+
"filePath": "src/tokens/base/motion/easing.json5",
|
|
177
|
+
"isSource": true,
|
|
178
|
+
"original": {
|
|
179
|
+
"$value": [0.6, 0, 0.2, 1],
|
|
180
|
+
"$type": "cubicBezier",
|
|
181
|
+
"$description": "Ideal for movement that starts and ends on the page."
|
|
182
|
+
},
|
|
183
|
+
"name": "base-easing-easeInOut",
|
|
184
|
+
"attributes": {},
|
|
185
|
+
"path": ["base", "easing", "easeInOut"],
|
|
186
|
+
"key": "{base.easing.easeInOut}"
|
|
187
|
+
},
|
|
188
|
+
"base-easing-easeOut": {
|
|
189
|
+
"$value": [0.16, 1, 0.3, 1],
|
|
190
|
+
"$type": "cubicBezier",
|
|
191
|
+
"$description": "Ideal for movement that starts off the page and ends on the page.",
|
|
192
|
+
"filePath": "src/tokens/base/motion/easing.json5",
|
|
193
|
+
"isSource": true,
|
|
194
|
+
"original": {
|
|
195
|
+
"$value": [0.16, 1, 0.3, 1],
|
|
196
|
+
"$type": "cubicBezier",
|
|
197
|
+
"$description": "Ideal for movement that starts off the page and ends on the page."
|
|
198
|
+
},
|
|
199
|
+
"name": "base-easing-easeOut",
|
|
200
|
+
"attributes": {},
|
|
201
|
+
"path": ["base", "easing", "easeOut"],
|
|
202
|
+
"key": "{base.easing.easeOut}"
|
|
203
|
+
},
|
|
204
|
+
"base-easing-linear": {
|
|
205
|
+
"$value": [0, 0, 1, 1],
|
|
206
|
+
"$type": "cubicBezier",
|
|
207
|
+
"$description": "Ideal for non-movement properties, like opacity or background color.",
|
|
208
|
+
"filePath": "src/tokens/base/motion/easing.json5",
|
|
209
|
+
"isSource": true,
|
|
210
|
+
"original": {
|
|
211
|
+
"$value": [0, 0, 1, 1],
|
|
212
|
+
"$type": "cubicBezier",
|
|
213
|
+
"$description": "Ideal for non-movement properties, like opacity or background color."
|
|
214
|
+
},
|
|
215
|
+
"name": "base-easing-linear",
|
|
202
216
|
"attributes": {},
|
|
203
|
-
"path": ["base", "
|
|
217
|
+
"path": ["base", "easing", "linear"],
|
|
218
|
+
"key": "{base.easing.linear}"
|
|
204
219
|
}
|
|
205
220
|
}
|
|
@@ -1,31 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"base-size-
|
|
3
|
-
"$value": ["
|
|
4
|
-
"$type": "dimension",
|
|
5
|
-
"$extensions": {
|
|
6
|
-
"org.primer.figma": {
|
|
7
|
-
"collection": "base/size",
|
|
8
|
-
"scopes": ["size"]
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"filePath": "src/tokens/base/size/size.json5",
|
|
12
|
-
"isSource": true,
|
|
13
|
-
"original": {
|
|
14
|
-
"$value": "2px",
|
|
15
|
-
"$type": "dimension",
|
|
16
|
-
"$extensions": {
|
|
17
|
-
"org.primer.figma": {
|
|
18
|
-
"collection": "base/size",
|
|
19
|
-
"scopes": ["size"]
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"name": "base-size-2",
|
|
24
|
-
"attributes": {},
|
|
25
|
-
"path": ["base", "size", "2"]
|
|
26
|
-
},
|
|
27
|
-
"base-size-4": {
|
|
28
|
-
"$value": ["0.25rem", "4px"],
|
|
2
|
+
"base-size-112": {
|
|
3
|
+
"$value": ["7rem", "112px"],
|
|
29
4
|
"$type": "dimension",
|
|
30
5
|
"$extensions": {
|
|
31
6
|
"org.primer.figma": {
|
|
@@ -36,7 +11,7 @@
|
|
|
36
11
|
"filePath": "src/tokens/base/size/size.json5",
|
|
37
12
|
"isSource": true,
|
|
38
13
|
"original": {
|
|
39
|
-
"$value": "
|
|
14
|
+
"$value": "112px",
|
|
40
15
|
"$type": "dimension",
|
|
41
16
|
"$extensions": {
|
|
42
17
|
"org.primer.figma": {
|
|
@@ -45,12 +20,13 @@
|
|
|
45
20
|
}
|
|
46
21
|
}
|
|
47
22
|
},
|
|
48
|
-
"name": "base-size-
|
|
23
|
+
"name": "base-size-112",
|
|
49
24
|
"attributes": {},
|
|
50
|
-
"path": ["base", "size", "
|
|
25
|
+
"path": ["base", "size", "112"],
|
|
26
|
+
"key": "{base.size.112}"
|
|
51
27
|
},
|
|
52
|
-
"base-size-
|
|
53
|
-
"$value": ["0.
|
|
28
|
+
"base-size-12": {
|
|
29
|
+
"$value": ["0.75rem", "12px"],
|
|
54
30
|
"$type": "dimension",
|
|
55
31
|
"$extensions": {
|
|
56
32
|
"org.primer.figma": {
|
|
@@ -61,7 +37,7 @@
|
|
|
61
37
|
"filePath": "src/tokens/base/size/size.json5",
|
|
62
38
|
"isSource": true,
|
|
63
39
|
"original": {
|
|
64
|
-
"$value": "
|
|
40
|
+
"$value": "12px",
|
|
65
41
|
"$type": "dimension",
|
|
66
42
|
"$extensions": {
|
|
67
43
|
"org.primer.figma": {
|
|
@@ -70,12 +46,13 @@
|
|
|
70
46
|
}
|
|
71
47
|
}
|
|
72
48
|
},
|
|
73
|
-
"name": "base-size-
|
|
49
|
+
"name": "base-size-12",
|
|
74
50
|
"attributes": {},
|
|
75
|
-
"path": ["base", "size", "
|
|
51
|
+
"path": ["base", "size", "12"],
|
|
52
|
+
"key": "{base.size.12}"
|
|
76
53
|
},
|
|
77
|
-
"base-size-
|
|
78
|
-
"$value": ["
|
|
54
|
+
"base-size-128": {
|
|
55
|
+
"$value": ["8rem", "128px"],
|
|
79
56
|
"$type": "dimension",
|
|
80
57
|
"$extensions": {
|
|
81
58
|
"org.primer.figma": {
|
|
@@ -86,7 +63,7 @@
|
|
|
86
63
|
"filePath": "src/tokens/base/size/size.json5",
|
|
87
64
|
"isSource": true,
|
|
88
65
|
"original": {
|
|
89
|
-
"$value": "
|
|
66
|
+
"$value": "128px",
|
|
90
67
|
"$type": "dimension",
|
|
91
68
|
"$extensions": {
|
|
92
69
|
"org.primer.figma": {
|
|
@@ -95,12 +72,13 @@
|
|
|
95
72
|
}
|
|
96
73
|
}
|
|
97
74
|
},
|
|
98
|
-
"name": "base-size-
|
|
75
|
+
"name": "base-size-128",
|
|
99
76
|
"attributes": {},
|
|
100
|
-
"path": ["base", "size", "
|
|
77
|
+
"path": ["base", "size", "128"],
|
|
78
|
+
"key": "{base.size.128}"
|
|
101
79
|
},
|
|
102
|
-
"base-size-
|
|
103
|
-
"$value": ["
|
|
80
|
+
"base-size-16": {
|
|
81
|
+
"$value": ["1rem", "16px"],
|
|
104
82
|
"$type": "dimension",
|
|
105
83
|
"$extensions": {
|
|
106
84
|
"org.primer.figma": {
|
|
@@ -111,7 +89,7 @@
|
|
|
111
89
|
"filePath": "src/tokens/base/size/size.json5",
|
|
112
90
|
"isSource": true,
|
|
113
91
|
"original": {
|
|
114
|
-
"$value": "
|
|
92
|
+
"$value": "16px",
|
|
115
93
|
"$type": "dimension",
|
|
116
94
|
"$extensions": {
|
|
117
95
|
"org.primer.figma": {
|
|
@@ -120,12 +98,13 @@
|
|
|
120
98
|
}
|
|
121
99
|
}
|
|
122
100
|
},
|
|
123
|
-
"name": "base-size-
|
|
101
|
+
"name": "base-size-16",
|
|
124
102
|
"attributes": {},
|
|
125
|
-
"path": ["base", "size", "
|
|
103
|
+
"path": ["base", "size", "16"],
|
|
104
|
+
"key": "{base.size.16}"
|
|
126
105
|
},
|
|
127
|
-
"base-size-
|
|
128
|
-
"$value": ["
|
|
106
|
+
"base-size-2": {
|
|
107
|
+
"$value": ["0.125rem", "2px"],
|
|
129
108
|
"$type": "dimension",
|
|
130
109
|
"$extensions": {
|
|
131
110
|
"org.primer.figma": {
|
|
@@ -136,7 +115,7 @@
|
|
|
136
115
|
"filePath": "src/tokens/base/size/size.json5",
|
|
137
116
|
"isSource": true,
|
|
138
117
|
"original": {
|
|
139
|
-
"$value": "
|
|
118
|
+
"$value": "2px",
|
|
140
119
|
"$type": "dimension",
|
|
141
120
|
"$extensions": {
|
|
142
121
|
"org.primer.figma": {
|
|
@@ -145,9 +124,10 @@
|
|
|
145
124
|
}
|
|
146
125
|
}
|
|
147
126
|
},
|
|
148
|
-
"name": "base-size-
|
|
127
|
+
"name": "base-size-2",
|
|
149
128
|
"attributes": {},
|
|
150
|
-
"path": ["base", "size", "
|
|
129
|
+
"path": ["base", "size", "2"],
|
|
130
|
+
"key": "{base.size.2}"
|
|
151
131
|
},
|
|
152
132
|
"base-size-20": {
|
|
153
133
|
"$value": ["1.25rem", "20px"],
|
|
@@ -172,7 +152,8 @@
|
|
|
172
152
|
},
|
|
173
153
|
"name": "base-size-20",
|
|
174
154
|
"attributes": {},
|
|
175
|
-
"path": ["base", "size", "20"]
|
|
155
|
+
"path": ["base", "size", "20"],
|
|
156
|
+
"key": "{base.size.20}"
|
|
176
157
|
},
|
|
177
158
|
"base-size-24": {
|
|
178
159
|
"$value": ["1.5rem", "24px"],
|
|
@@ -197,7 +178,8 @@
|
|
|
197
178
|
},
|
|
198
179
|
"name": "base-size-24",
|
|
199
180
|
"attributes": {},
|
|
200
|
-
"path": ["base", "size", "24"]
|
|
181
|
+
"path": ["base", "size", "24"],
|
|
182
|
+
"key": "{base.size.24}"
|
|
201
183
|
},
|
|
202
184
|
"base-size-28": {
|
|
203
185
|
"$value": ["1.75rem", "28px"],
|
|
@@ -222,7 +204,8 @@
|
|
|
222
204
|
},
|
|
223
205
|
"name": "base-size-28",
|
|
224
206
|
"attributes": {},
|
|
225
|
-
"path": ["base", "size", "28"]
|
|
207
|
+
"path": ["base", "size", "28"],
|
|
208
|
+
"key": "{base.size.28}"
|
|
226
209
|
},
|
|
227
210
|
"base-size-32": {
|
|
228
211
|
"$value": ["2rem", "32px"],
|
|
@@ -247,7 +230,8 @@
|
|
|
247
230
|
},
|
|
248
231
|
"name": "base-size-32",
|
|
249
232
|
"attributes": {},
|
|
250
|
-
"path": ["base", "size", "32"]
|
|
233
|
+
"path": ["base", "size", "32"],
|
|
234
|
+
"key": "{base.size.32}"
|
|
251
235
|
},
|
|
252
236
|
"base-size-36": {
|
|
253
237
|
"$value": ["2.25rem", "36px"],
|
|
@@ -272,7 +256,34 @@
|
|
|
272
256
|
},
|
|
273
257
|
"name": "base-size-36",
|
|
274
258
|
"attributes": {},
|
|
275
|
-
"path": ["base", "size", "36"]
|
|
259
|
+
"path": ["base", "size", "36"],
|
|
260
|
+
"key": "{base.size.36}"
|
|
261
|
+
},
|
|
262
|
+
"base-size-4": {
|
|
263
|
+
"$value": ["0.25rem", "4px"],
|
|
264
|
+
"$type": "dimension",
|
|
265
|
+
"$extensions": {
|
|
266
|
+
"org.primer.figma": {
|
|
267
|
+
"collection": "base/size",
|
|
268
|
+
"scopes": ["size"]
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
272
|
+
"isSource": true,
|
|
273
|
+
"original": {
|
|
274
|
+
"$value": "4px",
|
|
275
|
+
"$type": "dimension",
|
|
276
|
+
"$extensions": {
|
|
277
|
+
"org.primer.figma": {
|
|
278
|
+
"collection": "base/size",
|
|
279
|
+
"scopes": ["size"]
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"name": "base-size-4",
|
|
284
|
+
"attributes": {},
|
|
285
|
+
"path": ["base", "size", "4"],
|
|
286
|
+
"key": "{base.size.4}"
|
|
276
287
|
},
|
|
277
288
|
"base-size-40": {
|
|
278
289
|
"$value": ["2.5rem", "40px"],
|
|
@@ -297,7 +308,8 @@
|
|
|
297
308
|
},
|
|
298
309
|
"name": "base-size-40",
|
|
299
310
|
"attributes": {},
|
|
300
|
-
"path": ["base", "size", "40"]
|
|
311
|
+
"path": ["base", "size", "40"],
|
|
312
|
+
"key": "{base.size.40}"
|
|
301
313
|
},
|
|
302
314
|
"base-size-44": {
|
|
303
315
|
"$value": ["2.75rem", "44px"],
|
|
@@ -322,7 +334,8 @@
|
|
|
322
334
|
},
|
|
323
335
|
"name": "base-size-44",
|
|
324
336
|
"attributes": {},
|
|
325
|
-
"path": ["base", "size", "44"]
|
|
337
|
+
"path": ["base", "size", "44"],
|
|
338
|
+
"key": "{base.size.44}"
|
|
326
339
|
},
|
|
327
340
|
"base-size-48": {
|
|
328
341
|
"$value": ["3rem", "48px"],
|
|
@@ -347,10 +360,11 @@
|
|
|
347
360
|
},
|
|
348
361
|
"name": "base-size-48",
|
|
349
362
|
"attributes": {},
|
|
350
|
-
"path": ["base", "size", "48"]
|
|
363
|
+
"path": ["base", "size", "48"],
|
|
364
|
+
"key": "{base.size.48}"
|
|
351
365
|
},
|
|
352
|
-
"base-size-
|
|
353
|
-
"$value": ["
|
|
366
|
+
"base-size-6": {
|
|
367
|
+
"$value": ["0.375rem", "6px"],
|
|
354
368
|
"$type": "dimension",
|
|
355
369
|
"$extensions": {
|
|
356
370
|
"org.primer.figma": {
|
|
@@ -361,7 +375,7 @@
|
|
|
361
375
|
"filePath": "src/tokens/base/size/size.json5",
|
|
362
376
|
"isSource": true,
|
|
363
377
|
"original": {
|
|
364
|
-
"$value": "
|
|
378
|
+
"$value": "6px",
|
|
365
379
|
"$type": "dimension",
|
|
366
380
|
"$extensions": {
|
|
367
381
|
"org.primer.figma": {
|
|
@@ -370,12 +384,13 @@
|
|
|
370
384
|
}
|
|
371
385
|
}
|
|
372
386
|
},
|
|
373
|
-
"name": "base-size-
|
|
387
|
+
"name": "base-size-6",
|
|
374
388
|
"attributes": {},
|
|
375
|
-
"path": ["base", "size", "
|
|
389
|
+
"path": ["base", "size", "6"],
|
|
390
|
+
"key": "{base.size.6}"
|
|
376
391
|
},
|
|
377
|
-
"base-size-
|
|
378
|
-
"$value": ["
|
|
392
|
+
"base-size-64": {
|
|
393
|
+
"$value": ["4rem", "64px"],
|
|
379
394
|
"$type": "dimension",
|
|
380
395
|
"$extensions": {
|
|
381
396
|
"org.primer.figma": {
|
|
@@ -386,7 +401,7 @@
|
|
|
386
401
|
"filePath": "src/tokens/base/size/size.json5",
|
|
387
402
|
"isSource": true,
|
|
388
403
|
"original": {
|
|
389
|
-
"$value": "
|
|
404
|
+
"$value": "64px",
|
|
390
405
|
"$type": "dimension",
|
|
391
406
|
"$extensions": {
|
|
392
407
|
"org.primer.figma": {
|
|
@@ -395,12 +410,13 @@
|
|
|
395
410
|
}
|
|
396
411
|
}
|
|
397
412
|
},
|
|
398
|
-
"name": "base-size-
|
|
413
|
+
"name": "base-size-64",
|
|
399
414
|
"attributes": {},
|
|
400
|
-
"path": ["base", "size", "
|
|
415
|
+
"path": ["base", "size", "64"],
|
|
416
|
+
"key": "{base.size.64}"
|
|
401
417
|
},
|
|
402
|
-
"base-size-
|
|
403
|
-
"$value": ["
|
|
418
|
+
"base-size-8": {
|
|
419
|
+
"$value": ["0.5rem", "8px"],
|
|
404
420
|
"$type": "dimension",
|
|
405
421
|
"$extensions": {
|
|
406
422
|
"org.primer.figma": {
|
|
@@ -411,7 +427,7 @@
|
|
|
411
427
|
"filePath": "src/tokens/base/size/size.json5",
|
|
412
428
|
"isSource": true,
|
|
413
429
|
"original": {
|
|
414
|
-
"$value": "
|
|
430
|
+
"$value": "8px",
|
|
415
431
|
"$type": "dimension",
|
|
416
432
|
"$extensions": {
|
|
417
433
|
"org.primer.figma": {
|
|
@@ -420,12 +436,13 @@
|
|
|
420
436
|
}
|
|
421
437
|
}
|
|
422
438
|
},
|
|
423
|
-
"name": "base-size-
|
|
439
|
+
"name": "base-size-8",
|
|
424
440
|
"attributes": {},
|
|
425
|
-
"path": ["base", "size", "
|
|
441
|
+
"path": ["base", "size", "8"],
|
|
442
|
+
"key": "{base.size.8}"
|
|
426
443
|
},
|
|
427
|
-
"base-size-
|
|
428
|
-
"$value": ["
|
|
444
|
+
"base-size-80": {
|
|
445
|
+
"$value": ["5rem", "80px"],
|
|
429
446
|
"$type": "dimension",
|
|
430
447
|
"$extensions": {
|
|
431
448
|
"org.primer.figma": {
|
|
@@ -436,7 +453,7 @@
|
|
|
436
453
|
"filePath": "src/tokens/base/size/size.json5",
|
|
437
454
|
"isSource": true,
|
|
438
455
|
"original": {
|
|
439
|
-
"$value": "
|
|
456
|
+
"$value": "80px",
|
|
440
457
|
"$type": "dimension",
|
|
441
458
|
"$extensions": {
|
|
442
459
|
"org.primer.figma": {
|
|
@@ -445,12 +462,13 @@
|
|
|
445
462
|
}
|
|
446
463
|
}
|
|
447
464
|
},
|
|
448
|
-
"name": "base-size-
|
|
465
|
+
"name": "base-size-80",
|
|
449
466
|
"attributes": {},
|
|
450
|
-
"path": ["base", "size", "
|
|
467
|
+
"path": ["base", "size", "80"],
|
|
468
|
+
"key": "{base.size.80}"
|
|
451
469
|
},
|
|
452
|
-
"base-size-
|
|
453
|
-
"$value": ["
|
|
470
|
+
"base-size-96": {
|
|
471
|
+
"$value": ["6rem", "96px"],
|
|
454
472
|
"$type": "dimension",
|
|
455
473
|
"$extensions": {
|
|
456
474
|
"org.primer.figma": {
|
|
@@ -461,7 +479,7 @@
|
|
|
461
479
|
"filePath": "src/tokens/base/size/size.json5",
|
|
462
480
|
"isSource": true,
|
|
463
481
|
"original": {
|
|
464
|
-
"$value": "
|
|
482
|
+
"$value": "96px",
|
|
465
483
|
"$type": "dimension",
|
|
466
484
|
"$extensions": {
|
|
467
485
|
"org.primer.figma": {
|
|
@@ -470,8 +488,9 @@
|
|
|
470
488
|
}
|
|
471
489
|
}
|
|
472
490
|
},
|
|
473
|
-
"name": "base-size-
|
|
491
|
+
"name": "base-size-96",
|
|
474
492
|
"attributes": {},
|
|
475
|
-
"path": ["base", "size", "
|
|
493
|
+
"path": ["base", "size", "96"],
|
|
494
|
+
"key": "{base.size.96}"
|
|
476
495
|
}
|
|
477
496
|
}
|