@penskemediacorp/larva 0.4.3 → 0.5.1

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 (61) hide show
  1. package/build/css/larva-important.css +1 -1
  2. package/build/css/larva.css +1 -1
  3. package/build/css/larva.inline-important.css +1 -1
  4. package/build/css/larva.inline.css +1 -1
  5. package/build/css/variety.compat-important.css +1 -1
  6. package/build/css/variety.compat.css +1 -1
  7. package/build/svg/defs/sprite.defs.html +1 -1
  8. package/build/tokens/artinamerica.custom-properties.css +2 -2
  9. package/build/tokens/artinamerica.json +2 -2
  10. package/build/tokens/artinamerica.map.scss +2 -2
  11. package/build/tokens/artinamerica.raw.json +4 -4
  12. package/build/tokens/artnews.custom-properties.css +1 -1
  13. package/build/tokens/artnews.json +1 -1
  14. package/build/tokens/artnews.map.scss +1 -1
  15. package/build/tokens/artnews.raw.json +2 -2
  16. package/build/tokens/billboard.custom-properties.css +2 -2
  17. package/build/tokens/billboard.json +2 -2
  18. package/build/tokens/billboard.map.scss +2 -2
  19. package/build/tokens/billboard.raw.json +4 -4
  20. package/build/tokens/deadline.custom-properties.css +1 -1
  21. package/build/tokens/deadline.json +1 -1
  22. package/build/tokens/deadline.map.scss +1 -1
  23. package/build/tokens/deadline.raw.json +2 -2
  24. package/build/tokens/default.custom-properties.css +6 -6
  25. package/build/tokens/default.json +6 -6
  26. package/build/tokens/default.map.scss +6 -6
  27. package/build/tokens/default.raw.json +12 -12
  28. package/build/tokens/indiewire.custom-properties.css +1 -1
  29. package/build/tokens/indiewire.json +1 -1
  30. package/build/tokens/indiewire.map.scss +1 -1
  31. package/build/tokens/indiewire.raw.json +2 -2
  32. package/build/tokens/robbreport.custom-properties.css +3 -3
  33. package/build/tokens/robbreport.json +3 -3
  34. package/build/tokens/robbreport.map.scss +3 -3
  35. package/build/tokens/robbreport.raw.json +6 -6
  36. package/build/tokens/rollingstone.custom-properties.css +1 -1
  37. package/build/tokens/rollingstone.json +1 -1
  38. package/build/tokens/rollingstone.map.scss +1 -1
  39. package/build/tokens/rollingstone.raw.json +2 -2
  40. package/build/tokens/variety-compat.custom-properties.css +36 -0
  41. package/build/tokens/variety-compat.json +33 -0
  42. package/build/tokens/variety-compat.map.scss +36 -0
  43. package/build/tokens/variety-compat.raw.json +224 -0
  44. package/build/tokens/variety-vip.custom-properties.css +3 -3
  45. package/build/tokens/variety-vip.json +3 -3
  46. package/build/tokens/variety-vip.map.scss +3 -3
  47. package/build/tokens/variety-vip.raw.json +6 -6
  48. package/build/tokens/variety.custom-properties.css +4 -4
  49. package/build/tokens/variety.json +4 -4
  50. package/build/tokens/variety.map.scss +4 -4
  51. package/build/tokens/variety.raw.json +8 -8
  52. package/build/tokens/wwd-dd.custom-properties.css +18 -0
  53. package/build/tokens/wwd-dd.json +13 -0
  54. package/build/tokens/wwd-dd.map.scss +18 -0
  55. package/build/tokens/wwd-dd.raw.json +90 -0
  56. package/lib/server.js +10 -1
  57. package/package.json +12 -12
  58. package/build/tokens/build/bbpro.custom-properties.css +0 -96
  59. package/build/tokens/build/bbpro.json +0 -80
  60. package/build/tokens/build/bbpro.map.scss +0 -96
  61. package/build/tokens/build/bbpro.raw.json +0 -789
