@presentation-md/export 1.16.2 → 1.16.3

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
+ // capsule-pills cards: 2px ink
12
+ if (ctx.themeName === "capsule") {
13
+ return { color: ctx.colors.text, width: opts.hero || opts.highlighted ? 2.25 : 2 };
14
+ }
15
+ // bit-orbit-arcade cards: 2px accent
16
+ if (ctx.themeName === "8-bit-orbit") {
17
+ return { color: ctx.colors.accent, width: opts.hero || opts.highlighted ? 2.25 : 2 };
18
+ }
19
+ // retro-windows-chrome cards: 2px ink
20
+ if (ctx.themeName === "retro-windows") {
21
+ return { color: "000000", width: opts.hero || opts.highlighted ? 2.25 : 2 };
22
+ }
11
23
  // block-frame-brutal cards: 4px ink
12
24
  if (ctx.themeName === "block-frame") {
13
25
  return { color: "000000", width: opts.hero || opts.highlighted ? 3.25 : 3 };
@@ -48,12 +60,17 @@ function cardRadius(ctx) {
48
60
  // stencil-tablet-earth cards: border-radius 24px ≈ 0.25"
49
61
  if (ctx.themeName === "stencil-tablet")
50
62
  return 0.25;
51
- // retro-zine-riso / block-frame-brutal / creative-mode-blocks cards: square
63
+ // retro-zine-riso / block-frame-brutal / creative-mode-blocks / 8-bit / Win95: square
52
64
  if (ctx.themeName === "retro-zine" ||
53
65
  ctx.themeName === "block-frame" ||
54
- ctx.themeName === "creative-mode") {
66
+ ctx.themeName === "creative-mode" ||
67
+ ctx.themeName === "8-bit-orbit" ||
68
+ ctx.themeName === "retro-windows") {
55
69
  return 0;
56
70
  }
71
+ // scatterbrain-cork cards: border-radius 2px ≈ 0.02"
72
+ if (ctx.themeName === "scatterbrain")
73
+ return 0.02;
57
74
  // sakura-chroma-cassette cards: border-radius 4px ≈ 0.04"
58
75
  if (ctx.themeName === "sakura-chroma")
59
76
  return 0.04;
@@ -3198,12 +3215,51 @@ function paintSlideChrome(slide, ctx, data) {
3198
3215
  });
3199
3216
  }
