@sofya-ds/tokens 1.1.2 → 1.1.4
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/index.cjs +21 -21
- package/dist/index.js +21 -21
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -238,42 +238,42 @@ function createTextStyleScale(typography) {
|
|
|
238
238
|
return {
|
|
239
239
|
h1: {
|
|
240
240
|
fontFamily: typography.display,
|
|
241
|
-
fontSize: "
|
|
242
|
-
fontWeight: "
|
|
243
|
-
lineHeight: "
|
|
244
|
-
letterSpacing: "0"
|
|
241
|
+
fontSize: "48px",
|
|
242
|
+
fontWeight: "700",
|
|
243
|
+
lineHeight: "53px",
|
|
244
|
+
letterSpacing: "-0.48px"
|
|
245
245
|
},
|
|
246
246
|
h2: {
|
|
247
247
|
fontFamily: typography.display,
|
|
248
|
-
fontSize: "
|
|
249
|
-
fontWeight: "
|
|
250
|
-
lineHeight: "
|
|
251
|
-
letterSpacing: "0"
|
|
248
|
+
fontSize: "36px",
|
|
249
|
+
fontWeight: "600",
|
|
250
|
+
lineHeight: "41px",
|
|
251
|
+
letterSpacing: "-0.18px"
|
|
252
252
|
},
|
|
253
253
|
h3: {
|
|
254
254
|
fontFamily: typography.display,
|
|
255
|
-
fontSize: "
|
|
256
|
-
fontWeight: "
|
|
257
|
-
lineHeight: "
|
|
258
|
-
letterSpacing: "0"
|
|
255
|
+
fontSize: "28px",
|
|
256
|
+
fontWeight: "600",
|
|
257
|
+
lineHeight: "34px",
|
|
258
|
+
letterSpacing: "-0.084px"
|
|
259
259
|
},
|
|
260
260
|
h4: {
|
|
261
261
|
fontFamily: typography.display,
|
|
262
|
-
fontSize: "
|
|
263
|
-
fontWeight: "
|
|
264
|
-
lineHeight: "
|
|
265
|
-
letterSpacing: "0"
|
|
262
|
+
fontSize: "22px",
|
|
263
|
+
fontWeight: "500",
|
|
264
|
+
lineHeight: "28px",
|
|
265
|
+
letterSpacing: "-0.022px"
|
|
266
266
|
},
|
|
267
267
|
h5: {
|
|
268
268
|
fontFamily: typography.display,
|
|
269
|
-
fontSize: "
|
|
269
|
+
fontSize: "18px",
|
|
270
270
|
fontWeight: "500",
|
|
271
|
-
lineHeight: "
|
|
271
|
+
lineHeight: "23px",
|
|
272
272
|
letterSpacing: "0"
|
|
273
273
|
},
|
|
274
274
|
body: {
|
|
275
275
|
fontFamily: typography.sans,
|
|
276
|
-
fontSize: "
|
|
276
|
+
fontSize: "16px",
|
|
277
277
|
fontWeight: "400",
|
|
278
278
|
lineHeight: "26px",
|
|
279
279
|
letterSpacing: "0"
|
|
@@ -282,8 +282,8 @@ function createTextStyleScale(typography) {
|
|
|
282
282
|
fontFamily: typography.sans,
|
|
283
283
|
fontSize: "12px",
|
|
284
284
|
fontWeight: "400",
|
|
285
|
-
lineHeight: "
|
|
286
|
-
letterSpacing: "0"
|
|
285
|
+
lineHeight: "18px",
|
|
286
|
+
letterSpacing: "0.012px"
|
|
287
287
|
}
|
|
288
288
|
};
|
|
289
289
|
}
|
package/dist/index.js
CHANGED
|
@@ -198,42 +198,42 @@ function createTextStyleScale(typography) {
|
|
|
198
198
|
return {
|
|
199
199
|
h1: {
|
|
200
200
|
fontFamily: typography.display,
|
|
201
|
-
fontSize: "
|
|
202
|
-
fontWeight: "
|
|
203
|
-
lineHeight: "
|
|
204
|
-
letterSpacing: "0"
|
|
201
|
+
fontSize: "48px",
|
|
202
|
+
fontWeight: "700",
|
|
203
|
+
lineHeight: "53px",
|
|
204
|
+
letterSpacing: "-0.48px"
|
|
205
205
|
},
|
|
206
206
|
h2: {
|
|
207
207
|
fontFamily: typography.display,
|
|
208
|
-
fontSize: "
|
|
209
|
-
fontWeight: "
|
|
210
|
-
lineHeight: "
|
|
211
|
-
letterSpacing: "0"
|
|
208
|
+
fontSize: "36px",
|
|
209
|
+
fontWeight: "600",
|
|
210
|
+
lineHeight: "41px",
|
|
211
|
+
letterSpacing: "-0.18px"
|
|
212
212
|
},
|
|
213
213
|
h3: {
|
|
214
214
|
fontFamily: typography.display,
|
|
215
|
-
fontSize: "
|
|
216
|
-
fontWeight: "
|
|
217
|
-
lineHeight: "
|
|
218
|
-
letterSpacing: "0"
|
|
215
|
+
fontSize: "28px",
|
|
216
|
+
fontWeight: "600",
|
|
217
|
+
lineHeight: "34px",
|
|
218
|
+
letterSpacing: "-0.084px"
|
|
219
219
|
},
|
|
220
220
|
h4: {
|
|
221
221
|
fontFamily: typography.display,
|
|
222
|
-
fontSize: "
|
|
223
|
-
fontWeight: "
|
|
224
|
-
lineHeight: "
|
|
225
|
-
letterSpacing: "0"
|
|
222
|
+
fontSize: "22px",
|
|
223
|
+
fontWeight: "500",
|
|
224
|
+
lineHeight: "28px",
|
|
225
|
+
letterSpacing: "-0.022px"
|
|
226
226
|
},
|
|
227
227
|
h5: {
|
|
228
228
|
fontFamily: typography.display,
|
|
229
|
-
fontSize: "
|
|
229
|
+
fontSize: "18px",
|
|
230
230
|
fontWeight: "500",
|
|
231
|
-
lineHeight: "
|
|
231
|
+
lineHeight: "23px",
|
|
232
232
|
letterSpacing: "0"
|
|
233
233
|
},
|
|
234
234
|
body: {
|
|
235
235
|
fontFamily: typography.sans,
|
|
236
|
-
fontSize: "
|
|
236
|
+
fontSize: "16px",
|
|
237
237
|
fontWeight: "400",
|
|
238
238
|
lineHeight: "26px",
|
|
239
239
|
letterSpacing: "0"
|
|
@@ -242,8 +242,8 @@ function createTextStyleScale(typography) {
|
|
|
242
242
|
fontFamily: typography.sans,
|
|
243
243
|
fontSize: "12px",
|
|
244
244
|
fontWeight: "400",
|
|
245
|
-
lineHeight: "
|
|
246
|
-
letterSpacing: "0"
|
|
245
|
+
lineHeight: "18px",
|
|
246
|
+
letterSpacing: "0.012px"
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
249
|
}
|