@arraypress/covers 1.1.0 → 1.4.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 (259) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/README.md +18 -809
  3. package/package.json +3 -1
  4. package/recipes/flyers/afterglow-motion.json +540 -0
  5. package/recipes/flyers/afterglow.json +70 -0
  6. package/recipes/flyers/arcfield-mirror-motion.json +397 -0
  7. package/recipes/flyers/arcfield-mirror.json +364 -0
  8. package/recipes/flyers/bauhaus-oktav.json +319 -0
  9. package/recipes/flyers/bauhaus-ritmo.json +735 -0
  10. package/recipes/flyers/bauhaus-volta.json +394 -0
  11. package/recipes/flyers/bloomfall.json +99 -0
  12. package/recipes/flyers/drag-solenne-motion.json +444 -0
  13. package/recipes/flyers/drag-solenne.json +426 -0
  14. package/recipes/flyers/fennick-patches.json +874 -0
  15. package/recipes/flyers/ferro-pass.json +398 -0
  16. package/recipes/flyers/ferrova.json +812 -0
  17. package/recipes/flyers/grid-poster.json +91 -0
  18. package/recipes/flyers/grid-rest-rhythm.json +125 -0
  19. package/recipes/flyers/groovy-honeycomb.json +816 -0
  20. package/recipes/flyers/groovy-marigold.json +479 -0
  21. package/recipes/flyers/groovy-peachfuzz.json +974 -0
  22. package/recipes/flyers/halden-orbit-motion.json +381 -0
  23. package/recipes/flyers/halden-orbit.json +356 -0
  24. package/recipes/flyers/halvard.json +120 -0
  25. package/recipes/flyers/kairo-weekender.json +696 -0
  26. package/recipes/flyers/linger-motion.json +518 -0
  27. package/recipes/flyers/linger.json +67 -0
  28. package/recipes/flyers/little-orchard.json +105 -0
  29. package/recipes/flyers/lofi-hexmoth.json +912 -0
  30. package/recipes/flyers/lofi-lowbit-motion.json +888 -0
  31. package/recipes/flyers/lofi-lowbit.json +880 -0
  32. package/recipes/flyers/lofi-nullpoint.json +3013 -0
  33. package/recipes/flyers/logofolio.json +60 -0
  34. package/recipes/flyers/lumio-stack-motion.json +648 -0
  35. package/recipes/flyers/lumio-stack.json +438 -0
  36. package/recipes/flyers/magazine-cover.json +168 -0
  37. package/recipes/flyers/magazine-extended.json +269 -0
  38. package/recipes/flyers/magazine-knockout.json +40 -0
  39. package/recipes/flyers/northfold-varsity.json +618 -0
  40. package/recipes/flyers/open-studio.json +69 -0
  41. package/recipes/flyers/orrin-merch.json +715 -0
  42. package/recipes/flyers/oxyde.json +113 -0
  43. package/recipes/flyers/pixel-mosaic.json +58 -0
  44. package/recipes/flyers/quiet-fields.json +610 -0
  45. package/recipes/flyers/scrapbook-halcyon.json +948 -0
  46. package/recipes/flyers/solenne-ticket.json +730 -0
  47. package/recipes/flyers/solvane-motion.json +576 -0
  48. package/recipes/flyers/solvane.json +98 -0
  49. package/recipes/flyers/subduct.json +99 -0
  50. package/recipes/flyers/sunvale-lineup.json +584 -0
  51. package/recipes/flyers/tidewell.json +91 -0
  52. package/recipes/flyers/tour-kairo.json +535 -0
  53. package/recipes/flyers/velora-stickers.json +885 -0
  54. package/recipes/flyers/wheatpaste-black.json +313 -0
  55. package/recipes/flyers/wheatpaste-mark.json +198 -0
  56. package/recipes/flyers/wheatpaste-torn.json +114 -0
  57. package/recipes/flyers/wheatpaste-wall.json +984 -0
  58. package/recipes/flyers/wheatpaste-words.json +233 -0
  59. package/recipes/release/aura.json +137 -0
  60. package/recipes/release/chrome.json +433 -0
  61. package/recipes/release/collage.json +372 -0
  62. package/recipes/release/duotone.json +113 -0
  63. package/recipes/release/film-still.json +102 -0
  64. package/recipes/release/headline.json +70 -0
  65. package/recipes/release/instant.json +170 -0
  66. package/recipes/release/label.json +364 -0
  67. package/recipes/release/liquid-glass.json +301 -0
  68. package/recipes/release/odd-tile-dark.json +688 -0
  69. package/recipes/release/odd-tile-dense.json +1056 -0
  70. package/recipes/release/odd-tile-shift.json +541 -0
  71. package/recipes/release/odd-tile-split.json +571 -0
  72. package/recipes/release/odd-tile.json +633 -0
  73. package/recipes/release/off-edge.json +96 -0
  74. package/recipes/release/plinth.json +794 -0
  75. package/recipes/release/riso.json +108 -0
  76. package/recipes/release/series/fluid-label.json +561 -0
  77. package/recipes/release/series/fluid-pixel.json +334 -0
  78. package/recipes/release/series/hairline.json +305 -0
  79. package/recipes/release/series/halo.json +282 -0
  80. package/recipes/release/series/mark-crop.json +135 -0
  81. package/recipes/release/series/mark-window.json +150 -0
  82. package/recipes/release/series/photo-label.json +475 -0
  83. package/recipes/release/series/smear-field.json +345 -0
  84. package/recipes/release/series/smear.json +202 -0
  85. package/recipes/release/series/spin.json +172 -0
  86. package/recipes/release/series/split-ghost.json +230 -0
  87. package/recipes/release/series/zoom.json +168 -0
  88. package/recipes/release/small-print.json +114 -0
  89. package/recipes/release/stack.json +156 -0
  90. package/recipes/release/swiss.json +117 -0
  91. package/schema/recipe.schema.json +638 -69
  92. package/src/animate/index.d.ts +9 -19
  93. package/src/animate/index.js +6 -111
  94. package/src/animate/keyframes.d.ts +21 -0
  95. package/src/animate/keyframes.js +119 -0
  96. package/src/animate/marquee.d.ts +30 -0
  97. package/src/animate/marquee.js +93 -0
  98. package/src/animate/morph.d.ts +8 -0
  99. package/src/animate/morph.js +99 -0
  100. package/src/animate/motion.d.ts +59 -0
  101. package/src/animate/motion.js +63 -0
  102. package/src/animate/sheet.d.ts +19 -0
  103. package/src/animate/sheet.js +61 -0
  104. package/src/animate/timing.d.ts +28 -0
  105. package/src/animate/timing.js +146 -0
  106. package/src/animate/tracks.d.ts +18 -0
  107. package/src/animate/tracks.js +139 -0
  108. package/src/diagram.js +4 -3
  109. package/src/extract.js +2 -2
  110. package/src/fonts.js +1 -2
  111. package/src/geometry.js +4 -34
  112. package/src/grid.js +1 -1
  113. package/src/handmade.js +9 -7
  114. package/src/icons.js +1 -2
  115. package/src/index.d.ts +47 -54
  116. package/src/index.js +5 -5
  117. package/src/inter-data.js +1 -1
  118. package/src/json-recipe.js +28 -7
  119. package/src/layer-options.js +26 -4
  120. package/src/layers/barcode.js +3 -3
  121. package/src/layers/geometry.js +5 -5
  122. package/src/layers/index.d.ts +6 -0
  123. package/src/layers/index.js +3 -0
  124. package/src/layers/mark-geometry.d.ts +15 -0
  125. package/src/layers/mark-geometry.js +46 -0
  126. package/src/layers/marks.d.ts +25 -0
  127. package/src/layers/marks.js +102 -0
  128. package/src/layers/mosaic.d.ts +32 -0
  129. package/src/layers/mosaic.js +155 -0
  130. package/src/layers/perforation.js +3 -3
  131. package/src/layers/repeat.js +2 -2
  132. package/src/layers/shape.d.ts +2 -2
  133. package/src/layers/shape.js +5 -5
  134. package/src/layers/soft.js +2 -2
  135. package/src/layers/svg.js +2 -3
  136. package/src/layers/table.js +3 -3
  137. package/src/layers/tear.d.ts +1 -1
  138. package/src/layers/tear.js +4 -4
  139. package/src/layers/texture.js +3 -3
  140. package/src/layers/util.js +15 -2
  141. package/src/layers.js +17 -32
  142. package/src/{effects/paint.js → paint/index.js} +5 -5
  143. package/src/{effects/paint-presets.d.ts → paint/presets.d.ts} +1 -1
  144. package/src/{effects/paint-presets.js → paint/presets.js} +1 -1
  145. package/src/{effects → paint}/tile.d.ts +1 -1
  146. package/src/{effects → paint}/tile.js +4 -4
  147. package/src/palette.js +1 -1
  148. package/src/platform/files.d.ts +6 -0
  149. package/src/platform/files.js +41 -0
  150. package/src/platform/harfbuzz.js +1 -1
  151. package/src/platform/index.d.ts +3 -3
  152. package/src/platform/index.js +6 -4
  153. package/src/platform/load.js +1 -2
  154. package/src/print.js +9 -7
  155. package/src/recipes.js +1 -1
  156. package/src/render/backdrop.js +2 -2
  157. package/src/render/grain.js +1 -1
  158. package/src/render/group.js +3 -3
  159. package/src/render/key.js +1 -2
  160. package/src/{effects → render}/transform.d.ts +2 -1
  161. package/src/{effects → render}/transform.js +17 -5
  162. package/src/render/use.d.ts +1 -1
  163. package/src/render/use.js +2 -2
  164. package/src/render/wrap.js +5 -60
  165. package/src/render.js +55 -18
  166. package/src/text.js +1 -1
  167. package/src/type/auto-color.js +1 -1
  168. package/src/type/fallback.js +1 -1
  169. package/src/type/glyphs.js +2 -2
  170. package/src/type/line.js +1 -1
  171. package/src/type/live.js +1 -1
  172. package/src/type/path.js +2 -2
  173. package/src/type/pixel.d.ts +0 -2
  174. package/src/type/pixel.js +3 -33
  175. package/src/type/spans.d.ts +5 -1
  176. package/src/type/spans.js +28 -5
  177. package/src/type/symbols.d.ts +1 -1
  178. package/src/type/symbols.js +20 -2
  179. package/src/type/typeset.js +25 -10
  180. package/src/version.js +1 -1
  181. package/src/color.js +0 -246
  182. package/src/effects/ascii.d.ts +0 -7
  183. package/src/effects/ascii.js +0 -93
  184. package/src/effects/buffer.d.ts +0 -60
  185. package/src/effects/buffer.js +0 -472
  186. package/src/effects/detail.d.ts +0 -12
  187. package/src/effects/detail.js +0 -124
  188. package/src/effects/digital.d.ts +0 -14
  189. package/src/effects/digital.js +0 -216
  190. package/src/effects/distort.d.ts +0 -20
  191. package/src/effects/distort.js +0 -314
  192. package/src/effects/dither.d.ts +0 -8
  193. package/src/effects/dither.js +0 -147
  194. package/src/effects/drop-shadow.d.ts +0 -4
  195. package/src/effects/drop-shadow.js +0 -45
  196. package/src/effects/extrude.d.ts +0 -5
  197. package/src/effects/extrude.js +0 -55
  198. package/src/effects/film.d.ts +0 -11
  199. package/src/effects/film.js +0 -204
  200. package/src/effects/glow.d.ts +0 -8
  201. package/src/effects/glow.js +0 -56
  202. package/src/effects/grade.d.ts +0 -30
  203. package/src/effects/grade.js +0 -274
  204. package/src/effects/halftone.d.ts +0 -8
  205. package/src/effects/halftone.js +0 -95
  206. package/src/effects/index.d.ts +0 -125
  207. package/src/effects/index.js +0 -277
  208. package/src/effects/ink.d.ts +0 -12
  209. package/src/effects/ink.js +0 -70
  210. package/src/effects/lens.d.ts +0 -14
  211. package/src/effects/lens.js +0 -277
  212. package/src/effects/light.d.ts +0 -10
  213. package/src/effects/light.js +0 -59
  214. package/src/effects/looks.d.ts +0 -9
  215. package/src/effects/looks.js +0 -74
  216. package/src/effects/mask.d.ts +0 -52
  217. package/src/effects/mask.js +0 -314
  218. package/src/effects/motion.d.ts +0 -6
  219. package/src/effects/motion.js +0 -60
  220. package/src/effects/newsprint.d.ts +0 -6
  221. package/src/effects/newsprint.js +0 -89
  222. package/src/effects/optics.d.ts +0 -10
  223. package/src/effects/optics.js +0 -213
  224. package/src/effects/options.d.ts +0 -6
  225. package/src/effects/options.js +0 -106
  226. package/src/effects/pixels.d.ts +0 -24
  227. package/src/effects/pixels.js +0 -138
  228. package/src/effects/polar.d.ts +0 -10
  229. package/src/effects/polar.js +0 -265
  230. package/src/effects/region.d.ts +0 -8
  231. package/src/effects/region.js +0 -136
  232. package/src/effects/round-border.d.ts +0 -5
  233. package/src/effects/round-border.js +0 -62
  234. package/src/effects/screen.d.ts +0 -14
  235. package/src/effects/screen.js +0 -212
  236. package/src/effects/sort.d.ts +0 -8
  237. package/src/effects/sort.js +0 -125
  238. package/src/effects/symmetry.d.ts +0 -6
  239. package/src/effects/symmetry.js +0 -74
  240. package/src/effects/tone.d.ts +0 -16
  241. package/src/effects/tone.js +0 -117
  242. package/src/effects/util.d.ts +0 -16
  243. package/src/effects/util.js +0 -85
  244. package/src/platform/bytes.d.ts +0 -22
  245. package/src/platform/bytes.js +0 -103
  246. package/src/platform/compress.d.ts +0 -12
  247. package/src/platform/compress.js +0 -81
  248. package/src/platform/node.d.ts +0 -26
  249. package/src/platform/node.js +0 -86
  250. package/src/png.js +0 -126
  251. package/src/raster/index.d.ts +0 -24
  252. package/src/raster/index.js +0 -171
  253. package/src/render/content.d.ts +0 -5
  254. package/src/render/content.js +0 -58
  255. package/src/render/tiles.d.ts +0 -6
  256. package/src/render/tiles.js +0 -77
  257. package/src/rng.js +0 -95
  258. package/src/svg.js +0 -69
  259. /package/src/{effects/paint.d.ts → paint/index.d.ts} +0 -0
