@presentation-md/export 1.16.0 → 1.16.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
@@ -8,6 +8,18 @@ function cardStroke(ctx, opts = {}) {
8
8
  if (ctx.themeName === "daisy-days") {
9
9
  return { color: "2D2D2D", width: opts.hero || opts.highlighted ? 2.75 : 2.5 };
10
10
  }
11
+ // block-frame-brutal cards: 4px ink
12
+ if (ctx.themeName === "block-frame") {
13
+ return { color: "000000", width: opts.hero || opts.highlighted ? 3.25 : 3 };
14
+ }
15
+ // creative-mode-blocks cards: 3px ink
16
+ if (ctx.themeName === "creative-mode") {
17
+ return { color: ctx.colors.text, width: opts.hero || opts.highlighted ? 2.75 : 2.5 };
18
+ }
19
+ // sakura-chroma-cassette cards: 2px ink
20
+ if (ctx.themeName === "sakura-chroma") {
21
+ return { color: ctx.colors.text, width: opts.hero || opts.highlighted ? 2 : 1.75 };
22
+ }
11
23
  // stencil-tablet-earth / retro-zine-riso cards: 2px hard ink
12
24
  if (ctx.themeName === "stencil-tablet" || ctx.themeName === "retro-zine") {
13
25
  return { color: ctx.colors.text, width: opts.hero || opts.highlighted ? 2.25 : 2 };
@@ -36,9 +48,15 @@ function cardRadius(ctx) {
36
48
  // stencil-tablet-earth cards: border-radius 24px ≈ 0.25"
37
49
  if (ctx.themeName === "stencil-tablet")
38
50
  return 0.25;
39
- // retro-zine-riso cards: square
40
- if (ctx.themeName === "retro-zine")
51
+ // retro-zine-riso / block-frame-brutal / creative-mode-blocks cards: square
52
+ if (ctx.themeName === "retro-zine" ||
53
+ ctx.themeName === "block-frame" ||
54
+ ctx.themeName === "creative-mode") {
41
55
  return 0;
56
+ }
57
+ // sakura-chroma-cassette cards: border-radius 4px ≈ 0.04"
58
+ if (ctx.themeName === "sakura-chroma")
59
+ return 0.04;
42
60
  return 0.06;
43
61
  }
44
62
  /**
@@ -1733,38 +1751,21 @@ function paintSlideChrome(slide, ctx, data) {
1733
1751
  const isHero = data.layout === "title" || data.layout === "closing";
1734
1752
  // Generic bg→bg2 wash (stands in for linear/radial HTML gradients).
1735
1753
  if (ctx.colors.bg2.toLowerCase() !== ctx.colors.bg.toLowerCase()) {
1736
- if (theme === "creative-voltage" && isHero) {
1737
- // Left electric blue / right dark — mirrors creative-voltage-split.
1738
- slide.background = { color: ctx.colors.bg };
1754
+ if (theme === "creative-voltage") {
1755
+ // Split field + frame + offset shadow live in the dedicated block below.
1756
+ }
1757
+ else {
1758
+ // Bottom-right wash of bg2 over flat bg (≈ diagonal gradient).
1739
1759
  slide.addShape(ctx.shapeRoundRect, {
1740
- x: ctx.width * 0.48,
1741
- y: 0,
1742
- w: ctx.width * 0.52,
1743
- h: ctx.height,
1744
- fill: { color: ctx.colors.bg2 },
1760
+ x: ctx.width * 0.35,
1761
+ y: ctx.height * 0.35,
1762
+ w: ctx.width * 0.65,
1763
+ h: ctx.height * 0.65,
1764
+ fill: { color: ctx.colors.bg2, transparency: 55 },
1745
1765
  line: { color: ctx.colors.bg2, width: 0 },
1746
1766
  rectRadius: 0,
1747
1767
  });
1748
- slide.addShape(ctx.shapeOval, {
1749
- x: ctx.width - 1.6,
1750
- y: 0.55,
1751
- w: 0.95,
1752
- h: 0.95,
1753
- fill: { color: ctx.colors.accent },
1754
- line: { color: ctx.colors.accent, width: 0 },
1755
- });
1756
- return;
1757
1768
  }
1758
- // Bottom-right wash of bg2 over flat bg (≈ diagonal gradient).
1759
- slide.addShape(ctx.shapeRoundRect, {
1760
- x: ctx.width * 0.35,
1761
- y: ctx.height * 0.35,
1762
- w: ctx.width * 0.65,
1763
- h: ctx.height * 0.65,
1764
- fill: { color: ctx.colors.bg2, transparency: 55 },
1765
- line: { color: ctx.colors.bg2, width: 0 },
1766
- rectRadius: 0,
1767
- });
1768
1769
  }
1769
1770
  if (theme === "bold-signal") {
1770
1771
  // Soft orange corner blot on every slide; hero gets the focal panel.
@@ -2538,12 +2539,32 @@ function paintSlideChrome(slide, ctx, data) {
2538
2539
  });
2539
2540
  }
2540
2541
  if (theme === "brutalist-acid") {
2541
- // Hard acid frame on every slide; hero gets offset shadow block.
2542
+ // Hard acid frame + 10px accent offset shadow every slide (acid-block);
2543
+ // hero also gets the offset lime plate (::after is hero-gated in HTML).
2544
+ const shadow = 0.12;
2545
+ slide.addShape(ctx.shapeRoundRect, {
2546
+ x: ctx.width - shadow,
2547
+ y: shadow,
2548
+ w: shadow,
2549
+ h: ctx.height - shadow,
2550
+ fill: { color: ctx.colors.accent },
2551
+ line: { color: ctx.colors.accent, width: 0 },
2552
+ rectRadius: 0,
2553
+ });
2554
+ slide.addShape(ctx.shapeRoundRect, {
2555
+ x: shadow,
2556
+ y: ctx.height - shadow,
2557
+ w: ctx.width - shadow,
2558
+ h: shadow,
2559
+ fill: { color: ctx.colors.accent },
2560
+ line: { color: ctx.colors.accent, width: 0 },
2561
+ rectRadius: 0,
2562
+ });
2542
2563
  slide.addShape(ctx.shapeRoundRect, {
2543
2564
  x: 0.1,
2544
2565
  y: 0.1,
2545
- w: ctx.width - 0.2,
2546
- h: ctx.height - 0.2,
2566
+ w: ctx.width - 0.1 - shadow,
2567
+ h: ctx.height - 0.1 - shadow,
2547
2568
  fill: { color: ctx.colors.bg, transparency: 100 },
2548
2569
  line: { color: ctx.colors.accent, width: 2.5 },
2549
2570
  rectRadius: 0,
@@ -3236,13 +3257,33 @@ function paintSlideChrome(slide, ctx, data) {
3236
3257
  }
3237
3258
  }
3238
3259
  if (theme === "neo-grid-bold") {
3239
- // Modular grid + lemon corner panel + hard border (neo-grid-panels).
3260
+ // Modular grid + lemon corner panel + hard border + 8px accent offset
3261
+ // shadow (neo-grid-panels).
3262
+ const shadow = 0.1;
3263
+ slide.addShape(ctx.shapeRoundRect, {
3264
+ x: ctx.width - shadow,
3265
+ y: shadow,
3266
+ w: shadow,
3267
+ h: ctx.height - shadow,
3268
+ fill: { color: ctx.colors.accent },
3269
+ line: { color: ctx.colors.accent, width: 0 },
3270
+ rectRadius: 0,
3271
+ });
3272
+ slide.addShape(ctx.shapeRoundRect, {
3273
+ x: shadow,
3274
+ y: ctx.height - shadow,
3275
+ w: ctx.width - shadow,
3276
+ h: shadow,
3277
+ fill: { color: ctx.colors.accent },
3278
+ line: { color: ctx.colors.accent, width: 0 },
3279
+ rectRadius: 0,
3280
+ });
3240
3281
  for (let i = 1; i < 10; i++) {
3241
3282
  slide.addShape(ctx.shapeRoundRect, {
3242
3283
  x: (ctx.width / 10) * i,
3243
3284
  y: 0,
3244
3285
  w: 0.012,
3245
- h: ctx.height,
3286
+ h: ctx.height - shadow,
3246
3287
  fill: { color: ctx.colors.text, transparency: 85 },
3247
3288
  line: { color: ctx.colors.text, width: 0 },
3248
3289
  rectRadius: 0,
@@ -3252,7 +3293,7 @@ function paintSlideChrome(slide, ctx, data) {
3252
3293
  slide.addShape(ctx.shapeRoundRect, {
3253
3294
  x: 0,
3254
3295
  y: (ctx.height / 6) * i,
3255
- w: ctx.width,
3296
+ w: ctx.width - shadow,
3256
3297
  h: 0.012,
3257
3298
  fill: { color: ctx.colors.text, transparency: 85 },
3258
3299
  line: { color: ctx.colors.text, width: 0 },
@@ -3262,14 +3303,14 @@ function paintSlideChrome(slide, ctx, data) {
3262
3303
  slide.addShape(ctx.shapeRoundRect, {
3263
3304
  x: 0.08,
3264
3305
  y: 0.08,
3265
- w: ctx.width - 0.16,
3266
- h: ctx.height - 0.16,
3306
+ w: ctx.width - 0.08 - shadow,
3307
+ h: ctx.height - 0.08 - shadow,
3267
3308
  fill: { color: ctx.colors.bg, transparency: 100 },
3268
3309
  line: { color: ctx.colors.text, width: 2.5 },
3269
3310
  rectRadius: 0,
3270
3311
  });
3271
3312
  slide.addShape(ctx.shapeRoundRect, {
3272
- x: ctx.width - 1.55,
3313
+ x: ctx.width - 1.55 - shadow,
3273
3314
  y: 0.55,
3274
3315
  w: 0.95,
3275
3316
  h: 0.95,
@@ -3473,13 +3514,32 @@ function paintSlideChrome(slide, ctx, data) {
3473
3514
  });
3474
3515
  }
3475
3516
  if (theme === "brutalist-mono") {
3476
- // Dense mono grid + hard outer frame (brutalist-grid).
3517
+ // Dense mono grid + hard outer frame + 8px ink offset shadow (brutalist-grid).
3518
+ const shadow = 0.1;
3519
+ slide.addShape(ctx.shapeRoundRect, {
3520
+ x: ctx.width - shadow,
3521
+ y: shadow,
3522
+ w: shadow,
3523
+ h: ctx.height - shadow,
3524
+ fill: { color: ctx.colors.text },
3525
+ line: { color: ctx.colors.text, width: 0 },
3526
+ rectRadius: 0,
3527
+ });
3528
+ slide.addShape(ctx.shapeRoundRect, {
3529
+ x: shadow,
3530
+ y: ctx.height - shadow,
3531
+ w: ctx.width - shadow,
3532
+ h: shadow,
3533
+ fill: { color: ctx.colors.text },
3534
+ line: { color: ctx.colors.text, width: 0 },
3535
+ rectRadius: 0,
3536
+ });
3477
3537
  for (let i = 1; i < 16; i++) {
3478
3538
  slide.addShape(ctx.shapeRoundRect, {
3479
3539
  x: (ctx.width / 16) * i,
3480
3540
  y: 0,
3481
3541
  w: 0.01,
3482
- h: ctx.height,
3542
+ h: ctx.height - shadow,
3483
3543
  fill: { color: ctx.colors.border, transparency: 55 },
3484
3544
  line: { color: ctx.colors.border, width: 0 },
3485
3545
  rectRadius: 0,
@@ -3489,7 +3549,7 @@ function paintSlideChrome(slide, ctx, data) {
3489
3549
  slide.addShape(ctx.shapeRoundRect, {
3490
3550
  x: 0,
3491
3551
  y: (ctx.height / 10) * i,
3492
- w: ctx.width,
3552
+ w: ctx.width - shadow,
3493
3553
  h: 0.01,
3494
3554
  fill: { color: ctx.colors.border, transparency: 55 },
3495
3555
  line: { color: ctx.colors.border, width: 0 },
@@ -3499,42 +3559,119 @@ function paintSlideChrome(slide, ctx, data) {
3499
3559
  slide.addShape(ctx.shapeRoundRect, {
3500
3560
  x: 0.1,
3501
3561
  y: 0.1,
3502
- w: ctx.width - 0.2,
3503
- h: ctx.height - 0.2,
3562
+ w: ctx.width - 0.1 - shadow,
3563
+ h: ctx.height - 0.1 - shadow,
3504
3564
  fill: { color: ctx.colors.bg, transparency: 100 },
3505
3565
  line: { color: ctx.colors.text, width: 2.5 },
3506
3566
  rectRadius: 0,
3507
3567
  });
3508
3568
  }
3509
3569
  if (theme === "creative-mode") {
3510
- // Hard shadow frame + stacked accent blocks (creative-mode-blocks).
3570
+ // Hard frame + 10px ink offset shadow every slide; stacked accent blocks
3571
+ // only on heroes (creative-mode-blocks ::before/::after are body-softened).
3572
+ const shadow = 0.12;
3573
+ slide.addShape(ctx.shapeRoundRect, {
3574
+ x: ctx.width - shadow,
3575
+ y: shadow,
3576
+ w: shadow,
3577
+ h: ctx.height - shadow,
3578
+ fill: { color: ctx.colors.text },
3579
+ line: { color: ctx.colors.text, width: 0 },
3580
+ rectRadius: 0,
3581
+ });
3582
+ slide.addShape(ctx.shapeRoundRect, {
3583
+ x: shadow,
3584
+ y: ctx.height - shadow,
3585
+ w: ctx.width - shadow,
3586
+ h: shadow,
3587
+ fill: { color: ctx.colors.text },
3588
+ line: { color: ctx.colors.text, width: 0 },
3589
+ rectRadius: 0,
3590
+ });
3511
3591
  slide.addShape(ctx.shapeRoundRect, {
3512
3592
  x: 0.12,
3513
3593
  y: 0.12,
3514
- w: ctx.width - 0.12,
3515
- h: ctx.height - 0.12,
3594
+ w: ctx.width - 0.12 - shadow,
3595
+ h: ctx.height - 0.12 - shadow,
3516
3596
  fill: { color: ctx.colors.bg, transparency: 100 },
3517
3597
  line: { color: ctx.colors.text, width: 3 },
3518
3598
  rectRadius: 0,
3519
3599
  });
3600
+ if (isHero) {
3601
+ slide.addShape(ctx.shapeRoundRect, {
3602
+ x: ctx.width - 2.0,
3603
+ y: 0.55,
3604
+ w: 1.2,
3605
+ h: 1.2,
3606
+ fill: { color: ctx.colors.accent2 },
3607
+ line: { color: ctx.colors.accent2, width: 0 },
3608
+ rectRadius: 0,
3609
+ });
3610
+ slide.addShape(ctx.shapeRoundRect, {
3611
+ x: ctx.width - 2.85,
3612
+ y: 1.35,
3613
+ w: 0.75,
3614
+ h: 0.75,
3615
+ fill: { color: ctx.colors.accent },
3616
+ line: { color: ctx.colors.accent, width: 0 },
3617
+ rectRadius: 0,
3618
+ });
3619
+ }
3620
+ }
3621
+ if (theme === "creative-voltage") {
3622
+ // Hard accent frame + 8px neon offset shadow every slide; hero split field
3623
+ // + voltage orb (creative-voltage-split). Body slides stay dark (#1a1a2e).
3624
+ const shadow = 0.1;
3520
3625
  slide.addShape(ctx.shapeRoundRect, {
3521
- x: ctx.width - 2.0,
3522
- y: 0.55,
3523
- w: 1.2,
3524
- h: 1.2,
3525
- fill: { color: ctx.colors.accent2 },
3526
- line: { color: ctx.colors.accent2, width: 0 },
3626
+ x: ctx.width - shadow,
3627
+ y: shadow,
3628
+ w: shadow,
3629
+ h: ctx.height - shadow,
3630
+ fill: { color: ctx.colors.accent },
3631
+ line: { color: ctx.colors.accent, width: 0 },
3527
3632
  rectRadius: 0,
3528
3633
  });
3529
3634
  slide.addShape(ctx.shapeRoundRect, {
3530
- x: ctx.width - 2.85,
3531
- y: 1.35,
3532
- w: 0.75,
3533
- h: 0.75,
3635
+ x: shadow,
3636
+ y: ctx.height - shadow,
3637
+ w: ctx.width - shadow,
3638
+ h: shadow,
3534
3639
  fill: { color: ctx.colors.accent },
3535
3640
  line: { color: ctx.colors.accent, width: 0 },
3536
3641
  rectRadius: 0,
3537
3642
  });
3643
+ if (isHero) {
3644
+ slide.background = { color: ctx.colors.bg };
3645
+ slide.addShape(ctx.shapeRoundRect, {
3646
+ x: ctx.width * 0.48,
3647
+ y: 0,
3648
+ w: ctx.width * 0.52 - shadow,
3649
+ h: ctx.height - shadow,
3650
+ fill: { color: ctx.colors.bg2 },
3651
+ line: { color: ctx.colors.bg2, width: 0 },
3652
+ rectRadius: 0,
3653
+ });
3654
+ slide.addShape(ctx.shapeOval, {
3655
+ x: ctx.width - 1.6 - shadow,
3656
+ y: 0.55,
3657
+ w: 0.95,
3658
+ h: 0.95,
3659
+ fill: { color: ctx.colors.accent },
3660
+ line: { color: ctx.colors.accent, width: 0 },
3661
+ });
3662
+ }
3663
+ else {
3664
+ slide.background = { color: ctx.colors.bg2 };
3665
+ }
3666
+ slide.addShape(ctx.shapeRoundRect, {
3667
+ x: 0.1,
3668
+ y: 0.1,
3669
+ w: ctx.width - 0.1 - shadow,
3670
+ h: ctx.height - 0.1 - shadow,
3671
+ fill: { color: ctx.colors.bg, transparency: 100 },
3672
+ line: { color: ctx.colors.accent, width: 2 },
3673
+ rectRadius: 0,
3674
+ });
3538
3675
  }
3539
3676
  if (theme === "biennale-yellow") {
3540
3677
  // Sun orb + top hairline (biennale-yellow-sun).
@@ -3725,11 +3862,31 @@ function paintSlideChrome(slide, ctx, data) {
3725
3862
  });
3726
3863
  }
3727
3864
  if (theme === "raw-grid") {
3728
- // Blush/sage bands + cross rules + hard frame (raw-grid-brutal).
3865
+ // Blush/sage bands + cross rules + hard frame + 6px ink offset shadow
3866
+ // (raw-grid-brutal box-shadow is always-on).
3867
+ const shadow = 0.08;
3868
+ slide.addShape(ctx.shapeRoundRect, {
3869
+ x: ctx.width - shadow,
3870
+ y: shadow,
3871
+ w: shadow,
3872
+ h: ctx.height - shadow,
3873
+ fill: { color: "0A0A0A" },
3874
+ line: { color: "0A0A0A", width: 0 },
3875
+ rectRadius: 0,
3876
+ });
3877
+ slide.addShape(ctx.shapeRoundRect, {
3878
+ x: shadow,
3879
+ y: ctx.height - shadow,
3880
+ w: ctx.width - shadow,
3881
+ h: shadow,
3882
+ fill: { color: "0A0A0A" },
3883
+ line: { color: "0A0A0A", width: 0 },
3884
+ rectRadius: 0,
3885
+ });
3729
3886
  slide.addShape(ctx.shapeRoundRect, {
3730
3887
  x: 0,
3731
3888
  y: 0,
3732
- w: ctx.width,
3889
+ w: ctx.width - shadow,
3733
3890
  h: ctx.height * 0.28,
3734
3891
  fill: { color: "F2D4CF" },
3735
3892
  line: { color: "F2D4CF", width: 0 },
@@ -3739,7 +3896,7 @@ function paintSlideChrome(slide, ctx, data) {
3739
3896
  x: 0,
3740
3897
  y: 0,
3741
3898
  w: ctx.width * 0.22,
3742
- h: ctx.height,
3899
+ h: ctx.height - shadow,
3743
3900
  fill: { color: "E5EDD6" },
3744
3901
  line: { color: "E5EDD6", width: 0 },
3745
3902
  rectRadius: 0,
@@ -3757,7 +3914,7 @@ function paintSlideChrome(slide, ctx, data) {
3757
3914
  slide.addShape(ctx.shapeRoundRect, {
3758
3915
  x: 0,
3759
3916
  y: ctx.height * 0.28,
3760
- w: ctx.width,
3917
+ w: ctx.width - shadow,
3761
3918
  h: 0.035,
3762
3919
  fill: { color: "0A0A0A" },
3763
3920
  line: { color: "0A0A0A", width: 0 },
@@ -3767,7 +3924,7 @@ function paintSlideChrome(slide, ctx, data) {
3767
3924
  x: ctx.width * 0.22,
3768
3925
  y: 0,
3769
3926
  w: 0.035,
3770
- h: ctx.height,
3927
+ h: ctx.height - shadow,
3771
3928
  fill: { color: "0A0A0A" },
3772
3929
  line: { color: "0A0A0A", width: 0 },
3773
3930
  rectRadius: 0,
@@ -3775,8 +3932,8 @@ function paintSlideChrome(slide, ctx, data) {
3775
3932
  slide.addShape(ctx.shapeRoundRect, {
3776
3933
  x: 0.08,
3777
3934
  y: 0.08,
3778
- w: ctx.width - 0.16,
3779
- h: ctx.height - 0.16,
3935
+ w: ctx.width - 0.08 - shadow,
3936
+ h: ctx.height - 0.08 - shadow,
3780
3937
  fill: { color: ctx.colors.bg, transparency: 100 },
3781
3938
  line: { color: "0A0A0A", width: 2.5 },
3782
3939
  rectRadius: 0,
@@ -3814,19 +3971,39 @@ function paintSlideChrome(slide, ctx, data) {
3814
3971
  });
3815
3972
  }
3816
3973
  if (theme === "sakura-chroma") {
3817
- // Hard frame always; chroma strip + stamp orbs on heroes (sakura-chroma-cassette).
3974
+ // Hard frame + accent-tinted offset shadow every slide; chroma strip +
3975
+ // stamp orbs stay hero-gated (sakura-chroma-cassette).
3976
+ const shadow = 0.12;
3977
+ slide.addShape(ctx.shapeRoundRect, {
3978
+ x: ctx.width - shadow,
3979
+ y: shadow,
3980
+ w: shadow,
3981
+ h: ctx.height - shadow,
3982
+ fill: { color: ctx.colors.accent, transparency: 65 },
3983
+ line: { color: ctx.colors.accent, width: 0 },
3984
+ rectRadius: 0,
3985
+ });
3986
+ slide.addShape(ctx.shapeRoundRect, {
3987
+ x: shadow,
3988
+ y: ctx.height - shadow,
3989
+ w: ctx.width - shadow,
3990
+ h: shadow,
3991
+ fill: { color: ctx.colors.accent, transparency: 65 },
3992
+ line: { color: ctx.colors.accent, width: 0 },
3993
+ rectRadius: 0,
3994
+ });
3818
3995
  slide.addShape(ctx.shapeRoundRect, {
3819
3996
  x: 0.08,
3820
3997
  y: 0.08,
3821
- w: ctx.width - 0.16,
3822
- h: ctx.height - 0.16,
3998
+ w: ctx.width - 0.08 - shadow,
3999
+ h: ctx.height - 0.08 - shadow,
3823
4000
  fill: { color: ctx.colors.bg, transparency: 100 },
3824
4001
  line: { color: ctx.colors.text, width: 2 },
3825
4002
  rectRadius: 0.06,
3826
4003
  });
3827
4004
  if (isHero) {
3828
4005
  const chroma = ["E5392A", "E54489", "F09131", "3D9F47", "3F8BC4", "F0BC2A"];
3829
- const stripW = ctx.width * 0.48;
4006
+ const stripW = (ctx.width - shadow) * 0.48;
3830
4007
  const band = stripW / chroma.length;
3831
4008
  for (let i = 0; i < chroma.length; i++) {
3832
4009
  slide.addShape(ctx.shapeRoundRect, {
@@ -3840,10 +4017,10 @@ function paintSlideChrome(slide, ctx, data) {
3840
4017
  });
3841
4018
  }
3842
4019
  const stamps = [
3843
- { x: ctx.width - 1.85, y: 0.55, color: "E54489" },
3844
- { x: ctx.width - 1.35, y: 0.72, color: "F09131" },
3845
- { x: ctx.width - 1.6, y: 1.15, color: "3F8BC4" },
3846
- { x: ctx.width - 1.95, y: 1.05, color: "3D9F47" },
4020
+ { x: ctx.width - 1.85 - shadow, y: 0.55, color: "E54489" },
4021
+ { x: ctx.width - 1.35 - shadow, y: 0.72, color: "F09131" },
4022
+ { x: ctx.width - 1.6 - shadow, y: 1.15, color: "3F8BC4" },
4023
+ { x: ctx.width - 1.95 - shadow, y: 1.05, color: "3D9F47" },
3847
4024
  ];
3848
4025
  for (const s of stamps) {
3849
4026
  slide.addShape(ctx.shapeOval, {
@@ -3857,7 +4034,7 @@ function paintSlideChrome(slide, ctx, data) {
3857
4034
  }
3858
4035
  slide.addShape(ctx.shapeRoundRect, {
3859
4036
  x: 0.55,
3860
- y: ctx.height - 0.85,
4037
+ y: ctx.height - 0.85 - shadow,
3861
4038
  w: 0.7,
3862
4039
  h: 0.28,
3863
4040
  fill: { color: ctx.colors.accent },
@@ -3932,19 +4109,39 @@ function paintSlideChrome(slide, ctx, data) {
3932
4109
  });
3933
4110
  }
3934
4111
  if (theme === "block-frame") {
3935
- // Hard neobrutalist frame; pastel offset blocks on heroes (block-frame-brutal).
4112
+ // Hard neobrutalist frame + 8px ink offset shadow every slide; pastel
4113
+ // offset blocks stay hero-gated (block-frame-brutal).
4114
+ const shadow = 0.1;
4115
+ slide.addShape(ctx.shapeRoundRect, {
4116
+ x: ctx.width - shadow,
4117
+ y: shadow,
4118
+ w: shadow,
4119
+ h: ctx.height - shadow,
4120
+ fill: { color: "000000" },
4121
+ line: { color: "000000", width: 0 },
4122
+ rectRadius: 0,
4123
+ });
4124
+ slide.addShape(ctx.shapeRoundRect, {
4125
+ x: shadow,
4126
+ y: ctx.height - shadow,
4127
+ w: ctx.width - shadow,
4128
+ h: shadow,
4129
+ fill: { color: "000000" },
4130
+ line: { color: "000000", width: 0 },
4131
+ rectRadius: 0,
4132
+ });
3936
4133
  slide.addShape(ctx.shapeRoundRect, {
3937
4134
  x: 0.1,
3938
4135
  y: 0.1,
3939
- w: ctx.width - 0.2,
3940
- h: ctx.height - 0.2,
4136
+ w: ctx.width - 0.1 - shadow,
4137
+ h: ctx.height - 0.1 - shadow,
3941
4138
  fill: { color: ctx.colors.bg, transparency: 100 },
3942
4139
  line: { color: "000000", width: 3.5 },
3943
4140
  rectRadius: 0,
3944
4141
  });
3945
4142
  if (isHero) {
3946
4143
  slide.addShape(ctx.shapeRoundRect, {
3947
- x: ctx.width * 0.72,
4144
+ x: ctx.width * 0.72 - shadow,
3948
4145
  y: ctx.height * 0.12,
3949
4146
  w: ctx.width * 0.28,
3950
4147
  h: ctx.height * 0.18,