@presentation-md/export 1.12.1 → 1.13.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/dist/layouts.js CHANGED
@@ -1,4 +1,4 @@
1
- import { candyMarqueeText } from "@presentation-md/core";
1
+ import { candyMarqueeText } from "@presentation-md/core/candy-marquee";
2
2
  /** Candy-pop cards use hard ink strokes + plump radius (candy-blob `.card`). */
3
3
  function cardStroke(ctx, opts = {}) {
4
4
  if (ctx.themeName === "candy-pop") {
@@ -1738,20 +1738,40 @@ function paintSlideChrome(slide, ctx, data) {
1738
1738
  rectRadius: 0,
1739
1739
  });
1740
1740
  }
1741
- if (theme === "bold-signal" && isHero) {
1742
- // Orange focal panel — title/closing only (matches bold-signal-card surface).
1741
+ if (theme === "bold-signal") {
1742
+ // Soft orange corner blot on every slide; hero gets the focal panel.
1743
+ slide.addShape(ctx.shapeOval, {
1744
+ x: -0.6,
1745
+ y: ctx.height - 1.8,
1746
+ w: 2.2,
1747
+ h: 2.2,
1748
+ fill: { color: ctx.colors.accent, transparency: 78 },
1749
+ line: { color: ctx.colors.accent, width: 0 },
1750
+ });
1743
1751
  slide.addShape(ctx.shapeRoundRect, {
1744
- x: ctx.width * 0.55,
1745
- y: ctx.height * 0.2,
1746
- w: ctx.width * 0.38,
1747
- h: ctx.height * 0.58,
1752
+ x: ctx.margin,
1753
+ y: ctx.height - 0.72,
1754
+ w: 0.55,
1755
+ h: 0.035,
1748
1756
  fill: { color: ctx.colors.accent },
1749
1757
  line: { color: ctx.colors.accent, width: 0 },
1750
- rectRadius: 0.18,
1758
+ rectRadius: 0,
1751
1759
  });
1760
+ if (isHero) {
1761
+ // Orange focal panel — title/closing only (matches bold-signal-card surface).
1762
+ slide.addShape(ctx.shapeRoundRect, {
1763
+ x: ctx.width * 0.55,
1764
+ y: ctx.height * 0.2,
1765
+ w: ctx.width * 0.38,
1766
+ h: ctx.height * 0.58,
1767
+ fill: { color: ctx.colors.accent },
1768
+ line: { color: ctx.colors.accent, width: 0 },
1769
+ rectRadius: 0.18,
1770
+ });
1771
+ }
1752
1772
  }
1753
- if (theme === "mat" && isHero) {
1754
- // Soft woodglow corner — translucent accent2 stand-in for the radial wash.
1773
+ if (theme === "mat") {
1774
+ // Woodglow radials + hairline stubs (mat-woodglow ::before/::after).
1755
1775
  slide.addShape(ctx.shapeOval, {
1756
1776
  x: ctx.width * 0.62,
1757
1777
  y: ctx.height * 0.55,
@@ -1760,27 +1780,87 @@ function paintSlideChrome(slide, ctx, data) {
1760
1780
  fill: { color: ctx.colors.accent2, transparency: 72 },
1761
1781
  line: { color: ctx.colors.accent2, width: 0 },
1762
1782
  });
1763
- }
1764
- if (theme === "electric-studio" && isHero) {
1765
- // White → blue horizontal split (mirrors electric-studio-split).
1783
+ slide.addShape(ctx.shapeOval, {
1784
+ x: -ctx.width * 0.08,
1785
+ y: -ctx.height * 0.12,
1786
+ w: ctx.width * 0.35,
1787
+ h: ctx.height * 0.4,
1788
+ fill: { color: ctx.colors.accent, transparency: 88 },
1789
+ line: { color: ctx.colors.accent, width: 0 },
1790
+ });
1766
1791
  slide.addShape(ctx.shapeRoundRect, {
1767
- x: 0,
1768
- y: ctx.height * 0.52,
1769
- w: ctx.width,
1770
- h: ctx.height * 0.48,
1771
- fill: { color: ctx.colors.bg2 },
1772
- line: { color: ctx.colors.bg2, width: 0 },
1792
+ x: ctx.margin,
1793
+ y: ctx.height * 0.12,
1794
+ w: 0.35,
1795
+ h: 0.02,
1796
+ fill: { color: ctx.colors.accent },
1797
+ line: { color: ctx.colors.accent, width: 0 },
1773
1798
  rectRadius: 0,
1774
1799
  });
1775
1800
  slide.addShape(ctx.shapeRoundRect, {
1776
- x: 0,
1777
- y: ctx.height * 0.52,
1778
- w: 0.1,
1779
- h: ctx.height * 0.48,
1780
- fill: { color: "#0a0a0a" },
1781
- line: { color: "#0a0a0a", width: 0 },
1801
+ x: ctx.width - ctx.margin - 1.4,
1802
+ y: ctx.height - 0.85,
1803
+ w: 1.4,
1804
+ h: 0.035,
1805
+ fill: { color: ctx.colors.accent, transparency: 15 },
1806
+ line: { color: ctx.colors.accent, width: 0 },
1807
+ rectRadius: 0,
1808
+ });
1809
+ }
1810
+ if (theme === "electric-studio") {
1811
+ // Hard slide frame (electric-studio-split border + shadow stand-in).
1812
+ slide.addShape(ctx.shapeRoundRect, {
1813
+ x: 0.04,
1814
+ y: 0.04,
1815
+ w: ctx.width - 0.08,
1816
+ h: ctx.height - 0.08,
1817
+ fill: { color: ctx.colors.bg, transparency: 100 },
1818
+ line: { color: ctx.colors.text, width: 1.25 },
1782
1819
  rectRadius: 0,
1783
1820
  });
1821
+ if (isHero) {
1822
+ // White → blue horizontal split + black rail on the blue panel.
1823
+ slide.addShape(ctx.shapeRoundRect, {
1824
+ x: 0,
1825
+ y: ctx.height * 0.52,
1826
+ w: ctx.width,
1827
+ h: ctx.height * 0.48,
1828
+ fill: { color: ctx.colors.bg2 },
1829
+ line: { color: ctx.colors.bg2, width: 0 },
1830
+ rectRadius: 0,
1831
+ });
1832
+ slide.addShape(ctx.shapeRoundRect, {
1833
+ x: 0,
1834
+ y: ctx.height * 0.52,
1835
+ w: 0.1,
1836
+ h: ctx.height * 0.48,
1837
+ fill: { color: "0a0a0a" },
1838
+ line: { color: "0a0a0a", width: 0 },
1839
+ rectRadius: 0,
1840
+ });
1841
+ // Top-panel accent stub so the white half isn't empty chrome.
1842
+ slide.addShape(ctx.shapeRoundRect, {
1843
+ x: ctx.margin,
1844
+ y: ctx.margin * 0.85,
1845
+ w: 0.55,
1846
+ h: 0.045,
1847
+ fill: { color: ctx.colors.accent },
1848
+ line: { color: ctx.colors.accent, width: 0 },
1849
+ rectRadius: 0,
1850
+ });
1851
+ }
1852
+ else {
1853
+ // Content slides: full-height accent left rail (HTML ::before).
1854
+ slide.addShape(ctx.shapeRoundRect, {
1855
+ x: 0,
1856
+ y: 0,
1857
+ w: 0.1,
1858
+ h: ctx.height,
1859
+ fill: { color: ctx.colors.accent },
1860
+ line: { color: ctx.colors.accent, width: 0 },
1861
+ rectRadius: 0,
1862
+ });
1863
+ }
1784
1864
  }
1785
1865
  if (theme === "soft-editorial") {
1786
1866
  // Soft sage radial stand-in (top-right wash) + blush candy orb.
@@ -2153,13 +2233,22 @@ function paintSlideChrome(slide, ctx, data) {
2153
2233
  }
2154
2234
  }
2155
2235
  if (theme === "aurora-glass") {
2156
- // Dual aurora washes (accent + accent2 translucent ovals).
2236
+ // Dual aurora washes + glass frame (aurora-glass).
2237
+ slide.addShape(ctx.shapeRoundRect, {
2238
+ x: 0.08,
2239
+ y: 0.08,
2240
+ w: ctx.width - 0.16,
2241
+ h: ctx.height - 0.16,
2242
+ fill: { color: ctx.colors.bg, transparency: 100 },
2243
+ line: { color: "FFFFFF", width: 0.9 },
2244
+ rectRadius: 0.14,
2245
+ });
2157
2246
  slide.addShape(ctx.shapeOval, {
2158
2247
  x: ctx.width * 0.55,
2159
2248
  y: -ctx.height * 0.25,
2160
2249
  w: ctx.width * 0.55,
2161
2250
  h: ctx.height * 0.65,
2162
- fill: { color: ctx.colors.accent, transparency: 58 },
2251
+ fill: { color: ctx.colors.accent, transparency: 52 },
2163
2252
  line: { color: ctx.colors.accent, width: 0 },
2164
2253
  });
2165
2254
  slide.addShape(ctx.shapeOval, {
@@ -2167,18 +2256,35 @@ function paintSlideChrome(slide, ctx, data) {
2167
2256
  y: ctx.height * 0.5,
2168
2257
  w: ctx.width * 0.5,
2169
2258
  h: ctx.height * 0.6,
2170
- fill: { color: ctx.colors.accent2, transparency: 65 },
2259
+ fill: { color: ctx.colors.accent2, transparency: 60 },
2171
2260
  line: { color: ctx.colors.accent2, width: 0 },
2172
2261
  });
2262
+ slide.addShape(ctx.shapeOval, {
2263
+ x: ctx.width * 0.72,
2264
+ y: -0.9,
2265
+ w: 3.2,
2266
+ h: 3.2,
2267
+ fill: { color: ctx.colors.accent, transparency: 72 },
2268
+ line: { color: ctx.colors.accent, width: 0 },
2269
+ });
2173
2270
  }
2174
2271
  if (theme === "glassmorphism") {
2175
- // Soft mist blob top-left + cyan orb top-right.
2272
+ // Soft mist blob + cyan orb + glass frame (glass-mist).
2273
+ slide.addShape(ctx.shapeRoundRect, {
2274
+ x: 0.1,
2275
+ y: 0.1,
2276
+ w: ctx.width - 0.2,
2277
+ h: ctx.height - 0.2,
2278
+ fill: { color: ctx.colors.bg, transparency: 100 },
2279
+ line: { color: ctx.colors.accent, width: 1 },
2280
+ rectRadius: 0.16,
2281
+ });
2176
2282
  slide.addShape(ctx.shapeOval, {
2177
2283
  x: -ctx.width * 0.1,
2178
2284
  y: -ctx.height * 0.2,
2179
2285
  w: ctx.width * 0.55,
2180
2286
  h: ctx.height * 0.55,
2181
- fill: { color: ctx.colors.accent, transparency: 78 },
2287
+ fill: { color: ctx.colors.accent, transparency: 74 },
2182
2288
  line: { color: ctx.colors.accent, width: 0 },
2183
2289
  });
2184
2290
  slide.addShape(ctx.shapeOval, {
@@ -2186,31 +2292,52 @@ function paintSlideChrome(slide, ctx, data) {
2186
2292
  y: -ctx.height * 0.15,
2187
2293
  w: ctx.width * 0.45,
2188
2294
  h: ctx.height * 0.5,
2189
- fill: { color: ctx.colors.accent2, transparency: 70 },
2295
+ fill: { color: ctx.colors.accent2, transparency: 64 },
2190
2296
  line: { color: ctx.colors.accent2, width: 0 },
2191
2297
  });
2192
2298
  }
2193
- if (theme === "luxury-minimalist" && isHero) {
2194
- // Gold hairline accent (quiet-luxe title/closing ::before).
2195
- slide.addShape(ctx.shapeRoundRect, {
2196
- x: ctx.margin,
2197
- y: ctx.height * 0.48,
2198
- w: 0.55,
2199
- h: 0.02,
2200
- fill: { color: ctx.colors.accent },
2201
- line: { color: ctx.colors.accent, width: 0 },
2202
- rectRadius: 0,
2203
- });
2299
+ if (theme === "luxury-minimalist") {
2300
+ // Quiet luxe border on content; gold hairline on heroes (quiet-luxe).
2301
+ if (!isHero) {
2302
+ slide.addShape(ctx.shapeRoundRect, {
2303
+ x: 0.12,
2304
+ y: 0.12,
2305
+ w: ctx.width - 0.24,
2306
+ h: ctx.height - 0.24,
2307
+ fill: { color: ctx.colors.bg, transparency: 100 },
2308
+ line: { color: ctx.colors.border, width: 0.9 },
2309
+ rectRadius: 0,
2310
+ });
2311
+ }
2312
+ if (isHero) {
2313
+ slide.addShape(ctx.shapeRoundRect, {
2314
+ x: ctx.margin,
2315
+ y: ctx.height * 0.48,
2316
+ w: 0.55,
2317
+ h: 0.02,
2318
+ fill: { color: ctx.colors.accent },
2319
+ line: { color: ctx.colors.accent, width: 0 },
2320
+ rectRadius: 0,
2321
+ });
2322
+ }
2204
2323
  }
2205
2324
  if (theme === "crt-terminal") {
2206
- // Phosphor scanline stand-ins + cyan corner blot.
2207
- for (let i = 0; i < 8; i++) {
2325
+ // Phosphor radial wash + denser scanlines + cyan blot + inset bezel.
2326
+ slide.addShape(ctx.shapeOval, {
2327
+ x: ctx.width * 0.15,
2328
+ y: -ctx.height * 0.1,
2329
+ w: ctx.width * 0.7,
2330
+ h: ctx.height * 0.75,
2331
+ fill: { color: ctx.colors.accent, transparency: 90 },
2332
+ line: { color: ctx.colors.accent, width: 0 },
2333
+ });
2334
+ for (let i = 0; i < 12; i++) {
2208
2335
  slide.addShape(ctx.shapeRoundRect, {
2209
2336
  x: 0,
2210
- y: 0.35 + i * 0.85,
2337
+ y: 0.28 + i * 0.55,
2211
2338
  w: ctx.width,
2212
- h: 0.03,
2213
- fill: { color: ctx.colors.accent, transparency: 82 },
2339
+ h: 0.028,
2340
+ fill: { color: ctx.colors.accent, transparency: 84 },
2214
2341
  line: { color: ctx.colors.accent, width: 0 },
2215
2342
  rectRadius: 0,
2216
2343
  });
@@ -2223,9 +2350,18 @@ function paintSlideChrome(slide, ctx, data) {
2223
2350
  fill: { color: ctx.colors.accent2, transparency: 70 },
2224
2351
  line: { color: ctx.colors.accent2, width: 0 },
2225
2352
  });
2353
+ slide.addShape(ctx.shapeRoundRect, {
2354
+ x: 0.12,
2355
+ y: 0.12,
2356
+ w: ctx.width - 0.24,
2357
+ h: ctx.height - 0.24,
2358
+ fill: { color: ctx.colors.bg, transparency: 100 },
2359
+ line: { color: ctx.colors.accent, width: 1.25 },
2360
+ rectRadius: 0,
2361
+ });
2226
2362
  }
2227
2363
  if (theme === "blueprint") {
2228
- // Grid ticks + corner reticle.
2364
+ // Grid ticks + dual reticles + outer frame (blueprint-grid).
2229
2365
  for (let i = 1; i < 12; i++) {
2230
2366
  slide.addShape(ctx.shapeRoundRect, {
2231
2367
  x: (ctx.width / 12) * i,
@@ -2248,6 +2384,15 @@ function paintSlideChrome(slide, ctx, data) {
2248
2384
  rectRadius: 0,
2249
2385
  });
2250
2386
  }
2387
+ slide.addShape(ctx.shapeRoundRect, {
2388
+ x: 0.1,
2389
+ y: 0.1,
2390
+ w: ctx.width - 0.2,
2391
+ h: ctx.height - 0.2,
2392
+ fill: { color: ctx.colors.bg, transparency: 100 },
2393
+ line: { color: ctx.colors.accent, width: 1.1 },
2394
+ rectRadius: 0,
2395
+ });
2251
2396
  slide.addShape(ctx.shapeRoundRect, {
2252
2397
  x: ctx.width - 1.2,
2253
2398
  y: 0.45,
@@ -2257,30 +2402,50 @@ function paintSlideChrome(slide, ctx, data) {
2257
2402
  line: { color: ctx.colors.accent, width: 1.25 },
2258
2403
  rectRadius: 0,
2259
2404
  });
2260
- }
2261
- if (theme === "brutalist-acid" && isHero) {
2262
- // Acid offset shadow block.
2263
2405
  slide.addShape(ctx.shapeRoundRect, {
2264
- x: ctx.width * 0.62,
2265
- y: ctx.height * 0.28,
2266
- w: ctx.width * 0.28,
2267
- h: ctx.height * 0.42,
2268
- fill: { color: ctx.colors.accent },
2269
- line: { color: ctx.colors.accent, width: 0 },
2406
+ x: 0.45,
2407
+ y: ctx.height - 1.15,
2408
+ w: 0.55,
2409
+ h: 0.55,
2410
+ fill: { color: ctx.colors.bg, transparency: 100 },
2411
+ line: { color: ctx.colors.accent2, width: 1.1 },
2270
2412
  rectRadius: 0,
2271
2413
  });
2414
+ }
2415
+ if (theme === "brutalist-acid") {
2416
+ // Hard acid frame on every slide; hero gets offset shadow block.
2272
2417
  slide.addShape(ctx.shapeRoundRect, {
2273
- x: ctx.width * 0.6,
2274
- y: ctx.height * 0.26,
2275
- w: ctx.width * 0.28,
2276
- h: ctx.height * 0.42,
2277
- fill: { color: ctx.colors.bg },
2278
- line: { color: ctx.colors.text, width: 2 },
2418
+ x: 0.1,
2419
+ y: 0.1,
2420
+ w: ctx.width - 0.2,
2421
+ h: ctx.height - 0.2,
2422
+ fill: { color: ctx.colors.bg, transparency: 100 },
2423
+ line: { color: ctx.colors.accent, width: 2.5 },
2279
2424
  rectRadius: 0,
2280
2425
  });
2426
+ if (isHero) {
2427
+ slide.addShape(ctx.shapeRoundRect, {
2428
+ x: ctx.width * 0.62,
2429
+ y: ctx.height * 0.28,
2430
+ w: ctx.width * 0.28,
2431
+ h: ctx.height * 0.42,
2432
+ fill: { color: ctx.colors.accent },
2433
+ line: { color: ctx.colors.accent, width: 0 },
2434
+ rectRadius: 0,
2435
+ });
2436
+ slide.addShape(ctx.shapeRoundRect, {
2437
+ x: ctx.width * 0.6,
2438
+ y: ctx.height * 0.26,
2439
+ w: ctx.width * 0.28,
2440
+ h: ctx.height * 0.42,
2441
+ fill: { color: ctx.colors.bg },
2442
+ line: { color: ctx.colors.text, width: 2 },
2443
+ rectRadius: 0,
2444
+ });
2445
+ }
2281
2446
  }
2282
2447
  if (theme === "aerospace-hud") {
2283
- // HUD grid + orange reticle corner.
2448
+ // HUD grid + border + dual reticles + orange telemetry stub.
2284
2449
  for (let i = 1; i < 10; i++) {
2285
2450
  slide.addShape(ctx.shapeRoundRect, {
2286
2451
  x: (ctx.width / 10) * i,
@@ -2303,6 +2468,15 @@ function paintSlideChrome(slide, ctx, data) {
2303
2468
  rectRadius: 0,
2304
2469
  });
2305
2470
  }
2471
+ slide.addShape(ctx.shapeRoundRect, {
2472
+ x: 0.1,
2473
+ y: 0.1,
2474
+ w: ctx.width - 0.2,
2475
+ h: ctx.height - 0.2,
2476
+ fill: { color: ctx.colors.bg, transparency: 100 },
2477
+ line: { color: ctx.colors.accent, width: 1.15 },
2478
+ rectRadius: 0,
2479
+ });
2306
2480
  slide.addShape(ctx.shapeRoundRect, {
2307
2481
  x: ctx.margin,
2308
2482
  y: ctx.margin,
@@ -2312,16 +2486,32 @@ function paintSlideChrome(slide, ctx, data) {
2312
2486
  line: { color: ctx.colors.accent2, width: 1.5 },
2313
2487
  rectRadius: 0,
2314
2488
  });
2315
- if (isHero) {
2316
- slide.addShape(ctx.shapeOval, {
2317
- x: ctx.width - 1.6,
2318
- y: ctx.height - 1.6,
2319
- w: 1.1,
2320
- h: 1.1,
2321
- fill: { color: ctx.colors.bg, transparency: 100 },
2322
- line: { color: ctx.colors.accent, width: 1.5 },
2323
- });
2324
- }
2489
+ // Top-right reticle (hud-grid ::after).
2490
+ slide.addShape(ctx.shapeOval, {
2491
+ x: ctx.width - 1.45,
2492
+ y: 0.45,
2493
+ w: 0.85,
2494
+ h: 0.85,
2495
+ fill: { color: ctx.colors.bg, transparency: 100 },
2496
+ line: { color: ctx.colors.accent, width: 1.5 },
2497
+ });
2498
+ slide.addShape(ctx.shapeOval, {
2499
+ x: ctx.width - 1.28,
2500
+ y: 0.62,
2501
+ w: 0.5,
2502
+ h: 0.5,
2503
+ fill: { color: ctx.colors.bg, transparency: 100 },
2504
+ line: { color: ctx.colors.accent, width: 0.75 },
2505
+ });
2506
+ slide.addShape(ctx.shapeRoundRect, {
2507
+ x: ctx.width - 2.1,
2508
+ y: ctx.height - 0.72,
2509
+ w: 1.35,
2510
+ h: 0.08,
2511
+ fill: { color: ctx.colors.accent2, transparency: 25 },
2512
+ line: { color: ctx.colors.accent2, width: 0 },
2513
+ rectRadius: 0,
2514
+ });
2325
2515
  }
2326
2516
  if (theme === "neon-noir") {
2327
2517
  // Magenta glow blob + cyan rim (neon-rain stand-in).
@@ -2491,13 +2681,22 @@ function paintSlideChrome(slide, ctx, data) {
2491
2681
  });
2492
2682
  }
2493
2683
  if (theme === "fintech-clean") {
2494
- // Soft mint radial wash (fintech-soft top-right).
2684
+ // Soft mint radial wash + clean frame (fintech-soft).
2685
+ slide.addShape(ctx.shapeRoundRect, {
2686
+ x: 0.1,
2687
+ y: 0.1,
2688
+ w: ctx.width - 0.2,
2689
+ h: ctx.height - 0.2,
2690
+ fill: { color: ctx.colors.bg, transparency: 100 },
2691
+ line: { color: ctx.colors.border, width: 1 },
2692
+ rectRadius: 0.1,
2693
+ });
2495
2694
  slide.addShape(ctx.shapeOval, {
2496
2695
  x: ctx.width * 0.55,
2497
2696
  y: -ctx.height * 0.25,
2498
2697
  w: ctx.width * 0.55,
2499
2698
  h: ctx.height * 0.6,
2500
- fill: { color: ctx.colors.accent, transparency: 88 },
2699
+ fill: { color: ctx.colors.accent, transparency: 86 },
2501
2700
  line: { color: ctx.colors.accent, width: 0 },
2502
2701
  });
2503
2702
  slide.addShape(ctx.shapeOval, {
@@ -2505,18 +2704,27 @@ function paintSlideChrome(slide, ctx, data) {
2505
2704
  y: -ctx.height * 0.15,
2506
2705
  w: ctx.width * 0.4,
2507
2706
  h: ctx.height * 0.45,
2508
- fill: { color: ctx.colors.accent2, transparency: 78 },
2707
+ fill: { color: ctx.colors.accent2, transparency: 74 },
2509
2708
  line: { color: ctx.colors.accent2, width: 0 },
2510
2709
  });
2511
2710
  }
2512
2711
  if (theme === "scandinavian") {
2513
- // Sage corner wash + clay soft circle (hygge-soft).
2712
+ // Sage corner wash + clay soft circle + hygge frame (hygge-soft).
2713
+ slide.addShape(ctx.shapeRoundRect, {
2714
+ x: 0.12,
2715
+ y: 0.12,
2716
+ w: ctx.width - 0.24,
2717
+ h: ctx.height - 0.24,
2718
+ fill: { color: ctx.colors.bg, transparency: 100 },
2719
+ line: { color: ctx.colors.border, width: 0.9 },
2720
+ rectRadius: 0.14,
2721
+ });
2514
2722
  slide.addShape(ctx.shapeOval, {
2515
2723
  x: -ctx.width * 0.12,
2516
2724
  y: -ctx.height * 0.2,
2517
2725
  w: ctx.width * 0.5,
2518
2726
  h: ctx.height * 0.5,
2519
- fill: { color: ctx.colors.accent, transparency: 82 },
2727
+ fill: { color: ctx.colors.accent, transparency: 78 },
2520
2728
  line: { color: ctx.colors.accent, width: 0 },
2521
2729
  });
2522
2730
  slide.addShape(ctx.shapeOval, {
@@ -2524,7 +2732,7 @@ function paintSlideChrome(slide, ctx, data) {
2524
2732
  y: ctx.height - 2.2,
2525
2733
  w: 1.9,
2526
2734
  h: 1.9,
2527
- fill: { color: ctx.colors.accent2, transparency: 78 },
2735
+ fill: { color: ctx.colors.accent2, transparency: 72 },
2528
2736
  line: { color: ctx.colors.accent2, width: 0 },
2529
2737
  });
2530
2738
  }
@@ -2599,21 +2807,30 @@ function paintSlideChrome(slide, ctx, data) {
2599
2807
  });
2600
2808
  }
2601
2809
  if (theme === "heritage-editorial") {
2602
- // Quiet hairlines (heritage-wash).
2810
+ // Quiet hairlines + mid stub (heritage-wash).
2603
2811
  slide.addShape(ctx.shapeRoundRect, {
2604
2812
  x: ctx.margin,
2605
2813
  y: 0.6,
2606
2814
  w: ctx.width - ctx.margin * 2,
2815
+ h: 0.015,
2816
+ fill: { color: ctx.colors.accent, transparency: 40 },
2817
+ line: { color: ctx.colors.accent, width: 0 },
2818
+ rectRadius: 0,
2819
+ });
2820
+ slide.addShape(ctx.shapeRoundRect, {
2821
+ x: ctx.margin,
2822
+ y: 0.72,
2823
+ w: 0.48,
2607
2824
  h: 0.012,
2608
- fill: { color: ctx.colors.accent, transparency: 45 },
2825
+ fill: { color: ctx.colors.accent, transparency: 55 },
2609
2826
  line: { color: ctx.colors.accent, width: 0 },
2610
2827
  rectRadius: 0,
2611
2828
  });
2612
2829
  slide.addShape(ctx.shapeRoundRect, {
2613
- x: ctx.width - ctx.margin - 0.85,
2830
+ x: ctx.width - ctx.margin - 0.95,
2614
2831
  y: ctx.height - 0.65,
2615
- w: 0.85,
2616
- h: 0.012,
2832
+ w: 0.95,
2833
+ h: 0.015,
2617
2834
  fill: { color: ctx.colors.accent },
2618
2835
  line: { color: ctx.colors.accent, width: 0 },
2619
2836
  rectRadius: 0,
@@ -2647,12 +2864,21 @@ function paintSlideChrome(slide, ctx, data) {
2647
2864
  }
2648
2865
  }
2649
2866
  if (theme === "data-editorial") {
2650
- // Accent rule + stub (data-rule).
2867
+ // Accent rule + stub + hard frame (data-rule).
2868
+ slide.addShape(ctx.shapeRoundRect, {
2869
+ x: 0.08,
2870
+ y: 0.08,
2871
+ w: ctx.width - 0.16,
2872
+ h: ctx.height - 0.16,
2873
+ fill: { color: ctx.colors.bg, transparency: 100 },
2874
+ line: { color: ctx.colors.border, width: 1.1 },
2875
+ rectRadius: 0,
2876
+ });
2651
2877
  slide.addShape(ctx.shapeRoundRect, {
2652
2878
  x: ctx.margin,
2653
2879
  y: 0.55,
2654
2880
  w: ctx.width - ctx.margin * 2,
2655
- h: 0.035,
2881
+ h: 0.04,
2656
2882
  fill: { color: ctx.colors.accent },
2657
2883
  line: { color: ctx.colors.accent, width: 0 },
2658
2884
  rectRadius: 0,
@@ -2660,8 +2886,8 @@ function paintSlideChrome(slide, ctx, data) {
2660
2886
  slide.addShape(ctx.shapeRoundRect, {
2661
2887
  x: ctx.margin,
2662
2888
  y: 0.55,
2663
- w: 0.035,
2664
- h: 0.55,
2889
+ w: 0.04,
2890
+ h: 0.6,
2665
2891
  fill: { color: ctx.colors.accent2 },
2666
2892
  line: { color: ctx.colors.accent2, width: 0 },
2667
2893
  rectRadius: 0,
@@ -3624,7 +3850,7 @@ function paintSlideChrome(slide, ctx, data) {
3624
3850
  });
3625
3851
  }
3626
3852
  if (theme === "paper-ink") {
3627
- // Crimson top rule + quiet bottom hairline (paper-ink-literary).
3853
+ // Crimson top rule + quiet bottom hairline + corner stub (paper-ink-literary).
3628
3854
  slide.addShape(ctx.shapeRoundRect, {
3629
3855
  x: ctx.margin,
3630
3856
  y: 0.65,
@@ -3643,6 +3869,15 @@ function paintSlideChrome(slide, ctx, data) {
3643
3869
  line: { color: ctx.colors.text, width: 0 },
3644
3870
  rectRadius: 0,
3645
3871
  });
3872
+ slide.addShape(ctx.shapeRoundRect, {
3873
+ x: ctx.width - ctx.margin - 0.55,
3874
+ y: 0.85,
3875
+ w: 0.55,
3876
+ h: 0.55,
3877
+ fill: { color: ctx.colors.accent, transparency: 82 },
3878
+ line: { color: ctx.colors.accent, width: 0 },
3879
+ rectRadius: 0,
3880
+ });
3646
3881
  }
3647
3882
  if (theme === "vintage-editorial" && isHero) {
3648
3883
  // Geometric ring + ink/accent dots (vintage-editorial-geo).
@@ -3672,46 +3907,86 @@ function paintSlideChrome(slide, ctx, data) {
3672
3907
  });
3673
3908
  }
3674
3909
  if (theme === "studio") {
3675
- // Acid hairline rails (studio-acid).
3910
+ // Acid hairline rails + hard frame (studio-acid).
3911
+ slide.addShape(ctx.shapeRoundRect, {
3912
+ x: 0.06,
3913
+ y: 0.06,
3914
+ w: ctx.width - 0.12,
3915
+ h: ctx.height - 0.12,
3916
+ fill: { color: ctx.colors.bg, transparency: 100 },
3917
+ line: { color: ctx.colors.border, width: 1.5 },
3918
+ rectRadius: 0,
3919
+ });
3676
3920
  slide.addShape(ctx.shapeRoundRect, {
3677
3921
  x: 0,
3678
3922
  y: 0,
3679
3923
  w: ctx.width,
3680
- h: 0.02,
3924
+ h: 0.025,
3681
3925
  fill: { color: ctx.colors.border },
3682
3926
  line: { color: ctx.colors.border, width: 0 },
3683
3927
  rectRadius: 0,
3684
3928
  });
3685
3929
  slide.addShape(ctx.shapeRoundRect, {
3686
3930
  x: 0,
3687
- y: ctx.height - 0.02,
3931
+ y: ctx.height - 0.025,
3688
3932
  w: ctx.width,
3689
- h: 0.02,
3933
+ h: 0.025,
3690
3934
  fill: { color: ctx.colors.border },
3691
3935
  line: { color: ctx.colors.border, width: 0 },
3692
3936
  rectRadius: 0,
3693
3937
  });
3938
+ if (isHero) {
3939
+ // Acid accent block — title/closing only (matches loud studio-acid type).
3940
+ slide.addShape(ctx.shapeRoundRect, {
3941
+ x: ctx.width - ctx.margin - 1.35,
3942
+ y: ctx.margin * 0.9,
3943
+ w: 1.35,
3944
+ h: 0.55,
3945
+ fill: { color: ctx.colors.accent },
3946
+ line: { color: ctx.colors.accent, width: 0 },
3947
+ rectRadius: 0,
3948
+ });
3949
+ }
3694
3950
  }
3695
3951
  if (theme === "grove") {
3696
- // Quiet top hairline + coral stub (grove-monograph).
3952
+ // Quiet monograph frame + top hairline + coral stub (grove-monograph).
3953
+ slide.addShape(ctx.shapeRoundRect, {
3954
+ x: 0.12,
3955
+ y: 0.12,
3956
+ w: ctx.width - 0.24,
3957
+ h: ctx.height - 0.24,
3958
+ fill: { color: ctx.colors.bg, transparency: 100 },
3959
+ line: { color: "D4CFBF", width: 0.75 },
3960
+ rectRadius: 0,
3961
+ });
3697
3962
  slide.addShape(ctx.shapeRoundRect, {
3698
3963
  x: ctx.width * 0.05,
3699
3964
  y: ctx.height * 0.06,
3700
3965
  w: ctx.width * 0.9,
3701
- h: 0.015,
3702
- fill: { color: "D4CFBF", transparency: 70 },
3966
+ h: 0.018,
3967
+ fill: { color: "D4CFBF", transparency: 55 },
3703
3968
  line: { color: "D4CFBF", width: 0 },
3704
3969
  rectRadius: 0,
3705
3970
  });
3706
3971
  slide.addShape(ctx.shapeRoundRect, {
3707
3972
  x: ctx.width * 0.05,
3708
3973
  y: ctx.height * 0.9,
3709
- w: 0.45,
3710
- h: 0.03,
3974
+ w: 0.55,
3975
+ h: 0.035,
3711
3976
  fill: { color: ctx.colors.accent },
3712
3977
  line: { color: ctx.colors.accent, width: 0 },
3713
3978
  rectRadius: 0,
3714
3979
  });
3980
+ // Accent2 quote hairline stub (HTML .quote::before stand-in on every slide).
3981
+ slide.addShape(ctx.shapeRoundRect, {
3982
+ x: ctx.width * 0.05,
3983
+ y: ctx.height * 0.12,
3984
+ w: 0.42,
3985
+ h: 0.015,
3986
+ fill: { color: ctx.colors.accent2, transparency: 20 },
3987
+ line: { color: ctx.colors.accent2, width: 0 },
3988
+ rectRadius: 0,
3989
+ });
3715
3990
  }
3716
3991
  if (theme === "stencil-tablet" && isHero) {
3717
3992
  // Earth tablet blocks (stencil-tablet-earth).
@@ -3781,45 +4056,73 @@ function paintSlideChrome(slide, ctx, data) {
3781
4056
  });
3782
4057
  }
3783
4058
  if (theme === "monochrome") {
3784
- // Ledger hairlines (monochrome-ledger).
4059
+ // Ledger frame + hairlines (monochrome-ledger).
4060
+ slide.addShape(ctx.shapeRoundRect, {
4061
+ x: 0.08,
4062
+ y: 0.08,
4063
+ w: ctx.width - 0.16,
4064
+ h: ctx.height - 0.16,
4065
+ fill: { color: ctx.colors.bg, transparency: 100 },
4066
+ line: { color: ctx.colors.text, width: 0.85 },
4067
+ rectRadius: 0,
4068
+ });
3785
4069
  slide.addShape(ctx.shapeRoundRect, {
3786
4070
  x: ctx.width * 0.06,
3787
4071
  y: ctx.height * 0.08,
3788
4072
  w: ctx.width * 0.88,
3789
4073
  h: 0.015,
3790
- fill: { color: ctx.colors.text, transparency: 75 },
4074
+ fill: { color: ctx.colors.text, transparency: 70 },
3791
4075
  line: { color: ctx.colors.text, width: 0 },
3792
4076
  rectRadius: 0,
3793
4077
  });
3794
4078
  slide.addShape(ctx.shapeRoundRect, {
3795
4079
  x: ctx.width * 0.06,
3796
4080
  y: ctx.height * 0.9,
3797
- w: 0.35,
4081
+ w: 0.42,
3798
4082
  h: 0.015,
3799
4083
  fill: { color: ctx.colors.text },
3800
4084
  line: { color: ctx.colors.text, width: 0 },
3801
4085
  rectRadius: 0,
3802
4086
  });
4087
+ // Mid ledger rule — denser journal feel without fighting body copy.
4088
+ slide.addShape(ctx.shapeRoundRect, {
4089
+ x: ctx.width * 0.06,
4090
+ y: ctx.height * 0.14,
4091
+ w: ctx.width * 0.28,
4092
+ h: 0.012,
4093
+ fill: { color: ctx.colors.text, transparency: 78 },
4094
+ line: { color: ctx.colors.text, width: 0 },
4095
+ rectRadius: 0,
4096
+ });
3803
4097
  }
3804
4098
  if (theme === "blue-professional") {
3805
- // Soft blue wash band + accent stub (blue-professional-clean).
4099
+ // Soft blue wash band + accent stub + clean frame (blue-professional-clean).
4100
+ slide.addShape(ctx.shapeRoundRect, {
4101
+ x: 0.1,
4102
+ y: 0.1,
4103
+ w: ctx.width - 0.2,
4104
+ h: ctx.height - 0.2,
4105
+ fill: { color: ctx.colors.bg, transparency: 100 },
4106
+ line: { color: ctx.colors.accent, width: 1 },
4107
+ rectRadius: 0.12,
4108
+ });
3806
4109
  slide.addShape(ctx.shapeRoundRect, {
3807
4110
  x: 0,
3808
4111
  y: 0,
3809
4112
  w: ctx.width,
3810
4113
  h: ctx.height * 0.18,
3811
- fill: { color: ctx.colors.accent, transparency: 92 },
4114
+ fill: { color: ctx.colors.accent, transparency: 90 },
3812
4115
  line: { color: ctx.colors.accent, width: 0 },
3813
4116
  rectRadius: 0,
3814
4117
  });
3815
4118
  slide.addShape(ctx.shapeRoundRect, {
3816
4119
  x: 0.55,
3817
- y: 0.5,
3818
- w: 0.6,
3819
- h: 0.05,
4120
+ y: 0.48,
4121
+ w: 0.65,
4122
+ h: 0.055,
3820
4123
  fill: { color: ctx.colors.accent },
3821
4124
  line: { color: ctx.colors.accent, width: 0 },
3822
- rectRadius: 0.02,
4125
+ rectRadius: 0.025,
3823
4126
  });
3824
4127
  }
3825
4128
  if (theme === "broadsheet") {
@@ -3904,7 +4207,7 @@ function paintSlideChrome(slide, ctx, data) {
3904
4207
  });
3905
4208
  }
3906
4209
  if (theme === "vellum") {
3907
- // Soft colorfield wash (vellum-colorfield).
4210
+ // Soft colorfield wash + teal accent orb (vellum-colorfield).
3908
4211
  slide.addShape(ctx.shapeOval, {
3909
4212
  x: ctx.width * 0.15,
3910
4213
  y: ctx.height * 0.05,
@@ -3913,6 +4216,24 @@ function paintSlideChrome(slide, ctx, data) {
3913
4216
  fill: { color: ctx.colors.bg2, transparency: 45 },
3914
4217
  line: { color: ctx.colors.bg2, width: 0 },
3915
4218
  });
4219
+ slide.addShape(ctx.shapeOval, {
4220
+ x: ctx.width - 2.4,
4221
+ y: ctx.height - 2.2,
4222
+ w: 2.0,
4223
+ h: 2.0,
4224
+ fill: { color: ctx.colors.accent2, transparency: 55 },
4225
+ line: { color: ctx.colors.accent2, width: 0 },
4226
+ });
4227
+ if (isHero) {
4228
+ slide.addShape(ctx.shapeOval, {
4229
+ x: ctx.width * 0.55,
4230
+ y: 0.4,
4231
+ w: 1.1,
4232
+ h: 1.1,
4233
+ fill: { color: ctx.colors.accent, transparency: 70 },
4234
+ line: { color: ctx.colors.accent, width: 0 },
4235
+ });
4236
+ }
3916
4237
  }
3917
4238
  if (theme === "editorial-serif") {
3918
4239
  // Accent rule + deco ring (editorial-rule).