@penskemediacorp/larva-tokens 0.5.4 → 0.6.4-develop.17
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/build/artinamerica.custom-properties.css +472 -0
- package/build/artinamerica.json +472 -0
- package/build/artinamerica.map.scss +472 -0
- package/build/artinamerica.raw.json +3688 -0
- package/build/artnews.custom-properties.css +477 -0
- package/build/artnews.json +478 -1
- package/build/artnews.map.scss +477 -0
- package/build/artnews.raw.json +3733 -0
- package/build/deadline.custom-properties.css +447 -9
- package/build/deadline.json +448 -10
- package/build/deadline.map.scss +447 -9
- package/build/deadline.raw.json +3477 -95
- package/build/default.custom-properties.css +329 -25
- package/build/default.json +329 -25
- package/build/default.map.scss +329 -25
- package/build/default.raw.json +2752 -470
- package/build/indiewire.custom-properties.css +330 -26
- package/build/indiewire.json +330 -26
- package/build/indiewire.map.scss +330 -26
- package/build/indiewire.raw.json +2768 -486
- package/build/robbreport.custom-properties.css +431 -29
- package/build/robbreport.json +431 -29
- package/build/robbreport.map.scss +431 -29
- package/build/robbreport.raw.json +3296 -222
- package/build/rollingstone-2022.custom-properties.css +392 -88
- package/build/rollingstone-2022.json +392 -88
- package/build/rollingstone-2022.map.scss +392 -88
- package/build/rollingstone-2022.raw.json +2664 -564
- package/build/rollingstone.custom-properties.css +336 -32
- package/build/rollingstone.json +336 -32
- package/build/rollingstone.map.scss +336 -32
- package/build/rollingstone.raw.json +2751 -469
- package/build/variety-vip.custom-properties.css +329 -25
- package/build/variety-vip.json +329 -25
- package/build/variety-vip.map.scss +329 -25
- package/build/variety-vip.raw.json +2736 -454
- package/build/variety.custom-properties.css +329 -25
- package/build/variety.json +329 -25
- package/build/variety.map.scss +329 -25
- package/build/variety.raw.json +2736 -454
- package/lib/font-data.js +6 -9
- package/package.json +2 -2
- package/style-guides/artinamerica.html +6372 -27
- package/style-guides/artnews.html +6459 -27
- package/style-guides/deadline.html +5823 -107
- package/style-guides/default.html +4403 -375
- package/style-guides/indiewire.html +4403 -375
- package/style-guides/robbreport.html +5294 -224
- package/style-guides/rollingstone-2022.html +4423 -395
- package/style-guides/rollingstone.html +4403 -375
- package/style-guides/variety-vip.html +4371 -343
- package/style-guides/variety.html +4371 -343
package/lib/font-data.js
CHANGED
|
@@ -7,24 +7,21 @@ const { kebabify } = require( './utils' );
|
|
|
7
7
|
* All style names and corresponding sizes.
|
|
8
8
|
*/
|
|
9
9
|
const styles = {
|
|
10
|
-
primary: [ 'xl', 'l', 'm', 's', 'xs', 'xxs', 'xxxs' ],
|
|
11
|
-
secondary: [ 'l', 'm', 's' ],
|
|
10
|
+
primary: [ 'xxl', 'xl', 'l', 'm', 's', 'xs', 'xxs', 'xxxs' ],
|
|
11
|
+
secondary: [ 'xxl', 'xl', 'l', 'm', 's', 'xs', 'xxs' ],
|
|
12
12
|
secondary_regular: [ 'm' ],
|
|
13
13
|
accent: [ 'l', 'm', 's', 'xs', 'xxs' ],
|
|
14
14
|
accent_regular: [ 'xxs' ],
|
|
15
|
-
body: [ 'm', 's' ],
|
|
15
|
+
body: [ 'xxxl', 'xxl', 'xl', 'l', 'm', 's', 'xs', 'xxs', 'xxxs' ],
|
|
16
|
+
basic: [ 'xxl', 'xl', 'l', 'm', 's', 'xs', 'xxs' ],
|
|
16
17
|
};
|
|
17
18
|
|
|
18
19
|
const families = Object.keys( styles );
|
|
19
20
|
|
|
20
21
|
/**
|
|
21
22
|
* Breakpoints that will be supported in tokens.
|
|
22
|
-
*
|
|
23
|
-
* Note: Desktop-xl is not required for the hubs
|
|
24
|
-
* style guide, and can be added here,
|
|
25
|
-
* in GUT Phase 3, if required.
|
|
26
23
|
*/
|
|
27
|
-
const breakpoints = [ 'mobile', 'desktop' ];
|
|
24
|
+
const breakpoints = [ 'mobile', 'desktop', 'desktop_xl' ];
|
|
28
25
|
|
|
29
26
|
/**
|
|
30
27
|
* Properties for tokens and their defaults.
|
|
@@ -35,7 +32,7 @@ const tokenDefaults = {
|
|
|
35
32
|
font_size: 'initial',
|
|
36
33
|
line_height: 'initial',
|
|
37
34
|
letter_spacing: 'normal',
|
|
38
|
-
font_weight: '
|
|
35
|
+
font_weight: 'normal',
|
|
39
36
|
font_style: 'normal',
|
|
40
37
|
};
|
|
41
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@penskemediacorp/larva-tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.4-develop.17+854eedf7",
|
|
4
4
|
"description": "Design tokens",
|
|
5
5
|
"author": "laras126 <laras126@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/penske-media-corp/pmc-larva#readme",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"gulp": "^4.0.2",
|
|
32
32
|
"plugin-error": "^1.0.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "854eedf76f31c2ed8f5300329cc2242f936e69b8"
|
|
35
35
|
}
|