@sofya-ds/tokens 1.1.2 → 1.1.3

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 CHANGED
@@ -238,42 +238,42 @@ function createTextStyleScale(typography) {
238
238
  return {
239
239
  h1: {
240
240
  fontFamily: typography.display,
241
- fontSize: "60px",
242
- fontWeight: "500",
243
- lineHeight: "1",
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: "42px",
249
- fontWeight: "500",
250
- lineHeight: "48px",
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: "30px",
256
- fontWeight: "500",
257
- lineHeight: "1",
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: "24px",
263
- fontWeight: "600",
264
- lineHeight: "30px",
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: "16px",
269
+ fontSize: "18px",
270
270
  fontWeight: "500",
271
- lineHeight: "24px",
271
+ lineHeight: "23px",
272
272
  letterSpacing: "0"
273
273
  },
274
274
  body: {
275
275
  fontFamily: typography.sans,
276
- fontSize: "14px",
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: "1",
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: "60px",
202
- fontWeight: "500",
203
- lineHeight: "1",
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: "42px",
209
- fontWeight: "500",
210
- lineHeight: "48px",
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: "30px",
216
- fontWeight: "500",
217
- lineHeight: "1",
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: "24px",
223
- fontWeight: "600",
224
- lineHeight: "30px",
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: "16px",
229
+ fontSize: "18px",
230
230
  fontWeight: "500",
231
- lineHeight: "24px",
231
+ lineHeight: "23px",
232
232
  letterSpacing: "0"
233
233
  },
234
234
  body: {
235
235
  fontFamily: typography.sans,
236
- fontSize: "14px",
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: "1",
246
- letterSpacing: "0"
245
+ lineHeight: "18px",
246
+ letterSpacing: "0.012px"
247
247
  }
248
248
  };
249
249
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofya-ds/tokens",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Official Sofya design tokens, theme presets and semantic color helpers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",