@@ -0,0 +1,224 @@
1
+ {
2
+ "aliases": {},
3
+ "props": {
4
+ "COLOR_BRAND_SECONDARY": {
5
+ "category": "text-color",
6
+ "type": "color",
7
+ "value": "rgb(238, 232, 9)",
8
+ "originalValue": "rgb(238, 232, 9)",
9
+ "name": "COLOR_BRAND_SECONDARY"
10
+ },
11
+ "BORDER_COLOR_GREY_LIGHTEST": {
12
+ "category": "hr-color",
13
+ "type": "color",
14
+ "value": "rgb(247, 247, 247)",
15
+ "originalValue": "rgb(247, 247, 247)",
16
+ "name": "BORDER_COLOR_GREY_LIGHTEST"
17
+ },
18
+ "BACKGROUND_COLOR_GREY_LIGHT": {
19
+ "category": "background-color",
20
+ "type": "color",
21
+ "value": "rgb(230, 230, 230)",
22
+ "originalValue": "rgb(230, 230, 230)",
23
+ "name": "BACKGROUND_COLOR_GREY_LIGHT"
24
+ },
25
+ "BACKGROUND_COLOR_GREY_LIGHTEST": {
26
+ "category": "background-color",
27
+ "type": "color",
28
+ "value": "rgb(247, 247, 247)",
29
+ "originalValue": "rgb(247, 247, 247)",
30
+ "name": "BACKGROUND_COLOR_GREY_LIGHTEST"
31
+ },
32
+ "COLOR_BLACK": {
33
+ "category": "text-color",
34
+ "type": "color",
35
+ "value": "rgb(0, 0, 0)",
36
+ "originalValue": "rgb(0, 0, 0)",
37
+ "name": "COLOR_BLACK"
38
+ },
39
+ "BORDER_COLOR_BRAND_SECONDARY_LIGHT": {
40
+ "category": "hr-color",
41
+ "type": "color",
42
+ "value": "rgb(243, 245, 203)",
43
+ "originalValue": "rgb(243, 245, 203)",
44
+ "name": "BORDER_COLOR_BRAND_SECONDARY_LIGHT"
45
+ },
46
+ "BORDER_COLOR_GREY_LIGHT": {
47
+ "category": "hr-color",
48
+ "type": "color",
49
+ "value": "rgb(230, 230, 230)",
50
+ "originalValue": "rgb(230, 230, 230)",
51
+ "name": "BORDER_COLOR_GREY_LIGHT"
52
+ },
53
+ "BACKGROUND_COLOR_BRAND_SECONDARY_LIGHT": {
54
+ "category": "background-color",
55
+ "type": "color",
56
+ "value": "rgb(243, 245, 203)",
57
+ "originalValue": "rgb(243, 245, 203)",
58
+ "name": "BACKGROUND_COLOR_BRAND_SECONDARY_LIGHT"
59
+ },
60
+ "COLOR_BRAND_PRIMARY_DARK": {
61
+ "category": "text-color",
62
+ "type": "color",
63
+ "value": "rgb(36, 56, 66)",
64
+ "originalValue": "rgb(36, 56, 66)",
65
+ "name": "COLOR_BRAND_PRIMARY_DARK"
66
+ },
67
+ "BORDER_COLOR_GREY_DARK": {
68
+ "category": "hr-color",
69
+ "type": "color",
70
+ "value": "rgb(106, 106, 106)",
71
+ "originalValue": "rgb(106, 106, 106)",
72
+ "name": "BORDER_COLOR_GREY_DARK"
73
+ },
74
+ "BACKGROUND_COLOR_GREY_DARK": {
75
+ "category": "background-color",
76
+ "type": "color",
77
+ "value": "rgb(106, 106, 106)",
78
+ "originalValue": "rgb(106, 106, 106)",
79
+ "name": "BACKGROUND_COLOR_GREY_DARK"
80
+ },
81
+ "BACKGROUND_COLOR_GREY": {
82
+ "category": "background-color",
83
+ "type": "color",
84
+ "value": "rgb(140, 140, 140)",
85
+ "originalValue": "rgb(140, 140, 140)",
86
+ "name": "BACKGROUND_COLOR_GREY"
87
+ },
88
+ "COLOR_WHITE": {
89
+ "category": "text-color",
90
+ "type": "color",
91
+ "value": "rgb(255, 255, 255)",
92
+ "originalValue": "rgb(255, 255, 255)",
93
+ "name": "COLOR_WHITE"
94
+ },
95
+ "BORDER_COLOR_BRAND_SECONDARY": {
96
+ "category": "hr-color",
97
+ "type": "color",
98
+ "value": "rgb(238, 232, 9)",
99
+ "originalValue": "rgb(238, 232, 9)",
100
+ "name": "BORDER_COLOR_BRAND_SECONDARY"
101
+ },
102
+ "BORDER_COLOR_GREY": {
103
+ "category": "hr-color",
104
+ "type": "color",
105
+ "value": "rgb(140, 140, 140)",
106
+ "originalValue": "rgb(140, 140, 140)",
107
+ "name": "BORDER_COLOR_GREY"
108
+ },
109
+ "COLOR_BRAND_PRIMARY": {
110
+ "category": "text-color",
111
+ "type": "color",
112
+ "value": "rgb(107, 123, 132)",
113
+ "originalValue": "rgb(107, 123, 132)",
114
+ "name": "COLOR_BRAND_PRIMARY"
115
+ },
116
+ "BACKGROUND_COLOR_BRAND_SECONDARY": {
117
+ "category": "background-color",
118
+ "type": "color",
119
+ "value": "rgb(238, 232, 9)",
120
+ "comment": "The secondary brand color. This should be lighter in hue, and sufficient contrast with black text.",
121
+ "originalValue": "rgb(238, 232, 9)",
122
+ "name": "BACKGROUND_COLOR_BRAND_SECONDARY"
123
+ },
124
+ "BACKGROUND_COLOR_BRAND_ACCENT": {
125
+ "value": "rgb(26, 40, 47)",
126
+ "type": "color",
127
+ "category": "background-color",
128
+ "originalValue": "rgb(26, 40, 47)",
129
+ "name": "BACKGROUND_COLOR_BRAND_ACCENT"
130
+ },
131
+ "COLOR_GREY_LIGHT": {
132
+ "category": "text-color",
133
+ "type": "color",
134
+ "value": "rgb(230, 230, 230)",
135
+ "originalValue": "rgb(230, 230, 230)",
136
+ "name": "COLOR_GREY_LIGHT"
137
+ },
138
+ "BACKGROUND_COLOR_BLACK": {
139
+ "category": "background-color",
140
+ "type": "color",
141
+ "value": "rgb(0, 0, 0)",
142
+ "originalValue": "rgb(0, 0, 0)",
143
+ "name": "BACKGROUND_COLOR_BLACK"
144
+ },
145
+ "COLOR_BRAND_SECONDARY_LIGHT": {
146
+ "category": "text-color",
147
+ "type": "color",
148
+ "value": "rgb(243, 245, 203)",
149
+ "originalValue": "rgb(243, 245, 203)",
150
+ "name": "COLOR_BRAND_SECONDARY_LIGHT"
151
+ },
152
+ "BACKGROUND_COLOR_BRAND_PRIMARY_DARK": {
153
+ "category": "background-color",
154
+ "type": "color",
155
+ "value": "rgb(36, 56, 66)",
156
+ "originalValue": "rgb(36, 56, 66)",
157
+ "name": "BACKGROUND_COLOR_BRAND_PRIMARY_DARK"
158
+ },
159
+ "BORDER_COLOR_WHITE": {
160
+ "category": "hr-color",
161
+ "type": "color",
162
+ "value": "rgb(255, 255, 255)",
163
+ "originalValue": "rgb(255, 255, 255)",
164
+ "name": "BORDER_COLOR_WHITE"
165
+ },
166
+ "BORDER_COLOR_BRAND_PRIMARY_DARK": {
167
+ "category": "hr-color",
168
+ "type": "color",
169
+ "value": "rgb(36, 56, 66)",
170
+ "originalValue": "rgb(36, 56, 66)",
171
+ "name": "BORDER_COLOR_BRAND_PRIMARY_DARK"
172
+ },
173
+ "COLOR_GREY_DARK": {
174
+ "category": "text-color",
175
+ "type": "color",
176
+ "value": "rgb(106, 106, 106)",
177
+ "originalValue": "rgb(106, 106, 106)",
178
+ "name": "COLOR_GREY_DARK"
179
+ },
180
+ "BORDER_COLOR_BRAND_PRIMARY": {
181
+ "category": "hr-color",
182
+ "type": "color",
183
+ "value": "rgb(107, 123, 132)",
184
+ "originalValue": "rgb(107, 123, 132)",
185
+ "name": "BORDER_COLOR_BRAND_PRIMARY"
186
+ },
187
+ "COLOR_GREY": {
188
+ "category": "text-color",
189
+ "type": "color",
190
+ "value": "rgb(140, 140, 140)",
191
+ "originalValue": "rgb(140, 140, 140)",
192
+ "name": "COLOR_GREY"
193
+ },
194
+ "BACKGROUND_COLOR_WHITE": {
195
+ "category": "background-color",
196
+ "type": "color",
197
+ "value": "rgb(255, 255, 255)",
198
+ "originalValue": "rgb(255, 255, 255)",
199
+ "name": "BACKGROUND_COLOR_WHITE"
200
+ },
201
+ "BACKGROUND_COLOR_BRAND_PRIMARY": {
202
+ "category": "background-color",
203
+ "type": "color",
204
+ "value": "rgb(107, 123, 132)",
205
+ "comment": "The primary brand color. This should be dark in hue, and have sufficient contrast with white text.",
206
+ "originalValue": "rgb(107, 123, 132)",
207
+ "name": "BACKGROUND_COLOR_BRAND_PRIMARY"
208
+ },
209
+ "BACKGROUND_COLOR_GREY_DARKEST": {
210
+ "category": "background-color",
211
+ "type": "color",
212
+ "value": "rgb(50, 50, 50)",
213
+ "originalValue": "rgb(50, 50, 50)",
214
+ "name": "BACKGROUND_COLOR_GREY_DARKEST"
215
+ },
216
+ "COLOR_BRAND_ACCENT": {
217
+ "value": "rgb(243, 112, 33)",
218
+ "type": "color",
219
+ "category": "text-color",
220
+ "originalValue": "rgb(243, 112, 33)",
221
+ "name": "COLOR_BRAND_ACCENT"
222
+ }
223
+ }
224
+ }
@@ -13,11 +13,11 @@
13
13
  --color-grey: rgb(140, 140, 140);
