@primer/primitives 10.0.0-rc.d2acd2c0 → 10.0.0-rc.dd3dde40

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.
Files changed (121) hide show
  1. package/README.md +2 -2
  2. package/dist/build/PrimerStyleDictionary.js +27 -26
  3. package/dist/build/filters/isCubicBezier.d.ts +7 -0
  4. package/dist/build/filters/isCubicBezier.js +10 -0
  5. package/dist/build/formats/typescriptExportDefinition.js +2 -2
  6. package/dist/build/parsers/w3cJsonParser.js +2 -2
  7. package/dist/build/platforms/css.js +1 -0
  8. package/dist/build/schemas/borderToken.d.ts +3 -3
  9. package/dist/build/schemas/colorToken.d.ts +3 -3
  10. package/dist/build/schemas/cubicBezierToken.d.ts +18 -0
  11. package/dist/build/schemas/cubicBezierToken.js +8 -0
  12. package/dist/build/schemas/designToken.js +2 -1
  13. package/dist/build/schemas/dimensionToken.d.ts +3 -3
  14. package/dist/build/schemas/durationToken.d.ts +3 -3
  15. package/dist/build/schemas/fontFamilyToken.d.ts +3 -3
  16. package/dist/build/schemas/fontWeightToken.d.ts +3 -3
  17. package/dist/build/schemas/numberToken.d.ts +3 -3
  18. package/dist/build/schemas/shadowToken.d.ts +3 -3
  19. package/dist/build/schemas/stringToken.d.ts +3 -3
  20. package/dist/build/schemas/tokenType.d.ts +1 -1
  21. package/dist/build/schemas/typographyToken.d.ts +3 -3
  22. package/dist/build/schemas/validTokenType.d.ts +1 -1
  23. package/dist/build/schemas/validTokenType.js +1 -0
  24. package/dist/build/schemas/viewportRangeToken.d.ts +3 -3
  25. package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
  26. package/dist/build/transformers/cubicBezierToCss.js +23 -0
  27. package/dist/build/transformers/durationToCss.js +2 -2
  28. package/dist/build/transformers/index.d.ts +1 -0
  29. package/dist/build/transformers/index.js +1 -0
  30. package/dist/css/base/motion/motion.css +17 -0
  31. package/dist/css/functional/motion/motion.css +4 -3
  32. package/dist/css/functional/themes/dark-colorblind.css +58 -38
  33. package/dist/css/functional/themes/dark-dimmed.css +44 -24
  34. package/dist/css/functional/themes/dark-high-contrast.css +42 -22
  35. package/dist/css/functional/themes/dark-tritanopia.css +44 -24
  36. package/dist/css/functional/themes/dark.css +42 -22
  37. package/dist/css/functional/themes/light-colorblind.css +60 -40
  38. package/dist/css/functional/themes/light-high-contrast.css +44 -24
  39. package/dist/css/functional/themes/light-tritanopia.css +42 -22
  40. package/dist/css/functional/themes/light.css +42 -22
  41. package/dist/css/functional/typography/typography.css +43 -43
  42. package/dist/css/primitives.css +64 -46
  43. package/dist/docs/base/motion/motion.json +205 -0
  44. package/dist/docs/functional/motion/motion.json +18 -3
  45. package/dist/docs/functional/themes/dark-colorblind.json +564 -282
  46. package/dist/docs/functional/themes/dark-dimmed.json +580 -276
  47. package/dist/docs/functional/themes/dark-high-contrast.json +408 -168
  48. package/dist/docs/functional/themes/dark-tritanopia.json +558 -280
  49. package/dist/docs/functional/themes/dark.json +564 -276
  50. package/dist/docs/functional/themes/light-colorblind.json +388 -108
  51. package/dist/docs/functional/themes/light-high-contrast.json +353 -83
  52. package/dist/docs/functional/themes/light-tritanopia.json +327 -81
  53. package/dist/docs/functional/themes/light.json +356 -78
  54. package/dist/fallbacks/base/motion/motion.json +17 -0
  55. package/dist/fallbacks/functional/motion/motion.json +1 -0
  56. package/dist/figma/dimension/dimension.json +518 -518
  57. package/dist/figma/figma.json +19 -19
  58. package/dist/figma/scales/dark-dimmed.json +3536 -656
  59. package/dist/figma/scales/dark-high-constrast.json +3535 -655
  60. package/dist/figma/scales/dark.json +3371 -491
  61. package/dist/figma/scales/light-high-constrast.json +3533 -653
  62. package/dist/figma/scales/light.json +3370 -490
  63. package/dist/figma/shadows/dark-colorblind.json +285 -285
  64. package/dist/figma/shadows/dark-dimmed.json +285 -285
  65. package/dist/figma/shadows/dark-high-contrast.json +285 -285
  66. package/dist/figma/shadows/dark-tritanopia.json +285 -285
  67. package/dist/figma/shadows/dark.json +285 -285
  68. package/dist/figma/shadows/light-colorblind.json +254 -254
  69. package/dist/figma/shadows/light-high-contrast.json +254 -254
  70. package/dist/figma/shadows/light-tritanopia.json +254 -254
  71. package/dist/figma/shadows/light.json +254 -254
  72. package/dist/figma/themes/dark-colorblind.json +5197 -5068
  73. package/dist/figma/themes/dark-dimmed.json +5526 -5351
  74. package/dist/figma/themes/dark-high-contrast.json +4361 -4251
  75. package/dist/figma/themes/dark-tritanopia.json +5315 -5187
  76. package/dist/figma/themes/dark.json +5740 -5581
  77. package/dist/figma/themes/light-colorblind.json +5104 -4929
  78. package/dist/figma/themes/light-high-contrast.json +4462 -4319
  79. package/dist/figma/themes/light-tritanopia.json +5176 -5050
  80. package/dist/figma/themes/light.json +5657 -5500
  81. package/dist/figma/typography/typography.json +162 -162
  82. package/dist/internalCss/dark-colorblind.css +58 -38
  83. package/dist/internalCss/dark-dimmed.css +44 -24
  84. package/dist/internalCss/dark-high-contrast.css +42 -22
  85. package/dist/internalCss/dark-tritanopia.css +44 -24
  86. package/dist/internalCss/dark.css +42 -22
  87. package/dist/internalCss/light-colorblind.css +60 -40
  88. package/dist/internalCss/light-high-contrast.css +44 -24
  89. package/dist/internalCss/light-tritanopia.css +42 -22
  90. package/dist/internalCss/light.css +42 -22
  91. package/dist/styleLint/base/motion/motion.json +205 -0
  92. package/dist/styleLint/functional/motion/motion.json +18 -3
  93. package/dist/styleLint/functional/themes/dark-colorblind.json +564 -282
  94. package/dist/styleLint/functional/themes/dark-dimmed.json +580 -276
  95. package/dist/styleLint/functional/themes/dark-high-contrast.json +407 -167
  96. package/dist/styleLint/functional/themes/dark-tritanopia.json +558 -280
  97. package/dist/styleLint/functional/themes/dark.json +564 -276
  98. package/dist/styleLint/functional/themes/light-colorblind.json +388 -108
  99. package/dist/styleLint/functional/themes/light-high-contrast.json +353 -83
  100. package/dist/styleLint/functional/themes/light-tritanopia.json +327 -81
  101. package/dist/styleLint/functional/themes/light.json +356 -78
  102. package/package.json +21 -29
  103. package/src/tokens/base/motion/easing.json5 +26 -0
  104. package/src/tokens/base/motion/timing.json5 +50 -0
  105. package/src/tokens/functional/color/dark/app-dark.json5 +203 -88
  106. package/src/tokens/functional/color/dark/data-vis-dark.json5 +20 -20
  107. package/src/tokens/functional/color/dark/display-dark.json5 +95 -95
  108. package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -8
  109. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +39 -26
  110. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +56 -30
  111. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +37 -14
  112. package/src/tokens/functional/color/dark/patterns-dark.json5 +16 -4
  113. package/src/tokens/functional/color/dark/primitives-dark.json5 +1 -1
  114. package/src/tokens/functional/color/light/app-light.json5 +195 -85
  115. package/src/tokens/functional/color/light/data-vis-light.json5 +20 -20
  116. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -25
  117. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +61 -33
  118. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +62 -10
  119. package/src/tokens/functional/color/light/patterns-light.json5 +13 -1
  120. package/src/tokens/functional/motion/loading.json5 +1 -1
  121. package/src/tokens/functional/motion/patterns.json5 +9 -2
