@itcase/tokens-am 1.0.21 → 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.
Files changed (23) hide show
  1. package/dist/css/styles/main.css +83 -27
  2. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Bold.eot +0 -0
  3. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Bold.ttf +0 -0
  4. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Bold.woff +0 -0
  5. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Bold.woff2 +0 -0
  6. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-ExtraBold.eot +0 -0
  7. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-ExtraBold.ttf +0 -0
  8. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-ExtraBold.woff +0 -0
  9. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-ExtraBold.woff2 +0 -0
  10. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Medium.eot +0 -0
  11. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Medium.ttf +0 -0
  12. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Medium.woff +0 -0
  13. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Medium.woff2 +0 -0
  14. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Regular.eot +0 -0
  15. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Regular.ttf +0 -0
  16. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Regular.woff +0 -0
  17. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-Regular.woff2 +0 -0
  18. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-SemiBold.eot +0 -0
  19. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-SemiBold.ttf +0 -0
  20. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-SemiBold.woff +0 -0
  21. package/dist/fonts/WixMadeforDisplay/WixMadeforDisplay-SemiBold.woff2 +0 -0
  22. package/package.json +8 -6
  23. package/dist/index.js +0 -2
@@ -162,38 +162,38 @@
162
162
 
163
163
  --typography-h1-min: 32px;
164
164
  --typography-h1-max: 64px;
165
- --typography-h1-min-line-height: 64px;
165
+ --typography-h1-min-line-height: 40px;
166
166
  --typography-h1-max-line-height: 80px;
167
167
  --typography-h1-font: var(--font-primary);
168
168
 
169
- --typography-h2-min: 26px;
170
- --typography-h2-max: 46px;
171
- --typography-h2-min-line-height: 46px;
172
- --typography-h2-max-line-height: 58px;
169
+ --typography-h2-min: 28px;
170
+ --typography-h2-max: 48px;
171
+ --typography-h2-min-line-height: 32px;
172
+ --typography-h2-max-line-height: 56px;
173
173
  --typography-h2-font: var(--font-primary);
174
174
 
175
175
  --typography-h3-min: 18px;
176
176
  --typography-h3-max: 32px;
177
- --typography-h3-min-line-height: 32px;
177
+ --typography-h3-min-line-height: 24px;
178
178
  --typography-h3-max-line-height: 40px;
179
179
  --typography-h3-font: var(--font-primary);
180
180
 
181
181
  --typography-h4-min: 16px;
182
182
  --typography-h4-max: 24px;
183
- --typography-h4-min-line-height: 24px;
184
- --typography-h4-max-line-height: 30px;
183
+ --typography-h4-min-line-height: 18px;
184
+ --typography-h4-max-line-height: 32px;
185
185
  --typography-h4-font: var(--font-primary);
186
186
 
187
187
  --typography-h5-min: 14px;
188
188
  --typography-h5-max: 18px;
189
- --typography-h5-min-line-height: 18px;
190
- --typography-h5-max-line-height: 26px;
189
+ --typography-h5-min-line-height: 16px;
190
+ --typography-h5-max-line-height: 24px;
191
191
  --typography-h5-font: var(--font-primary);
192
192
 
193
193
  --typography-h6-min: 12px;
194
194
  --typography-h6-max: 16px;
195
- --typography-h6-min-line-height: 16px;
196
- --typography-h6-max-line-height: 24px;
195
+ --typography-h6-min-line-height: 14px;
196
+ --typography-h6-max-line-height: 20px;
197
197
  --typography-h6-font: var(--font-primary);
198
198
 
199
199
  --typography-p-min: 14px;
@@ -202,45 +202,45 @@
202
202
  --typography-p-max-line-height: 20px;
203
203
  --typography-p-font: var(--font-primary);
204
204
 
205
- --typography-text-xxl-min: 20px;
205
+ --typography-text-xxl-min: 24px;
206
206
  --typography-text-xxl-max: 24px;
207
- --typography-text-xxl-min-line-height: 20px;
207
+ --typography-text-xxl-min-line-height: 24px;
208
208
  --typography-text-xxl-max-line-height: 24px;
209
209
  --typography-text-xxl-font: var(--font-primary);
210
210
 
211
211
  --typography-text-xl-min: 20px;
212
- --typography-text-xl-max: 22px;
212
+ --typography-text-xl-max: 20px;
213
213
  --typography-text-xl-min-line-height: 20px;
214
- --typography-text-xl-max-line-height: 22px;
214
+ --typography-text-xl-max-line-height: 20px;
215
215
  --typography-text-xl-font: var(--font-primary);
216
216
 
217
217
  --typography-text-l-min: 18px;
218
- --typography-text-l-max: 20px;
218
+ --typography-text-l-max: 18px;
219
219
  --typography-text-l-min-line-height: 18px;
220
- --typography-text-l-max-line-height: 20px;
220
+ --typography-text-l-max-line-height: 18px;
221
221
  --typography-text-l-font: var(--font-primary);
222
222
 
223
- --typography-text-m-min: 14px;
223
+ --typography-text-m-min: 16px;
224
224
  --typography-text-m-max: 16px;
