@arraypress/covers 0.0.0-stage → 1.1.0

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 (245) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/LICENSE +29 -0
  3. package/README.md +846 -2
  4. package/fonts/OFL.txt +93 -0
  5. package/fonts/inter-latin-400.woff +0 -0
  6. package/fonts/inter-latin-500.woff +0 -0
  7. package/fonts/inter-latin-600.woff +0 -0
  8. package/fonts/inter-latin-700.woff +0 -0
  9. package/package.json +124 -4
  10. package/recipes/aurora.json +132 -0
  11. package/recipes/bauhaus.json +113 -0
  12. package/recipes/bigType.json +103 -0
  13. package/recipes/brand.json +1143 -0
  14. package/recipes/contour.json +109 -0
  15. package/recipes/cutout.json +191 -0
  16. package/recipes/diagram.json +92 -0
  17. package/recipes/dither.json +170 -0
  18. package/recipes/duotone.json +75 -0
  19. package/recipes/gridTitle.json +136 -0
  20. package/recipes/iconTile.json +214 -0
  21. package/recipes/issue.json +221 -0
  22. package/recipes/mark.json +170 -0
  23. package/recipes/photo.json +156 -0
  24. package/recipes/riso.json +387 -0
  25. package/recipes/stripes.json +206 -0
  26. package/recipes/waveform.json +154 -0
  27. package/schema/recipe.schema.json +8822 -0
  28. package/src/animate/index.d.ts +19 -0
  29. package/src/animate/index.js +116 -0
  30. package/src/astro.d.ts +31 -0
  31. package/src/astro.js +86 -0
  32. package/src/builtins.js +4 -0
  33. package/src/color.js +246 -0
  34. package/src/diagram.js +248 -0
  35. package/src/effects/ascii.d.ts +7 -0
  36. package/src/effects/ascii.js +93 -0
  37. package/src/effects/buffer.d.ts +60 -0
  38. package/src/effects/buffer.js +472 -0
  39. package/src/effects/detail.d.ts +12 -0
  40. package/src/effects/detail.js +124 -0
  41. package/src/effects/digital.d.ts +14 -0
  42. package/src/effects/digital.js +216 -0
  43. package/src/effects/distort.d.ts +20 -0
  44. package/src/effects/distort.js +314 -0
  45. package/src/effects/dither.d.ts +8 -0
  46. package/src/effects/dither.js +147 -0
  47. package/src/effects/drop-shadow.d.ts +4 -0
  48. package/src/effects/drop-shadow.js +45 -0
  49. package/src/effects/extrude.d.ts +5 -0
  50. package/src/effects/extrude.js +55 -0
  51. package/src/effects/film.d.ts +11 -0
  52. package/src/effects/film.js +204 -0
  53. package/src/effects/glow.d.ts +8 -0
  54. package/src/effects/glow.js +56 -0
  55. package/src/effects/grade.d.ts +30 -0
  56. package/src/effects/grade.js +274 -0
  57. package/src/effects/halftone.d.ts +8 -0
  58. package/src/effects/halftone.js +95 -0
  59. package/src/effects/index.d.ts +125 -0
  60. package/src/effects/index.js +277 -0
  61. package/src/effects/ink.d.ts +12 -0
  62. package/src/effects/ink.js +70 -0
  63. package/src/effects/lens.d.ts +14 -0
  64. package/src/effects/lens.js +277 -0
  65. package/src/effects/light.d.ts +10 -0
  66. package/src/effects/light.js +59 -0
  67. package/src/effects/looks.d.ts +9 -0
  68. package/src/effects/looks.js +74 -0
  69. package/src/effects/mask.d.ts +52 -0
  70. package/src/effects/mask.js +314 -0
  71. package/src/effects/motion.d.ts +6 -0
  72. package/src/effects/motion.js +60 -0
  73. package/src/effects/newsprint.d.ts +6 -0
  74. package/src/effects/newsprint.js +89 -0
  75. package/src/effects/optics.d.ts +10 -0
  76. package/src/effects/optics.js +213 -0
  77. package/src/effects/options.d.ts +6 -0
  78. package/src/effects/options.js +106 -0
  79. package/src/effects/paint-presets.d.ts +10 -0
  80. package/src/effects/paint-presets.js +47 -0
  81. package/src/effects/paint.d.ts +49 -0
  82. package/src/effects/paint.js +66 -0
  83. package/src/effects/pixels.d.ts +24 -0
  84. package/src/effects/pixels.js +138 -0
  85. package/src/effects/polar.d.ts +10 -0
  86. package/src/effects/polar.js +265 -0
  87. package/src/effects/region.d.ts +8 -0
  88. package/src/effects/region.js +136 -0
  89. package/src/effects/round-border.d.ts +5 -0
  90. package/src/effects/round-border.js +62 -0
  91. package/src/effects/screen.d.ts +14 -0
  92. package/src/effects/screen.js +212 -0
  93. package/src/effects/sort.d.ts +8 -0
  94. package/src/effects/sort.js +125 -0
  95. package/src/effects/symmetry.d.ts +6 -0
  96. package/src/effects/symmetry.js +74 -0
  97. package/src/effects/tile.d.ts +7 -0
  98. package/src/effects/tile.js +55 -0
  99. package/src/effects/tone.d.ts +16 -0
  100. package/src/effects/tone.js +117 -0
  101. package/src/effects/transform.d.ts +35 -0
  102. package/src/effects/transform.js +127 -0
  103. package/src/effects/util.d.ts +16 -0
  104. package/src/effects/util.js +85 -0
  105. package/src/extract.js +91 -0
  106. package/src/flatten.js +234 -0
  107. package/src/fonts.d.ts +55 -0
  108. package/src/fonts.js +393 -0
  109. package/src/formats/cut.d.ts +10 -0
  110. package/src/formats/cut.js +77 -0
  111. package/src/formats/index.d.ts +6 -0
  112. package/src/formats/index.js +9 -0
  113. package/src/formats/presets.d.ts +41 -0
  114. package/src/formats/presets.js +89 -0
  115. package/src/formats/print.d.ts +25 -0
  116. package/src/formats/print.js +117 -0
  117. package/src/formats/zones.d.ts +10 -0
  118. package/src/formats/zones.js +64 -0
  119. package/src/geometry.js +187 -0
  120. package/src/grid.js +41 -0
  121. package/src/handmade.js +253 -0
  122. package/src/icons.js +191 -0
  123. package/src/index.d.ts +1083 -0
  124. package/src/index.js +27 -0
  125. package/src/inter-data.js +27 -0
  126. package/src/json-recipe.js +616 -0
  127. package/src/kit/index.d.ts +20 -0
  128. package/src/kit/index.js +58 -0
  129. package/src/layer-options.js +56 -0
  130. package/src/layers/barcode.d.ts +19 -0
  131. package/src/layers/barcode.js +63 -0
  132. package/src/layers/code128.d.ts +4 -0
  133. package/src/layers/code128.js +28 -0
  134. package/src/layers/expr.d.ts +6 -0
  135. package/src/layers/expr.js +121 -0
  136. package/src/layers/geometry.d.ts +6 -0
  137. package/src/layers/geometry.js +238 -0
  138. package/src/layers/index.d.ts +18 -0
  139. package/src/layers/index.js +15 -0
  140. package/src/layers/perforation.d.ts +14 -0
  141. package/src/layers/perforation.js +47 -0
  142. package/src/layers/repeat.d.ts +29 -0
  143. package/src/layers/repeat.js +90 -0
  144. package/src/layers/shape.d.ts +46 -0
  145. package/src/layers/shape.js +115 -0
  146. package/src/layers/soft.d.ts +5 -0
  147. package/src/layers/soft.js +43 -0
  148. package/src/layers/svg.d.ts +23 -0
  149. package/src/layers/svg.js +109 -0
  150. package/src/layers/table.d.ts +25 -0
  151. package/src/layers/table.js +80 -0
  152. package/src/layers/tear.d.ts +21 -0
  153. package/src/layers/tear.js +74 -0
  154. package/src/layers/texture.d.ts +17 -0
  155. package/src/layers/texture.js +106 -0
  156. package/src/layers/util.d.ts +8 -0
  157. package/src/layers/util.js +48 -0
  158. package/src/layers.js +1056 -0
  159. package/src/lint/image-size.d.ts +4 -0
  160. package/src/lint/image-size.js +34 -0
  161. package/src/lint/index.d.ts +16 -0
  162. package/src/lint/index.js +127 -0
  163. package/src/lint/rules.d.ts +5 -0
  164. package/src/lint/rules.js +19 -0
  165. package/src/node.d.ts +2 -0
  166. package/src/node.js +20 -0
  167. package/src/palette.js +185 -0
  168. package/src/platform/bytes.d.ts +22 -0
  169. package/src/platform/bytes.js +103 -0
  170. package/src/platform/compress.d.ts +12 -0
  171. package/src/platform/compress.js +81 -0
  172. package/src/platform/harfbuzz.d.ts +9 -0
  173. package/src/platform/harfbuzz.js +80 -0
  174. package/src/platform/index.d.ts +8 -0
  175. package/src/platform/index.js +13 -0
  176. package/src/platform/load.d.ts +6 -0
  177. package/src/platform/load.js +72 -0
  178. package/src/platform/no-harfbuzz.d.ts +2 -0
  179. package/src/platform/no-harfbuzz.js +11 -0
  180. package/src/platform/node.d.ts +26 -0
  181. package/src/platform/node.js +86 -0
  182. package/src/platform/settings.d.ts +28 -0
  183. package/src/platform/settings.js +51 -0
  184. package/src/png.js +126 -0
  185. package/src/print.js +659 -0
  186. package/src/raster/index.d.ts +24 -0
  187. package/src/raster/index.js +171 -0
  188. package/src/recipes.js +79 -0
  189. package/src/render/backdrop.d.ts +6 -0
  190. package/src/render/backdrop.js +55 -0
  191. package/src/render/content.d.ts +5 -0
  192. package/src/render/content.js +58 -0
  193. package/src/render/context.d.ts +82 -0
  194. package/src/render/grain.d.ts +7 -0
  195. package/src/render/grain.js +113 -0
  196. package/src/render/group.d.ts +23 -0
  197. package/src/render/group.js +67 -0
  198. package/src/render/key.d.ts +5 -0
  199. package/src/render/key.js +91 -0
  200. package/src/render/report.d.ts +5 -0
  201. package/src/render/report.js +19 -0
  202. package/src/render/tiles.d.ts +6 -0
  203. package/src/render/tiles.js +77 -0
  204. package/src/render/use.d.ts +27 -0
  205. package/src/render/use.js +73 -0
  206. package/src/render/wrap.d.ts +14 -0
  207. package/src/render/wrap.js +199 -0
  208. package/src/render.js +553 -0
  209. package/src/rng.js +95 -0
  210. package/src/svg.js +69 -0
  211. package/src/text.d.ts +29 -0
  212. package/src/text.js +237 -0
  213. package/src/type/auto-color.d.ts +9 -0
  214. package/src/type/auto-color.js +44 -0
  215. package/src/type/fallback.d.ts +11 -0
  216. package/src/type/fallback.js +92 -0
  217. package/src/type/glyphs.d.ts +24 -0
  218. package/src/type/glyphs.js +87 -0
  219. package/src/type/index.d.ts +5 -0
  220. package/src/type/index.js +10 -0
  221. package/src/type/kern.d.ts +4 -0
  222. package/src/type/kern.js +144 -0
  223. package/src/type/layout-ref.d.ts +10 -0
  224. package/src/type/layout-ref.js +74 -0
  225. package/src/type/line.d.ts +11 -0
  226. package/src/type/line.js +105 -0
  227. package/src/type/live.d.ts +6 -0
  228. package/src/type/live.js +39 -0
  229. package/src/type/name.d.ts +4 -0
  230. package/src/type/name.js +32 -0
  231. package/src/type/path.d.ts +18 -0
  232. package/src/type/path.js +89 -0
  233. package/src/type/pixel.d.ts +9 -0
  234. package/src/type/pixel.js +115 -0
  235. package/src/type/sfnt.d.ts +20 -0
  236. package/src/type/sfnt.js +258 -0
  237. package/src/type/spans.d.ts +33 -0
  238. package/src/type/spans.js +138 -0
  239. package/src/type/symbols.d.ts +7 -0
  240. package/src/type/symbols.js +89 -0
  241. package/src/type/typeset.d.ts +10 -0
  242. package/src/type/typeset.js +352 -0
  243. package/src/type/woff2.d.ts +6 -0
  244. package/src/type/woff2.js +301 -0
  245. package/src/version.js +4 -0