@@ -1,160 +1,170 @@
1
1
  [
2
2
  {
3
- "name": "text/codeInline/weight",
4
- "value": 400,
3
+ "name": "base/text/weight/light",
4
+ "value": 300,
5
5
  "type": "FLOAT",
6
- "refId": "typography/text/codeInline/weight",
7
- "reference": "base/typography/base/text/weight/normal",
8
- "collection": "typography",
6
+ "refId": "base/typography/base/text/weight/light",
7
+ "collection": "base/typography",
9
8
  "mode": "default",
10
- "group": "typography",
9
+ "group": "base/typography",
11
10
  "scopes": ["FONT_WEIGHT"]
12
11
  },
13
12
  {
14
- "name": "text/codeBlock/weight",
13
+ "name": "base/text/weight/normal",
15
14
  "value": 400,
16
15
  "type": "FLOAT",
17
- "refId": "typography/text/codeBlock/weight",
18
- "reference": "base/typography/base/text/weight/normal",
19
- "collection": "typography",
16
+ "refId": "base/typography/base/text/weight/normal",
17
+ "collection": "base/typography",
20
18
  "mode": "default",
21
- "group": "typography",
19
+ "group": "base/typography",
22
20
  "scopes": ["FONT_WEIGHT"]
23
21
  },
24
22
  {
25
- "name": "lineHeight",
26
- "value": 1.5385,
23
+ "name": "base/text/weight/medium",
24
+ "value": 500,
27
25
  "type": "FLOAT",
28
- "refId": "lineHeight"
26
+ "refId": "base/typography/base/text/weight/medium",
27
+ "collection": "base/typography",
28
+ "mode": "default",
29
+ "group": "base/typography",
30
+ "scopes": ["FONT_WEIGHT"]
29
31
  },
30
32
  {
31
- "name": "text/codeBlock/size",
32
- "value": 13,
33
+ "name": "base/text/weight/semibold",
34
+ "value": 600,
33
35
  "type": "FLOAT",
34
- "refId": "typography/text/codeBlock/size",
35
- "collection": "typography",
36
+ "refId": "base/typography/base/text/weight/semibold",
37
+ "collection": "base/typography",
36
38
  "mode": "default",
37
- "group": "typography",
38
- "scopes": ["FONT_SIZE"]
39
+ "group": "base/typography",
40
+ "scopes": ["FONT_WEIGHT"]
39
41
  },
40
42
  {
41
- "name": "text/caption/weight",
42
- "value": 400,
43
- "type": "FLOAT",
44
- "refId": "typography/text/caption/weight",
45
- "reference": "base/typography/base/text/weight/normal",
43
+ "name": "fontStack/system",
44
+ "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
45
+ "type": "STRING",
46
+ "refId": "typography/fontStack/system",
46
47
  "collection": "typography",
47
48
  "mode": "default",
48
49
  "group": "typography",
49
- "scopes": ["FONT_WEIGHT"]
50
+ "scopes": ["FONT_FAMILY"]
50
51
  },
51
52
  {
52
- "name": "lineHeight",
53
- "value": 1.3333,
54
- "type": "FLOAT",
55
- "refId": "lineHeight"
53
+ "name": "fontStack/sansSerif",
54
+ "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
55
+ "type": "STRING",
56
+ "refId": "typography/fontStack/sansSerif",
57
+ "collection": "typography",
58
+ "mode": "default",
59
+ "group": "typography",
60
+ "scopes": ["FONT_FAMILY"]
56
61
  },
57
62
  {
58
- "name": "text/caption/size",
59
- "value": 12,
60
- "type": "FLOAT",
61
- "refId": "typography/text/caption/size",
63
+ "name": "fontStack/sansSerifDisplay",
64
+ "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
65
+ "type": "STRING",
66
+ "refId": "typography/fontStack/sansSerifDisplay",
62
67
  "collection": "typography",
63
68
  "mode": "default",
64
69
  "group": "typography",
65
- "scopes": ["FONT_SIZE"]
70
+ "scopes": ["FONT_FAMILY"]
66
71
  },
67
72
  {
68
- "name": "text/body/weight",
69
- "value": 400,
70
- "type": "FLOAT",
71
- "refId": "typography/text/body/weight",
72
- "reference": "base/typography/base/text/weight/normal",
73
+ "name": "fontStack/monospace",
74
+ "value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
75
+ "type": "STRING",
76
+ "refId": "typography/fontStack/monospace",
73
77
  "collection": "typography",
74
78
  "mode": "default",
75
79
  "group": "typography",
76
- "scopes": ["FONT_WEIGHT"]
80
+ "scopes": ["FONT_FAMILY"]
77
81
  },
78
82
  {
79
- "name": "small",
80
- "value": 1.6666,
83
+ "name": "lineBoxHeight",
84
+ "value": 1.4,
81
85
  "type": "FLOAT",
82
- "refId": "small"
86
+ "refId": "lineBoxHeight"
83
87
  },
84
88
  {
85
- "name": "medium",
86
- "value": 1.4285,
89
+ "name": "text/display/size",
90
+ "value": 40,
87
91
  "type": "FLOAT",
88
- "refId": "medium"
92
+ "refId": "typography/text/display/size",
93
+ "collection": "typography",
94
+ "mode": "default",
95
+ "group": "typography",
96
+ "scopes": ["FONT_SIZE"]
89
97
  },
90
98
  {
91
- "name": "large",
92
- "value": 1.5,
99
+ "name": "lineHeight",
100
+ "value": 1.4,
93
101
  "type": "FLOAT",
94
- "refId": "large"
102
+ "refId": "lineHeight"
95
103
  },
96
104
  {
97
- "name": "text/body/size/small",
98
- "value": 12,
105
+ "name": "text/display/weight",
106
+ "value": 500,
99
107
  "type": "FLOAT",
100
- "refId": "typography/text/body/size/small",
108
+ "refId": "typography/text/display/weight",
109
+ "reference": "base/typography/base/text/weight/medium",
101
110
  "collection": "typography",
102
111
  "mode": "default",
103
112
  "group": "typography",
104
- "scopes": ["FONT_SIZE"]
113
+ "scopes": ["FONT_WEIGHT"]
105
114
  },
106
115
  {
107
- "name": "text/body/size/medium",
108
- "value": 14,
116
+ "name": "text/title/size/large",
117
+ "value": 32,
109
118
  "type": "FLOAT",
110
- "refId": "typography/text/body/size/medium",
119
+ "refId": "typography/text/title/size/large",
111
120
  "collection": "typography",
112
121
  "mode": "default",
113
122
  "group": "typography",
114
123
  "scopes": ["FONT_SIZE"]
115
124
  },
116
125
  {
117
- "name": "text/body/size/large",
118
- "value": 16,
126
+ "name": "text/title/size/medium",
127
+ "value": 20,
119
128
  "type": "FLOAT",
120
- "refId": "typography/text/body/size/large",
129
+ "refId": "typography/text/title/size/medium",
121
130
  "collection": "typography",
122
131
  "mode": "default",
123
132
  "group": "typography",
124
133
  "scopes": ["FONT_SIZE"]
125
134
  },
126
135
  {
127
- "name": "text/subtitle/weight",
128
- "value": 400,
136
+ "name": "text/title/size/small",
137
+ "value": 16,
129
138
  "type": "FLOAT",
130
- "refId": "typography/text/subtitle/weight",
131
- "reference": "base/typography/base/text/weight/normal",
139
+ "refId": "typography/text/title/size/small",
132
140
  "collection": "typography",
133
141
  "mode": "default",
134
142
  "group": "typography",
135
- "scopes": ["FONT_WEIGHT"]
143
+ "scopes": ["FONT_SIZE"]
136
144
  },
137
145
  {
138
- "name": "lineHeight",
146
+ "name": "large",
147
+ "value": 1.5,
148
+ "type": "FLOAT",
149
+ "refId": "large"
150
+ },
151
+ {
152
+ "name": "medium",
139
153
  "value": 1.6,
140
154
  "type": "FLOAT",
141
- "refId": "lineHeight"
155
+ "refId": "medium"
142
156
  },
143
157
  {
144
- "name": "text/subtitle/size",
145
- "value": 20,
158
+ "name": "small",
159
+ "value": 1.5,
146
160
  "type": "FLOAT",
147
- "refId": "typography/text/subtitle/size",
148
- "collection": "typography",
149
- "mode": "default",
150
- "group": "typography",
151
- "scopes": ["FONT_SIZE"]
161
+ "refId": "small"
152
162
  },
153
163
  {
154
- "name": "text/title/weight/small",
164
+ "name": "text/title/weight/large",
155
165
  "value": 600,
156
166
  "type": "FLOAT",
157
- "refId": "typography/text/title/weight/small",
167
+ "refId": "typography/text/title/weight/large",
158
168
  "reference": "base/typography/base/text/weight/semibold",
159
169
  "collection": "typography",
160
170
  "mode": "default",
@@ -173,10 +183,10 @@
173
183
  "scopes": ["FONT_WEIGHT"]
174
184
  },
175
185
  {
176
- "name": "text/title/weight/large",
186
+ "name": "text/title/weight/small",
177
187
  "value": 600,
178
188
  "type": "FLOAT",
179
- "refId": "typography/text/title/weight/large",
189
+ "refId": "typography/text/title/weight/small",
180
190
  "reference": "base/typography/base/text/weight/semibold",
181
191
  "collection": "typography",
182
192
  "mode": "default",
@@ -184,164 +194,154 @@
184
194
  "scopes": ["FONT_WEIGHT"]
185
195
  },
186
196
  {
187
- "name": "small",
188
- "value": 1.5,
197
+ "name": "text/subtitle/size",
198
+ "value": 20,
189
199
  "type": "FLOAT",
190
- "refId": "small"
200
+ "refId": "typography/text/subtitle/size",
201
+ "collection": "typography",
202
+ "mode": "default",
203
+ "group": "typography",
204
+ "scopes": ["FONT_SIZE"]
191
205
  },
192
206
  {
193
- "name": "medium",
207
+ "name": "lineHeight",
194
208
  "value": 1.6,
195
209
  "type": "FLOAT",
196
- "refId": "medium"
197
- },
198
- {
199
- "name": "large",
200
- "value": 1.5,
201
- "type": "FLOAT",
202
- "refId": "large"
210
+ "refId": "lineHeight"
203
211
  },
204
212
  {
205
- "name": "text/title/size/small",
206
- "value": 16,
213
+ "name": "text/subtitle/weight",
214
+ "value": 400,
207
215
  "type": "FLOAT",
208
- "refId": "typography/text/title/size/small",
216
+ "refId": "typography/text/subtitle/weight",
217
+ "reference": "base/typography/base/text/weight/normal",
209
218
  "collection": "typography",
210
219
  "mode": "default",
211
220
  "group": "typography",
212
- "scopes": ["FONT_SIZE"]
221
+ "scopes": ["FONT_WEIGHT"]
213
222
  },
214
223
  {
215
- "name": "text/title/size/medium",
216
- "value": 20,
224
+ "name": "text/body/size/large",
225
+ "value": 16,
217
226
  "type": "FLOAT",
218
- "refId": "typography/text/title/size/medium",
227
+ "refId": "typography/text/body/size/large",
219
228
  "collection": "typography",
220
229
  "mode": "default",
221
230
  "group": "typography",
222
231
  "scopes": ["FONT_SIZE"]
223
232
  },
224
233
  {
225
- "name": "text/title/size/large",
226
- "value": 32,
234
+ "name": "text/body/size/medium",
235
+ "value": 14,
227
236
  "type": "FLOAT",
228
- "refId": "typography/text/title/size/large",
237
+ "refId": "typography/text/body/size/medium",
229
238
  "collection": "typography",
230
239
  "mode": "default",
231
240
  "group": "typography",
232
241
  "scopes": ["FONT_SIZE"]
233
242
  },
234
243
  {
235
- "name": "text/display/weight",
236
- "value": 500,
244
+ "name": "text/body/size/small",
245
+ "value": 12,
237
246
  "type": "FLOAT",
238
- "refId": "typography/text/display/weight",
239
- "reference": "base/typography/base/text/weight/medium",
247
+ "refId": "typography/text/body/size/small",
240
248
  "collection": "typography",
241
249
  "mode": "default",
242
250
  "group": "typography",
243
- "scopes": ["FONT_WEIGHT"]
251
+ "scopes": ["FONT_SIZE"]
244
252
  },
245
253
  {
246
- "name": "lineHeight",
247
- "value": 1.4,
254
+ "name": "large",
255
+ "value": 1.5,
248
256
  "type": "FLOAT",
249
- "refId": "lineHeight"
257
+ "refId": "large"
250
258
  },
251
259
  {
252
- "name": "text/display/size",
253
- "value": 40,
260
+ "name": "medium",
261
+ "value": 1.4285,
254
262
  "type": "FLOAT",
255
- "refId": "typography/text/display/size",
256
- "collection": "typography",
257
- "mode": "default",
258
- "group": "typography",
259
- "scopes": ["FONT_SIZE"]
263
+ "refId": "medium"
260
264
  },
261
265
  {
262
- "name": "lineBoxHeight",
263
- "value": 1.4,
266
+ "name": "small",
267
+ "value": 1.6666,
264
268
  "type": "FLOAT",
265
- "refId": "lineBoxHeight"
269
+ "refId": "small"
266
270
  },
267
271
  {
268
- "name": "fontStack/monospace",
269
- "value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
270
- "type": "STRING",
271
- "refId": "typography/fontStack/monospace",
272
+ "name": "text/body/weight",
273
+ "value": 400,
274
+ "type": "FLOAT",
275
+ "refId": "typography/text/body/weight",
276
+ "reference": "base/typography/base/text/weight/normal",
272
277
  "collection": "typography",
273
278
  "mode": "default",
274
279
  "group": "typography",
275
- "scopes": ["FONT_FAMILY"]
280
+ "scopes": ["FONT_WEIGHT"]
276
281
  },
277
282
  {
278
- "name": "fontStack/sansSerifDisplay",
279
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
280
- "type": "STRING",
281
- "refId": "typography/fontStack/sansSerifDisplay",
283
+ "name": "text/caption/size",
284
+ "value": 12,
285
+ "type": "FLOAT",
286
+ "refId": "typography/text/caption/size",
282
287
  "collection": "typography",
283
288
  "mode": "default",
284
289
  "group": "typography",
285
- "scopes": ["FONT_FAMILY"]
290
+ "scopes": ["FONT_SIZE"]
286
291
  },
287
292
  {
288
- "name": "fontStack/sansSerif",
289
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
290
- "type": "STRING",
291
- "refId": "typography/fontStack/sansSerif",
292
- "collection": "typography",
293
- "mode": "default",
294
- "group": "typography",
295
- "scopes": ["FONT_FAMILY"]
293
+ "name": "lineHeight",
294
+ "value": 1.3333,
295
+ "type": "FLOAT",
296
+ "refId": "lineHeight"
296
297
  },
297
298
  {
298
- "name": "fontStack/system",
299
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
300
- "type": "STRING",
301
- "refId": "typography/fontStack/system",
299
+ "name": "text/caption/weight",
300
+ "value": 400,
301
+ "type": "FLOAT",
302
+ "refId": "typography/text/caption/weight",
303
+ "reference": "base/typography/base/text/weight/normal",
302
304
  "collection": "typography",
303
305
  "mode": "default",
304
306
  "group": "typography",
305
- "scopes": ["FONT_FAMILY"]
307
+ "scopes": ["FONT_WEIGHT"]
306
308
  },
307
309
  {
308
- "name": "base/text/weight/semibold",
309
- "value": 600,
310
+ "name": "text/codeBlock/size",
311
+ "value": 13,
310
312
  "type": "FLOAT",
311
- "refId": "base/typography/base/text/weight/semibold",
312
- "collection": "base/typography",
313
+ "refId": "typography/text/codeBlock/size",
314
+ "collection": "typography",
313
315
  "mode": "default",
314
- "group": "base/typography",
315
- "scopes": ["FONT_WEIGHT"]
316
+ "group": "typography",
317
+ "scopes": ["FONT_SIZE"]
316
318
  },
317
319
  {
318
- "name": "base/text/weight/medium",
319
- "value": 500,
320
+ "name": "lineHeight",
321
+ "value": 1.5385,
320
322
  "type": "FLOAT",
321
- "refId": "base/typography/base/text/weight/medium",
322
- "collection": "base/typography",
323
- "mode": "default",
324
- "group": "base/typography",
325
- "scopes": ["FONT_WEIGHT"]
323
+ "refId": "lineHeight"
326
324
  },
327
325
  {
328
- "name": "base/text/weight/normal",
326
+ "name": "text/codeBlock/weight",
329
327
  "value": 400,
330
328
  "type": "FLOAT",
331
- "refId": "base/typography/base/text/weight/normal",
332
- "collection": "base/typography",
329
+ "refId": "typography/text/codeBlock/weight",
330
+ "reference": "base/typography/base/text/weight/normal",
331
+ "collection": "typography",
333
332
  "mode": "default",
334
- "group": "base/typography",
333
+ "group": "typography",
335
334
  "scopes": ["FONT_WEIGHT"]
336
335
  },
337
336
  {
338
- "name": "base/text/weight/light",
339
- "value": 300,
337
+ "name": "text/codeInline/weight",
338
+ "value": 400,
340
339
  "type": "FLOAT",
341
- "refId": "base/typography/base/text/weight/light",
342
- "collection": "base/typography",
340
+ "refId": "typography/text/codeInline/weight",
341
+ "reference": "base/typography/base/text/weight/normal",
342
+ "collection": "typography",
343
343
  "mode": "default",
344
- "group": "base/typography",
344
+ "group": "typography",
345
345
  "scopes": ["FONT_WEIGHT"]
346
346
  }
347
347
  ]