@itcase/tokens-baikal 1.0.24 → 1.0.25

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.
@@ -162,88 +162,88 @@
162
162
  --typography-min-viewport: 360px;
163
163
  --typography-max-viewport: 1920px;
164
164
 
165
- --typography-h1-min: 32px;
166
165
  --typography-h1-max: 64px;
167
- --typography-h1-min-line-height: 64px;
168
- --typography-h1-max-line-height: 80px;
166
+ --typography-h1-min: 32px;
167
+ --typography-h1-max-line-height: 64px;
168
+ --typography-h1-min-line-height: 40px;
169
169
  --typography-h1-font: var(--font-primary);
170
170
 
171
- --typography-h2-min: 26px;
172
- --typography-h2-max: 46px;
173
- --typography-h2-min-line-height: 46px;
174
- --typography-h2-max-line-height: 58px;
171
+ --typography-h2-max: 48px;
172
+ --typography-h2-min: 28px;
173
+ --typography-h2-max-line-height: 48px;
174
+ --typography-h2-min-line-height: 32px;
175
175
  --typography-h2-font: var(--font-primary);
176
176
 
177
- --typography-h3-min: 18px;
178
177
  --typography-h3-max: 32px;
179
- --typography-h3-min-line-height: 32px;
180
- --typography-h3-max-line-height: 40px;
178
+ --typography-h3-min: 18px;
179
+ --typography-h3-max-line-height: 32px;
180
+ --typography-h3-min-line-height: 24px;
181
181
  --typography-h3-font: var(--font-primary);
182
182
 
183
- --typography-h4-min: 16px;
184
183
  --typography-h4-max: 24px;
185
- --typography-h4-min-line-height: 24px;
186
- --typography-h4-max-line-height: 30px;
184
+ --typography-h4-min: 16px;
185
+ --typography-h4-max-line-height: 24px;
186
+ --typography-h4-min-line-height: 18px;
187
187
  --typography-h4-font: var(--font-primary);
188
188
 
189
- --typography-h5-min: 14px;
190
189
  --typography-h5-max: 18px;
191
- --typography-h5-min-line-height: 18px;
192
- --typography-h5-max-line-height: 26px;
190
+ --typography-h5-min: 14px;
191
+ --typography-h5-max-line-height: 18px;
192
+ --typography-h5-min-line-height: 16px;
193
193
  --typography-h5-font: var(--font-primary);
194
194
 
195
- --typography-h6-min: 12px;
196
195
  --typography-h6-max: 16px;
197
- --typography-h6-min-line-height: 16px;
198
- --typography-h6-max-line-height: 24px;
196
+ --typography-h6-min: 12px;
197
+ --typography-h6-max-line-height: 16px;
198
+ --typography-h6-min-line-height: 14px;
199
199
  --typography-h6-font: var(--font-primary);
200
200
 
201
- --typography-p-min: 14px;
202
201
  --typography-p-max: 16px;
203
- --typography-p-min-line-height: 18px;
202
+ --typography-p-min: 14px;
204
203
  --typography-p-max-line-height: 20px;
204
+ --typography-p-min-line-height: 18px;
205
205
  --typography-p-font: var(--font-primary);
206
206
 
207
- --typography-text-xxl-min: 20px;
208
207
  --typography-text-xxl-max: 24px;
209
- --typography-text-xxl-min-line-height: 20px;
208
+ --typography-text-xxl-min: 20px;
210
209
  --typography-text-xxl-max-line-height: 24px;
210
+ --typography-text-xxl-min-line-height: 20px;
211
211
  --typography-text-xxl-font: var(--font-primary);
212
212
 
213
- --typography-text-xl-min: 18px;
214
213
  --typography-text-xl-max: 20px;
215
- --typography-text-xl-min-line-height: 20px;
216
- --typography-text-xl-max-line-height: 24px;
214
+ --typography-text-xl-min: 18px;
215
+ --typography-text-xl-max-line-height: 20px;
216
+ --typography-text-xl-min-line-height: 24px;
217
217
  --typography-text-xl-font: var(--font-primary);
218
218
 
219
- --typography-text-l-min: 18px;
220
- --typography-text-l-max: 20px;
221
- --typography-text-l-min-line-height: 18px;
222
- --typography-text-l-max-line-height: 20px;
219
+ --typography-text-l-max: 18px;
220
+ --typography-text-l-min: 16px;
221
+ --typography-text-l-max-line-height: 18px;
222
+ --typography-text-l-min-line-height: 20px;
223
223
  --typography-text-l-font: var(--font-primary);
224
224
 
225
- --typography-text-m-min: 14px;
226
225
  --typography-text-m-max: 16px;
227
- --typography-text-m-min-line-height: 14px;
228
- --typography-text-m-max-line-height: 20px;
226
+ --typography-text-m-min: 14px;
227
+ --typography-text-m-max-line-height: 16px;
228
+ --typography-text-m-min-line-height: 20px;
229
229
  --typography-text-m-font: var(--font-primary);
230
230
 
231
- --typography-text-s-min: 12px;
232
231
  --typography-text-s-max: 14px;
233
- --typography-text-s-min-line-height: 12px;
232
+ --typography-text-s-min: 14px;
234
233
  --typography-text-s-max-line-height: 14px;
234
+ --typography-text-s-min-line-height: 16px;
235
235
  --typography-text-s-font: var(--font-primary);
