@vectoriox/iox-ui 5.199.0 → 5.200.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.
- package/design-core/index.d.ts +454 -52
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +640 -55
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs +5 -2
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +945 -159
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +441 -63
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +5 -2
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +434 -123
- package/harness-core/index.d.ts +282 -6
- package/package.json +1 -1
- package/src/design-core/brand-neutrals.ts +125 -3
- package/src/design-core/colour-words.ts +48 -0
- package/src/design-core/design-settings.ts +24 -5
- package/src/design-core/design-token.model.ts +8 -0
- package/src/design-core/flavor-fixtures.generated.ts +272 -2
- package/src/design-core/flavor-spec.generated.ts +310 -40
- package/src/design-core/flavor-tokens.ts +5 -1
- package/src/design-core/public-api.ts +2 -0
- package/src/design-core/signature-move.ts +107 -0
- package/src/design-core/style-presets.ts +9 -3
- package/src/design-core/token-css.ts +59 -1
- package/src/forms-core/form-presets.ts +5 -2
- package/src/generation-core/body-mix.ts +41 -0
- package/src/generation-core/check-layout.ts +17 -7
- package/src/generation-core/colour-mix.ts +53 -3
- package/src/generation-core/compose-site.ts +131 -32
- package/src/generation-core/composition.ts +320 -0
- package/src/generation-core/footer-mix.ts +43 -3
- package/src/generation-core/footer-sign-up.ts +51 -0
- package/src/generation-core/header-edit.ts +15 -0
- package/src/generation-core/opening-edit.ts +17 -3
- package/src/generation-core/opening-mix.ts +69 -5
- package/src/generation-core/plan-wire.ts +22 -5
- package/src/generation-core/public-api.ts +2 -0
- package/src/generation-core/site-build-run.ts +3 -0
- package/src/generation-core/site-plan.model.ts +3 -0
- package/src/generation-core/site-spec.generated.ts +250 -104
- package/src/generation-core/type-led.ts +4 -2
- package/src/generation-core/validate-site-plan.ts +2 -1
- package/src/harness-core/business-types.ts +27 -0
- package/src/harness-core/harness-spec.generated.ts +405 -56
- package/src/harness-core/motion.ts +19 -2
- package/src/harness-core/run-compose-context.ts +9 -3
- package/src/harness-core/starting-design.ts +15 -7
- package/styles/iox-design.css +10 -0
- package/styles/iox-forms.css +53 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignChoices, elementStyleFace, resolveDesignChoices, textWidthEm } from '@vectoriox/iox-ui/design-core';
|
|
1
|
+
import { DesignChoices, designTokenRows, elementStyleFace, resolveDesignChoices, textWidthEm } from '@vectoriox/iox-ui/design-core';
|
|
2
2
|
|
|
3
3
|
import { LAYOUT_INSET } from './layout-column';
|
|
4
4
|
import { GenerationTier } from './site-plan.model';
|
|
@@ -48,6 +48,8 @@ interface OpeningTable {
|
|
|
48
48
|
wordsNeverCut: boolean; phoneInsetPx: readonly [number, number]; slowZoomMinS: number; badgeOwnersOnly: boolean; neverHoldsScroll: boolean;
|
|
49
49
|
/** AW9 `motion.dissolve`: the picture's last scale, the words' last scale, and the share of the exit the words take. */
|
|
50
50
|
dissolve: { grow: number; wordsGrow: number; wordsUntil: number };
|
|
51
|
+
/** Type scale: the opening's headline set to its words (`openingDisplaySize`). */
|
|
52
|
+
display: { capBody: number; lines: number; phoneLines: number; roomPx: number; fill: number; screenShare: number; phoneScreenShare: number };
|
|
51
53
|
};
|
|
52
54
|
tiers: Readonly<Record<string, 'all' | 'pro'>>;
|
|
53
55
|
references: ReadonlyArray<{ id: string; after: string; added: string; mix: Partial<Record<string, string | ReadonlyArray<string>>> }>;
|
|
@@ -523,6 +525,62 @@ function nameFits(ctx: OpeningContext, oneLine: boolean): boolean {
|
|
|
523
525
|
return laptopOk && (PHONE_PX - 2 * PHONE_SIDE_PX) / longest >= MIN_PHONE_DISPLAY_PX;
|
|
524
526
|
}
|
|
525
527
|
|
|
528
|
+
/** The laptop and phone the opening's display is set for (the reference cards' screens). */
|
|
529
|
+
const LAPTOP_SCREEN_H = 900;
|
|
530
|
+
const PHONE_SCREEN_H = 844;
|
|
531
|
+
/** The phone's frame padding beside the words (FRAME_PAD at 375) and a panel's padding when the look names none (px). */
|
|
532
|
+
const PHONE_FRAME_PX = 20;
|
|
533
|
+
const PANEL_PAD_PX = 32;
|
|
534
|
+
const PX = /^(\d+(?:\.\d+)?)px$/;
|
|
535
|
+
const CLAMP_PX = /^clamp\((\d+(?:\.\d+)?)px,.*?,\s*(\d+(?:\.\d+)?)px\)$/;
|
|
536
|
+
|
|
537
|
+
/** The opening's headline set to its words (contract OPENING.rules.display): the size on each screen and its CSS. */
|
|
538
|
+
export interface OpeningDisplaySize {
|
|
539
|
+
laptopPx: number;
|
|
540
|
+
phonePx: number;
|
|
541
|
+
fontSize: string;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Type scale (the 2026-11-28 reference baseline, gap #3): the opening's headline, set to ITS words on the look's own face
|
|
546
|
+
* rather than the look's one display size — so a short headline stands as the references' do (9–22× the body) and a long
|
|
547
|
+
* one stays inside its lines. The largest size that keeps (contract `rules.display`): ≤ `capBody` × body; ≤ `lines` lines
|
|
548
|
+
* across the words' room (a wrapped line filled to `fill`); the longest word on one line; the lines within `screenShare`
|
|
549
|
+
* of the screen — on a 1440 × 900 laptop, and with the phone's own lines and share on a 375 × 844 phone; fluid between
|
|
550
|
+
* (`cqi`, as the look's display token: the builder canvas reads its simulated width). Never below the look's display token
|
|
551
|
+
* on either screen: null when the words would stand no larger than it (the token stays). `panel` — the words stand in a
|
|
552
|
+
* scrim panel (its padding leaves less room). Pure.
|
|
553
|
+
*/
|
|
554
|
+
export function openingDisplaySize(ctx: OpeningContext, panel: boolean): OpeningDisplaySize | null {
|
|
555
|
+
const R = O.rules.display;
|
|
556
|
+
const { line, longest } = nameEm(ctx);
|
|
557
|
+
if (!line || !longest) return null;
|
|
558
|
+
const rows = new Map(designTokenRows(ctx.design ?? resolveDesignChoices({})).map(r => [r.name, r.value]));
|
|
559
|
+
const body = Number(PX.exec(rows.get('size-body') ?? '')?.[1] ?? 16);
|
|
560
|
+
const token = CLAMP_PX.exec(rows.get('size-display') ?? '');
|
|
561
|
+
if (!token) return null;
|
|
562
|
+
const [tokenPhone, tokenLaptop] = [Number(token[1]), Number(token[2])];
|
|
563
|
+
const pad = panel ? Number(PX.exec(rows.get('space-pad') ?? '')?.[1] ?? PANEL_PAD_PX) : 0;
|
|
564
|
+
/** The largest size that keeps the words within `lines` lines of `room`, their longest word on one, the lines within
|
|
565
|
+
* `screen` px — never above the cap. */
|
|
566
|
+
const fitted = (room: number, lines: number, screen: number): number => {
|
|
567
|
+
let size = 0;
|
|
568
|
+
for (let n = 1; n <= lines; n++) {
|
|
569
|
+
const across = (room * n * (n === 1 ? FIT : R.fill)) / line;
|
|
570
|
+
size = Math.max(size, Math.min(R.capBody * body, across, (room * FIT) / longest, screen / n));
|
|
571
|
+
}
|
|
572
|
+
return Math.floor(size);
|
|
573
|
+
};
|
|
574
|
+
const laptop = fitted(Math.min(R.roomPx, LAPTOP_PX - 2 * LAPTOP_SIDE_PX) - 2 * pad, R.lines, R.screenShare * LAPTOP_SCREEN_H);
|
|
575
|
+
const phone = Math.min(laptop, fitted(PHONE_PX - 2 * PHONE_FRAME_PX - 2 * pad, R.phoneLines, R.phoneScreenShare * PHONE_SCREEN_H));
|
|
576
|
+
if (laptop <= tokenLaptop) return null;
|
|
577
|
+
// Never smaller than the token on a phone either: where the words would want less, the token's own size stands.
|
|
578
|
+
const phonePx = Math.max(phone, Math.min(tokenPhone, laptop));
|
|
579
|
+
const slope = ((laptop - phonePx) / (LAPTOP_PX - PHONE_PX)) * 100;
|
|
580
|
+
const intercept = phonePx - (slope / 100) * PHONE_PX;
|
|
581
|
+
return { laptopPx: laptop, phonePx, fontSize: `clamp(${phonePx}px, ${slope.toFixed(2)}cqi + ${intercept.toFixed(1)}px, ${laptop}px)` };
|
|
582
|
+
}
|
|
583
|
+
|
|
526
584
|
/**
|
|
527
585
|
* The ONE judge of an opening mix against the site: what the site cannot carry is mended to the nearest mix it can, and
|
|
528
586
|
* each mend is said. Judges the mix as DRAWN (`drawnOpeningMix` first). Never throws on a well-formed mix. Pure.
|
|
@@ -614,6 +672,8 @@ export const SCRIM_WORDS_PAD = 'var(--iox-space-pad)';
|
|
|
614
672
|
/** iox-ui#133 (AW-D41, one edge): a frame's words start on the content column every other section starts on — its inline
|
|
615
673
|
* padding is never less than `space-inline`; the frame itself may bleed, its words do not. */
|
|
616
674
|
const framePadding = (block: string): string => `${block} max(${block}, ${LAYOUT_INSET})`;
|
|
675
|
+
/** The opening's words column at the look's display size, and the reading measure of the line under a larger one. */
|
|
676
|
+
const WORDS_MAX = '760px';
|
|
617
677
|
/** A display line is sized a little under its measured width, so a rounding never wraps it. */
|
|
618
678
|
const FIT = 0.95;
|
|
619
679
|
|
|
@@ -805,11 +865,12 @@ function typeLedWordsNodes(mix: OpeningMix, ctx: OpeningContext): PatternNode[]
|
|
|
805
865
|
return [apart, typeLedAside('bottom')];
|
|
806
866
|
}
|
|
807
867
|
default:
|
|
868
|
+
const sized = openingDisplaySize(ctx, false);
|
|
808
869
|
return [{
|
|
809
870
|
t: 'Container', es: 'box', role: OpeningRole.Words,
|
|
810
|
-
lay: { ...OVER(1), display: 'flex', flexDirection: 'column', gap: '14px', maxWidth:
|
|
871
|
+
lay: { ...OVER(1), display: 'flex', flexDirection: 'column', gap: '14px', maxWidth: sized ? `${O.rules.display.roomPx}px` : WORDS_MAX },
|
|
811
872
|
enter: 'heroText',
|
|
812
|
-
c: [eyebrowPart(), title({}), typeLedLead(), actionsPart()],
|
|
873
|
+
c: [eyebrowPart(), title(sized ? { fontSize: sized.fontSize } : {}), typeLedLead(sized ? { maxWidth: WORDS_MAX } : {}), actionsPart()],
|
|
813
874
|
}];
|
|
814
875
|
}
|
|
815
876
|
}
|
|
@@ -866,11 +927,14 @@ function wordsNodes(mix: OpeningMix, ctx: OpeningContext): PatternNode[] {
|
|
|
866
927
|
// iox-ui#157: the words stand IN a scrim panel (its fill is the scrim the picture made asks for), so the panel
|
|
867
928
|
// keeps its inner space on every side — the look's own panel padding — and its button its own width (the
|
|
868
929
|
// asides' rule): the heading, the line and the button touched the panel's edges, the button ran across it.
|
|
930
|
+
// Type scale: the headline set to its words (`openingDisplaySize`); the panel then makes room for it, and the line
|
|
931
|
+
// under it keeps a reading measure.
|
|
932
|
+
const sized = openingDisplaySize(ctx, true);
|
|
869
933
|
return [{
|
|
870
934
|
t: 'Container', es: 'media-scrim', role: OpeningRole.Words,
|
|
871
|
-
lay: { ...OVER(1), display: 'flex', flexDirection: 'column', alignItems: 'flex-start', gap: '14px', maxWidth:
|
|
935
|
+
lay: { ...OVER(1), display: 'flex', flexDirection: 'column', alignItems: 'flex-start', gap: '14px', maxWidth: sized ? `min(${O.rules.display.roomPx}px, 100%)` : WORDS_MAX, padding: SCRIM_WORDS_PAD },
|
|
872
936
|
enter: 'heroText',
|
|
873
|
-
c: [title({}), lead(), action()],
|
|
937
|
+
c: [title(sized ? { fontSize: sized.fontSize } : {}), lead(sized ? { maxWidth: WORDS_MAX } : {}), action()],
|
|
874
938
|
}];
|
|
875
939
|
}
|
|
876
940
|
}
|
|
@@ -8,6 +8,7 @@ import { DEFAULT_HEADER_PATTERN, HeaderIngredient, headerMeaning, headerMix, hea
|
|
|
8
8
|
import { DEFAULT_FOOTER_PATTERN, FooterIngredient, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPatternIdOf, footerWireWords, footerWords } from './footer-mix';
|
|
9
9
|
import { openingHarnessWord, OpeningIngredient, openingMeaning, openingWireWords } from './opening-mix';
|
|
10
10
|
import { BodyIngredient, bodyMeaning, bodyMix, bodyMixWords, bodyWireWords } from './body-mix';
|
|
11
|
+
import { ColourIngredient, colourMeaning, colourWireWords } from './colour-mix';
|
|
11
12
|
import { POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, popupMeaning, popupWireWords } from './popup-plan';
|
|
12
13
|
import { shopCategoriesOf } from './shop-plan';
|
|
13
14
|
import { ContentFieldControl, FIELD_TYPE_OF_CONTROL,
|
|
@@ -129,6 +130,8 @@ const HEADER_WIRE_TEXT = 'string[] — the header as ONE list of <ingredient>:<w
|
|
|
129
130
|
|
|
130
131
|
/** The wire's `globals` key the site's body travels in (AW6) — every tier's since AW-D42. */
|
|
131
132
|
const BODY_WIRE_KEY = 'body';
|
|
133
|
+
/** The plan's `mixes` key the body list's colour words go to (CV2). */
|
|
134
|
+
const COLOUR_MIX_KEY = 'colour';
|
|
132
135
|
|
|
133
136
|
/** The body's words as the model reads them (AW6): each ingredient, the words a build may wear today and their meanings,
|
|
134
137
|
* from the contract's body table. */
|
|
@@ -138,7 +141,17 @@ const BODY_WIRE_TEXT = "string[] — the site's body as ONE list of <ingredient>
|
|
|
138
141
|
+ 'sections wear different grounds; a calm business (care, advice) never wears a torn or dripping edge. '
|
|
139
142
|
+ Object.values(BodyIngredient).map(k => [k, bodyWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))] as const)
|
|
140
143
|
.filter(([, words]) => words.length)
|
|
141
|
-
.map(([k, words]) => `${k}: ${words.map(w => `${w} (${bodyMeaning(k, w)})`).join(' | ')}`).join('; ')
|
|
144
|
+
.map(([k, words]) => `${k}: ${words.map(w => `${w} (${bodyMeaning(k, w)})`).join(' | ')}`).join('; ')
|
|
145
|
+
// Colour v2 CV2: the site's colours ride the same list (+0 properties) and are split out into `mixes.colour`; one word per
|
|
146
|
+
// ingredient, an ingredient left out is the style preset's own.
|
|
147
|
+
+ '. The same list carries the site\'s colours: '
|
|
148
|
+
+ Object.values(ColourIngredient).map(k => [k, colourWireWords(GenerationTier.Award).filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))] as const)
|
|
149
|
+
.filter(([, words]) => words.length)
|
|
150
|
+
.map(([k, words]) => `${k}: ${words.map(w => `${w} (${colourMeaning(k, w)})`).join(' | ')}`).join('; ');
|
|
151
|
+
|
|
152
|
+
/** The ingredients whose words ride the body list but are the site's colours (CV2): split out into `mixes.colour`. */
|
|
153
|
+
const COLOUR_INGREDIENTS: ReadonlySet<string> = new Set(Object.values(ColourIngredient));
|
|
154
|
+
const isColourWord = (word: unknown): boolean => typeof word === 'string' && COLOUR_INGREDIENTS.has(word.split(':')[0]);
|
|
142
155
|
|
|
143
156
|
/** The wire's `globals` key the site's popup travels in (popups PU3) — a mix beside the others; [] = no popup. */
|
|
144
157
|
const POPUP_WIRE_KEY = 'popup';
|
|
@@ -259,7 +272,7 @@ const WIRE_KEYS: Readonly<Record<`${PlanWireEntry}`, Readonly<Record<string, Wir
|
|
|
259
272
|
opening: { refs: ['plan.mixes', 'mixes.opening'], text: OPENING_WIRE_TEXT },
|
|
260
273
|
// AW6: the site's body travels as its MIX, ONE list of `<ingredient>:<word>` words (body-mix.ts); [] = none. Every
|
|
261
274
|
// tier's request carries it since AW-D42 (it was the award tier's alone, AW-D23).
|
|
262
|
-
body: { refs: ['plan.mixes', 'mixes.body'], text: BODY_WIRE_TEXT },
|
|
275
|
+
body: { refs: ['plan.mixes', 'mixes.body', 'mixes.colour'], text: BODY_WIRE_TEXT },
|
|
263
276
|
// PU3: the popup travels as its words, ONE list (popup-plan.ts); [] = none. Stamped only from the owner's lines (plan.popup).
|
|
264
277
|
popup: { refs: ['plan.mixes', 'mixes.popup'], text: POPUP_WIRE_TEXT },
|
|
265
278
|
},
|
|
@@ -472,7 +485,8 @@ const PLAN_TOP_SCHEMAS: Readonly<Record<string, (options: PlanWireOptions) => Js
|
|
|
472
485
|
[GlobalSlot.Header]: jsonListOf(jsonOneOf(headerWireWords())),
|
|
473
486
|
[GlobalSlot.Footer]: jsonListOf(jsonOneOf(footerWireWords())),
|
|
474
487
|
[OPENING_WIRE_KEY]: jsonListOf(jsonOneOf(openingWireWords())),
|
|
475
|
-
|
|
488
|
+
// AW-D42: every tier's request is the award request — the colour's Pro words ride it too.
|
|
489
|
+
[BODY_WIRE_KEY]: jsonListOf(jsonOneOf([...bodyWireWords(), ...colourWireWords(GenerationTier.Award)])),
|
|
476
490
|
[POPUP_WIRE_KEY]: jsonListOf(jsonText()),
|
|
477
491
|
}, `wire ${PlanWireEntry.Globals}`),
|
|
478
492
|
direction: () => shaped(PlanWireEntry.Direction, { idea: jsonText(), cliche: jsonText(), flip: jsonText(), rules: jsonListOf(jsonText()) }),
|
|
@@ -671,7 +685,10 @@ function expandWireGlobals(globals: unknown): PlainObject {
|
|
|
671
685
|
// AW8: the opening is a mix only (no stored pattern stands for it on the wire); [] = none. Not a list: the validator says so.
|
|
672
686
|
// AW6: so is the body (the award tier's wire alone writes it); [] = none.
|
|
673
687
|
// PU3: so is the popup ([] = none).
|
|
674
|
-
|
|
688
|
+
// CV2: the body list's colour words are the site's colours (`mixes.colour`); the rest its body.
|
|
689
|
+
const bodyWords = Array.isArray(body) ? body.filter(w => !isColourWord(w)) : body;
|
|
690
|
+
const colour = Array.isArray(body) ? body.filter(isColourWord) : undefined;
|
|
691
|
+
for (const [name, words] of [[OPENING_WIRE_KEY, opening], [BODY_WIRE_KEY, bodyWords], [POPUP_WIRE_KEY, popup], [COLOUR_MIX_KEY, colour]] as const) {
|
|
675
692
|
if (words !== undefined && (!Array.isArray(words) || words.length)) mixes[name] = Array.isArray(words) ? [...words] : words;
|
|
676
693
|
}
|
|
677
694
|
for (const [slot, readId, fallback] of [
|
|
@@ -747,7 +764,7 @@ const PLAN_TO_WIRE: Readonly<Record<string, (plan: SitePlan, options: PlanWireOp
|
|
|
747
764
|
...plan.globals, [GlobalSlot.Header]: headerMixWords(headerMixOfPlan(plan)), [GlobalSlot.Footer]: footerMixWords(footerMixOfPlan(plan)),
|
|
748
765
|
[OPENING_WIRE_KEY]: [...(plan.mixes?.opening ?? [])],
|
|
749
766
|
// AW6: the wire writes the body ([] = none) — at every tier since AW-D42.
|
|
750
|
-
[BODY_WIRE_KEY]: [...(plan.mixes?.body ?? [])],
|
|
767
|
+
[BODY_WIRE_KEY]: [...(plan.mixes?.body ?? []), ...(plan.mixes?.colour ?? [])],
|
|
751
768
|
[POPUP_WIRE_KEY]: [...(plan.mixes?.popup ?? [])],
|
|
752
769
|
}),
|
|
753
770
|
direction: plan => ({ idea: plan.direction?.idea ?? NONE, cliche: plan.direction?.cliche ?? NONE, flip: plan.direction?.flip ?? NONE, rules: [...(plan.direction?.rules ?? [])] }),
|
|
@@ -18,6 +18,7 @@ export * from './patterns';
|
|
|
18
18
|
export * from './templates';
|
|
19
19
|
export * from './serialized-node';
|
|
20
20
|
export * from './section-stamp';
|
|
21
|
+
export * from './composition';
|
|
21
22
|
export * from './carry';
|
|
22
23
|
export * from './check-carry';
|
|
23
24
|
export * from './carry-fill';
|
|
@@ -96,6 +97,7 @@ export * from './colour-mix';
|
|
|
96
97
|
export * from './popup-plan';
|
|
97
98
|
export * from './opening-edit';
|
|
98
99
|
export * from './footer-mix';
|
|
100
|
+
export * from './footer-sign-up';
|
|
99
101
|
export * from './layout-edits';
|
|
100
102
|
export * from './adjustments';
|
|
101
103
|
export * from './site-tree';
|
|
@@ -350,6 +350,9 @@ export interface BuildComposeDecisions {
|
|
|
350
350
|
/** The owner's own photos (addresses) the build may place — their count lets a type whose work stock may not show open
|
|
351
351
|
* on a picture (pictures first). */
|
|
352
352
|
ownPhotos?: ReadonlyArray<string>;
|
|
353
|
+
/** Motion reach (MR-D1): the owner asked for little movement (the reading's `lots-of-motion` avoid) — the site signs
|
|
354
|
+
* with no move it did not start with. Absent: not asked. */
|
|
355
|
+
littleMovement?: boolean | null;
|
|
353
356
|
}
|
|
354
357
|
|
|
355
358
|
/** The run as `GET …/site-builds/:id` (and `?latest=1`) answers it. */
|
|
@@ -416,6 +416,9 @@ export interface PlanMixes {
|
|
|
416
416
|
readonly body?: ReadonlyArray<string>;
|
|
417
417
|
/** Popups PU3 (popup-plan.ts): the site's popup — kind, form, arrive, `link:<page key>`; stamped only from `SitePlan.popup`. */
|
|
418
418
|
readonly popup?: ReadonlyArray<string>;
|
|
419
|
+
/** Colour v2 CV2 (colour-mix.ts): the site's colours — ground, dark, accent, button, rhythm, bands. Absent = the style
|
|
420
|
+
* preset's own row (`colourMixOfPlan`). */
|
|
421
|
+
readonly colour?: ReadonlyArray<string>;
|
|
419
422
|
}
|
|
420
423
|
|
|
421
424
|
/** M8 gate 2: the idea a site's composed pages serve — the usual site for the business, and what this one does instead. */
|