@vectoriox/iox-ui 5.88.0 → 5.90.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 (49) hide show
  1. package/design-core/index.d.ts +523 -2
  2. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +3 -2
  3. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  4. package/fesm2022/vectoriox-iox-ui-design-core.mjs +581 -1
  5. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +4692 -160
  7. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +12 -1
  9. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-scene-core.mjs +46 -6
  11. package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui.mjs +6 -4
  13. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  14. package/generation-core/index.d.ts +1611 -10
  15. package/harness-core/index.d.ts +52 -3
  16. package/package.json +1 -1
  17. package/scene-core/index.d.ts +28 -2
  18. package/src/composite-core/slider.ts +3 -2
  19. package/src/design-core/flavor-spec.generated.ts +500 -0
  20. package/src/design-core/font-metrics.ts +105 -0
  21. package/src/design-core/public-api.ts +1 -0
  22. package/src/generation-core/ai-run.ts +11 -0
  23. package/src/generation-core/audit-site.ts +5 -0
  24. package/src/generation-core/check-layout.ts +940 -0
  25. package/src/generation-core/compose-layout.ts +907 -0
  26. package/src/generation-core/compose-site.ts +136 -5
  27. package/src/generation-core/layout-drift.ts +78 -0
  28. package/src/generation-core/layout-edits.ts +122 -0
  29. package/src/generation-core/layout-fingerprint.ts +203 -0
  30. package/src/generation-core/layout-language.ts +537 -0
  31. package/src/generation-core/layout-look.ts +57 -0
  32. package/src/generation-core/layout-photos.ts +19 -0
  33. package/src/generation-core/layout-render-check.ts +275 -0
  34. package/src/generation-core/layout-section-fallback.ts +156 -0
  35. package/src/generation-core/layout-type.ts +48 -0
  36. package/src/generation-core/layout-wire.ts +282 -0
  37. package/src/generation-core/nav-shape.ts +23 -1
  38. package/src/generation-core/photo-inventory.ts +250 -0
  39. package/src/generation-core/plan-edits.ts +25 -2
  40. package/src/generation-core/plan-wire.ts +19 -2
  41. package/src/generation-core/public-api.ts +13 -0
  42. package/src/generation-core/site-plan.model.ts +16 -0
  43. package/src/generation-core/site-spec.generated.ts +759 -2
  44. package/src/generation-core/validate-site-plan.ts +55 -1
  45. package/src/harness-core/generation-view.ts +52 -1
  46. package/src/scene-core/scroll-driver.ts +14 -2
  47. package/src/scene-core/scroll-range.ts +37 -4
  48. package/styles/iox-design.css +17 -0
  49. package/styles/iox-forms.css +4 -0
@@ -14,7 +14,18 @@ export const SPEC_SITE_PLAN_SHAPE = {
14
14
  "pages": "page[]",
15
15
  "globals": "globals",
16
16
  "film?": "film — the owner's film as pictures (SC6b), set by the build and placed by placeFilm; never a model's",
17
- "artDirection?": "artDirection — what every picture made for the site shares (M7): set by the generation from the business type and the look (generation-core artDirectionFor); never a model's"
17
+ "artDirection?": "artDirection — what every picture made for the site shares (M7): set by the generation from the business type and the look (generation-core artDirectionFor); never a model's",
18
+ "direction?": "direction — what the site is built around (M8 gate 2): written with the pages, shown on the Plan step; every composed page serves it"
19
+ },
20
+ "direction": {
21
+ "idea": "string — one sentence: what this site is about and how it should feel",
22
+ "cliche": "string — one sentence: the website anyone would make for this business",
23
+ "flip": "string — one sentence: what this site does instead",
24
+ "rules": "string[] — three short design rules every composed page keeps"
25
+ },
26
+ "layoutPage": {
27
+ "dial": "'distinct' | 'daring' — how far the page breaks the usual layout (site.layout.vocab.dials; follows How animated, never the model's)",
28
+ "sections": "layoutSection[] — the page in the layout language (site.layout): 4–8 sections of layers on a 12-column grid, checked by generation-core checkLayout, stamped by composeLayout"
18
29
  },