236
236
 
237
- --typography-text-xs-min: 10px;
238
237
  --typography-text-xs-max: 12px;
239
- --typography-text-xs-min-line-height: 10px;
238
+ --typography-text-xs-min: 14px;
240
239
  --typography-text-xs-max-line-height: 12px;
240
+ --typography-text-xs-min-line-height: 14px;
241
241
  --typography-text-xs-font: var(--font-primary);
242
242
 
243
- --typography-text-xxs-min: 8px;
244
243
  --typography-text-xxs-max: 10px;
245
- --typography-text-xxs-min-line-height: 8px;
246
- --typography-text-xxs-max-line-height: 10px;
244
+ --typography-text-xxs-min: 10px;
245
+ --typography-text-xxs-max-line-height: 12px;
246
+ --typography-text-xxs-min-line-height: 12px;
247
247
  --typography-text-xxs-font: var(--font-primary);
248
248
 
249
249
  --typography-email-h1: 32px;
@@ -287,8 +287,57 @@
287
287
 
288
288
  --typography-email-text-xxs: 10px;
289
289
  --typography-email-text-xxs-line-height: 14px;
290
+ --font-primary: 'PF-Din-Display-Pro', sans-serif;
291
+ --font-email: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji',
292
+ 'Segoe UI Emoji', 'Segoe UI Symbol';
290
293
  }
291
294
  /* stylelint-disable custom-property-empty-line-before, value-keyword-case */
295
+ /* stylelint-disable value-keyword-case */
296
+ @font-face {
297
+ font-family: PF-Din-Display-Pro;
298
+ src:
299
+ url('./../../fonts/PF-Din-Display-Pro/pf-din-display-pro_bold.woff2') format('woff2'),
300
+ url('./../../fonts/PF-Din-Display-Pro/pf-din-display-pro_bold.woff') format('woff');
301
+ font-weight: 700;
302
+ font-style: normal;
303
+ font-optical-sizing: auto;
304
+ }
305
+ @font-face {
306
+ font-family: PF-Din-Display-Pro;
307
+ src:
308
+ url('./../../fonts/PF-Din-Display-Pro/pf-din-display-pro_medium.woff2') format('woff2'),
309
+ url('./../../fonts/PF-Din-Display-Pro/pf-din-display-pro_medium.woff') format('woff');
310
+ font-weight: 500;
311
+ font-style: normal;
312
+ font-optical-sizing: auto;
313
+ }
314
+ @font-face {
315
+ font-family: PF-Din-Display-Pro;
316
+ src:
317
+ url('./../../fonts/PF-Din-Display-Pro/pf-din-display-pro_regular.woff2') format('woff2'),
318
+ url('./../../fonts/PF-Din-Display-Pro/pf-din-display-pro_regular.woff') format('woff');
319
+ font-weight: 400;
320
+ font-style: normal;
321
+ font-optical-sizing: auto;
322
+ }
323
+ @font-face {
324
+ font-family: PF-Din-Display-Pro;
325
+ src:
326
+ url('./../../fonts/PF-Din-Display-Pro/pf-din-display-pro_light.woff2') format('woff2'),
327
+ url('./../../fonts/PF-Din-Display-Pro/pf-din-display-pro_light.woff') format('woff');
328
+ font-weight: 300;
329
+ font-style: normal;
330
+ font-optical-sizing: auto;
331
+ }
332
+ @font-face {
333
+ font-family: PF-Din-Display-Pro;
334
+ src:
335
+ url('./../../fonts/PF-Din-Display-Pro/pf-din-display-pro_thin.woff2') format('woff2'),
336
+ url('./../../fonts/PF-Din-Display-Pro/pf-din-display-pro_thin.woff') format('woff');
337
+ font-weight: 100;
338
+ font-style: normal;
339
+ font-optical-sizing: auto;
340
+ }
292
341
  @media (--desktop) {
293
342
  :root {
294
343
  --wrapper-margin: 40px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@itcase/tokens-baikal",
3
3
  "description": "",
4
- "version": "1.0.24",
4
+ "version": "1.0.25",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -10,9 +10,12 @@
10
10
  "url": "https://github.com/ITCase/itcase-tokens.git"
11
11
  },
12
12
  "scripts": {
13
- "build": "npm run build-js && npm run build-css",
13
+ "build": "npm run build-js && npm run build-css && npm run fonts",
14
14
  "build-js": "rm -rf dist && NODE_ENV=production rollup -c",
15
- "build-css": "rm -rf dist/css && postcss 'src/styles/main.css' --base src --dir dist/css/ --env production",
15
+ "build-css": "postcss 'src/styles/main.css' --base src --dir dist/css/ --env production",
16
+ "dev": "npm run dev-css",
17
+ "fonts": "rm -rf ./dist/fonts && cp -r ./src/fonts/ ./dist/fonts/",
18
+ "dev-css": "postcss 'src/styles/main.css' --base src --dir dist/css/ --env production",
16
19
  "dev-js": "rollup -c -w"
17
20
  },
18
21
  "files": [
@@ -22,5 +25,5 @@
22
25
  "access": "public",
23
26
  "registry": "https://registry.npmjs.org/"
24
27
  },
25
- "gitHead": "7276f21b2c171a8214e46eb865b4411f95eb1a0d"
28
+ "gitHead": "31c4cfe350c392aa849507cd638fa5a22f4d54d2"
26
29
  }