@@ -0,0 +1,282 @@
1
+ {
2
+ "$schema": "../../../schema/recipe.schema.json",
3
+ "name": "halo",
4
+ "description": "Series (v2): a figure and its afterimage. The photo's figure, blurred soft and toned so its ground goes white and its figure dark, is multiplied over a pale backlight low on the right: a soft dark silhouette; a faint mirrored echo of it stands on the left; behind its head a hard-edged ring stroked with the palette's two colours over a soft glow; an offset copy in screen gives its edge a coloured fringe. The label's wordmark, the artist and the title are stacked in a block at the top-left. The photo is defined once and drawn three times (defs/use). Slots: {photo} (a dark figure on a light ground), {artist}, {title}, {label}, the palette (bg = the dark, colors.0/colors.1 = ring and fringe, colors.2 = backlight; text = type). Params: figX, figY, figScale (where the figure stands), ringX, ringY, ringR, soft, small. Fonts: Urbanist, Manrope.",
5
+ "requires": [
6
+ "photo"
7
+ ],
8
+ "params": {
9
+ "artist": "Artist",
10
+ "soft": 18,
11
+ "small": 24,
12
+ "figX": 300,
13
+ "figY": 250,
14
+ "figScale": 0.76,
15
+ "ringX": 660,
16
+ "ringY": 420,
17
+ "ringR": 200
18
+ },
19
+ "vars": {},
20
+ "layers": [
21
+ {
22
+ "id": "dark",
23
+ "type": "solid",
24
+ "color": "@bg"
25
+ },
26
+ {
27
+ "id": "cover",
28
+ "type": "group",
29
+ "viewBox": [
30
+ 0,
31
+ 0,
32
+ 1000,
33
+ 1000
34
+ ],
35
+ "fit": "cover",
36
+ "layers": [
37
+ {
38
+ "id": "stills",
39
+ "type": "defs",
40
+ "layers": [
41
+ {
42
+ "id": "still",
43
+ "type": "image",
44
+ "src": "{photo}",
45
+ "x": 0,
46
+ "y": 0,
47
+ "width": 1000,
48
+ "height": 1000,
49
+ "fit": "cover",
50
+ "focus": "attention"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "id": "backlight",
56
+ "type": "shape",
57
+ "kind": "ellipse",
58
+ "cx": {
59
+ "add": [
60
+ "{ringX}",
61
+ -40
62
+ ]
63
+ },
64
+ "cy": 520,
65
+ "rx": 420,
66
+ "ry": 470,
67
+ "fill": "@colors.2",
68
+ "opacity": 0.75,
69
+ "soft": 160
70
+ },
71
+ {
72
+ "id": "glow",
73
+ "type": "shape",
74
+ "kind": "circle",
75
+ "cx": "{ringX}",
76
+ "cy": "{ringY}",
77
+ "r": {
78
+ "mul": [
79
+ "{ringR}",
80
+ 1.05
81
+ ]
82
+ },
83
+ "fill": "@colors.0",
84
+ "opacity": 0.55,
85
+ "soft": 90
86
+ },
87
+ {
88
+ "id": "ring",
89
+ "type": "shape",
90
+ "kind": "circle",
91
+ "cx": "{ringX}",
92
+ "cy": "{ringY}",
93
+ "r": "{ringR}",
94
+ "fill": "none",
95
+ "strokeWidth": 16,
96
+ "stroke": {
97
+ "type": "linear",
98
+ "colors": [
99
+ "@colors.0",
100
+ "@colors.1"
101
+ ],
102
+ "angle": 135
103
+ }
104
+ },
105
+ {
106
+ "id": "fringe",
107
+ "type": "group",
108
+ "blend": "screen",
109
+ "opacity": 0.85,
110
+ "effects": [
111
+ {
112
+ "kind": "blur",
113
+ "radius": 18
114
+ },
115
+ {
116
+ "kind": "duotone",
117
+ "colors": [
118
+ "@colors.1",
119
+ "#000000"
120
+ ],
121
+ "contrast": 1.6
122
+ }
123
+ ],
124
+ "layers": [
125
+ {
126
+ "id": "fringeUse",
127
+ "type": "use",
128
+ "ref": "still",
129
+ "x": {
130
+ "add": [
131
+ "{figX}",
132
+ -18
133
+ ]
134
+ },
135
+ "y": "{figY}",
136
+ "scale": "{figScale}"
137
+ }
138
+ ]
139
+ },
140
+ {
141
+ "id": "echo",
142
+ "type": "group",
143
+ "blend": "multiply",
144
+ "opacity": 0.42,
145
+ "transform": {
146
+ "mirror": "x",
147
+ "origin": [
148
+ 500,
149
+ 500
150
+ ]
151
+ },
152
+ "effects": [
153
+ {
154
+ "kind": "blur",
155
+ "radius": "{soft}"
156
+ },
157
+ {
158
+ "kind": "duotone",
159
+ "colors": [
160
+ "@bg",
161
+ {
162
+ "mix": [
163
+ "@bg",
164
+ "#ffffff",
165
+ 0.55
166
+ ]
167
+ },
168
+ "#ffffff"
169
+ ],
170
+ "contrast": 1.3
171
+ }
172
+ ],
173
+ "layers": [
174
+ {
175
+ "id": "echoUse",
176
+ "type": "use",
177
+ "ref": "still",
178
+ "x": "{figX}",
179
+ "y": "{figY}",
180
+ "scale": "{figScale}"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "id": "figure",
186
+ "type": "group",
187
+ "blend": "multiply",
188
+ "effects": [
189
+ {
190
+ "kind": "blur",
191
+ "radius": "{soft}"
192
+ },
193
+ {
194
+ "kind": "duotone",
195
+ "colors": [
196
+ "@bg",
197
+ {
198
+ "mix": [
199
+ "@bg",
200
+ "#ffffff",
201
+ 0.55
202
+ ]
203
+ },
204
+ "#ffffff"
205
+ ],
206
+ "contrast": 1.3
207
+ }
208
+ ],
209
+ "layers": [
210
+ {
211
+ "id": "figureUse",
212
+ "type": "use",
213
+ "ref": "still",
214
+ "x": "{figX}",
215
+ "y": "{figY}",
216
+ "scale": "{figScale}"
217
+ }
218
+ ]
219
+ },
220
+ {
221
+ "id": "wordmark",
222
+ "type": "text",
223
+ "content": "{label}",
224
+ "font": "Urbanist",
225
+ "weight": 700,
226
+ "size": 36,
227
+ "letterSpacing": -0.02,
228
+ "x": 60,
229
+ "y": 92,
230
+ "color": {
231
+ "mix": [
232
+ "@text",
233
+ "@colors.0",
234
+ 0.35
235
+ ]
236
+ }
237
+ },
238
+ {
239
+ "id": "artist",
240
+ "type": "text",
241
+ "content": {
242
+ "upper": "{artist}"
243
+ },
244
+ "font": "Manrope",
245
+ "weight": 600,
246
+ "size": "{small}",
247
+ "letterSpacing": 0.06,
248
+ "x": 60,
249
+ "y": 146,
250
+ "maxWidth": 420,
251
+ "fit": "shrink",
252
+ "maxLines": 1,
253
+ "color": "@text"
254
+ },
255
+ {
256
+ "id": "title",
257
+ "type": "text",
258
+ "content": {
259
+ "upper": "{title}"
260
+ },
261
+ "font": "Manrope",
262
+ "weight": 400,
263
+ "size": "{small}",
264
+ "letterSpacing": 0.06,
265
+ "x": 60,
266
+ "y": 182,
267
+ "maxWidth": 420,
268
+ "fit": "shrink",
269
+ "maxLines": 1,
270
+ "color": "@text",
271
+ "opacity": 0.85
272
+ }
273
+ ]
274
+ },
275
+ {
276
+ "id": "grain",
277
+ "type": "grain",
278
+ "amount": 0.11,
279
+ "size": 1.2
280
+ }
281
+ ]
282
+ }
@@ -0,0 +1,135 @@
1
+ {
2
+ "$schema": "../../../schema/recipe.schema.json",
3
+ "name": "mark-crop",
4
+ "description": "Series (v2): the label's mark as a pattern. The mark tiles a 3\u00d73 grid that runs off the bottom-right corner, solid and outline in a checkerboard (a repeat with odd overrides); the label's name and the catalogue number run horizontally across the top as one big line (name heavy, number light), over a full-width rule; the artist and title sit under the rule; the credits fill the free bottom-left corner. One flat field and one accent per release. Slots: {mark}, {label}, {catalog}, {artist}, {title}, {credits}, the palette (bg = the field, accent = marks and header, text = small type). Fonts: Inter Tight.",
5
+ "requires": [
6
+ "mark"
7
+ ],
8
+ "params": {
9
+ "artist": "Artist",
10
+ "catalog": "",
11
+ "credits": "",
12
+ "small": 30
13
+ },
14
+ "layers": [
15
+ {
16
+ "id": "field",
17
+ "type": "solid",
18
+ "color": "@bg"
19
+ },
20
+ {
21
+ "id": "cover",
22
+ "type": "group",
23
+ "viewBox": [
24
+ 0,
25
+ 0,
26
+ 1000,
27
+ 1000
28
+ ],
29
+ "fit": "cover",
30
+ "layers": [
31
+ {
32
+ "id": "pattern",
33
+ "type": "repeat",
34
+ "rows": 3,
35
+ "cols": 3,
36
+ "x": 372,
37
+ "y": 372,
38
+ "step": [
39
+ 318,
40
+ 318
41
+ ],
42
+ "layer": {
43
+ "type": "icon",
44
+ "markup": "{mark}",
45
+ "x": 0,
46
+ "y": 0,
47
+ "size": 292,
48
+ "color": "@accent"
49
+ },
50
+ "odd": {
51
+ "markup": "<svg viewBox='0 0 512 512' fill='none' stroke='currentColor' stroke-width='7'>{mark}</svg>"
52
+ }
53
+ },
54
+ {
55
+ "id": "name",
56
+ "type": "text",
57
+ "content": "{label}",
58
+ "font": "Inter Tight",
59
+ "weight": 700,
60
+ "size": 120,
61
+ "letterSpacing": -0.045,
62
+ "x": 44,
63
+ "y": 150,
64
+ "maxWidth": 600,
65
+ "fit": "shrink",
66
+ "maxLines": 1,
67
+ "color": "@accent"
68
+ },
69
+ {
70
+ "id": "number",
71
+ "type": "text",
72
+ "when": "catalog",
73
+ "content": "{catalog}",
74
+ "font": "Inter Tight",
75
+ "weight": 200,
76
+ "size": 120,
77
+ "letterSpacing": -0.04,
78
+ "x": 956,
79
+ "y": 150,
80
+ "align": "right",
81
+ "maxWidth": 320,
82
+ "fit": "shrink",
83
+ "maxLines": 1,
84
+ "color": "@accent"
85
+ },
86
+ {
87
+ "id": "rule",
88
+ "type": "shape",
89
+ "kind": "line",
90
+ "x1": 44,
91
+ "y1": 196,
92
+ "x2": 956,
93
+ "y2": 196,
94
+ "stroke": "@text",
95
+ "strokeWidth": 1.6
96
+ },
97
+ {
98
+ "id": "names",
99
+ "type": "text",
100
+ "content": "{artist}\n{title}",
101
+ "font": "Inter Tight",
102
+ "weight": 500,
103
+ "size": "{small}",
104
+ "lineHeight": 1.2,
105
+ "letterSpacing": -0.02,
106
+ "x": 44,
107
+ "y": 250,
108
+ "maxWidth": 600,
109
+ "color": "@text"
110
+ },
111
+ {
112
+ "id": "credits",
113
+ "type": "text",
114
+ "when": "credits",
115
+ "content": "{credits}",
116
+ "font": "Inter Tight",
117
+ "weight": 500,
118
+ "size": 15,
119
+ "lineHeight": 1.35,
120
+ "x": 44,
121
+ "y": 880,
122
+ "maxWidth": 300,
123
+ "maxLines": 4,
124
+ "color": "@text",
125
+ "opacity": 0.85
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "id": "grain",
131
+ "type": "grain",
132
+ "amount": 0.03
133
+ }
134
+ ]
135
+ }
@@ -0,0 +1,150 @@
1
+ {
2
+ "$schema": "../../../schema/recipe.schema.json",
3
+ "name": "mark-window",
4
+ "description": "Series (v2): a photo under a giant outline mark. The photo fills the cover as a duotone from the field colour to the accent; the mark is drawn huge in a hairline outline, cropped off the bottom-right; a paper band across the top carries the label's name and the catalogue number on one line and the artist and title under it; the credits sit small in paper at the bottom-left. Slots: {photo}, {mark}, {label}, {catalog}, {artist}, {title}, {credits}, the palette (bg = the duotone shadow, accent = its highlight, text = paper). Fonts: Inter Tight.",
5
+ "requires": [
6
+ "mark",
7
+ "photo"
8
+ ],
9
+ "params": {
10
+ "artist": "Artist",
11
+ "catalog": "",
12
+ "credits": "",
13
+ "small": 26
14
+ },
15
+ "layers": [
16
+ {
17
+ "id": "field",
18
+ "type": "solid",
19
+ "color": "@bg"
20
+ },
21
+ {
22
+ "id": "cover",
23
+ "type": "group",
24
+ "viewBox": [
25
+ 0,
26
+ 0,
27
+ 1000,
28
+ 1000
29
+ ],
30
+ "fit": "cover",
31
+ "layers": [
32
+ {
33
+ "id": "photo",
34
+ "type": "image",
35
+ "src": "{photo}",
36
+ "x": 0,
37
+ "y": 0,
38
+ "width": 1000,
39
+ "height": 1000,
40
+ "fit": "cover",
41
+ "focus": "attention",
42
+ "effects": [
43
+ {
44
+ "kind": "duotone",
45
+ "colors": [
46
+ "@bg",
47
+ "@accent"
48
+ ],
49
+ "contrast": 1.15
50
+ }
51
+ ]
52
+ },
53
+ {
54
+ "id": "outline",
55
+ "type": "icon",
56
+ "markup": "<svg viewBox='0 0 512 512' fill='none' stroke='currentColor' stroke-width='1.3'>{mark}</svg>",
57
+ "x": 260,
58
+ "y": 330,
59
+ "size": 1300,
60
+ "color": "@text"
61
+ },
62
+ {
63
+ "id": "band",
64
+ "type": "shape",
65
+ "kind": "rect",
66
+ "x": 0,
67
+ "y": 0,
68
+ "width": 1000,
69
+ "height": 214,
70
+ "fill": "@text"
71
+ },
72
+ {
73
+ "id": "name",
74
+ "type": "text",
75
+ "content": "{label}",
76
+ "font": "Inter Tight",
77
+ "weight": 700,
78
+ "size": 84,
79
+ "letterSpacing": -0.04,
80
+ "x": 44,
81
+ "y": 108,
82
+ "maxWidth": 620,
83
+ "fit": "shrink",
84
+ "maxLines": 1,
85
+ "color": "@bg"
86
+ },
87
+ {
88
+ "id": "number",
89
+ "type": "text",
90
+ "when": "catalog",
91
+ "content": "{catalog}",
92
+ "font": "Inter Tight",
93
+ "weight": 200,
94
+ "size": 84,
95
+ "letterSpacing": -0.03,
96
+ "x": 956,
97
+ "y": 108,
98
+ "align": "right",
99
+ "maxWidth": 300,
100
+ "fit": "shrink",
101
+ "maxLines": 1,
102
+ "color": "@bg"
103
+ },
104
+ {
105
+ "id": "names",
106
+ "type": "text",
107
+ "font": "Inter Tight",
108
+ "size": "{small}",
109
+ "letterSpacing": -0.01,
110
+ "x": 44,
111
+ "y": 170,
112
+ "maxWidth": 912,
113
+ "maxLines": 1,
114
+ "fit": "shrink",
115
+ "color": "@bg",
116
+ "spans": [
117
+ {
118
+ "content": "{artist}",
119
+ "weight": 600
120
+ },
121
+ {
122
+ "content": " \u00b7 {title}",
123
+ "weight": 400
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "id": "credits",
129
+ "type": "text",
130
+ "when": "credits",
131
+ "content": "{credits}",
132
+ "font": "Inter Tight",
133
+ "weight": 500,
134
+ "size": 15,
135
+ "lineHeight": 1.35,
136
+ "x": 44,
137
+ "y": 912,
138
+ "maxWidth": 420,
139
+ "maxLines": 3,
140
+ "color": "@text"
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "id": "grain",
146
+ "type": "grain",
147
+ "amount": 0.04
148
+ }
149
+ ]
150
+ }