14
14
  --font-family-primary-fancy: 'Graphik XX Cond', sans-serif;
15
15
  /* Fallback for primary-fancy */
16
- --font-family-primary: Georgia, serif;
16
+ --font-family-primary: Arial, sans-serif;
17
17
  --font-family-secondary-fancy: 'IBM Plex Sans', sans-serif;
18
18
  --font-family-secondary: Helvetica, sans-serif;
19
- --font-family-body: Georgia, serif;
20
- --font-family-basic: Helvetica, sans-serif;
19
+ --font-family-body: Arial, sans-serif;
20
+ --font-family-basic: Arial, sans-serif;
21
21
  --background-color-grey-light: rgb(204, 204, 204);
22
22
  --background-color-grey-lightest: rgb(247, 247, 247);
23
23
  --background-color-brand-secondary-dark: rgb(36, 56, 66);
@@ -11,11 +11,11 @@
11
11
  "COLOR_GREY_DARK": "rgb(106, 106, 106)",
12
12
  "COLOR_GREY": "rgb(140, 140, 140)",
13
13
  "FONT_FAMILY_PRIMARY_FANCY": "'Graphik XX Cond', sans-serif",
14
- "FONT_FAMILY_PRIMARY": "Georgia, serif",
14
+ "FONT_FAMILY_PRIMARY": "Arial, sans-serif",
15
15
  "FONT_FAMILY_SECONDARY_FANCY": "'IBM Plex Sans', sans-serif",
