@koda-sl/baker-cli 0.270.0-dev.1f1c09c80 → 0.270.1-dev.1f1c09c80

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/dist/cli.js CHANGED
@@ -32805,20 +32805,24 @@ function adBrandOverlayCss() {
32805
32805
  " viewBox is wider than it is tall rendered clipped \u2014 the first real ad drew",
32806
32806
  " `greenlea`. Constraining the height and letting the width follow keeps any",
32807
32807
  " aspect ratio whole, and the max-width stops a very wide mark spanning the frame. */",
32808
- " /* Legible over ANY picture. A drop shadow alone left a pale mark invisible",
32809
- " against a bright window or an overcast sky for the first third of an ad;",
32810
- " a dark, blurred pill behind it reads on both without boxing the mark in. */",
32811
- " .brand-mark { position: absolute; top: 90px; left: 56px; height: 64px; width: auto;",
32812
- " max-width: 420px; object-fit: contain; padding: 14px 20px; border-radius: 18px;",
32813
- " background: rgba(0,0,0,0.34); backdrop-filter: blur(6px);",
32814
- " filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55)); }",
32808
+ " /* A LIGHT panel behind the mark, always. A brand mark is drawn to sit on white",
32809
+ " \u2014 this one is #1D5D47 on transparent \u2014 so a dark backing hid it on the corner",
32810
+ " and the brand-coloured closing plate erased it completely: the end card came",
32811
+ " out as an empty green frame with a single leaf floating in it. A near-white",
32812
+ " panel is the one background every mark in a brand kit is designed against. */",
32813
+ " .brand-mark { position: absolute; top: 90px; left: 56px; height: 52px; width: auto;",
32814
+ " max-width: 420px; object-fit: contain; padding: 14px 22px; border-radius: 18px;",
32815
+ " background: rgba(255,255,255,0.94);",
32816
+ " filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35)); }",
32815
32817
  " .endcard { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);",
32816
32818
  " display: flex; flex-direction: column; align-items: center; gap: 56px;",
32817
32819
  " width: 100%; max-width: 1080px; padding: 0 60px; text-align: center; }",
32818
32820
  " /* Sized to FILL, not merely bounded. Given only max-* constraints an SVG",
32819
32821
  " renders at its own intrinsic size, and a small viewBox drew a closing mark",
32820
32822
  " a few dozen pixels tall in the middle of a 1080px frame. */",
32821
- " .endcard-logo { width: 62%; height: auto; max-height: 460px; object-fit: contain; }",
32823
+ " .endcard-logo { width: 62%; height: auto; max-height: 300px; object-fit: contain;",
32824
+ " padding: 46px 56px; border-radius: 40px; background: rgba(255,255,255,0.96);",
32825
+ " box-shadow: 0 10px 40px rgba(0,0,0,0.28); }",
32822
32826
  " /* Capped and wrapping, not sized to its content: measured in a real browser,",
32823
32827
  " `GET YOUR FREE QUOTE` renders 948px wide against a 1080px canvas, so the next",
32824
32828
  " slightly longer call to action runs off the frame. Two lines beat an edge. */",
@@ -33084,6 +33088,9 @@ var scaffoldAdCommand = defineCommand104({
33084
33088
  ...logoPath && !staged ? [`Could not read the logo at \`${logoPath}\` \u2014 the ad has no mark on screen. Give the path as it appears in src/brand/BRAND.md, relative to the workspace root.`] : [],
33085
33089
  ...staged ? ["The brand mark is drawn by the composition \u2014 top-left throughout, and large on the closing card. It is never generated as a picture, so it cannot come back garbled."] : [],
33086
33090
  ...endCardWanted(spec.data) ? ["The last beat closes on a flat brand plate with the call to action over it, instead of one more photograph."] : [],
33091
+ ...spec.data.brand?.logo && !filledLogo && !spec.data.brand.logo.startsWith(`${BRAND_DIR}/`) ? [
33092
+ `The mark at \`${spec.data.brand.logo}\` is not in \`${BRAND_DIR}/logos/\`. If you drew it for this ad, it is not the client's logo and the ad is going out wearing something you invented \u2014 put the real one in the brand folder (\`/brand-build\`) and re-run. A hand-drawn wordmark also tends to overflow its own viewBox, which renders as a clipped word.`
33093
+ ] : [],
33087
33094
  ...filledLogo || filledPalette ? [
33088
33095
  `The spec left the brand empty, so it was read from the workspace: ${[filledLogo ? `logo \`${filledLogo}\`` : null, filledPalette ? `palette ${filledPalette.slice(0, 3).join(", ")}` : null].filter(Boolean).join(" and ")}. Pass them yourself when the ad needs a different mark or colour.`
33089
33096
  ] : [],