19
30
  "film": {
20
31
  "sequence": "object — a media-core FrameSequence: where the numbered pictures live, how many, their size"
@@ -112,7 +123,9 @@ export const SPEC_SITE_PLAN_SHAPE = {
112
123
  "template?": "string — the content type a template page renders one item of",
113
124
  "routeSource?": "string — the single source read by the route param (route.* binds it)",
114
125
  "seo?": "pageSeo",
115
- "sections": "section[]"
126
+ "sections": "section[] — the page from patterns; a composed page keeps them as its fallback",
127
+ "compose?": "boolean — the page is composed in the layout language (M8 gate 2): the home page, and at most one other page that is no per-item page; written with the pages, the layout step fills `layout`",
128
+ "layout?": "layoutPage — the composed page (the layout step's, never the Pages request's): when present the page is stamped from it and `sections` is not"
116
129
  },
117
130
  "pageSeo": {
118
131
  "title?": "string ≤ 60 — the page title in search results (absent = the page name · the business)",
@@ -5907,3 +5920,747 @@ export const SPEC_SITE_PICTURE_NEVER = [
5907
5920
  "borders or frames",
5908
5921
  "distorted hands or objects"
5909
5922
  ] as const;
5923
+
5924
+ export const SPEC_SITE_LAYOUT = {
5925
+ "vocab": {
5926
+ "kinds": [
5927
+ "word",
5928
+ "heading",
5929
+ "text",
5930
+ "photo",
5931
+ "gallery",
5932
+ "button",
5933
+ "list",
5934
+ "number",
5935
+ "shape",
5936
+ "label",
5937
+ "form",
5938
+ "marquee"
5939
+ ],
5940
+ "textKinds": [
5941
+ "word",
5942
+ "heading",
5943
+ "text",
5944
+ "label",
5945
+ "number",
5946
+ "list"
5947
+ ],
5948
+ "operated": [
5949
+ "gallery",
5950
+ "button",
5951
+ "form",
5952
+ "marquee"
5953
+ ],
5954
+ "sizes": [
5955
+ "xs",
5956
+ "s",
5957
+ "m",
5958
+ "l",
5959
+ "xl",
5960
+ "xxl",
5961
+ "screen"
5962
+ ],
5963
+ "colours": [
5964
+ "ground",
5965
+ "ink",
5966
+ "accent",
5967
+ "soft",
5968
+ "muted"
5969
+ ],
5970
+ "roles": [
5971
+ "lead",
5972
+ "support",
5973
+ "decoration",
5974
+ "static"
5975
+ ],
5976
+ "enters": [
5977
+ "none",
5978
+ "fade",
5979
+ "fadeRise",
5980
+ "scaleIn",
5981
+ "clipReveal",
5982
+ "maskRise",
5983
+ "blurIn",
5984
+ "pop"
5985
+ ],
5986
+ "sides": [
5987
+ "bottom",
5988
+ "top",
5989
+ "start",
5990
+ "end"
5991
+ ],
5992
+ "depths": [
5993
+ "back",
5994
+ "mid",
5995
+ "front"
5996
+ ],
5997
+ "transitions": [
5998
+ "cut",
5999
+ "flood",
6000
+ "wipe-up",
6001
+ "wipe-down",
6002
+ "wipe-start",
6003
+ "wipe-end"
6004
+ ],
6005
+ "eases": [
6006
+ "out",
6007
+ "inOut",
6008
+ "drawer",
6009
+ "linear"
6010
+ ],
6011
+ "paces": [
6012
+ "slow",
6013
+ "normal",
6014
+ "quick"
6015
+ ],
6016
+ "aligns": [
6017
+ "start",
6018
+ "center",
6019
+ "end"
6020
+ ],
6021
+ "bleeds": [
6022
+ "none",
6023
+ "start",
6024
+ "end",
6025
+ "both"
6026
+ ],
6027
+ "trackProps": [
6028
+ "x",
6029
+ "y",
6030
+ "scale",
6031
+ "opacity",
6032
+ "rotate",
6033
+ "clip",
6034
+ "blur"
6035
+ ],
6036
+ "photoShapes": [
6037
+ "wide",
6038
+ "landscape",
6039
+ "square",
6040
+ "portrait",
6041
+ "tall"
6042
+ ],
6043
+ "sectionKinds": [
6044
+ "content",
6045
+ "inhale",
6046
+ "signature"
6047
+ ],
6048
+ "buttonVariants": [
6049
+ "primary",
6050
+ "secondary",
6051
+ "ghost"
6052
+ ],
6053
+ "galleryEffects": [
6054
+ "slide",
6055
+ "fade",
6056
+ "cube",
6057
+ "flip",
6058
+ "coverflow",
6059
+ "cards",
6060
+ "creative"
6061
+ ],
6062
+ "formPresets": [
6063
+ "lead",
6064
+ "contact",
6065
+ "booking",
6066
+ "newsletter"
6067
+ ],
6068
+ "formChips": {
6069
+ "lead": [
6070
+ "needs",
6071
+ "budget"
6072
+ ],
6073
+ "booking": [
6074
+ "guests"
6075
+ ],
6076
+ "contact": [],
6077
+ "newsletter": []
6078
+ },
6079
+ "formSlots": [
6080
+ "title",
6081
+ "intro",
6082
+ "submit",
6083
+ "successTitle",
6084
+ "successText",
6085
+ "channel"
6086
+ ],
6087
+ "flags": [
6088
+ "scrim",
6089
+ "kinetic",
6090
+ "contain",
6091
+ "centered",
6092
+ "freeMode",
6093
+ "loop",
6094
+ "drift",
6095
+ "scroll",
6096
+ "autoplay"
6097
+ ],
6098
+ "dials": [
6099
+ "distinct",
6100
+ "daring"
6101
+ ],
6102
+ "photoSources": [
6103
+ "own",
6104
+ "stock",
6105
+ "box"
6106
+ ],
6107
+ "factToken": "{fact:<key>}"
6108
+ },
6109
+ "sizePx": {
6110
+ "xs": 12,
6111
+ "s": 15,
6112
+ "m": 19,
6113
+ "l": 40,
6114
+ "xl": 72,
6115
+ "xxl": 122,
6116
+ "screen": 180
6117
+ },
6118
+ "maxChars": {
6119
+ "screen": 14,
6120
+ "xxl": 40,
6121
+ "xl": 70,
6122
+ "l": 120,
6123
+ "m": 400,
6124
+ "s": 600,
6125
+ "xs": 200
6126
+ },
6127
+ "limits": {
6128
+ "sections": [
6129
+ 4,
6130
+ 8
6131
+ ],
6132
+ "screens": [
6133
+ 1,
6134
+ 5
6135
+ ],
6136
+ "rows": [
6137
+ 4,
6138
+ 16
6139
+ ],
6140
+ "hold": [
6141
+ 0,
6142
+ 4
6143
+ ],
6144
+ "inhaleLayers": 2,
6145
+ "inhaleScreens": 2,
6146
+ "enteringPerSection": 6,
6147
+ "enteringSections": 0.5,
6148
+ "kineticWords": 7,
6149
+ "minScale": 0.9,
6150
+ "maxTextBlur": 5,
6151
+ "maxRotate": 8,
6152
+ "longTextChars": 160,
6153
+ "longTextColumns": 7,
6154
+ "maxPhotos": 14,
6155
+ "galleriesMin": 0,
6156
+ "gallerySlides": [
6157
+ 2,
6158
+ 8
6159
+ ],
6160
+ "marqueeItems": [
6161
+ 3,
6162
+ 8
6163
+ ],
6164
+ "marqueeChars": 24,
6165
+ "marquees": 1,
6166
+ "formChips": [
6167
+ 2,
6168
+ 6
6169
+ ],
6170
+ "formColumns": 5,
6171
+ "depthLayers": 6,
6172
+ "depthLayersCalm": 4,
6173
+ "calmLooks": [
6174
+ "quiet",
6175
+ "swiss"
6176
+ ],
6177
+ "textFitSlack": 1.15,
6178
+ "advance": {
6179
+ "latin": 0.55,
6180
+ "hebrew": 0.42
6181
+ },
6182
+ "daring": {
6183
+ "bleeds": 2,
6184
+ "screenWords": 1,
6185
+ "wordsOnPhoto": 1,
6186
+ "holds": 2
6187
+ },
6188
+ "distinct": {
6189
+ "holdsMax": 1
6190
+ },
6191
+ "composedPages": 2,
6192
+ "repairs": 1
6193
+ },
6194
+ "sameness": {
6195
+ "sequence": 0.8,
6196
+ "memory": 12
6197
+ },
6198
+ "sequenceTokens": [
6199
+ "inhale",
6200
+ "sideways",
6201
+ "held-words",
6202
+ "held-reel",
6203
+ "held",
6204
+ "photo-ground",
6205
+ "gallery",
6206
+ "split",
6207
+ "composition"
6208
+ ],
6209
+ "signatures": [
6210
+ {
6211
+ "id": "words-lit",
6212
+ "label": "words lit one by one",
6213
+ "how": "a kinetic word or heading of at most seven words in a held section"
6214
+ },
6215
+ {
6216
+ "id": "photo-unveiled",
6217
+ "label": "a photo unveiled",
6218
+ "how": "a clip track opening a photo from a slit to the full screen"
6219
+ },
6220
+ {
6221
+ "id": "zoom-through",
6222
+ "label": "a zoom through a photo",
6223
+ "how": "a scale track carrying the eye through a photo into the next section"
6224
+ },
6225
+ {
6226
+ "id": "scroll-reel",
6227
+ "label": "a reel turned by the scroll",
6228
+ "how": "a gallery with \"scroll\" in a held section"
6229
+ },
6230
+ {
6231
+ "id": "pictures-stacking",
6232
+ "label": "pictures stacking",
6233
+ "how": "y tracks laying photos one on another"
6234
+ },
6235
+ {
6236
+ "id": "halves-apart",
6237
+ "label": "halves sliding apart",
6238
+ "how": "x tracks parting two halves to reveal a word"
6239
+ },
6240
+ {
6241
+ "id": "sideways-walk",
6242
+ "label": "a sideways walk",
6243
+ "how": "a held section 2–4 screens wide carried sideways by the scroll"
6244
+ },
6245
+ {
6246
+ "id": "object-turning",
6247
+ "label": "an object turning",
6248
+ "how": "rotate + opacity tracks while its words change"
6249
+ },
6250
+ {
6251
+ "id": "held-screen",
6252
+ "label": "a held screen",
6253
+ "how": "a held section with none of the above (a fallback, never the aim)"
6254
+ }
6255
+ ],
6256
+ "daringLevels": [
6257
+ "lively",
6258
+ "expressive"
6259
+ ],
6260
+ "looks": [
6261
+ {
6262
+ "id": "quiet",
6263
+ "name": "Quiet",
6264
+ "after": "MUJI / Kenya Hara",
6265
+ "feel": "Emptiness as fullness: a small object in a large field, near-silence, warm paper.",
6266
+ "empty": 0.6,
6267
+ "contrast": [
6268
+ 3,
6269
+ 2
6270
+ ],
6271
+ "enters": [
6272
+ "fadeRise",
6273
+ "blurIn"
6274
+ ],
6275
+ "pace": "slow",
6276
+ "ease": "out",
6277
+ "depthScale": 0.6,
6278
+ "rotateMax": 0,
6279
+ "accentMax": 2,
6280
+ "moves": [
6281
+ "one photo per screen, small (3–5 columns), far from the edges, with a plain caption beside it",
6282
+ "tiny numbered labels (\"01 — Clay\") instead of headings that shout",
6283
+ "a hairline (a shape one row high, 1–12 columns, colour soft or muted) as the only ornament",
6284
+ "the first screen may be mostly empty: let the eye start in the middle",
6285
+ "a free-mode gallery of small slides with a lot of space between them"
6286
+ ],
6287
+ "avoid": [
6288
+ "rotation",
6289
+ "xxl or screen type more than once on the page",
6290
+ "scrims",
6291
+ "pop and scaleIn"
6292
+ ],
6293
+ "cliche": {
6294
+ "obvious": "beige, a centred tagline and three product cards",
6295
+ "flip": "one small object in a vast field, its words placed like a museum label"
6296
+ },
6297
+ "limits": {
6298
+ "hugeMax": 1,
6299
+ "noScrim": true
6300
+ }
6301
+ },
6302
+ {
6303
+ "id": "apothecary",
6304
+ "name": "Apothecary",
6305
+ "after": "Aesop",
6306
+ "feel": "Apothecary refinement: serif sentences that read like product writing in a literary magazine.",
6307
+ "empty": 0.5,
6308
+ "contrast": [
6309
+ 3.5,
6310
+ 2.2
6311
+ ],
6312
+ "enters": [
6313
+ "fadeRise",
6314
+ "clipReveal"
6315
+ ],
6316
+ "pace": "slow",
6317
+ "ease": "drawer",
6318
+ "depthScale": 0.8,
6319
+ "rotateMax": 0,
6320
+ "accentMax": 2,
6321
+ "moves": [
6322
+ "asymmetric: one photo on one side, a long well-cadenced paragraph (size m, at most 6 columns) in a wide margin on the other",
6323
+ "one object alone on the ground, nothing else in the section",
6324
+ "small labels set BESIDE or BELOW a block, never stacked above every heading"
6325
+ ],
6326
+ "avoid": [
6327
+ "centred text on more than a third of the text layers",
6328
+ "pop, scaleIn and blurIn"
6329
+ ],
6330
+ "cliche": {
6331
+ "obvious": "a spa-beige hero with a \"Discover\" button",
6332
+ "flip": "the page reads like the label on the bottle: long sentences, one object, very few buttons"
6333
+ },
6334
+ "limits": {
6335
+ "centerMax": 0.34
6336
+ }
6337
+ },
6338
+ {
6339
+ "id": "type-as-image",
6340
+ "name": "Type as image",
6341
+ "after": "Pentagram",
6342
+ "feel": "Type does the visual work: one word set bigger than its column; everything else recedes.",
6343
+ "empty": 0.4,
6344
+ "contrast": [
6345
+ 5,
6346
+ 3
6347
+ ],
6348
+ "enters": [
6349
+ "maskRise",
6350
+ "clipReveal"
6351
+ ],
6352
+ "pace": "normal",
6353
+ "ease": "inOut",
6354
+ "depthScale": 1,
6355
+ "rotateMax": 0,
6356
+ "accentMax": 6,
6357
+ "moves": [
6358
+ "one word at screen size that bleeds off an edge",
6359
+ "a colour-block section (ground accent) carrying one huge number",
6360
+ "tiny precise captions pinned to the grid's edge",
6361
+ "a hairline across the full width (a shape one row high)",
6362
+ "photos sit behind or under enormous type"
6363
+ ],
6364
+ "avoid": [
6365
+ "card grids (three equal photos in a row)",
6366
+ "blurIn",
6367
+ "rotation"
6368
+ ],
6369
+ "cliche": {
6370
+ "obvious": "a bold headline, a subhead and two buttons",
6371
+ "flip": "the name or one verb IS the picture; everything else is small"
6372
+ },
6373
+ "limits": {}
6374
+ },
6375
+ {
6376
+ "id": "product-theatre",
6377
+ "name": "Product theatre",
6378
+ "after": "Apple",
6379
+ "feel": "One object per screen on a stage, generous space, a slow push in.",
6380
+ "empty": 0.5,
6381
+ "contrast": [
6382
+ 4,
6383
+ 2.5
6384
+ ],
6385
+ "enters": [
6386
+ "fadeRise",
6387
+ "scaleIn",
6388
+ "clipReveal",
6389
+ "blurIn"
6390
+ ],
6391
+ "pace": "normal",
6392
+ "ease": "out",
6393
+ "depthScale": 1,
6394
+ "rotateMax": 0,
6395
+ "accentMax": 4,
6396
+ "moves": [
6397
+ "a held section where one photo slowly pushes in (scale 1 → 1.08) while three short lines arrive one after another",
6398
+ "a headline, one muted line below it and one quiet button",
6399
+ "long vertical sections, one idea each — never a card grid",
6400
+ "one section on the ink colour for the film moment"
6401
+ ],
6402
+ "avoid": [
6403
+ "more than one button in the first section",
6404
+ "rotation",
6405
+ "pop",
6406
+ "card grids"
6407
+ ],
6408
+ "cliche": {
6409
+ "obvious": "product photo, \"Shop now\" and a feature grid",
6410
+ "flip": "the object gets a stage and time: it is lit, it turns, it is named once"
6411
+ },
6412
+ "limits": {
6413
+ "firstButtonsMax": 1
6414
+ }
6415
+ },
6416
+ {
6417
+ "id": "editorial",
6418
+ "name": "Editorial",
6419
+ "after": "Monocle",
6420
+ "feel": "A magazine spread: a kicker, a serif headline, numbered features, photographs cropped tight.",
6421
+ "empty": 0.4,
6422
+ "contrast": [
6423
+ 4,
6424
+ 2.5
6425
+ ],
6426
+ "enters": [
6427
+ "fadeRise",
6428
+ "clipReveal",
6429
+ "maskRise"
6430
+ ],
6431
+ "pace": "slow",
6432
+ "ease": "out",
6433
+ "depthScale": 0.8,
6434
+ "rotateMax": 2,
6435
+ "accentMax": 5,
6436
+ "moves": [
6437
+ "numbered features: a number (size xl) + a headline + one line of dek",
6438
+ "a lead photo cropped tight at one edge, the headline tucked into its empty part",
6439
+ "a pull quote at a large size in its own column — only words you were given, or {fact:quote}",
6440
+ "body text in two columns (two text layers side by side)"
6441
+ ],
6442
+ "avoid": [
6443
+ "card grids",
6444
+ "blurIn and pop"
6445
+ ],
6446
+ "cliche": {
6447
+ "obvious": "a blog-card grid with \"Read more\"",
6448
+ "flip": "one feature per spread, numbered like an issue"
6449
+ },
6450
+ "limits": {}
6451
+ },
6452
+ {
6453
+ "id": "swiss",
6454
+ "name": "Swiss",
6455
+ "after": "Massimo Vignelli",
6456
+ "feel": "A strict grid, matter-of-fact, one accent; it reads like signage.",
6457
+ "empty": 0.4,
6458
+ "contrast": [
6459
+ 4,
6460
+ 2.5
6461
+ ],
6462
+ "enters": [
6463
+ "clipReveal"
6464
+ ],
6465
+ "pace": "quick",
6466
+ "ease": "inOut",
6467
+ "depthScale": 0.5,
6468
+ "rotateMax": 0,
6469
+ "accentMax": 6,
6470
+ "moves": [
6471
+ "a colour bar (a shape in the accent, 1–2 rows) carrying a section's name",
6472
+ "one oversized number at the top start of each block",
6473
+ "lists in strict columns (list layers)",
6474
+ "text aligned to the start in one measure, never centred"
6475
+ ],
6476
+ "avoid": [
6477
+ "centred text",
6478
+ "rotation",
6479
+ "blur"
6480
+ ],
6481
+ "cliche": {
6482
+ "obvious": "\"minimal\" as grey cards",
6483
+ "flip": "a system you can read from across the room"
6484
+ },
6485
+ "limits": {
6486
+ "centerMax": 0
6487
+ }
6488
+ },
6489
+ {
6490
+ "id": "after-dark",
6491
+ "name": "After dark",
6492
+ "after": "film titles and dark keynotes",
6493
+ "feel": "Light in the dark: things emerge, linger and burn down.",
6494
+ "empty": 0.5,
6495
+ "contrast": [
6496
+ 4,
6497
+ 2.5
6498
+ ],
6499
+ "enters": [
6500
+ "clipReveal",
6501
+ "blurIn",
6502
+ "fadeRise",
6503
+ "maskRise"
6504
+ ],
6505
+ "pace": "slow",
6506
+ "ease": "drawer",
6507
+ "depthScale": 1.2,
6508
+ "rotateMax": 3,
6509
+ "accentMax": 5,
6510
+ "moves": [
6511
+ "photos emerge from the dark: a clipReveal from the bottom, or a held slow push",
6512
+ "an inhale: a near-empty dark screen with one small line, just before the signature",
6513
+ "a kinetic title of at most seven words, lit word by word as you scroll",
6514
+ "the last section is the latest hour: last call, the last ember"
6515
+ ],
6516
+ "avoid": [
6517
+ "a light ground on more than one section",
6518
+ "pop"
6519
+ ],
6520
+ "cliche": {
6521
+ "obvious": "a dark hero photo with centred white text and \"Book now\"",
6522
+ "flip": "the page is the night itself: it opens dim, warms up, and ends at the last ember"
6523
+ },
6524
+ "limits": {
6525
+ "lightGroundsMax": 1
6526
+ }
6527
+ },
6528
+ {
6529
+ "id": "playful",
6530
+ "name": "Playful",
6531
+ "after": "Ettore Sottsass and Memphis",
6532
+ "feel": "Colour as joy: shapes, a tilt and overlap, a confident wink.",
6533
+ "empty": 0.4,
6534
+ "contrast": [
6535
+ 4,
6536
+ 2.5
6537
+ ],
6538
+ "enters": [
6539
+ "pop",
6540
+ "scaleIn",
6541
+ "fadeRise"
6542
+ ],
6543
+ "pace": "quick",
6544
+ "ease": "out",
6545
+ "depthScale": 1.2,
6546
+ "rotateMax": 8,
6547
+ "accentMax": 10,
6548
+ "moves": [
6549
+ "shapes (round) behind photos, slightly rotated",
6550
+ "photos tilted between -4 and 4 degrees, overlapping each other",
6551
+ "a cards gallery of things to pick up",
6552
+ "one word in a loud colour block"
6553
+ ],
6554
+ "avoid": [
6555
+ "more than three rotated layers in one section",
6556
+ "pop on text longer than three words"
6557
+ ],
6558
+ "cliche": {
6559
+ "obvious": "random confetti and emoji",
6560
+ "flip": "two loud colours and one shape language, used with discipline"
6561
+ },
6562
+ "limits": {
6563
+ "rotatedPerSectionMax": 3
6564
+ }
6565
+ },
6566
+ {
6567
+ "id": "gallery",
6568
+ "name": "Gallery",
6569
+ "after": "a white-cube gallery and Are.na",
6570
+ "feel": "Works hung on a wall at different sizes, with care; captions tiny; depth as you walk.",
6571
+ "empty": 0.55,
6572
+ "contrast": [
6573
+ 3.5,
6574
+ 2.2
6575
+ ],
6576
+ "enters": [
6577
+ "fadeRise",
6578
+ "clipReveal"
6579
+ ],
6580
+ "pace": "slow",
6581
+ "ease": "out",
6582
+ "depthScale": 1.2,
6583
+ "rotateMax": 0,
6584
+ "accentMax": 2,
6585
+ "moves": [
6586
+ "works hung at three sizes and three depths (back, mid, front) so they slide past one another",
6587
+ "captions in xs like wall labels — only facts you were given",
6588
+ "a free-mode gallery strip that bleeds off the screen",
6589
+ "one work alone on a whole screen"
6590
+ ],
6591
+ "avoid": [
6592
+ "text on a photo",
6593
+ "rotation"
6594
+ ],
6595
+ "cliche": {
6596
+ "obvious": "a masonry grid of square thumbnails",
6597
+ "flip": "a hang: different sizes, real space between, depth as you walk"
6598
+ },
6599
+ "limits": {
6600
+ "noScrim": true,
6601
+ "noTextOnPhoto": true
6602
+ }
6603
+ },
6604
+ {
6605
+ "id": "warm-craft",
6606
+ "name": "Warm craft",
6607
+ "after": "Stripe Press and mid-century print",
6608
+ "feel": "Made by hand, told in chapters: slow cross-fades, a darker band as a chapter break.",
6609
+ "empty": 0.45,
6610
+ "contrast": [
6611
+ 4,
6612
+ 2.5
6613
+ ],
6614
+ "enters": [
6615
+ "fadeRise",
6616
+ "clipReveal",
6617
+ "maskRise"
6618
+ ],
6619
+ "pace": "slow",
6620
+ "ease": "out",
6621
+ "depthScale": 1,
6622
+ "rotateMax": 2,
6623
+ "accentMax": 4,
6624
+ "moves": [
6625
+ "a large quote of their own words (only words you were given, or {fact:quote})",
6626
+ "photos with a slow inner drift, like a turning page",
6627
+ "a darker band (ground soft) as a chapter break with a big numeral",
6628
+ "hands at work shown large, the product small"
6629
+ ],
6630
+ "avoid": [
6631
+ "card grids"
6632
+ ],
6633
+ "cliche": {
6634
+ "obvious": "rustic wood, a script font and \"Our story\"",
6635
+ "flip": "a story told in chapters, each with one picture and one sentence"
6636
+ },
6637
+ "limits": {}
6638
+ }
6639
+ ],
6640
+ "presetLook": {
6641
+ "clear-care": "swiss",
6642
+ "swiss-grid": "swiss",
6643
+ "trusted-advisor": "editorial",
6644
+ "fresh-practice": "quiet",
6645
+ "gallery-minimal": "gallery",
6646
+ "warm-editorial": "editorial",
6647
+ "soft-spa": "apothecary",
6648
+ "quiet-luxury": "quiet",
6649
+ "after-dark": "after-dark",
6650
+ "ink-studio": "type-as-image",
6651
+ "night-gallery": "gallery",
6652
+ "tech-studio": "product-theatre",
6653
+ "morning-glass": "product-theatre",
6654
+ "holiday-light": "playful",
6655
+ "frosted-portfolio": "gallery",
6656
+ "coral-studio": "playful",
6657
+ "corner-cafe": "warm-craft",
6658
+ "kind-community": "warm-craft",
6659
+ "little-ones": "playful",
6660
+ "garden-party": "playful",
6661
+ "bold-maker": "type-as-image",
6662
+ "festival": "playful",
6663
+ "zine": "type-as-image",
6664
+ "fresh-market": "warm-craft"
6665
+ }
6666
+ } as const;