16
16
  "FONT_FAMILY_SECONDARY": "Helvetica, sans-serif",
17
- "FONT_FAMILY_BODY": "Georgia, serif",
18
- "FONT_FAMILY_BASIC": "Helvetica, sans-serif",
17
+ "FONT_FAMILY_BODY": "Arial, sans-serif",
18
+ "FONT_FAMILY_BASIC": "Arial, sans-serif",
19
19
  "BACKGROUND_COLOR_GREY_LIGHT": "rgb(204, 204, 204)",
20
20
  "BACKGROUND_COLOR_GREY_LIGHTEST": "rgb(247, 247, 247)",
21
21
  "BACKGROUND_COLOR_BRAND_SECONDARY_DARK": "rgb(36, 56, 66)",
@@ -13,11 +13,11 @@ $variety-vip-map: (
13
13
  'color-grey': (rgb(140, 140, 140)),
14
14
  'font-family-primary-fancy': ('Graphik XX Cond', sans-serif),
15
15
  /* Fallback for primary-fancy */
16
- 'font-family-primary': (Georgia, serif),
16
+ 'font-family-primary': (Arial, sans-serif),
17
17
  'font-family-secondary-fancy': ('IBM Plex Sans', sans-serif),
18
18
  'font-family-secondary': (Helvetica, sans-serif),
19
- 'font-family-body': (Georgia, serif),
20
- 'font-family-basic': (Helvetica, sans-serif),
19
+ 'font-family-body': (Arial, sans-serif),
20
+ 'font-family-basic': (Arial, sans-serif),
21
21
  'background-color-grey-light': (rgb(204, 204, 204)),
22
22
  'background-color-grey-lightest': (rgb(247, 247, 247)),
23
23
  'background-color-brand-secondary-dark': (rgb(36, 56, 66)),
@@ -310,10 +310,10 @@
310
310
  },
