@presentation-md/export 1.12.2 → 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/context.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ResolvedTheme } from "@presentation-md/core";
1
+ import type { ResolvedTheme } from "@presentation-md/core/theme-types";
2
2
  import type { PptxShapeArg } from "./pptx.js";
3
3
  /**
4
4
  * Derived, PPTX-ready values for a theme: dimensions in inches, opaque hex
@@ -1,4 +1,4 @@
1
- import { validateDeckJson } from "@presentation-md/core";
1
+ import { validateDeckJson } from "@presentation-md/core/validate-deck";
2
2
  import { bytesToBase64 } from "./bytes.js";
3
3
  const SKIP_IMAGE_TYPES = /emf|wmf|x-emf|x-wmf/i;
4
4
  const CTA_RE = /\b(thank|questions|contact|get in touch|book a|sign up|subscribe)\b/i;
@@ -1 +1 @@
1
- {"version":3,"file":"map.js","sourceRoot":"","sources":["../../src/import/map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAQzD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,gBAAgB,GAAG,sBAAsB,CAAC;AAChD,MAAM,MAAM,GAAG,sEAAsE,CAAC;AACtF,MAAM,QAAQ,GAAG,iCAAiC,CAAC;AACnD,MAAM,OAAO,GAAG,2BAA2B,CAAC;AAC5C,MAAM,OAAO,GAAG,oCAAoC,CAAC;AAErD,SAAS,cAAc,CAAC,GAAmB;IACzC,OAAO,QAAQ,GAAG,CAAC,WAAW,WAAW,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;AACtE,CAAC;AAED,uFAAuF;AACvF,KAAK,UAAU,kBAAkB,CAAC,SAAiB,EAAE,QAAgB;IACnE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC;IAC1D,MAAM,I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,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,mCAAmC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACrF,CAAC;IAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;AAC5B,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ResolvedTheme } from "@presentation-md/core";
1
+ import type { ResolvedTheme } from "@presentation-md/core/theme-types";
2
2
  import { type Pptx } from "./pptx.js";
3
3
  import type { DeckJson } from "./deck-types.js";
4
4
  import { prefetchDeckImages, type PrefetchImagesOptions, type PrefetchImagesResult } from "./prefetch-images.js";
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") {
@@ -1807,26 +1807,60 @@ function paintSlideChrome(slide, ctx, data) {
1807
1807
  rectRadius: 0,
1808
1808
  });
1809
1809
  }
1810
- if (theme === "electric-studio" && isHero) {
1811
- // White → blue horizontal split (mirrors electric-studio-split).
1810
+ if (theme === "electric-studio") {
1811
+ // Hard slide frame (electric-studio-split border + shadow stand-in).
1812
1812
  slide.addShape(ctx.shapeRoundRect, {
1813
- x: 0,
1814
- y: ctx.height * 0.52,
1815
- w: ctx.width,
1816
- h: ctx.height * 0.48,
1817
- fill: { color: ctx.colors.bg2 },
1818
- line: { color: ctx.colors.bg2, width: 0 },
1819
- rectRadius: 0,
1820
- });
1821
- slide.addShape(ctx.shapeRoundRect, {
1822
- x: 0,
1823
- y: ctx.height * 0.52,
1824
- w: 0.1,
1825
- h: ctx.height * 0.48,
1826
- fill: { color: "#0a0a0a" },
1827
- line: { color: "#0a0a0a", width: 0 },
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 },
1828
1819
  rectRadius: 0,
1829
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
+ }
1830
1864
  }
1831
1865
  if (theme === "soft-editorial") {
1832
1866
  // Soft sage radial stand-in (top-right wash) + blush candy orb.
@@ -2199,13 +2233,22 @@ function paintSlideChrome(slide, ctx, data) {
2199
2233
  }
2200
2234
  }
2201
2235
  if (theme === "aurora-glass") {
2202
- // 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
+ });
2203
2246
  slide.addShape(ctx.shapeOval, {
2204
2247
  x: ctx.width * 0.55,
2205
2248
  y: -ctx.height * 0.25,
2206
2249
  w: ctx.width * 0.55,
2207
2250
  h: ctx.height * 0.65,
2208
- fill: { color: ctx.colors.accent, transparency: 58 },
2251
+ fill: { color: ctx.colors.accent, transparency: 52 },
2209
2252
  line: { color: ctx.colors.accent, width: 0 },
2210
2253
  });
2211
2254
  slide.addShape(ctx.shapeOval, {
@@ -2213,18 +2256,35 @@ function paintSlideChrome(slide, ctx, data) {
2213
2256
  y: ctx.height * 0.5,
2214
2257
  w: ctx.width * 0.5,
2215
2258
  h: ctx.height * 0.6,
2216
- fill: { color: ctx.colors.accent2, transparency: 65 },
2259
+ fill: { color: ctx.colors.accent2, transparency: 60 },
2217
2260
  line: { color: ctx.colors.accent2, width: 0 },
2218
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
+ });
2219
2270
  }
2220
2271
  if (theme === "glassmorphism") {
2221
- // 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
+ });
2222
2282
  slide.addShape(ctx.shapeOval, {
2223
2283
  x: -ctx.width * 0.1,
2224
2284
  y: -ctx.height * 0.2,
2225
2285
  w: ctx.width * 0.55,
2226
2286
  h: ctx.height * 0.55,
2227
- fill: { color: ctx.colors.accent, transparency: 78 },
2287
+ fill: { color: ctx.colors.accent, transparency: 74 },
2228
2288
  line: { color: ctx.colors.accent, width: 0 },
2229
2289
  });
2230
2290
  slide.addShape(ctx.shapeOval, {
@@ -2232,21 +2292,34 @@ function paintSlideChrome(slide, ctx, data) {
2232
2292
  y: -ctx.height * 0.15,
2233
2293
  w: ctx.width * 0.45,
2234
2294
  h: ctx.height * 0.5,
2235
- fill: { color: ctx.colors.accent2, transparency: 70 },
2295
+ fill: { color: ctx.colors.accent2, transparency: 64 },
2236
2296
  line: { color: ctx.colors.accent2, width: 0 },
2237
2297
  });
2238
2298
  }
2239
- if (theme === "luxury-minimalist" && isHero) {
2240
- // Gold hairline accent (quiet-luxe title/closing ::before).
2241
- slide.addShape(ctx.shapeRoundRect, {
2242
- x: ctx.margin,
2243
- y: ctx.height * 0.48,
2244
- w: 0.55,
2245
- h: 0.02,
2246
- fill: { color: ctx.colors.accent },
2247
- line: { color: ctx.colors.accent, width: 0 },
2248
- rectRadius: 0,
2249
- });
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
+ }
2250
2323
  }
2251
2324
  if (theme === "crt-terminal") {
2252
2325
  // Phosphor radial wash + denser scanlines + cyan blot + inset bezel.
@@ -2608,13 +2681,22 @@ function paintSlideChrome(slide, ctx, data) {
2608
2681
  });
2609
2682
  }
2610
2683
  if (theme === "fintech-clean") {
2611
- // 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
+ });
2612
2694
  slide.addShape(ctx.shapeOval, {
2613
2695
  x: ctx.width * 0.55,
2614
2696
  y: -ctx.height * 0.25,
2615
2697
  w: ctx.width * 0.55,
2616
2698
  h: ctx.height * 0.6,
2617
- fill: { color: ctx.colors.accent, transparency: 88 },
2699
+ fill: { color: ctx.colors.accent, transparency: 86 },
2618
2700
  line: { color: ctx.colors.accent, width: 0 },
2619
2701
  });
2620
2702
  slide.addShape(ctx.shapeOval, {
@@ -2622,18 +2704,27 @@ function paintSlideChrome(slide, ctx, data) {
2622
2704
  y: -ctx.height * 0.15,
2623
2705
  w: ctx.width * 0.4,
2624
2706
  h: ctx.height * 0.45,
2625
- fill: { color: ctx.colors.accent2, transparency: 78 },
2707
+ fill: { color: ctx.colors.accent2, transparency: 74 },
2626
2708
  line: { color: ctx.colors.accent2, width: 0 },
2627
2709
  });
2628
2710
  }
2629
2711
  if (theme === "scandinavian") {
2630
- // 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
+ });
2631
2722
  slide.addShape(ctx.shapeOval, {
2632
2723
  x: -ctx.width * 0.12,
2633
2724
  y: -ctx.height * 0.2,
2634
2725
  w: ctx.width * 0.5,
2635
2726
  h: ctx.height * 0.5,
2636
- fill: { color: ctx.colors.accent, transparency: 82 },
2727
+ fill: { color: ctx.colors.accent, transparency: 78 },
2637
2728
  line: { color: ctx.colors.accent, width: 0 },
2638
2729
  });
2639
2730
  slide.addShape(ctx.shapeOval, {
@@ -2641,7 +2732,7 @@ function paintSlideChrome(slide, ctx, data) {
2641
2732
  y: ctx.height - 2.2,
2642
2733
  w: 1.9,
2643
2734
  h: 1.9,
2644
- fill: { color: ctx.colors.accent2, transparency: 78 },
2735
+ fill: { color: ctx.colors.accent2, transparency: 72 },
2645
2736
  line: { color: ctx.colors.accent2, width: 0 },
2646
2737
  });
2647
2738
  }
@@ -2716,21 +2807,30 @@ function paintSlideChrome(slide, ctx, data) {
2716
2807
  });
2717
2808
  }
2718
2809
  if (theme === "heritage-editorial") {
2719
- // Quiet hairlines (heritage-wash).
2810
+ // Quiet hairlines + mid stub (heritage-wash).
2720
2811
  slide.addShape(ctx.shapeRoundRect, {
2721
2812
  x: ctx.margin,
2722
2813
  y: 0.6,
2723
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,
2724
2824
  h: 0.012,
2725
- fill: { color: ctx.colors.accent, transparency: 45 },
2825
+ fill: { color: ctx.colors.accent, transparency: 55 },
2726
2826
  line: { color: ctx.colors.accent, width: 0 },
2727
2827
  rectRadius: 0,
2728
2828
  });
2729
2829
  slide.addShape(ctx.shapeRoundRect, {
2730
- x: ctx.width - ctx.margin - 0.85,
2830
+ x: ctx.width - ctx.margin - 0.95,
2731
2831
  y: ctx.height - 0.65,
2732
- w: 0.85,
2733
- h: 0.012,
2832
+ w: 0.95,
2833
+ h: 0.015,
2734
2834
  fill: { color: ctx.colors.accent },
2735
2835
  line: { color: ctx.colors.accent, width: 0 },
2736
2836
  rectRadius: 0,
@@ -2764,12 +2864,21 @@ function paintSlideChrome(slide, ctx, data) {
2764
2864
  }
2765
2865
  }
2766
2866
  if (theme === "data-editorial") {
2767
- // 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
+ });
2768
2877
  slide.addShape(ctx.shapeRoundRect, {
2769
2878
  x: ctx.margin,
2770
2879
  y: 0.55,
2771
2880
  w: ctx.width - ctx.margin * 2,
2772
- h: 0.035,
2881
+ h: 0.04,
2773
2882
  fill: { color: ctx.colors.accent },
2774
2883
  line: { color: ctx.colors.accent, width: 0 },
2775
2884
  rectRadius: 0,
@@ -2777,8 +2886,8 @@ function paintSlideChrome(slide, ctx, data) {
2777
2886
  slide.addShape(ctx.shapeRoundRect, {
2778
2887
  x: ctx.margin,
2779
2888
  y: 0.55,
2780
- w: 0.035,
2781
- h: 0.55,
2889
+ w: 0.04,
2890
+ h: 0.6,
2782
2891
  fill: { color: ctx.colors.accent2 },
2783
2892
  line: { color: ctx.colors.accent2, width: 0 },
2784
2893
  rectRadius: 0,
@@ -3798,46 +3907,86 @@ function paintSlideChrome(slide, ctx, data) {
3798
3907
  });
3799
3908
  }
3800
3909
  if (theme === "studio") {
3801
- // 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
+ });
3802
3920
  slide.addShape(ctx.shapeRoundRect, {
3803
3921
  x: 0,
3804
3922
  y: 0,
3805
3923
  w: ctx.width,
3806
- h: 0.02,
3924
+ h: 0.025,
3807
3925
  fill: { color: ctx.colors.border },
3808
3926
  line: { color: ctx.colors.border, width: 0 },
3809
3927
  rectRadius: 0,
3810
3928
  });
3811
3929
  slide.addShape(ctx.shapeRoundRect, {
3812
3930
  x: 0,
3813
- y: ctx.height - 0.02,
3931
+ y: ctx.height - 0.025,
3814
3932
  w: ctx.width,
3815
- h: 0.02,
3933
+ h: 0.025,
3816
3934
  fill: { color: ctx.colors.border },
3817
3935
  line: { color: ctx.colors.border, width: 0 },
3818
3936
  rectRadius: 0,
3819
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
+ }
3820
3950
  }
3821
3951
  if (theme === "grove") {
3822
- // 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
+ });
3823
3962
  slide.addShape(ctx.shapeRoundRect, {
3824
3963
  x: ctx.width * 0.05,
3825
3964
  y: ctx.height * 0.06,
3826
3965
  w: ctx.width * 0.9,
3827
- h: 0.015,
3828
- fill: { color: "D4CFBF", transparency: 70 },
3966
+ h: 0.018,
3967
+ fill: { color: "D4CFBF", transparency: 55 },
3829
3968
  line: { color: "D4CFBF", width: 0 },
3830
3969
  rectRadius: 0,
3831
3970
  });
3832
3971
  slide.addShape(ctx.shapeRoundRect, {
3833
3972
  x: ctx.width * 0.05,
3834
3973
  y: ctx.height * 0.9,
3835
- w: 0.45,
3836
- h: 0.03,
3974
+ w: 0.55,
3975
+ h: 0.035,
3837
3976
  fill: { color: ctx.colors.accent },
3838
3977
  line: { color: ctx.colors.accent, width: 0 },
3839
3978
  rectRadius: 0,
3840
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
+ });
3841
3990
  }
3842
3991
  if (theme === "stencil-tablet" && isHero) {
3843
3992
  // Earth tablet blocks (stencil-tablet-earth).
@@ -3907,45 +4056,73 @@ function paintSlideChrome(slide, ctx, data) {
3907
4056
  });
3908
4057
  }
3909
4058
  if (theme === "monochrome") {
3910
- // 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
+ });
3911
4069
  slide.addShape(ctx.shapeRoundRect, {
3912
4070
  x: ctx.width * 0.06,
3913
4071
  y: ctx.height * 0.08,
3914
4072
  w: ctx.width * 0.88,
3915
4073
  h: 0.015,
3916
- fill: { color: ctx.colors.text, transparency: 75 },
4074
+ fill: { color: ctx.colors.text, transparency: 70 },
3917
4075
  line: { color: ctx.colors.text, width: 0 },
3918
4076
  rectRadius: 0,
3919
4077
  });
3920
4078
  slide.addShape(ctx.shapeRoundRect, {
3921
4079
  x: ctx.width * 0.06,
3922
4080
  y: ctx.height * 0.9,
3923
- w: 0.35,
4081
+ w: 0.42,
3924
4082
  h: 0.015,
3925
4083
  fill: { color: ctx.colors.text },
3926
4084
  line: { color: ctx.colors.text, width: 0 },
3927
4085
  rectRadius: 0,
3928
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
+ });
3929
4097
  }
3930
4098
  if (theme === "blue-professional") {
3931
- // 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
+ });
3932
4109
  slide.addShape(ctx.shapeRoundRect, {
3933
4110
  x: 0,
3934
4111
  y: 0,
3935
4112
  w: ctx.width,
3936
4113
  h: ctx.height * 0.18,
3937
- fill: { color: ctx.colors.accent, transparency: 92 },
4114
+ fill: { color: ctx.colors.accent, transparency: 90 },
3938
4115
  line: { color: ctx.colors.accent, width: 0 },
3939
4116
  rectRadius: 0,
3940
4117
  });
3941
4118
  slide.addShape(ctx.shapeRoundRect, {
3942
4119
  x: 0.55,
3943
- y: 0.5,
3944
- w: 0.6,
3945
- h: 0.05,
4120
+ y: 0.48,
4121
+ w: 0.65,
4122
+ h: 0.055,
3946
4123
  fill: { color: ctx.colors.accent },
3947
4124
  line: { color: ctx.colors.accent, width: 0 },
3948
- rectRadius: 0.02,
4125
+ rectRadius: 0.025,
3949
4126
  });
3950
4127
  }
3951
4128
  if (theme === "broadsheet") {