@presentation-md/export 1.13.0 → 1.13.2

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
@@ -1863,7 +1863,7 @@ function paintSlideChrome(slide, ctx, data) {
1863
1863
  }
1864
1864
  }
1865
1865
  if (theme === "soft-editorial") {
1866
- // Soft sage radial stand-in (top-right wash) + blush candy orb.
1866
+ // Soft sage wash + blush candy orb + quiet inset frame + bottom accent stub.
1867
1867
  slide.addShape(ctx.shapeOval, {
1868
1868
  x: ctx.width * 0.55,
1869
1869
  y: -ctx.height * 0.15,
@@ -1881,9 +1881,27 @@ function paintSlideChrome(slide, ctx, data) {
1881
1881
  line: { color: ctx.colors.accent2, width: 0 },
1882
1882
  rectRadius: 0.32,
1883
1883
  });
1884
+ slide.addShape(ctx.shapeRoundRect, {
1885
+ x: 0.28,
1886
+ y: 0.28,
1887
+ w: ctx.width - 0.56,
1888
+ h: ctx.height - 0.56,
1889
+ fill: { color: ctx.colors.bg, transparency: 100 },
1890
+ line: { color: ctx.colors.border, width: 1.15 },
1891
+ rectRadius: 0.12,
1892
+ });
1893
+ slide.addShape(ctx.shapeRoundRect, {
1894
+ x: ctx.margin,
1895
+ y: ctx.height - 0.55,
1896
+ w: 0.85,
1897
+ h: 0.03,
1898
+ fill: { color: ctx.colors.accent },
1899
+ line: { color: ctx.colors.accent, width: 0 },
1900
+ rectRadius: 0,
1901
+ });
1884
1902
  }
1885
1903
  if (theme === "claude") {
1886
- // Warm-paper coral corner wash (grain stays HTML-only).
1904
+ // Warm-paper coral corner wash + soft accent2 mist + quiet inset frame (grain stays HTML-only).
1887
1905
  slide.addShape(ctx.shapeOval, {
1888
1906
  x: -1.1,
1889
1907
  y: ctx.height - 2.4,
@@ -1892,9 +1910,35 @@ function paintSlideChrome(slide, ctx, data) {
1892
1910
  fill: { color: ctx.colors.accent, transparency: 82 },
1893
1911
  line: { color: ctx.colors.accent, width: 0 },
1894
1912
  });
1913
+ slide.addShape(ctx.shapeOval, {
1914
+ x: ctx.width - 2.8,
1915
+ y: -1.2,
1916
+ w: 3.4,
1917
+ h: 3.4,
1918
+ fill: { color: ctx.colors.accent2, transparency: 86 },
1919
+ line: { color: ctx.colors.accent2, width: 0 },
1920
+ });
1921
+ slide.addShape(ctx.shapeRoundRect, {
1922
+ x: 0.32,
1923
+ y: 0.32,
1924
+ w: ctx.width - 0.64,
1925
+ h: ctx.height - 0.64,
1926
+ fill: { color: ctx.colors.bg, transparency: 100 },
1927
+ line: { color: ctx.colors.border, width: 1 },
1928
+ rectRadius: 0.1,
1929
+ });
1930
+ slide.addShape(ctx.shapeRoundRect, {
1931
+ x: ctx.margin,
1932
+ y: 0.58,
1933
+ w: 0.72,
1934
+ h: 0.02,
1935
+ fill: { color: ctx.colors.accent, transparency: 25 },
1936
+ line: { color: ctx.colors.accent, width: 0 },
1937
+ rectRadius: 0,
1938
+ });
1895
1939
  }
1896
1940
  if (theme === "default-tech") {
1897
- // Neon-glow corner bloom (HTML blur → soft oval).
1941
+ // Neon-glow corner bloom + secondary cyan wash (HTML blur → soft ovals).
1898
1942
  const glowT = isHero ? 55 : 72;
1899
1943
  slide.addShape(ctx.shapeOval, {
1900
1944
  x: ctx.width - 4.2,
@@ -1904,6 +1948,14 @@ function paintSlideChrome(slide, ctx, data) {
1904
1948
  fill: { color: ctx.colors.accent, transparency: glowT },
1905
1949
  line: { color: ctx.colors.accent, width: 0 },
1906
1950
  });
1951
+ slide.addShape(ctx.shapeOval, {
1952
+ x: -1.8,
1953
+ y: ctx.height - 3.2,
1954
+ w: 4.2,
1955
+ h: 4.2,
1956
+ fill: { color: ctx.colors.accent2, transparency: isHero ? 68 : 80 },
1957
+ line: { color: ctx.colors.accent2, width: 0 },
1958
+ });
1907
1959
  }
1908
1960
  if (theme === "kinetic-wrapped") {
1909
1961
  const tone = typeof data.tone === "string" ? data.tone : undefined;
@@ -2640,7 +2692,7 @@ function paintSlideChrome(slide, ctx, data) {
2640
2692
  });
2641
2693
  }
2642
2694
  if (theme === "ft-editorial") {
2643
- // Broadsheet masthead bar + bottom rule (broadsheet-rule).
2695
+ // Broadsheet masthead + double rule + quiet outer frame + accent mid stub.
2644
2696
  slide.addShape(ctx.shapeRoundRect, {
2645
2697
  x: 0,
2646
2698
  y: 0,
@@ -2650,6 +2702,15 @@ function paintSlideChrome(slide, ctx, data) {
2650
2702
  line: { color: ctx.colors.text, width: 0 },
2651
2703
  rectRadius: 0,
2652
2704
  });
2705
+ slide.addShape(ctx.shapeRoundRect, {
2706
+ x: 0.14,
2707
+ y: 0.14,
2708
+ w: ctx.width - 0.28,
2709
+ h: ctx.height - 0.28,
2710
+ fill: { color: ctx.colors.bg, transparency: 100 },
2711
+ line: { color: ctx.colors.text, width: 0.75 },
2712
+ rectRadius: 0,
2713
+ });
2653
2714
  slide.addShape(ctx.shapeRoundRect, {
2654
2715
  x: ctx.margin,
2655
2716
  y: ctx.height - 0.7,
@@ -2659,26 +2720,67 @@ function paintSlideChrome(slide, ctx, data) {
2659
2720
  line: { color: ctx.colors.text, width: 0 },
2660
2721
  rectRadius: 0,
2661
2722
  });
2662
- }
2663
- if (theme === "bauhaus" && isHero) {
2664
- // Primary red square + blue circle (bauhaus-blocks hero ornaments).
2665
2723
  slide.addShape(ctx.shapeRoundRect, {
2666
- x: ctx.width - 2.3,
2667
- y: 0.7,
2668
- w: 1.05,
2669
- h: 1.05,
2724
+ x: ctx.margin,
2725
+ y: ctx.height - 0.62,
2726
+ w: ctx.width - ctx.margin * 2,
2727
+ h: 0.012,
2728
+ fill: { color: ctx.colors.accent, transparency: 35 },
2729
+ line: { color: ctx.colors.accent, width: 0 },
2730
+ rectRadius: 0,
2731
+ });
2732
+ slide.addShape(ctx.shapeRoundRect, {
2733
+ x: ctx.margin,
2734
+ y: 0.55,
2735
+ w: 0.55,
2736
+ h: 0.03,
2670
2737
  fill: { color: ctx.colors.accent },
2671
2738
  line: { color: ctx.colors.accent, width: 0 },
2672
2739
  rectRadius: 0,
2673
2740
  });
2674
- slide.addShape(ctx.shapeOval, {
2675
- x: ctx.width - 2.9,
2676
- y: 1.35,
2677
- w: 1.05,
2678
- h: 1.05,
2679
- fill: { color: ctx.colors.accent2, transparency: 12 },
2680
- line: { color: ctx.colors.accent2, width: 0 },
2741
+ }
2742
+ if (theme === "bauhaus") {
2743
+ // Hard frame on every slide; red square + blue circle on heroes (bauhaus-blocks).
2744
+ slide.addShape(ctx.shapeRoundRect, {
2745
+ x: 0.08,
2746
+ y: 0.08,
2747
+ w: ctx.width - 0.16,
2748
+ h: ctx.height - 0.16,
2749
+ fill: { color: ctx.colors.bg, transparency: 100 },
2750
+ line: { color: ctx.colors.text, width: 2 },
2751
+ rectRadius: 0,
2681
2752
  });
2753
+ if (isHero) {
2754
+ slide.addShape(ctx.shapeRoundRect, {
2755
+ x: ctx.width - 2.3,
2756
+ y: 0.7,
2757
+ w: 1.05,
2758
+ h: 1.05,
2759
+ fill: { color: ctx.colors.accent },
2760
+ line: { color: ctx.colors.accent, width: 0 },
2761
+ rectRadius: 0,
2762
+ });
2763
+ slide.addShape(ctx.shapeOval, {
2764
+ x: ctx.width - 2.9,
2765
+ y: 1.35,
2766
+ w: 1.05,
2767
+ h: 1.05,
2768
+ fill: { color: ctx.colors.accent2, transparency: 12 },
2769
+ line: { color: ctx.colors.accent2, width: 0 },
2770
+ });
2771
+ }
2772
+ else {
2773
+ // Quiet primary stub on body — keeps Primary energy without fighting copy.
2774
+ slide.addShape(ctx.shapeRoundRect, {
2775
+ x: ctx.width - ctx.margin - 0.55,
2776
+ y: ctx.margin * 0.9,
2777
+ w: 0.55,
2778
+ h: 0.55,
2779
+ fill: { color: ctx.colors.accent },
2780
+ line: { color: ctx.colors.accent, width: 0 },
2781
+ rectRadius: 0,
2782
+ });
2783
+ }
2682
2784
  }
2683
2785
  if (theme === "fintech-clean") {
2684
2786
  // Soft mint radial wash + clean frame (fintech-soft).
@@ -2736,25 +2838,36 @@ function paintSlideChrome(slide, ctx, data) {
2736
2838
  line: { color: ctx.colors.accent2, width: 0 },
2737
2839
  });
2738
2840
  }
2739
- if (theme === "art-deco" && isHero) {
2740
- // Gold hairline + centered deco ring (deco-fan).
2841
+ if (theme === "art-deco") {
2842
+ // Gold frame + hairline; centered deco ring on heroes (deco-fan).
2843
+ slide.addShape(ctx.shapeRoundRect, {
2844
+ x: 0.1,
2845
+ y: 0.1,
2846
+ w: ctx.width - 0.2,
2847
+ h: ctx.height - 0.2,
2848
+ fill: { color: ctx.colors.bg, transparency: 100 },
2849
+ line: { color: ctx.colors.accent, width: 1.15 },
2850
+ rectRadius: 0,
2851
+ });
2741
2852
  slide.addShape(ctx.shapeRoundRect, {
2742
2853
  x: ctx.margin,
2743
2854
  y: 0.55,
2744
2855
  w: ctx.width - ctx.margin * 2,
2745
2856
  h: 0.02,
2746
- fill: { color: ctx.colors.accent },
2857
+ fill: { color: ctx.colors.accent, transparency: isHero ? 0 : 35 },
2747
2858
  line: { color: ctx.colors.accent, width: 0 },
2748
2859
  rectRadius: 0,
2749
2860
  });
2750
- slide.addShape(ctx.shapeOval, {
2751
- x: ctx.width / 2 - 0.35,
2752
- y: 0.38,
2753
- w: 0.7,
2754
- h: 0.7,
2755
- fill: { color: ctx.colors.bg, transparency: 100 },
2756
- line: { color: ctx.colors.accent, width: 1.75 },
2757
- });
2861
+ if (isHero) {
2862
+ slide.addShape(ctx.shapeOval, {
2863
+ x: ctx.width / 2 - 0.35,
2864
+ y: 0.38,
2865
+ w: 0.7,
2866
+ h: 0.7,
2867
+ fill: { color: ctx.colors.bg, transparency: 100 },
2868
+ line: { color: ctx.colors.accent, width: 1.75 },
2869
+ });
2870
+ }
2758
2871
  }
2759
2872
  if (theme === "botanical-luxe") {
2760
2873
  // Gold hairline + leaf-tilted ring (botanical-leaf).
@@ -2787,12 +2900,31 @@ function paintSlideChrome(slide, ctx, data) {
2787
2900
  });
2788
2901
  }
2789
2902
  if (theme === "genz-bento") {
2790
- // Hard border shadow + accent2 corner blot (hard-bento).
2903
+ // Hard border + 10px offset shadow strips + accent2 corner blot (hard-bento).
2904
+ const shadow = 0.12;
2905
+ slide.addShape(ctx.shapeRoundRect, {
2906
+ x: ctx.width - shadow,
2907
+ y: shadow,
2908
+ w: shadow,
2909
+ h: ctx.height - shadow,
2910
+ fill: { color: ctx.colors.text },
2911
+ line: { color: ctx.colors.text, width: 0 },
2912
+ rectRadius: 0,
2913
+ });
2914
+ slide.addShape(ctx.shapeRoundRect, {
2915
+ x: shadow,
2916
+ y: ctx.height - shadow,
2917
+ w: ctx.width - shadow,
2918
+ h: shadow,
2919
+ fill: { color: ctx.colors.text },
2920
+ line: { color: ctx.colors.text, width: 0 },
2921
+ rectRadius: 0,
2922
+ });
2791
2923
  slide.addShape(ctx.shapeRoundRect, {
2792
2924
  x: 0.12,
2793
2925
  y: 0.12,
2794
- w: ctx.width - 0.12,
2795
- h: ctx.height - 0.12,
2926
+ w: ctx.width - 0.24,
2927
+ h: ctx.height - 0.24,
2796
2928
  fill: { color: ctx.colors.bg, transparency: 100 },
2797
2929
  line: { color: ctx.colors.text, width: 2.5 },
2798
2930
  rectRadius: 0,
@@ -3058,7 +3190,35 @@ function paintSlideChrome(slide, ctx, data) {
3058
3190
  });
3059
3191
  }
3060
3192
  if (theme === "bold-poster") {
3061
- // Ink top bar + offset poster block (bold-poster-ink).
3193
+ // Hard frame + offset shadow every slide; ink top bar; poster block on heroes.
3194
+ const shadow = 0.11;
3195
+ slide.addShape(ctx.shapeRoundRect, {
3196
+ x: ctx.width - shadow,
3197
+ y: shadow,
3198
+ w: shadow,
3199
+ h: ctx.height - shadow,
3200
+ fill: { color: ctx.colors.text },
3201
+ line: { color: ctx.colors.text, width: 0 },
3202
+ rectRadius: 0,
3203
+ });
3204
+ slide.addShape(ctx.shapeRoundRect, {
3205
+ x: shadow,
3206
+ y: ctx.height - shadow,
3207
+ w: ctx.width - shadow,
3208
+ h: shadow,
3209
+ fill: { color: ctx.colors.text },
3210
+ line: { color: ctx.colors.text, width: 0 },
3211
+ rectRadius: 0,
3212
+ });
3213
+ slide.addShape(ctx.shapeRoundRect, {
3214
+ x: 0.1,
3215
+ y: 0.1,
3216
+ w: ctx.width - 0.2,
3217
+ h: ctx.height - 0.2,
3218
+ fill: { color: ctx.colors.bg, transparency: 100 },
3219
+ line: { color: ctx.colors.text, width: 2.25 },
3220
+ rectRadius: 0,
3221
+ });
3062
3222
  slide.addShape(ctx.shapeRoundRect, {
3063
3223
  x: 0,
3064
3224
  y: 0,
@@ -3309,27 +3469,56 @@ function paintSlideChrome(slide, ctx, data) {
3309
3469
  });
3310
3470
  }
3311
3471
  }
3312
- if (theme === "split-pastel" && isHero) {
3313
- // Split field + stacked pastel pills (split-pastel-panels).
3314
- slide.addShape(ctx.shapeRoundRect, {
3315
- x: ctx.width * 0.5,
3316
- y: 0,
3317
- w: ctx.width * 0.5,
3318
- h: ctx.height,
3319
- fill: { color: ctx.colors.bg2 },
3320
- line: { color: ctx.colors.bg2, width: 0 },
3321
- rectRadius: 0,
3472
+ if (theme === "split-pastel") {
3473
+ // Soft dual pastel corner washes on every slide; full split + pills on heroes.
3474
+ slide.addShape(ctx.shapeOval, {
3475
+ x: -1.4,
3476
+ y: ctx.height - 2.6,
3477
+ w: 3.2,
3478
+ h: 3.2,
3479
+ fill: { color: ctx.colors.accent, transparency: 84 },
3480
+ line: { color: ctx.colors.accent, width: 0 },
3481
+ });
3482
+ slide.addShape(ctx.shapeOval, {
3483
+ x: ctx.width - 2.4,
3484
+ y: -1.4,
3485
+ w: 3.0,
3486
+ h: 3.0,
3487
+ fill: { color: ctx.colors.accent2, transparency: 84 },
3488
+ line: { color: ctx.colors.accent2, width: 0 },
3322
3489
  });
3323
- const stack = [ctx.colors.accent, ctx.colors.accent2, "F0F0C8"];
3324
- for (let i = 0; i < stack.length; i++) {
3490
+ if (isHero) {
3325
3491
  slide.addShape(ctx.shapeRoundRect, {
3326
- x: ctx.width - 1.55,
3327
- y: ctx.height - 1.35 + i * 0.32,
3328
- w: 0.95,
3329
- h: 0.26,
3330
- fill: { color: stack[i] },
3331
- line: { color: stack[i], width: 0 },
3332
- rectRadius: 0.13,
3492
+ x: ctx.width * 0.5,
3493
+ y: 0,
3494
+ w: ctx.width * 0.5,
3495
+ h: ctx.height,
3496
+ fill: { color: ctx.colors.bg2 },
3497
+ line: { color: ctx.colors.bg2, width: 0 },
3498
+ rectRadius: 0,
3499
+ });
3500
+ const stack = [ctx.colors.accent, ctx.colors.accent2, "F0F0C8"];
3501
+ for (let i = 0; i < stack.length; i++) {
3502
+ slide.addShape(ctx.shapeRoundRect, {
3503
+ x: ctx.width - 1.55,
3504
+ y: ctx.height - 1.35 + i * 0.32,
3505
+ w: 0.95,
3506
+ h: 0.26,
3507
+ fill: { color: stack[i] },
3508
+ line: { color: stack[i], width: 0 },
3509
+ rectRadius: 0.13,
3510
+ });
3511
+ }
3512
+ }
3513
+ else {
3514
+ slide.addShape(ctx.shapeRoundRect, {
3515
+ x: ctx.margin,
3516
+ y: 0.55,
3517
+ w: 0.9,
3518
+ h: 0.02,
3519
+ fill: { color: ctx.colors.accent, transparency: 30 },
3520
+ line: { color: ctx.colors.accent, width: 0 },
3521
+ rectRadius: 0,
3333
3522
  });
3334
3523
  }
3335
3524
  }
@@ -3647,7 +3836,16 @@ function paintSlideChrome(slide, ctx, data) {
3647
3836
  });
3648
3837
  }
3649
3838
  if (theme === "broadside") {
3650
- // Fire-orange left rail + corner block (broadside-fire).
3839
+ // Fire-orange left rail + corner block + thin outer border + hero top stub.
3840
+ slide.addShape(ctx.shapeRoundRect, {
3841
+ x: 0.1,
3842
+ y: 0.1,
3843
+ w: ctx.width - 0.2,
3844
+ h: ctx.height - 0.2,
3845
+ fill: { color: ctx.colors.bg, transparency: 100 },
3846
+ line: { color: ctx.colors.text, width: 1.5 },
3847
+ rectRadius: 0,
3848
+ });
3651
3849
  slide.addShape(ctx.shapeRoundRect, {
3652
3850
  x: 0,
3653
3851
  y: 0,
@@ -3666,6 +3864,17 @@ function paintSlideChrome(slide, ctx, data) {
3666
3864
  line: { color: ctx.colors.accent, width: 0 },
3667
3865
  rectRadius: 0,
3668
3866
  });
3867
+ if (isHero) {
3868
+ slide.addShape(ctx.shapeRoundRect, {
3869
+ x: ctx.margin,
3870
+ y: 0.45,
3871
+ w: 1.1,
3872
+ h: 0.06,
3873
+ fill: { color: ctx.colors.accent },
3874
+ line: { color: ctx.colors.accent, width: 0 },
3875
+ rectRadius: 0,
3876
+ });
3877
+ }
3669
3878
  }
3670
3879
  if (theme === "pink-script") {
3671
3880
  // Soft pink wash + inset frame + accent hairline (pink-script-afterhours).
@@ -3791,7 +4000,16 @@ function paintSlideChrome(slide, ctx, data) {
3791
4000
  });
3792
4001
  }
3793
4002
  if (theme === "notebook-tabs") {
3794
- // Pastel side tabs + binder holes (notebook-tabs-page).
4003
+ // Dark mat frame + pastel side tabs + binder holes + left margin rule.
4004
+ slide.addShape(ctx.shapeRoundRect, {
4005
+ x: 0.06,
4006
+ y: 0.06,
4007
+ w: ctx.width - 0.12,
4008
+ h: ctx.height - 0.12,
4009
+ fill: { color: ctx.colors.bg, transparency: 100 },
4010
+ line: { color: "2D2D2D", width: 2.5 },
4011
+ rectRadius: 0.04,
4012
+ });
3795
4013
  const tabs = ["98D4BB", "C7B8EA", "F4B8C5", "A8D8EA", "FFE6A7"];
3796
4014
  const tabH = (ctx.height * 0.72) / tabs.length;
3797
4015
  for (let i = 0; i < tabs.length; i++) {
@@ -3815,6 +4033,15 @@ function paintSlideChrome(slide, ctx, data) {
3815
4033
  line: { color: "D0CCC4", width: 0 },
3816
4034
  });
3817
4035
  }
4036
+ slide.addShape(ctx.shapeRoundRect, {
4037
+ x: 0.72,
4038
+ y: 0.4,
4039
+ w: 0.018,
4040
+ h: ctx.height - 0.8,
4041
+ fill: { color: ctx.colors.accent, transparency: 55 },
4042
+ line: { color: ctx.colors.accent, width: 0 },
4043
+ rectRadius: 0,
4044
+ });
3818
4045
  }
3819
4046
  if (theme === "long-table") {
3820
4047
  // Speckled supper club + outline pill + hairline (long-table-supper).
@@ -4126,7 +4353,7 @@ function paintSlideChrome(slide, ctx, data) {
4126
4353
  });
4127
4354
  }
4128
4355
  if (theme === "broadsheet") {
4129
- // Newsprint masthead bar + bottom rule (newsprint-masthead).
4356
+ // Newsprint masthead + quiet frame + double bottom rules + accent stub.
4130
4357
  slide.addShape(ctx.shapeRoundRect, {
4131
4358
  x: 0,
4132
4359
  y: 0,
@@ -4136,6 +4363,15 @@ function paintSlideChrome(slide, ctx, data) {
4136
4363
  line: { color: ctx.colors.text, width: 0 },
4137
4364
  rectRadius: 0,
4138
4365
  });
4366
+ slide.addShape(ctx.shapeRoundRect, {
4367
+ x: 0.14,
4368
+ y: 0.14,
4369
+ w: ctx.width - 0.28,
4370
+ h: ctx.height - 0.28,
4371
+ fill: { color: ctx.colors.bg, transparency: 100 },
4372
+ line: { color: ctx.colors.text, width: 0.85 },
4373
+ rectRadius: 0,
4374
+ });
4139
4375
  slide.addShape(ctx.shapeRoundRect, {
4140
4376
  x: ctx.margin,
4141
4377
  y: ctx.height - 0.7,
@@ -4145,9 +4381,36 @@ function paintSlideChrome(slide, ctx, data) {
4145
4381
  line: { color: ctx.colors.text, width: 0 },
4146
4382
  rectRadius: 0,
4147
4383
  });
4384
+ slide.addShape(ctx.shapeRoundRect, {
4385
+ x: ctx.margin,
4386
+ y: ctx.height - 0.62,
4387
+ w: ctx.width - ctx.margin * 2,
4388
+ h: 0.012,
4389
+ fill: { color: ctx.colors.accent, transparency: 40 },
4390
+ line: { color: ctx.colors.accent, width: 0 },
4391
+ rectRadius: 0,
4392
+ });
4393
+ slide.addShape(ctx.shapeRoundRect, {
4394
+ x: ctx.margin,
4395
+ y: 0.58,
4396
+ w: 0.6,
4397
+ h: 0.035,
4398
+ fill: { color: ctx.colors.accent },
4399
+ line: { color: ctx.colors.accent, width: 0 },
4400
+ rectRadius: 0,
4401
+ });
4148
4402
  }
4149
4403
  if (theme === "editorial-forest") {
4150
- // Forest rule + blush orb (editorial-forest-paper).
4404
+ // Forest inset frame + dual hairlines + larger blush orb.
4405
+ slide.addShape(ctx.shapeRoundRect, {
4406
+ x: 0.26,
4407
+ y: 0.26,
4408
+ w: ctx.width - 0.52,
4409
+ h: ctx.height - 0.52,
4410
+ fill: { color: ctx.colors.bg, transparency: 100 },
4411
+ line: { color: ctx.colors.accent, width: 1.15 },
4412
+ rectRadius: 0.06,
4413
+ });
4151
4414
  slide.addShape(ctx.shapeRoundRect, {
4152
4415
  x: ctx.margin,
4153
4416
  y: 0.55,
@@ -4157,17 +4420,35 @@ function paintSlideChrome(slide, ctx, data) {
4157
4420
  line: { color: ctx.colors.accent, width: 0 },
4158
4421
  rectRadius: 0,
4159
4422
  });
4423
+ slide.addShape(ctx.shapeRoundRect, {
4424
+ x: ctx.margin,
4425
+ y: 0.68,
4426
+ w: 0.55,
4427
+ h: 0.015,
4428
+ fill: { color: ctx.colors.accent2, transparency: 25 },
4429
+ line: { color: ctx.colors.accent2, width: 0 },
4430
+ rectRadius: 0,
4431
+ });
4160
4432
  slide.addShape(ctx.shapeOval, {
4161
- x: ctx.width - 1.65,
4162
- y: ctx.height - 1.55,
4163
- w: 0.95,
4164
- h: 0.95,
4165
- fill: { color: ctx.colors.accent2, transparency: 35 },
4433
+ x: ctx.width - 1.85,
4434
+ y: ctx.height - 1.75,
4435
+ w: 1.2,
4436
+ h: 1.2,
4437
+ fill: { color: ctx.colors.accent2, transparency: 32 },
4166
4438
  line: { color: ctx.colors.accent2, width: 0 },
4167
4439
  });
4168
4440
  }
4169
4441
  if (theme === "signal") {
4170
- // Briefing hairline + outline square (signal-briefing).
4442
+ // Quiet briefing border + hairline + outline square + bottom gold stub.
4443
+ slide.addShape(ctx.shapeRoundRect, {
4444
+ x: 0.22,
4445
+ y: 0.22,
4446
+ w: ctx.width - 0.44,
4447
+ h: ctx.height - 0.44,
4448
+ fill: { color: ctx.colors.bg, transparency: 100 },
4449
+ line: { color: ctx.colors.text, width: 1.1 },
4450
+ rectRadius: 0.04,
4451
+ });
4171
4452
  slide.addShape(ctx.shapeRoundRect, {
4172
4453
  x: ctx.margin,
4173
4454
  y: 0.55,
@@ -4186,15 +4467,24 @@ function paintSlideChrome(slide, ctx, data) {
4186
4467
  line: { color: ctx.colors.accent2, width: 1.25 },
4187
4468
  rectRadius: 0,
4188
4469
  });
4470
+ slide.addShape(ctx.shapeRoundRect, {
4471
+ x: ctx.margin,
4472
+ y: ctx.height - 0.55,
4473
+ w: 0.95,
4474
+ h: 0.03,
4475
+ fill: { color: ctx.colors.accent2 },
4476
+ line: { color: ctx.colors.accent2, width: 0 },
4477
+ rectRadius: 0,
4478
+ });
4189
4479
  }
4190
4480
  if (theme === "pastel-dreamy") {
4191
- // Soft cloud ovals (pastel-cloud).
4481
+ // Soft cloud ovals + third mist blot (pastel-cloud).
4192
4482
  slide.addShape(ctx.shapeOval, {
4193
4483
  x: -ctx.width * 0.05,
4194
4484
  y: -ctx.height * 0.1,
4195
4485
  w: ctx.width * 0.45,
4196
4486
  h: ctx.height * 0.45,
4197
- fill: { color: ctx.colors.accent2, transparency: 78 },
4487
+ fill: { color: ctx.colors.accent2, transparency: 74 },
4198
4488
  line: { color: ctx.colors.accent2, width: 0 },
4199
4489
  });
4200
4490
  slide.addShape(ctx.shapeOval, {
@@ -4202,9 +4492,17 @@ function paintSlideChrome(slide, ctx, data) {
4202
4492
  y: ctx.height * 0.05,
4203
4493
  w: ctx.width * 0.4,
4204
4494
  h: ctx.height * 0.4,
4205
- fill: { color: ctx.colors.accent, transparency: 82 },
4495
+ fill: { color: ctx.colors.accent, transparency: 78 },
4206
4496
  line: { color: ctx.colors.accent, width: 0 },
4207
4497
  });
4498
+ slide.addShape(ctx.shapeOval, {
4499
+ x: ctx.width * 0.35,
4500
+ y: ctx.height * 0.65,
4501
+ w: ctx.width * 0.4,
4502
+ h: ctx.height * 0.4,
4503
+ fill: { color: ctx.colors.accent2, transparency: 86 },
4504
+ line: { color: ctx.colors.accent2, width: 0 },
4505
+ });
4208
4506
  }
4209
4507
  if (theme === "vellum") {
4210
4508
  // Soft colorfield wash + teal accent orb (vellum-colorfield).
@@ -4236,7 +4534,7 @@ function paintSlideChrome(slide, ctx, data) {
4236
4534
  }
4237
4535
  }
4238
4536
  if (theme === "editorial-serif") {
4239
- // Accent rule + deco ring (editorial-rule).
4537
+ // Accent rule + deco ring + bottom stub (editorial-rule).
4240
4538
  slide.addShape(ctx.shapeRoundRect, {
4241
4539
  x: ctx.margin,
4242
4540
  y: 0.55,
@@ -4254,37 +4552,63 @@ function paintSlideChrome(slide, ctx, data) {
4254
4552
  fill: { color: ctx.colors.bg, transparency: 100 },
4255
4553
  line: { color: ctx.colors.accent, width: 1.5 },
4256
4554
  });
4555
+ slide.addShape(ctx.shapeRoundRect, {
4556
+ x: ctx.margin,
4557
+ y: ctx.height - 0.7,
4558
+ w: 0.55,
4559
+ h: 0.03,
4560
+ fill: { color: ctx.colors.accent, transparency: 25 },
4561
+ line: { color: ctx.colors.accent, width: 0 },
4562
+ rectRadius: 0,
4563
+ });
4257
4564
  }
4258
4565
  if (theme === "playful") {
4259
- // Soft accent blot (soft-bento).
4566
+ // Soft accent blot + rounded candy square + second cloud (soft-bento).
4260
4567
  slide.addShape(ctx.shapeOval, {
4261
4568
  x: ctx.width * 0.75,
4262
4569
  y: -ctx.height * 0.05,
4263
4570
  w: ctx.width * 0.35,
4264
4571
  h: ctx.height * 0.35,
4265
- fill: { color: ctx.colors.accent2, transparency: 72 },
4572
+ fill: { color: ctx.colors.accent2, transparency: 68 },
4266
4573
  line: { color: ctx.colors.accent2, width: 0 },
4267
4574
  });
4575
+ slide.addShape(ctx.shapeOval, {
4576
+ x: -ctx.width * 0.08,
4577
+ y: ctx.height * 0.55,
4578
+ w: ctx.width * 0.32,
4579
+ h: ctx.height * 0.4,
4580
+ fill: { color: ctx.colors.accent, transparency: 86 },
4581
+ line: { color: ctx.colors.accent, width: 0 },
4582
+ });
4268
4583
  slide.addShape(ctx.shapeRoundRect, {
4269
4584
  x: ctx.width - 2.0,
4270
4585
  y: ctx.height - 2.0,
4271
4586
  w: 1.4,
4272
4587
  h: 1.4,
4273
- fill: { color: ctx.colors.accent, transparency: 82 },
4588
+ fill: { color: ctx.colors.accent, transparency: 78 },
4274
4589
  line: { color: ctx.colors.accent, width: 0 },
4275
4590
  rectRadius: 0.28,
4276
4591
  });
4277
4592
  }
4278
4593
  if (theme === "corporate") {
4279
- // Clean accent stub (clean-light).
4594
+ // Clean accent stub + soft top wash (clean-light).
4595
+ slide.addShape(ctx.shapeRoundRect, {
4596
+ x: 0,
4597
+ y: 0,
4598
+ w: ctx.width,
4599
+ h: ctx.height * 0.22,
4600
+ fill: { color: ctx.colors.bg2, transparency: 55 },
4601
+ line: { color: ctx.colors.bg2, width: 0 },
4602
+ rectRadius: 0,
4603
+ });
4280
4604
  slide.addShape(ctx.shapeRoundRect, {
4281
4605
  x: 0.55,
4282
4606
  y: 0.55,
4283
- w: 0.08,
4284
- h: 0.95,
4607
+ w: 0.09,
4608
+ h: 1.05,
4285
4609
  fill: { color: ctx.colors.accent },
4286
4610
  line: { color: ctx.colors.accent, width: 0 },
4287
- rectRadius: 0.04,
4611
+ rectRadius: 0.045,
4288
4612
  });
4289
4613
  }
4290
4614
  }