311
311
  "FONT_FAMILY_PRIMARY": {
312
312
  "category": "font-family",
313
- "value": "Georgia, serif",
313
+ "value": "Arial, sans-serif",
314
314
  "type": "font",
315
315
  "comment": "Fallback for primary-fancy",
316
- "originalValue": "Georgia, serif",
316
+ "originalValue": "Arial, sans-serif",
317
317
  "name": "FONT_FAMILY_PRIMARY"
318
318
  },
319
319
  "FONT_FAMILY_SECONDARY_FANCY": {
@@ -332,16 +332,16 @@
332
332
  },
333
333
  "FONT_FAMILY_BODY": {
334
334
  "category": "font-family",
335
- "value": "Georgia, serif",
335
+ "value": "Arial, sans-serif",
336
336
  "type": "font",
337
- "originalValue": "Georgia, serif",
337
+ "originalValue": "Arial, sans-serif",
338
338
  "name": "FONT_FAMILY_BODY"
339
339
  },
340
340
  "FONT_FAMILY_BASIC": {
341
341
  "category": "font-family",
342
- "value": "Helvetica, sans-serif",
342
+ "value": "Arial, sans-serif",
343
343
  "type": "font-family",
344
- "originalValue": "Helvetica, sans-serif",
344
+ "originalValue": "Arial, sans-serif",
345
345
  "name": "FONT_FAMILY_BASIC"
346
346
  },