225
- --typography-text-m-min-line-height: 14px;
226
- --typography-text-m-max-line-height: 20px;
225
+ --typography-text-m-min-line-height: 16px;
226
+ --typography-text-m-max-line-height: 16px;
227
227
  --typography-text-m-font: var(--font-primary);
228
228
 
229
- --typography-text-s-min: 12px;
229
+ --typography-text-s-min: 14px;
230
230
  --typography-text-s-max: 14px;
231
- --typography-text-s-min-line-height: 12px;
231
+ --typography-text-s-min-line-height: 14px;
232
232
  --typography-text-s-max-line-height: 14px;
233
233
  --typography-text-s-font: var(--font-primary);
234
234
 
235
- --typography-text-xs-min: 10px;
235
+ --typography-text-xs-min: 12px;
236
236
  --typography-text-xs-max: 12px;
237
- --typography-text-xs-min-line-height: 10px;
237
+ --typography-text-xs-min-line-height: 12px;
238
238
  --typography-text-xs-max-line-height: 12px;
239
239
  --typography-text-xs-font: var(--font-primary);
240
240
 
241
- --typography-text-xxs-min: 8px;
241
+ --typography-text-xxs-min: 10px;
242
242
  --typography-text-xxs-max: 10px;
243
- --typography-text-xxs-min-line-height: 8px;
243
+ --typography-text-xxs-min-line-height: 10px;
244
244
  --typography-text-xxs-max-line-height: 10px;
245
245
  --typography-text-xxs-font: var(--font-primary);
246
246
 
@@ -285,8 +285,64 @@
285
285
 
286
286
  --typography-email-text-xxs: 10px;
287
287
  --typography-email-text-xxs-line-height: 14px;
288
+ --font-primary: 'Wix Madefor Display', sans-serif;
289
+ --font-email: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu,
290
+ Cantarell, 'Helvetica Neue', sans-serif;
288
291
  }
289
292
  /* stylelint-disable custom-property-empty-line-before, value-keyword-case */
293
+ /* stylelint-disable custom-property-empty-line-before, value-keyword-case */
294
+ @font-face {
295
+ font-family: 'Wix Madefor Display';
296
+ src: url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Bold.eot');
297
+ src:
298
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Bold.eot?#iefix')
299
+ format('embedded-opentype'),
300
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Bold.woff2') format('woff2'),
301
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Bold.woff') format('woff'),
302
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Bold.ttf') format('truetype');
303
+ font-weight: 700;
304
+ font-style: normal;
305
+ font-optical-sizing: auto;
306
+ }
307
+ @font-face {
308
+ font-family: 'Wix Madefor Display';
309
+ src: url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-SemiBold.eot');
310
+ src:
311
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-SemiBold.eot?#iefix')
312
+ format('embedded-opentype'),
313
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-SemiBold.woff2') format('woff2'),
314
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-SemiBold.woff') format('woff'),
315
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-SemiBold.ttf') format('truetype');
316
+ font-weight: 600;
317
+ font-style: normal;
318
+ font-optical-sizing: auto;
319
+ }
320
+ @font-face {
321
+ font-family: 'Wix Madefor Display';
322
+ src: url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Medium.eot');
323
+ src:
324
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Medium.eot?#iefix')
325
+ format('embedded-opentype'),
326
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Medium.woff2') format('woff2'),
327
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Medium.woff') format('woff'),
328
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Medium.ttf') format('truetype');
329
+ font-weight: 500;
330
+ font-style: normal;
331
+ font-optical-sizing: auto;
332
+ }
333
+ @font-face {
334
+ font-family: 'Wix Madefor Display';
335
+ src: url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Regular.eot');
336
+ src:
337
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Regular.eot?#iefix')
338
+ format('embedded-opentype'),
339
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Regular.woff2') format('woff2'),
340
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Regular.woff') format('woff'),
341
+ url('./../../fonts/WixMadeforDisplay/WixMadeforDisplay-Regular.ttf') format('truetype');
342
+ font-weight: 400;
343
+ font-style: normal;
344
+ font-optical-sizing: auto;
345
+ }
290
346
  @media (--desktop) {
291
347
  :root {
292
348
  --wrapper-margin: 40px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@itcase/tokens-am",
3
3
  "description": "",
4
- "version": "1.0.21",
4
+ "version": "1.0.25",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -10,11 +10,13 @@
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-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",
16
- "dev-js": "rollup -c -w",
17
- "dev-css": "postcss 'src/styles/main.css' --base src --dir dist/css/ --env production -w --verbose"
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",
19
+ "dev-js": "rollup -c -w"
18
20
  },
19
21
  "files": [
20
22
  "/dist"
@@ -23,5 +25,5 @@
23
25
  "access": "public",
24
26
  "registry": "https://registry.npmjs.org/"
25
27
  },
26
- "gitHead": "a5aeee735c2430520c0392a4b4d67dcf55da48cd"
28
+ "gitHead": "31c4cfe350c392aa849507cd638fa5a22f4d54d2"
27
29
  }
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- 'use strict';
2
-