3200
3217
  if (theme === "8-bit-orbit") {
3201
- // Arcade scanlines + neon cyan/pink orbs + pixel HUD chip (bit-orbit-arcade).
3218
+ // Arcade scanlines + neon orbs + dual offset shadows (4px yellow + 8px pink)
3219
+ // + accent frame + always-on pixel HUD (bit-orbit-arcade).
3220
+ const outer = 0.1; // ~8px accent2
3221
+ const inner = 0.05; // ~4px yellow
3222
+ slide.addShape(ctx.shapeRoundRect, {
3223
+ x: ctx.width - outer,
3224
+ y: outer,
3225
+ w: outer,
3226
+ h: ctx.height - outer,
3227
+ fill: { color: ctx.colors.accent2 },
3228
+ line: { color: ctx.colors.accent2, width: 0 },
3229
+ rectRadius: 0,
3230
+ });
3231
+ slide.addShape(ctx.shapeRoundRect, {
3232
+ x: outer,
3233
+ y: ctx.height - outer,
3234
+ w: ctx.width - outer,
3235
+ h: outer,
3236
+ fill: { color: ctx.colors.accent2 },
3237
+ line: { color: ctx.colors.accent2, width: 0 },
3238
+ rectRadius: 0,
3239
+ });
3240
+ slide.addShape(ctx.shapeRoundRect, {
3241
+ x: ctx.width - outer - inner,
3242
+ y: outer + inner,
3243
+ w: inner,
3244
+ h: ctx.height - outer - inner,
3245
+ fill: { color: "F4D03F" },
3246
+ line: { color: "F4D03F", width: 0 },
3247
+ rectRadius: 0,
3248
+ });
3249
+ slide.addShape(ctx.shapeRoundRect, {
3250
+ x: outer + inner,
3251
+ y: ctx.height - outer - inner,
3252
+ w: ctx.width - outer - inner,
3253
+ h: inner,
3254
+ fill: { color: "F4D03F" },
3255
+ line: { color: "F4D03F", width: 0 },
3256
+ rectRadius: 0,
3257
+ });
3202
3258
  for (let i = 0; i < 10; i++) {
3203
3259
  slide.addShape(ctx.shapeRoundRect, {
3204
3260
  x: 0,
3205
3261
  y: 0.25 + i * 0.7,
3206
- w: ctx.width,
3262
+ w: ctx.width - outer,
3207
3263
  h: 0.035,
3208
3264
  fill: { color: "000000", transparency: 82 },
3209
3265
  line: { color: "000000", width: 0 },
@@ -3213,7 +3269,7 @@ function paintSlideChrome(slide, ctx, data) {
3213
3269
  slide.addShape(ctx.shapeOval, {
3214
3270
  x: ctx.width * 0.55,
3215
3271
  y: -ctx.height * 0.12,
3216
- w: ctx.width * 0.45,
3272
+ w: ctx.width * 0.45 - outer,
3217
3273
  h: ctx.height * 0.45,
3218
3274
  fill: { color: ctx.colors.accent, transparency: 78 },
3219
3275
  line: { color: ctx.colors.accent, width: 0 },
@@ -3222,11 +3278,20 @@ function paintSlideChrome(slide, ctx, data) {
3222
3278
  x: -ctx.width * 0.1,
3223
3279
  y: ctx.height * 0.55,
3224
3280
  w: ctx.width * 0.4,
3225
- h: ctx.height * 0.45,
3281
+ h: ctx.height * 0.45 - outer,
3226
3282
  fill: { color: ctx.colors.accent2, transparency: 78 },
3227
3283
  line: { color: ctx.colors.accent2, width: 0 },
3228
3284
  });
3229
- // Pixel HUD dots (top-left).
3285
+ slide.addShape(ctx.shapeRoundRect, {
3286
+ x: 0.08,
3287
+ y: 0.08,
3288
+ w: ctx.width - 0.08 - outer,
3289
+ h: ctx.height - 0.08 - outer,
3290
+ fill: { color: ctx.colors.bg, transparency: 100 },
3291
+ line: { color: ctx.colors.accent, width: 2.5 },
3292
+ rectRadius: 0,
3293
+ });
3294
+ // Pixel HUD dots (top-left) — always-on like HTML ::before.
3230
3295
  const pixels = [
3231
3296
  { x: 0.45, color: "F4D03F" },
3232
3297
  { x: 0.7, color: ctx.colors.accent },
@@ -3244,17 +3309,25 @@ function paintSlideChrome(slide, ctx, data) {
3244
3309
  rectRadius: 0,
3245
3310
  });
3246
3311
  }
3247
- if (isHero) {
3248
- slide.addShape(ctx.shapeRoundRect, {
3249
- x: ctx.width - 1.55,
3250
- y: ctx.height - 0.85,
3251
- w: 0.95,
3252
- h: 0.28,
3253
- fill: { color: ctx.colors.accent },
3254
- line: { color: "FFFFFF", width: 1.5 },
3255
- rectRadius: 0,
3256
- });
3257
- }
3312
+ // Bottom-right HUD chip + yellow offset plate — always-on like HTML ::after.
3313
+ slide.addShape(ctx.shapeRoundRect, {
3314
+ x: ctx.width - 1.5 - outer,
3315
+ y: ctx.height - 0.8 - outer,
3316
+ w: 0.95,
3317
+ h: 0.28,
3318
+ fill: { color: "F4D03F" },
3319
+ line: { color: "F4D03F", width: 0 },
3320
+ rectRadius: 0,
3321
+ });
3322
+ slide.addShape(ctx.shapeRoundRect, {
3323
+ x: ctx.width - 1.55 - outer,
3324
+ y: ctx.height - 0.85 - outer,
3325
+ w: 0.95,
3326
+ h: 0.28,
3327
+ fill: { color: ctx.colors.accent },
3328
+ line: { color: "FFFFFF", width: 1.5 },
3329
+ rectRadius: 0,
3330
+ });
3258
3331
  }
3259
3332
  if (theme === "neo-grid-bold") {
3260
3333
  // Modular grid + lemon corner panel + hard border + 8px accent offset
@@ -3371,22 +3444,33 @@ function paintSlideChrome(slide, ctx, data) {
3371
3444
  }
3372
3445
  }
3373
3446
  if (theme === "capsule") {
3374
- // Plump frame + soft shadow + quiet pastel blots on all slides;
3375
- // hero-gated coral pill + lime circles (capsule-pills HTML ::before/::after).
3376
- slide.addShape(ctx.shapeRoundRect, {
3377
- x: 0.38,
3378
- y: 0.36,
3379
- w: ctx.width - 0.48,
3380
- h: ctx.height - 0.48,
3381
- fill: { color: ctx.colors.text, transparency: 93 },
3447
+ // Plump frame + hard ink offset shadow (HTML 8px/10px 0-blur) + pastel blots;
3448
+ // hero-gated coral pill + lime circles (capsule-pills ::before/::after).
3449
+ const shadowX = 0.1;
3450
+ const shadowY = 0.12;
3451
+ slide.addShape(ctx.shapeRoundRect, {
3452
+ x: ctx.width - shadowX,
3453
+ y: shadowY,
3454
+ w: shadowX,
3455
+ h: ctx.height - shadowY,
3456
+ fill: { color: ctx.colors.text },
3382
3457
  line: { color: ctx.colors.text, width: 0 },
3383
- rectRadius: 0.29,
3458
+ rectRadius: 0,
3459
+ });
3460
+ slide.addShape(ctx.shapeRoundRect, {
3461
+ x: shadowX,
3462
+ y: ctx.height - shadowY,
3463
+ w: ctx.width - shadowX,
3464
+ h: shadowY,
3465
+ fill: { color: ctx.colors.text },
3466
+ line: { color: ctx.colors.text, width: 0 },
3467
+ rectRadius: 0,
3384
3468
  });
3385
3469
  slide.addShape(ctx.shapeRoundRect, {
3386
3470
  x: 0.18,
3387
3471
  y: 0.18,
3388
- w: ctx.width - 0.36,
3389
- h: ctx.height - 0.36,
3472
+ w: ctx.width - 0.36 - shadowX,
3473
+ h: ctx.height - 0.36 - shadowY,
3390
3474
  fill: { color: ctx.colors.bg, transparency: 100 },
3391
3475
  line: { color: ctx.colors.border, width: 2 },
3392
3476
  rectRadius: 0.29,
@@ -3394,14 +3478,14 @@ function paintSlideChrome(slide, ctx, data) {
3394
3478
  // Quiet lavender / sky radial blots (HTML --slide-bg candy).
3395
3479
  slide.addShape(ctx.shapeOval, {
3396
3480
  x: 0.35,
3397
- y: ctx.height - 1.85,
3481
+ y: ctx.height - 1.85 - shadowY,
3398
3482
  w: 0.72,
3399
3483
  h: 0.72,
3400
3484
  fill: { color: "C5B5E0", transparency: 42 },
3401
3485
  line: { color: "C5B5E0", width: 0 },
3402
3486
  });
3403
3487
  slide.addShape(ctx.shapeOval, {
3404
- x: ctx.width - 1.55,
3488
+ x: ctx.width - 1.55 - shadowX,
3405
3489
  y: 0.55,
3406
3490
  w: 0.58,
3407
3491
  h: 0.58,
@@ -3410,7 +3494,7 @@ function paintSlideChrome(slide, ctx, data) {
3410
3494
  });
3411
3495
  if (isHero) {
3412
3496
  slide.addShape(ctx.shapeRoundRect, {
3413
- x: ctx.width - 2.15,
3497
+ x: ctx.width - 2.15 - shadowX,
3414
3498
  y: 0.5,
3415
3499
  w: 1.45,
3416
3500
  h: 0.42,
@@ -3420,15 +3504,15 @@ function paintSlideChrome(slide, ctx, data) {
3420
3504
  });
3421
3505
  slide.addShape(ctx.shapeOval, {
3422
3506
  x: 0.5,
3423
- y: ctx.height - 1.6,
3507
+ y: ctx.height - 1.6 - shadowY,
3424
3508
  w: 0.95,
3425
3509
  h: 0.95,
3426
3510
  fill: { color: ctx.colors.accent2 },
3427
3511
  line: { color: ctx.colors.border, width: 2 },
3428
3512
  });
3429
3513
  slide.addShape(ctx.shapeOval, {
3430
- x: ctx.width * 0.78,
3431
- y: ctx.height * 0.72,
3514
+ x: ctx.width * 0.78 - shadowX,
3515
+ y: ctx.height * 0.72 - shadowY,
3432
3516
  w: 0.55,
3433
3517
  h: 0.55,
3434
3518
  fill: { color: "C4D94E", transparency: 18 },
@@ -3439,7 +3523,7 @@ function paintSlideChrome(slide, ctx, data) {
3439
3523
  // Quiet accent stub when loud pills are off.
3440
3524
  slide.addShape(ctx.shapeRoundRect, {
3441
3525
  x: ctx.margin,
3442
- y: ctx.height - 0.58,
3526
+ y: ctx.height - 0.58 - shadowY,
3443
3527
  w: 0.7,
3444
3528
  h: 0.03,
3445
3529
  fill: { color: ctx.colors.accent },
@@ -3702,38 +3786,88 @@ function paintSlideChrome(slide, ctx, data) {
3702
3786
  });
3703
3787
  }
3704
3788
  if (theme === "scatterbrain") {
3705
- // Cork sticky notes + pin dots (scatterbrain-cork).
3789
+ // Cork wash + soft ink offset shadow + quiet frame + sticky notes + pins;
3790
+ // hero-gated tape strip (scatterbrain-cork ::after).
3791
+ const shadow = 0.09;
3706
3792
  slide.addShape(ctx.shapeRoundRect, {
3707
- x: ctx.width * 0.68,
3793
+ x: ctx.width - shadow,
3794
+ y: shadow,
3795
+ w: shadow,
3796
+ h: ctx.height - shadow,
3797
+ fill: { color: "2D2A26" },
3798
+ line: { color: "2D2A26", width: 0 },
3799
+ rectRadius: 0,
3800
+ });
3801
+ slide.addShape(ctx.shapeRoundRect, {
3802
+ x: shadow,
3803
+ y: ctx.height - shadow,
3804
+ w: ctx.width - shadow,
3805
+ h: shadow,
3806
+ fill: { color: "2D2A26" },
3807
+ line: { color: "2D2A26", width: 0 },
3808
+ rectRadius: 0,
3809
+ });
3810
+ // Soft cork yellow wash (HTML radial at 20%/30%).
3811
+ slide.addShape(ctx.shapeOval, {
3812
+ x: -0.8,
3813
+ y: -0.6,
3814
+ w: ctx.width * 0.55,
3815
+ h: ctx.height * 0.55,
3816
+ fill: { color: "FFE066", transparency: 88 },
3817
+ line: { color: "FFE066", width: 0 },
3818
+ });
3819
+ slide.addShape(ctx.shapeRoundRect, {
3820
+ x: 0.1,
3821
+ y: 0.1,
3822
+ w: ctx.width - 0.1 - shadow,
3823
+ h: ctx.height - 0.1 - shadow,
3824
+ fill: { color: ctx.colors.bg, transparency: 100 },
3825
+ line: { color: "2D2A26", width: 1 },
3826
+ rectRadius: 0.08,
3827
+ });
3828
+ // Quiet cork rules (HTML repeating 40px lines).
3829
+ for (let i = 1; i < 10; i++) {
3830
+ slide.addShape(ctx.shapeRoundRect, {
3831
+ x: 0.12,
3832
+ y: (ctx.height / 10) * i,
3833
+ w: ctx.width - 0.12 - shadow,
3834
+ h: 0.01,
3835
+ fill: { color: "2D2A26", transparency: 92 },
3836
+ line: { color: "2D2A26", width: 0 },
3837
+ rectRadius: 0,
3838
+ });
3839
+ }
3840
+ slide.addShape(ctx.shapeRoundRect, {
3841
+ x: ctx.width * 0.68 - shadow,
3708
3842
  y: 0.55,
3709
3843
  w: 1.7,
3710
3844
  h: 1.25,
3711
3845
  fill: { color: "FFE066" },
3712
3846
  line: { color: ctx.colors.text, width: 0.75 },
3713
- rectRadius: 0.06,
3847
+ rectRadius: 0.02,
3714
3848
  });
3715
3849
  slide.addShape(ctx.shapeRoundRect, {
3716
- x: ctx.width * 0.78,
3850
+ x: ctx.width * 0.78 - shadow,
3717
3851
  y: ctx.height * 0.48,
3718
3852
  w: 1.4,
3719
3853
  h: 1.1,
3720
3854
  fill: { color: "74C0FC" },
3721
3855
  line: { color: ctx.colors.text, width: 0.75 },
3722
- rectRadius: 0.06,
3856
+ rectRadius: 0.02,
3723
3857
  });
3724
3858
  slide.addShape(ctx.shapeRoundRect, {
3725
3859
  x: 0.55,
3726
- y: ctx.height * 0.58,
3860
+ y: ctx.height * 0.58 - shadow,
3727
3861
  w: 1.25,
3728
3862
  h: 1.0,
3729
3863
  fill: { color: "FF9F9F" },
3730
3864
  line: { color: ctx.colors.text, width: 0.75 },
3731
- rectRadius: 0.06,
3865
+ rectRadius: 0.02,
3732
3866
  });
3733
3867
  for (const pin of [
3734
- { x: ctx.width * 0.72, y: 0.48 },
3735
- { x: ctx.width * 0.82, y: ctx.height * 0.42 },
3736
- { x: 0.72, y: ctx.height * 0.52 },
3868
+ { x: ctx.width * 0.72 - shadow, y: 0.48 },
3869
+ { x: ctx.width * 0.82 - shadow, y: ctx.height * 0.42 },
3870
+ { x: 0.72, y: ctx.height * 0.52 - shadow },
3737
3871
  ]) {
3738
3872
  slide.addShape(ctx.shapeOval, {
3739
3873
  x: pin.x,
@@ -3744,6 +3878,18 @@ function paintSlideChrome(slide, ctx, data) {
3744
3878
  line: { color: "C92A2A", width: 0 },
3745
3879
  });
3746
3880
  }
3881
+ if (isHero) {
3882
+ // Tape strip stand-in (HTML ::after).
3883
+ slide.addShape(ctx.shapeRoundRect, {
3884
+ x: 0.55,
3885
+ y: ctx.height - 0.95 - shadow,
3886
+ w: 1.05,
3887
+ h: 0.26,
3888
+ fill: { color: "FFEC99", transparency: 25 },
3889
+ line: { color: "2D2A26", width: 0.75 },
3890
+ rectRadius: 0.02,
3891
+ });
3892
+ }
3747
3893
  }
3748
3894
  if (theme === "split-pastel") {
3749
3895
  // Soft dual pastel corner washes on every slide; full split + pills on heroes.
@@ -4276,36 +4422,140 @@ function paintSlideChrome(slide, ctx, data) {
4276
4422
  }
4277
4423
  }
4278
4424
  if (theme === "retro-windows") {
4279
- // Win95 title bar + window buttons + beveled frame (retro-windows-chrome).
4425
+ // Win95 beveled chrome: white top/left + black right/bottom outer bevel,
4426
+ // inset hilite/shade strips, CRT scanlines, title bar + window buttons.
4427
+ const bevel = 0.035;
4428
+ // Outer dark bottom/right.
4280
4429
  slide.addShape(ctx.shapeRoundRect, {
4281
- x: 0.08,
4282
- y: 0.08,
4283
- w: ctx.width - 0.16,
4284
- h: ctx.height - 0.16,
4285
- fill: { color: ctx.colors.bg, transparency: 100 },
4286
- line: { color: "000000", width: 2 },
4430
+ x: ctx.width - bevel,
4431
+ y: 0,
4432
+ w: bevel,
4433
+ h: ctx.height,
4434
+ fill: { color: "000000" },
4435
+ line: { color: "000000", width: 0 },
4287
4436
  rectRadius: 0,
4288
4437
  });
4289
4438
  slide.addShape(ctx.shapeRoundRect, {
4290
- x: 0.12,
4291
- y: 0.12,
4292
- w: ctx.width - 0.24,
4439
+ x: 0,
4440
+ y: ctx.height - bevel,
4441
+ w: ctx.width,
4442
+ h: bevel,
4443
+ fill: { color: "000000" },
4444
+ line: { color: "000000", width: 0 },
4445
+ rectRadius: 0,
4446
+ });
4447
+ // Outer light top/left.
4448
+ slide.addShape(ctx.shapeRoundRect, {
4449
+ x: 0,
4450
+ y: 0,
4451
+ w: ctx.width - bevel,
4452
+ h: bevel,
4453
+ fill: { color: "FFFFFF" },
4454
+ line: { color: "FFFFFF", width: 0 },
4455
+ rectRadius: 0,
4456
+ });
4457
+ slide.addShape(ctx.shapeRoundRect, {
4458
+ x: 0,
4459
+ y: 0,
4460
+ w: bevel,
4461
+ h: ctx.height - bevel,
4462
+ fill: { color: "FFFFFF" },
4463
+ line: { color: "FFFFFF", width: 0 },
4464
+ rectRadius: 0,
4465
+ });
4466
+ // Inset shade (bottom/right #404040) + hilite (top/left white).
4467
+ const inset = 0.02;
4468
+ slide.addShape(ctx.shapeRoundRect, {
4469
+ x: ctx.width - bevel - inset,
4470
+ y: bevel,
4471
+ w: inset,
4472
+ h: ctx.height - bevel * 2,
4473
+ fill: { color: "404040" },
4474
+ line: { color: "404040", width: 0 },
4475
+ rectRadius: 0,
4476
+ });
4477
+ slide.addShape(ctx.shapeRoundRect, {
4478
+ x: bevel,
4479
+ y: ctx.height - bevel - inset,
4480
+ w: ctx.width - bevel * 2,
4481
+ h: inset,
4482
+ fill: { color: "404040" },
4483
+ line: { color: "404040", width: 0 },
4484
+ rectRadius: 0,
4485
+ });
4486
+ slide.addShape(ctx.shapeRoundRect, {
4487
+ x: bevel,
4488
+ y: bevel,
4489
+ w: ctx.width - bevel * 2 - inset,
4490
+ h: inset,
4491
+ fill: { color: "FFFFFF" },
4492
+ line: { color: "FFFFFF", width: 0 },
4493
+ rectRadius: 0,
4494
+ });
4495
+ slide.addShape(ctx.shapeRoundRect, {
4496
+ x: bevel,
4497
+ y: bevel,
4498
+ w: inset,
4499
+ h: ctx.height - bevel * 2 - inset,
4500
+ fill: { color: "FFFFFF" },
4501
+ line: { color: "FFFFFF", width: 0 },
4502
+ rectRadius: 0,
4503
+ });
4504
+ // Quiet CRT scanlines.
4505
+ for (let i = 0; i < 14; i++) {
4506
+ slide.addShape(ctx.shapeRoundRect, {
4507
+ x: bevel + inset,
4508
+ y: 0.5 + i * 0.45,
4509
+ w: ctx.width - (bevel + inset) * 2,
4510
+ h: 0.012,
4511
+ fill: { color: "000000", transparency: 94 },
4512
+ line: { color: "000000", width: 0 },
4513
+ rectRadius: 0,
4514
+ });
4515
+ }
4516
+ slide.addShape(ctx.shapeRoundRect, {
4517
+ x: bevel + inset + 0.02,
4518
+ y: bevel + inset + 0.02,
4519
+ w: ctx.width - (bevel + inset + 0.02) * 2,
4293
4520
  h: 0.32,
4294
4521
  fill: { color: "000080" },
4295
4522
  line: { color: "000080", width: 0 },
4296
4523
  rectRadius: 0,
4297
4524
  });
4298
- const winBtns = [ctx.width - 1.15, ctx.width - 0.85, ctx.width - 0.55];
4525
+ const winBtns = [
4526
+ ctx.width - 1.2 - bevel,
4527
+ ctx.width - 0.9 - bevel,
4528
+ ctx.width - 0.6 - bevel,
4529
+ ];
4299
4530
  for (const x of winBtns) {
4300
4531
  slide.addShape(ctx.shapeRoundRect, {
4301
4532
  x,
4302
- y: 0.18,
4533
+ y: bevel + inset + 0.08,
4303
4534
  w: 0.22,
4304
4535
  h: 0.18,
4305
4536
  fill: { color: "C0C0C0" },
4306
4537
  line: { color: "FFFFFF", width: 1 },
4307
4538
  rectRadius: 0,
4308
4539
  });
4540
+ // Button shade stub (Win95 raised control).
4541
+ slide.addShape(ctx.shapeRoundRect, {
4542
+ x: x + 0.18,
4543
+ y: bevel + inset + 0.1,
4544
+ w: 0.03,
4545
+ h: 0.14,
4546
+ fill: { color: "000000" },
4547
+ line: { color: "000000", width: 0 },
4548
+ rectRadius: 0,
4549
+ });
4550
+ slide.addShape(ctx.shapeRoundRect, {
4551
+ x: x + 0.02,
4552
+ y: bevel + inset + 0.22,
4553
+ w: 0.16,
4554
+ h: 0.03,
4555
+ fill: { color: "000000" },
4556
+ line: { color: "000000", width: 0 },
4557
+ rectRadius: 0,
4558
+ });
4309
4559
  }
4310
4560
  }
4311
4561
  if (theme === "pin-and-paper") {