@@ -0,0 +1,136 @@
1
+ {
2
+ "$schema": "../schema/recipe.schema.json",
3
+ "name": "gridTitle",
4
+ "description": "The aurora field under a dotted grid (four cells each way), grain, and an optional headline lower left.",
5
+ "layers": [
6
+ {
7
+ "id": "bg",
8
+ "type": "solid"
9
+ },
10
+ {
11
+ "id": "mesh",
12
+ "type": "mesh",
13
+ "count": 4,
14
+ "blur": "11vmax",
15
+ "size": [
16
+ 0.45,
17
+ 0.8
18
+ ],
19
+ "streak": 1.8,
20
+ "tone": {
21
+ "if": "title",
22
+ "then": {
23
+ "if": {
24
+ "mode": "dark"
25
+ },
26
+ "then": {
27
+ "l": [
28
+ 0.34,
29
+ 0.5
30
+ ],
31
+ "c": [
32
+ 0.12,
33
+ 0.22
34
+ ]
35
+ },
36
+ "else": {
37
+ "l": [
38
+ 0.66,
39
+ 0.82
40
+ ],
41
+ "c": [
42
+ 0.13,
43
+ 0.2
44
+ ]
45
+ }
46
+ },
47
+ "else": {
48
+ "l": [
49
+ 0.55,
50
+ 0.85
51
+ ],
52
+ "c": [
53
+ 0.12,
54
+ 0.22
55
+ ]
56
+ }
57
+ },
58
+ "fold": {
59
+ "if": "title",
60
+ "then": false,
61
+ "else": {
62
+ "pick": [
63
+ false,
64
+ false,
65
+ true
66
+ ]
67
+ }
68
+ },
69
+ "streaks": {
70
+ "if": "title",
71
+ "then": 0,
72
+ "else": {
73
+ "pick": [
74
+ 0,
75
+ 0,
76
+ 0,
77
+ 6
78
+ ]
79
+ }
80
+ },
81
+ "hues": {
82
+ "pick": [
83
+ 2,
84
+ 2,
85
+ 3
86
+ ]
87
+ },
88
+ "hueSpan": 60
89
+ },
90
+ {
91
+ "id": "grid",
92
+ "type": "pattern",
93
+ "kind": "grid",
94
+ "divisions": 4,
95
+ "stroke": "0.3vmin",
96
+ "dash": "dotted",
97
+ "color": "#ffffff",
98
+ "opacity": 0.6
99
+ },
100
+ {
101
+ "id": "grain",
102
+ "type": "grain",
103
+ "amount": 0.08
104
+ },
105
+ {
106
+ "id": "title",
107
+ "type": "text",
108
+ "when": "title",
109
+ "content": "{title}",
110
+ "anchor": "bottom-left",
111
+ "weight": 500,
112
+ "size": {
113
+ "mul": [
114
+ "@u",
115
+ 0.066
116
+ ]
117
+ },
118
+ "minSize": {
119
+ "mul": [
120
+ "@u",
121
+ 0.048
122
+ ]
123
+ },
124
+ "lineHeight": 1.08,
125
+ "letterSpacing": -0.025,
126
+ "maxLines": 3,
127
+ "label": {
128
+ "if": "label",
129
+ "then": {
130
+ "color": "@text",
131
+ "content": "{label}"
132
+ }
133
+ }
134
+ }
135
+ ]
136
+ }
@@ -0,0 +1,214 @@
1
+ {
2
+ "$schema": "../schema/recipe.schema.json",
3
+ "name": "iconTile",
4
+ "description": "An icon on a raised tile over a soft tint of the accent, a glow and faint rings. With a title, the tile moves to the upper left.",
5
+ "vars": {
6
+ "tint": {
7
+ "mix": [
8
+ "@bg",
9
+ "@accent",
10
+ {
11
+ "if": {
12
+ "mode": "dark"
13
+ },
14
+ "then": 0.1,
15
+ "else": 0.07
16
+ }
17
+ ]
18
+ },
19
+ "glow": {
20
+ "if": "title",
21
+ "then": {
22
+ "x": {
23
+ "add": [
24
+ 0.22,
25
+ {
26
+ "range": [
27
+ -0.12,
28
+ 0.12
29
+ ]
30
+ }
31
+ ]
32
+ },
33
+ "y": {
34
+ "add": [
35
+ 0.26,
36
+ {
37
+ "range": [
38
+ -0.12,
39
+ 0.12
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ },
45
+ "else": {
46
+ "x": {
47
+ "add": [
48
+ 0.5,
49
+ {
50
+ "range": [
51
+ -0.12,
52
+ 0.12
53
+ ]
54
+ }
55
+ ]
56
+ },
57
+ "y": {
58
+ "add": [
59
+ 0.5,
60
+ {
61
+ "range": [
62
+ -0.12,
63
+ 0.12
64
+ ]
65
+ }
66
+ ]
67
+ }
68
+ }
69
+ }
70
+ },
71
+ "layers": [
72
+ {
73
+ "id": "bg",
74
+ "type": "solid",
75
+ "color": "$tint"
76
+ },
77
+ {
78
+ "id": "glow",
79
+ "type": "radial",
80
+ "colors": [
81
+ {
82
+ "mix": [
83
+ "$tint",
84
+ "@accent",
85
+ {
86
+ "if": {
87
+ "mode": "dark"
88
+ },
89
+ "then": 0.32,
90
+ "else": 0.26
91
+ }
92
+ ]
93
+ },
94
+ "$tint"
95
+ ],
96
+ "x": "$glow.x",
97
+ "y": "$glow.y",
98
+ "radius": "52vmax"
99
+ },
100
+ {
101
+ "id": "rings",
102
+ "type": "pattern",
103
+ "kind": "rings",
104
+ "size": {
105
+ "if": "title",
106
+ "then": "6vmin",
107
+ "else": "7vmin"
108
+ },
109
+ "center": "$glow",
110
+ "opacity": {
111
+ "if": {
112
+ "mode": "dark"
113
+ },
114
+ "then": 0.14,
115
+ "else": 0.16
116
+ },
117
+ "fade": "radial",
118
+ "color": {
119
+ "if": {
120
+ "mode": "dark"
121
+ },
122
+ "then": "@text",
123
+ "else": "@accent"
124
+ }
125
+ },
126
+ {
127
+ "id": "icon",
128
+ "type": "icon",
129
+ "name": "{icon}",
130
+ "path": {
131
+ "if": {
132
+ "not": "icon"
133
+ },
134
+ "then": "M12 2c.4 4.9 2.1 7.6 7 8.6l3 .4-3 .4c-4.9 1-6.6 3.7-7 8.6-.4-4.9-2.1-7.6-7-8.6L2 11l3-.4c4.9-1 6.6-3.7 7-8.6Z"
135
+ },
136
+ "viewBox": {
137
+ "if": {
138
+ "not": "icon"
139
+ },
140
+ "then": [
141
+ 0,
142
+ 0,
143
+ 24,
144
+ 24
145
+ ]
146
+ },
147
+ "size": {
148
+ "mul": [
149
+ "@u",
150
+ {
151
+ "if": "title",
152
+ "then": 0.075,
153
+ "else": 0.12
154
+ }
155
+ ]
156
+ },
157
+ "anchor": {
158
+ "if": "title",
159
+ "then": "top-left",
160
+ "else": "center"
161
+ },
162
+ "tile": {
163
+ "color": {
164
+ "if": {
165
+ "mode": "dark"
166
+ },
167
+ "then": {
168
+ "mix": [
169
+ "$tint",
170
+ "@text",
171
+ 0.09
172
+ ]
173
+ },
174
+ "else": {
175
+ "mix": [
176
+ "$tint",
177
+ "#ffffff",
178
+ 0.85
179
+ ]
180
+ }
181
+ }
182
+ }
183
+ },
184
+ {
185
+ "id": "grain",
186
+ "type": "grain",
187
+ "amount": 0.05
188
+ },
189
+ {
190
+ "id": "title",
191
+ "type": "text",
192
+ "when": "title",
193
+ "content": "{title}",
194
+ "anchor": "bottom-left",
195
+ "weight": 500,
196
+ "size": {
197
+ "mul": [
198
+ "@u",
199
+ 0.066
200
+ ]
201
+ },
202
+ "minSize": {
203
+ "mul": [
204
+ "@u",
205
+ 0.048
206
+ ]
207
+ },
208
+ "lineHeight": 1.08,
209
+ "letterSpacing": -0.025,
210
+ "maxLines": 3,
211
+ "label": "{label}"
212
+ }
213
+ ]
214
+ }
@@ -0,0 +1,221 @@
1
+ {
2
+ "$schema": "../schema/recipe.schema.json",
3
+ "name": "issue",
4
+ "description": "Type-led: a huge issue number in the accent, sized to the canvas and cropped at the bottom only, an optional No., a masthead line with the date, a hairline.",
5
+ "params": {
6
+ "number": null,
7
+ "masthead": null,
8
+ "date": null,
9
+ "prefix": true
10
+ },
11
+ "vars": {
12
+ "number": {
13
+ "if": "number",
14
+ "then": "{number}",
15
+ "else": {
16
+ "int": [
17
+ 1,
18
+ 64
19
+ ]
20
+ }
21
+ },
22
+ "numeral": {
23
+ "readable": [
24
+ "@bg",
25
+ 3,
26
+ "@accent"
27
+ ]
28
+ },
29
+ "size": {
30
+ "min": [
31
+ {
32
+ "mul": [
33
+ "@height",
34
+ 1.04
35
+ ]
36
+ },
37
+ {
38
+ "div": [
39
+ {
40
+ "mul": [
41
+ "@width",
42
+ 1.62
43
+ ]
44
+ },
45
+ {
46
+ "length": "$number"
47
+ }
48
+ ]
49
+ }
50
+ ]
51
+ },
52
+ "bleed": {
53
+ "add": [
54
+ 1,
55
+ {
56
+ "div": [
57
+ {
58
+ "mul": [
59
+ "$size",
60
+ 0.1
61
+ ]
62
+ },
63
+ "@height"
64
+ ]
65
+ }
66
+ ]
67
+ }
68
+ },
69
+ "layers": [
70
+ {
71
+ "id": "bg",
72
+ "type": "solid"
73
+ },
74
+ {
75
+ "id": "masthead",
76
+ "type": "text",
77
+ "when": "masthead",
78
+ "content": "{masthead}",
79
+ "anchor": "top-left",
80
+ "size": {
81
+ "mul": [
82
+ "@u",
83
+ 0.024
84
+ ]
85
+ },
86
+ "weight": 600,
87
+ "letterSpacing": 0.08,
88
+ "transform": "uppercase",
89
+ "maxLines": 1,
90
+ "balance": false,
91
+ "color": "@text"
92
+ },
93
+ {
94
+ "id": "date",
95
+ "type": "text",
96
+ "when": "date",
97
+ "content": "{date}",
98
+ "anchor": "top-right",
99
+ "size": {
100
+ "mul": [
101
+ "@u",
102
+ 0.024
103
+ ]
104
+ },
105
+ "weight": 500,
106
+ "letterSpacing": 0.04,
107
+ "maxLines": 1,
108
+ "balance": false,
109
+ "color": "@text"
110
+ },
111
+ {
112
+ "id": "rule",
113
+ "type": "rule",
114
+ "y": {
115
+ "if": {
116
+ "any": [
117
+ "masthead",
118
+ "date"
119
+ ]
120
+ },
121
+ "then": 0.13,
122
+ "else": 0.1
123
+ }
124
+ },
125
+ {
126
+ "id": "no",
127
+ "type": "text",
128
+ "when": {
129
+ "not": {
130
+ "prefix": false
131
+ }
132
+ },
133
+ "content": "No.",
134
+ "anchor": "left",
135
+ "position": {
136
+ "x": 0.07,
137
+ "y": {
138
+ "if": "title",
139
+ "then": 0.31,
140
+ "else": 0.27
141
+ }
142
+ },
143
+ "size": {
144
+ "mul": [
145
+ "@u",
146
+ 0.05
147
+ ]
148
+ },
149
+ "weight": 500,
150
+ "letterSpacing": -0.02,
151
+ "color": "$numeral",
152
+ "maxLines": 1,
153
+ "balance": false
154
+ },
155
+ {
156
+ "id": "number",
157
+ "type": "text",
158
+ "content": "$number",
159
+ "anchor": "bottom-left",
160
+ "position": {
161
+ "x": 0.055,
162
+ "y": "$bleed"
163
+ },
164
+ "size": "$size",
165
+ "weight": 600,
166
+ "letterSpacing": -0.06,
167
+ "lineHeight": 1,
168
+ "maxLines": 1,
169
+ "maxWidth": 100000,
170
+ "balance": false,
171
+ "color": "$numeral"
172
+ },
173
+ {
174
+ "id": "title",
175
+ "type": "text",
176
+ "when": "title",
177
+ "content": "{title}",
178
+ "anchor": {
179
+ "if": {
180
+ "aspect": "wide"
181
+ },
182
+ "then": "top-right",
183
+ "else": "top-left"
184
+ },
185
+ "weight": 500,
186
+ "size": {
187
+ "mul": [
188
+ "@u",
189
+ 0.05
190
+ ]
191
+ },
192
+ "minSize": {
193
+ "mul": [
194
+ "@u",
195
+ 0.04
196
+ ]
197
+ },
198
+ "lineHeight": 1.08,
199
+ "letterSpacing": -0.025,
200
+ "maxLines": 2,
201
+ "label": {
202
+ "if": "label",
203
+ "then": {
204
+ "color": "@text",
205
+ "content": "{label}"
206
+ }
207
+ },
208
+ "offset": {
209
+ "y": "9vh"
210
+ },
211
+ "maxWidth": {
212
+ "if": {
213
+ "aspect": "wide"
214
+ },
215
+ "then": "40vw",
216
+ "else": "52vw"
217
+ },
218
+ "align": "left"
219
+ }
220
+ ]
221
+ }