347
347
  "BACKGROUND_COLOR_GREY_LIGHT": {
@@ -40,12 +40,12 @@
40
40
  --color-grey: rgb(140, 140, 140);
41
41
  --font-family-primary-fancy: 'Para Supreme Regular', serif;
42
42
  /* Fallback for primary-fancy */
43
- --font-family-primary: Georgia, serif;
43
+ --font-family-primary: Arial, sans-serif;
44
44
  --font-family-secondary-fancy: 'IBM Plex Sans', sans-serif;
45
45
  /* Fallback for secondary-fancy */
46
- --font-family-secondary: Helvetica, serif;
47
- --font-family-body: Georgia, serif;
48
- --font-family-basic: Helvetica, sans-serif;
46
+ --font-family-secondary: Arial, sans-serif;
47
+ --font-family-body: Arial, sans-serif;
48
+ --font-family-basic: Arial, sans-serif;
49
49
  --font-weight-light: 300;
50
50
  --font-weight-normal: 400;
51
51
  --font-weight-bold: 700;
@@ -36,11 +36,11 @@
36
36
  "COLOR_GREY_DARK": "rgb(106, 106, 106)",
37
37
  "COLOR_GREY": "rgb(140, 140, 140)",
38
38
  "FONT_FAMILY_PRIMARY_FANCY": "'Para Supreme Regular', serif",
39
- "FONT_FAMILY_PRIMARY": "Georgia, serif",
39
+ "FONT_FAMILY_PRIMARY": "Arial, sans-serif",
40
40
  "FONT_FAMILY_SECONDARY_FANCY": "'IBM Plex Sans', sans-serif",
41
- "FONT_FAMILY_SECONDARY": "Helvetica, serif",
42
- "FONT_FAMILY_BODY": "Georgia, serif",
43
- "FONT_FAMILY_BASIC": "Helvetica, sans-serif",
41
+ "FONT_FAMILY_SECONDARY": "Arial, sans-serif",
42
+ "FONT_FAMILY_BODY": "Arial, sans-serif",
43
+ "FONT_FAMILY_BASIC": "Arial, sans-serif",
44
44
  "FONT_WEIGHT_LIGHT": "300",
45
45
  "FONT_WEIGHT_NORMAL": "400",
46
46
  "FONT_WEIGHT_BOLD": "700",
@@ -40,12 +40,12 @@ $variety-map: (
40
40
  'color-grey': (rgb(140, 140, 140)),
41
41
  'font-family-primary-fancy': ('Para Supreme Regular', serif),
42
42
  /* Fallback for primary-fancy */
43
- 'font-family-primary': (Georgia, serif),
43
+ 'font-family-primary': (Arial, sans-serif),
44
44
  'font-family-secondary-fancy': ('IBM Plex Sans', sans-serif),
45
45
  /* Fallback for secondary-fancy */
46
- 'font-family-secondary': (Helvetica, serif),
47
- 'font-family-body': (Georgia, serif),
48
- 'font-family-basic': (Helvetica, sans-serif),
46
+ 'font-family-secondary': (Arial, sans-serif),
47
+ 'font-family-body': (Arial, sans-serif),
48
+ 'font-family-basic': (Arial, sans-serif),
49
49
  'font-weight-light': (300),
50
50
  'font-weight-normal': (400),
51
51
  'font-weight-bold': (700),
@@ -487,10 +487,10 @@
487
487
  },
488
488
  "FONT_FAMILY_PRIMARY": {
489
489
  "category": "font-family",
490
- "value": "Georgia, serif",
490
+ "value": "Arial, sans-serif",
491
491
  "type": "font",
492
492
  "comment": "Fallback for primary-fancy",
493
- "originalValue": "Georgia, serif",
493
+ "originalValue": "Arial, sans-serif",
494
494
  "name": "FONT_FAMILY_PRIMARY"
495
495
  },
496
496
  "FONT_FAMILY_SECONDARY_FANCY": {
@@ -502,24 +502,24 @@
502
502
  },
503
503
  "FONT_FAMILY_SECONDARY": {
504
504
  "category": "font-family",
505
- "value": "Helvetica, serif",
505
+ "value": "Arial, sans-serif",
506
506
  "type": "font",
507
507
  "comment": "Fallback for secondary-fancy",
508
- "originalValue": "Helvetica, serif",
508
+ "originalValue": "Arial, sans-serif",
509
509
  "name": "FONT_FAMILY_SECONDARY"
510
510
  },
511
511
  "FONT_FAMILY_BODY": {
512
512
  "category": "font-family",
513
- "value": "Georgia, serif",
513
+ "value": "Arial, sans-serif",
514
514
  "type": "font",
515
- "originalValue": "Georgia, serif",
515
+ "originalValue": "Arial, sans-serif",
516
516
  "name": "FONT_FAMILY_BODY"
517
517
  },
518
518
  "FONT_FAMILY_BASIC": {
519
519
  "category": "font-family",
520
- "value": "Helvetica, sans-serif",
520
+ "value": "Arial, sans-serif",
521
521
  "type": "font-family",
522
- "originalValue": "Helvetica, sans-serif",
522
+ "originalValue": "Arial, sans-serif",
523
523
  "name": "FONT_FAMILY_BASIC"
524
524
  },
525
525
  "FONT_WEIGHT_LIGHT": {
@@ -0,0 +1,18 @@
1
+
2
+ :root {
3
+ --border-color-grey-lightest: rgb(240, 240, 240);
4
+ /* The webfont, loaded async */
5
+ --font-family-primary-fancy: forma-djr-deck, sans-serif;
6
+ --font-family-basic: 'Frank Ruhl Libre', serif;
7
+ --background-color-grey-lightest: rgb(240, 240, 240);
8
+ /* Fallback for secondary-fancy */
9
+ --font-family-secondary: serif;
10
+ --font-family-body: 'Frank Ruhl Libre', serif;
11
+ /* The webfont, loaded async */
12
+ --font-family-secondary-fancy: 'Frank Ruhl Libre', serif;
13
+ --color-grey-lightest: rgb(240, 240, 240);
14
+ --font-family-accent: 'Times New Roman', serif;
15
+ /* Fallback for primary-fancy */
16
+ --font-family-primary: sans-serif;
17
+ --font-family-accent-fancy: 'Publico Banner', Times New Roman, sans-serif;
18
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "BORDER_COLOR_GREY_LIGHTEST": "rgb(240, 240, 240)",
3
+ "FONT_FAMILY_PRIMARY_FANCY": "forma-djr-deck, sans-serif",
4
+ "FONT_FAMILY_BASIC": "'Frank Ruhl Libre', serif",
5
+ "BACKGROUND_COLOR_GREY_LIGHTEST": "rgb(240, 240, 240)",
6
+ "FONT_FAMILY_SECONDARY": "serif",
7
+ "FONT_FAMILY_BODY": "'Frank Ruhl Libre', serif",
8
+ "FONT_FAMILY_SECONDARY_FANCY": "'Frank Ruhl Libre', serif",
9
+ "COLOR_GREY_LIGHTEST": "rgb(240, 240, 240)",
10
+ "FONT_FAMILY_ACCENT": "'Times New Roman', serif",
11
+ "FONT_FAMILY_PRIMARY": "sans-serif",
12
+ "FONT_FAMILY_ACCENT_FANCY": "'Publico Banner', Times New Roman, sans-serif"
13
+ }
@@ -0,0 +1,18 @@
1
+
2
+ $wwd-dd-map: (
3
+ 'border-color-grey-lightest': (rgb(240, 240, 240)),
4
+ /* The webfont, loaded async */
5
+ 'font-family-primary-fancy': (forma-djr-deck, sans-serif),
6
+ 'font-family-basic': ('Frank Ruhl Libre', serif),
7
+ 'background-color-grey-lightest': (rgb(240, 240, 240)),
8
+ /* Fallback for secondary-fancy */
9
+ 'font-family-secondary': (serif),
10
+ 'font-family-body': ('Frank Ruhl Libre', serif),
11
+ /* The webfont, loaded async */
12
+ 'font-family-secondary-fancy': ('Frank Ruhl Libre', serif),
13
+ 'color-grey-lightest': (rgb(240, 240, 240)),
14
+ 'font-family-accent': ('Times New Roman', serif),
15
+ /* Fallback for primary-fancy */
16
+ 'font-family-primary': (sans-serif),
17
+ 'font-family-accent-fancy': ('Publico Banner', Times New Roman, sans-serif),
18
+ );
@@ -0,0 +1,90 @@
1
+ {
2
+ "aliases": {},
3
+ "props": {
4
+ "BORDER_COLOR_GREY_LIGHTEST": {
5
+ "category": "hr-color",
6
+ "type": "color",
7
+ "value": "rgb(240, 240, 240)",
8
+ "originalValue": "rgb(240,240,240)",
9
+ "name": "BORDER_COLOR_GREY_LIGHTEST"
10
+ },
11
+ "FONT_FAMILY_PRIMARY_FANCY": {
12
+ "category": "font-family",
13
+ "value": "forma-djr-deck, sans-serif",
14
+ "type": "font",
15
+ "comment": "The webfont, loaded async",
16
+ "originalValue": "forma-djr-deck, sans-serif",
17
+ "name": "FONT_FAMILY_PRIMARY_FANCY"
18
+ },
19
+ "FONT_FAMILY_BASIC": {
20
+ "category": "font-family",
21
+ "value": "'Frank Ruhl Libre', serif",
22
+ "type": "font-family",
23
+ "originalValue": "'Frank Ruhl Libre', serif",
24
+ "name": "FONT_FAMILY_BASIC"
25
+ },
26
+ "BACKGROUND_COLOR_GREY_LIGHTEST": {
27
+ "category": "background-color",
28
+ "type": "color",
29
+ "value": "rgb(240, 240, 240)",
30
+ "originalValue": "rgb(240,240,240)",
31
+ "name": "BACKGROUND_COLOR_GREY_LIGHTEST"
32
+ },
33
+ "FONT_FAMILY_SECONDARY": {
34
+ "category": "font-family",
35
+ "value": "serif",
36
+ "type": "font",
37
+ "comment": "Fallback for secondary-fancy",
38
+ "originalValue": "serif",
39
+ "name": "FONT_FAMILY_SECONDARY"
40
+ },
41
+ "FONT_FAMILY_BODY": {
42
+ "category": "font-family",
43
+ "value": "'Frank Ruhl Libre', serif",
44
+ "type": "font",
45
+ "originalValue": "'Frank Ruhl Libre', serif",
46
+ "name": "FONT_FAMILY_BODY"
47
+ },
48
+ "FONT_FAMILY_SECONDARY_FANCY": {
49
+ "category": "font-family",
50
+ "value": "'Frank Ruhl Libre', serif",
51
+ "type": "font",
52
+ "comment": "The webfont, loaded async",
53
+ "originalValue": "'Frank Ruhl Libre', serif",
54
+ "name": "FONT_FAMILY_SECONDARY_FANCY"
55
+ },
56
+ "COLOR_GREY_LIGHTEST": {
57
+ "category": "text-color",
58
+ "type": "color",
59
+ "value": "rgb(240, 240, 240)",
60
+ "originalValue": "rgb(240,240,240)",
61
+ "name": "COLOR_GREY_LIGHTEST"
62
+ },
63
+ "FONT_FAMILY_ACCENT": {
64
+ "selector": "lrv-a-font",
65
+ "status": "alpha",
66
+ "value": "'Times New Roman', serif",
67
+ "type": "font-family",
68
+ "category": "font-family",
69
+ "originalValue": "'Times New Roman', serif",
70
+ "name": "FONT_FAMILY_ACCENT"
71
+ },
72
+ "FONT_FAMILY_PRIMARY": {
73
+ "category": "font-family",
74
+ "value": "sans-serif",
75
+ "type": "font",
76
+ "comment": "Fallback for primary-fancy",
77
+ "originalValue": "sans-serif",
78
+ "name": "FONT_FAMILY_PRIMARY"
79
+ },
80
+ "FONT_FAMILY_ACCENT_FANCY": {
81
+ "selector": "lrv-a-font",
82
+ "status": "alpha",
83
+ "value": "'Publico Banner', Times New Roman, sans-serif",
84
+ "type": "font-family",
85
+ "category": "font-family",
86
+ "originalValue": "'Publico Banner', Times New Roman, sans-serif",
87
+ "name": "FONT_FAMILY_ACCENT_FANCY"
88
+ }
89
+ }
90
+ }
package/lib/server.js CHANGED
@@ -39,6 +39,14 @@ const markdownFilter = new TwingFilter( 'markdown', ( string ) => {
39
39
  }
40
40
  });
41
41
 
42
+ // Support `{{ item|markup }}` syntax for outputting escaped content within loops.
43
+ const markupFilter = new TwingFilter(
44
+ 'markup',
45
+ ( string ) => Promise.resolve( string ),
46
+ {},
47
+ { is_safe: ['html'] }
48
+ );
49
+
42
50
  const kebabify = ( name ) => {
43
51
  let kebabCase = [];
44
52
 
@@ -67,6 +75,7 @@ if( fs.existsSync( patternConfig.projectPatternsDir ) ) {
67
75
  let twing = new TwingEnvironment( loader, { debug: true } );
68
76
 
69
77
  twing.addFilter( markdownFilter );
78
+ twing.addFilter( markupFilter );
70
79
 
71
80
  // Add custom function support for doing wp action: {{ wp_action( ... ) }}
72
81
  twing.addFunction(new TwingFunction('wp_action',() => {
@@ -272,4 +281,4 @@ app.get( '/:source?/:type?', function (req, res) {
272
281
  twing.render( 'index.html', req.params ).then( output => res.end( output ) );
273
282
  });
274
283
 
275
- module.exports = app;
284
+ module.exports = app;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@penskemediacorp/larva",
3
- "version": "0.4.3",
3
+ "version": "0.5.1",
4
4
  "description": "> TODO: description",
5
5
  "author": "laras126 <laras126@gmail.com>",
6
6
  "homepage": "https://github.com/Penske-Media-Corp/pmc-larva/tree/master/packages/larva#readme",
@@ -43,16 +43,16 @@
43
43
  "dependencies": {
44
44
  "@babel/core": "^7.10.5",
45
45
  "@babel/preset-env": "^7.10.4",
46
- "@penskemediacorp/backstopjs-config": "^0.4.0",
47
- "@penskemediacorp/eslint-config": "^0.4.0",
48
- "@penskemediacorp/larva-css": "^0.4.2",
49
- "@penskemediacorp/larva-js": "^0.4.0",
50
- "@penskemediacorp/larva-patterns": "^0.4.3",
51
- "@penskemediacorp/larva-scss": "^0.4.0",
52
- "@penskemediacorp/larva-svg": "^0.4.0",
53
- "@penskemediacorp/larva-tokens": "^0.4.2",
54
- "@penskemediacorp/stylelint-config": "^0.4.0",
55
- "@penskemediacorp/twig-to-php-parser": "^0.4.0",
46
+ "@penskemediacorp/backstopjs-config": "^0.5.0",
47
+ "@penskemediacorp/eslint-config": "^0.5.0",
48
+ "@penskemediacorp/larva-css": "^0.5.1",
49
+ "@penskemediacorp/larva-js": "^0.5.0",
50
+ "@penskemediacorp/larva-patterns": "^0.5.1",
51
+ "@penskemediacorp/larva-scss": "^0.5.0",
52
+ "@penskemediacorp/larva-svg": "^0.5.0",
53
+ "@penskemediacorp/larva-tokens": "^0.5.1",
54
+ "@penskemediacorp/stylelint-config": "^0.5.0",
55
+ "@penskemediacorp/twig-to-php-parser": "^0.5.0",
56
56
  "axios": "^0.21.1",
57
57
  "babel-loader": "^8.1.0",
58
58
  "chalk": "^4.1.0",
@@ -88,5 +88,5 @@
88
88
  "webpack": "^4.43.0",
89
89
  "webpack-cli": "^3.3.12"
90
90
  },
91
- "gitHead": "2989186a9789c922a334635fa6eacda67ff33416"
91
+ "gitHead": "e205a0b770f3f833aeafbfd837c9397f18843616"
92
92
  }