@presentation-md/export 1.16.3 → 1.18.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 +500 -121
- package/dist/layouts.js.map +1 -1
- package/package.json +2 -2
package/dist/layouts.js
CHANGED
|
@@ -36,6 +36,42 @@ function cardStroke(ctx, opts = {}) {
|
|
|
36
36
|
if (ctx.themeName === "stencil-tablet" || ctx.themeName === "retro-zine") {
|
|
37
37
|
return { color: ctx.colors.text, width: opts.hero || opts.highlighted ? 2.25 : 2 };
|
|
38
38
|
}
|
|
39
|
+
// coral-hatch cards: 2px hard ink, square
|
|
40
|
+
if (ctx.themeName === "coral") {
|
|
41
|
+
return { color: ctx.colors.text, width: opts.hero || opts.highlighted ? 2.5 : 2.25 };
|
|
42
|
+
}
|
|
43
|
+
// peoples-platform-poster cards: 4px hard ink
|
|
44
|
+
if (ctx.themeName === "peoples-platform") {
|
|
45
|
+
return { color: ctx.colors.text, width: opts.hero || opts.highlighted ? 3.5 : 3.25 };
|
|
46
|
+
}
|
|
47
|
+
// neon-rain cards: cyan rim
|
|
48
|
+
if (ctx.themeName === "neon-noir") {
|
|
49
|
+
return { color: ctx.colors.accent2, width: opts.hero || opts.highlighted ? 1.75 : 1.5 };
|
|
50
|
+
}
|
|
51
|
+
// vapor-horizon / aero-bubble cards: soft accent rim
|
|
52
|
+
if (ctx.themeName === "vaporwave" || ctx.themeName === "y2k-aero") {
|
|
53
|
+
return { color: ctx.colors.accent, width: opts.hero || opts.highlighted ? 1.5 : 1.25 };
|
|
54
|
+
}
|
|
55
|
+
// broadside-fire cards: hard ink
|
|
56
|
+
if (ctx.themeName === "broadside") {
|
|
57
|
+
return { color: ctx.colors.text, width: opts.hero || opts.highlighted ? 2.25 : 2 };
|
|
58
|
+
}
|
|
59
|
+
// cobalt-grid-paper cards: cobalt hairline, square
|
|
60
|
+
if (ctx.themeName === "cobalt-grid") {
|
|
61
|
+
return { color: ctx.colors.accent, width: opts.hero || opts.highlighted ? 1.5 : 1.25 };
|
|
62
|
+
}
|
|
63
|
+
// scanline-neon cards: cyan rim
|
|
64
|
+
if (ctx.themeName === "retro-arcade") {
|
|
65
|
+
return { color: ctx.colors.accent2, width: opts.hero || opts.highlighted ? 1.75 : 1.5 };
|
|
66
|
+
}
|
|
67
|
+
// mat-woodglow cards: dark ink on cream
|
|
68
|
+
if (ctx.themeName === "mat") {
|
|
69
|
+
return { color: "1E2820", width: opts.hero || opts.highlighted ? 1.5 : 1.25 };
|
|
70
|
+
}
|
|
71
|
+
// biennale-yellow-sun cards: indigo hairline
|
|
72
|
+
if (ctx.themeName === "biennale-yellow") {
|
|
73
|
+
return { color: ctx.colors.text, width: opts.hero || opts.highlighted ? 1.35 : 1.1 };
|
|
74
|
+
}
|
|
39
75
|
if (opts.hero || opts.highlighted) {
|
|
40
76
|
return { color: ctx.colors.accent, width: opts.highlighted ? 1.75 : 1.5 };
|
|
41
77
|
}
|
|
@@ -60,14 +96,30 @@ function cardRadius(ctx) {
|
|
|
60
96
|
// stencil-tablet-earth cards: border-radius 24px ≈ 0.25"
|
|
61
97
|
if (ctx.themeName === "stencil-tablet")
|
|
62
98
|
return 0.25;
|
|
63
|
-
// retro-zine-riso / block-frame-brutal / creative-mode-blocks / 8-bit / Win95: square
|
|
99
|
+
// retro-zine-riso / block-frame-brutal / creative-mode-blocks / 8-bit / Win95 / coral / peoples / broadside / cobalt / mat / biennale / arcade: square
|
|
64
100
|
if (ctx.themeName === "retro-zine" ||
|
|
65
101
|
ctx.themeName === "block-frame" ||
|
|
66
102
|
ctx.themeName === "creative-mode" ||
|
|
67
103
|
ctx.themeName === "8-bit-orbit" ||
|
|
68
|
-
ctx.themeName === "retro-windows"
|
|
104
|
+
ctx.themeName === "retro-windows" ||
|
|
105
|
+
ctx.themeName === "coral" ||
|
|
106
|
+
ctx.themeName === "peoples-platform" ||
|
|
107
|
+
ctx.themeName === "broadside" ||
|
|
108
|
+
ctx.themeName === "cobalt-grid" ||
|
|
109
|
+
ctx.themeName === "mat" ||
|
|
110
|
+
ctx.themeName === "biennale-yellow" ||
|
|
111
|
+
ctx.themeName === "retro-arcade") {
|
|
69
112
|
return 0;
|
|
70
113
|
}
|
|
114
|
+
// bold-signal-card / aero-bubble / pastel-geometry / pastel-dreamy: plump
|
|
115
|
+
if (ctx.themeName === "bold-signal")
|
|
116
|
+
return 0.16;
|
|
117
|
+
if (ctx.themeName === "y2k-aero")
|
|
118
|
+
return 0.18;
|
|
119
|
+
if (ctx.themeName === "pastel-geometry")
|
|
120
|
+
return 0.18;
|
|
121
|
+
if (ctx.themeName === "pastel-dreamy")
|
|
122
|
+
return 0.22;
|
|
71
123
|
// scatterbrain-cork cards: border-radius 2px ≈ 0.02"
|
|
72
124
|
if (ctx.themeName === "scatterbrain")
|
|
73
125
|
return 0.02;
|
|
@@ -1785,7 +1837,26 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
1785
1837
|
}
|
|
1786
1838
|
}
|
|
1787
1839
|
if (theme === "bold-signal") {
|
|
1788
|
-
// Soft
|
|
1840
|
+
// Soft shadow stub + rounded card frame (bold-signal-card 0 24px 60px);
|
|
1841
|
+
// orange corner blot every slide; hero gets the focal panel.
|
|
1842
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
1843
|
+
x: 0.22,
|
|
1844
|
+
y: 0.22,
|
|
1845
|
+
w: ctx.width - 0.28,
|
|
1846
|
+
h: ctx.height - 0.28,
|
|
1847
|
+
fill: { color: "000000", transparency: 72 },
|
|
1848
|
+
line: { color: "000000", width: 0 },
|
|
1849
|
+
rectRadius: 0.16,
|
|
1850
|
+
});
|
|
1851
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
1852
|
+
x: 0.1,
|
|
1853
|
+
y: 0.1,
|
|
1854
|
+
w: ctx.width - 0.28,
|
|
1855
|
+
h: ctx.height - 0.28,
|
|
1856
|
+
fill: { color: ctx.colors.bg, transparency: 100 },
|
|
1857
|
+
line: { color: ctx.colors.border, width: 1 },
|
|
1858
|
+
rectRadius: 0.16,
|
|
1859
|
+
});
|
|
1789
1860
|
slide.addShape(ctx.shapeOval, {
|
|
1790
1861
|
x: -0.6,
|
|
1791
1862
|
y: ctx.height - 1.8,
|
|
@@ -1817,41 +1888,71 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
1817
1888
|
}
|
|
1818
1889
|
}
|
|
1819
1890
|
if (theme === "mat") {
|
|
1820
|
-
// Woodglow radials + hairline stubs (mat-woodglow
|
|
1891
|
+
// Woodglow radials + cream inset rim + hairline stubs (mat-woodglow).
|
|
1821
1892
|
slide.addShape(ctx.shapeOval, {
|
|
1822
|
-
x: ctx.width * 0.
|
|
1823
|
-
y: ctx.height * 0.
|
|
1824
|
-
w: ctx.width * 0.
|
|
1825
|
-
h: ctx.height * 0.
|
|
1826
|
-
fill: { color: ctx.colors.accent2, transparency:
|
|
1893
|
+
x: ctx.width * 0.55,
|
|
1894
|
+
y: ctx.height * 0.48,
|
|
1895
|
+
w: ctx.width * 0.58,
|
|
1896
|
+
h: ctx.height * 0.68,
|
|
1897
|
+
fill: { color: ctx.colors.accent2, transparency: 68 },
|
|
1827
1898
|
line: { color: ctx.colors.accent2, width: 0 },
|
|
1828
1899
|
});
|
|
1829
1900
|
slide.addShape(ctx.shapeOval, {
|
|
1830
|
-
x:
|
|
1831
|
-
y:
|
|
1832
|
-
w: ctx.width * 0.
|
|
1833
|
-
h: ctx.height * 0.
|
|
1834
|
-
fill: { color: ctx.colors.accent, transparency:
|
|
1901
|
+
x: ctx.width * 0.68,
|
|
1902
|
+
y: ctx.height * 0.62,
|
|
1903
|
+
w: ctx.width * 0.4,
|
|
1904
|
+
h: ctx.height * 0.48,
|
|
1905
|
+
fill: { color: ctx.colors.accent, transparency: 82 },
|
|
1835
1906
|
line: { color: ctx.colors.accent, width: 0 },
|
|
1836
1907
|
});
|
|
1908
|
+
slide.addShape(ctx.shapeOval, {
|
|
1909
|
+
x: -ctx.width * 0.1,
|
|
1910
|
+
y: -ctx.height * 0.14,
|
|
1911
|
+
w: ctx.width * 0.4,
|
|
1912
|
+
h: ctx.height * 0.45,
|
|
1913
|
+
fill: { color: ctx.colors.accent, transparency: 86 },
|
|
1914
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
1915
|
+
});
|
|
1916
|
+
// Cream inset rim (HTML inset box-shadow 0 0 0 1px cream@8%).
|
|
1917
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
1918
|
+
x: 0.1,
|
|
1919
|
+
y: 0.1,
|
|
1920
|
+
w: ctx.width - 0.2,
|
|
1921
|
+
h: ctx.height - 0.2,
|
|
1922
|
+
fill: { color: ctx.colors.bg, transparency: 100 },
|
|
1923
|
+
line: { color: "F0E8D2", width: 1 },
|
|
1924
|
+
rectRadius: 0,
|
|
1925
|
+
});
|
|
1837
1926
|
slide.addShape(ctx.shapeRoundRect, {
|
|
1838
1927
|
x: ctx.margin,
|
|
1839
1928
|
y: ctx.height * 0.12,
|
|
1840
|
-
w: 0.
|
|
1841
|
-
h: 0.
|
|
1929
|
+
w: 0.42,
|
|
1930
|
+
h: 0.025,
|
|
1842
1931
|
fill: { color: ctx.colors.accent },
|
|
1843
1932
|
line: { color: ctx.colors.accent, width: 0 },
|
|
1844
1933
|
rectRadius: 0,
|
|
1845
1934
|
});
|
|
1846
1935
|
slide.addShape(ctx.shapeRoundRect, {
|
|
1847
|
-
x: ctx.width - ctx.margin - 1.
|
|
1936
|
+
x: ctx.width - ctx.margin - 1.55,
|
|
1848
1937
|
y: ctx.height - 0.85,
|
|
1849
|
-
w: 1.
|
|
1850
|
-
h: 0.
|
|
1851
|
-
fill: { color: ctx.colors.accent, transparency:
|
|
1938
|
+
w: 1.55,
|
|
1939
|
+
h: 0.045,
|
|
1940
|
+
fill: { color: ctx.colors.accent, transparency: 12 },
|
|
1852
1941
|
line: { color: ctx.colors.accent, width: 0 },
|
|
1853
1942
|
rectRadius: 0,
|
|
1854
1943
|
});
|
|
1944
|
+
if (isHero) {
|
|
1945
|
+
// Mid-century accent block stub on heroes.
|
|
1946
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
1947
|
+
x: ctx.width - ctx.margin - 0.95,
|
|
1948
|
+
y: ctx.margin * 0.9,
|
|
1949
|
+
w: 0.95,
|
|
1950
|
+
h: 0.95,
|
|
1951
|
+
fill: { color: ctx.colors.accent, transparency: 78 },
|
|
1952
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
1953
|
+
rectRadius: 0,
|
|
1954
|
+
});
|
|
1955
|
+
}
|
|
1855
1956
|
}
|
|
1856
1957
|
if (theme === "electric-studio") {
|
|
1857
1958
|
// Hard slide frame (electric-studio-split border + shadow stand-in).
|
|
@@ -2677,7 +2778,7 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
2677
2778
|
});
|
|
2678
2779
|
}
|
|
2679
2780
|
if (theme === "neon-noir") {
|
|
2680
|
-
// Magenta glow
|
|
2781
|
+
// Magenta/cyan glow + cyan rim + rain scanlines + floor inset (neon-rain).
|
|
2681
2782
|
slide.addShape(ctx.shapeOval, {
|
|
2682
2783
|
x: ctx.width * 0.55,
|
|
2683
2784
|
y: -ctx.height * 0.2,
|
|
@@ -2694,20 +2795,50 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
2694
2795
|
fill: { color: ctx.colors.accent2, transparency: 70 },
|
|
2695
2796
|
line: { color: ctx.colors.accent2, width: 0 },
|
|
2696
2797
|
});
|
|
2697
|
-
|
|
2798
|
+
// Rain scanlines (HTML repeating-linear-gradient).
|
|
2799
|
+
for (let i = 0; i < 18; i++) {
|
|
2698
2800
|
slide.addShape(ctx.shapeRoundRect, {
|
|
2699
|
-
x: 0,
|
|
2700
|
-
y:
|
|
2701
|
-
w:
|
|
2702
|
-
h:
|
|
2703
|
-
fill: { color:
|
|
2704
|
-
line: { color:
|
|
2801
|
+
x: 0.08 + i * 0.72,
|
|
2802
|
+
y: 0,
|
|
2803
|
+
w: 0.035,
|
|
2804
|
+
h: ctx.height,
|
|
2805
|
+
fill: { color: "FFFFFF", transparency: 94 },
|
|
2806
|
+
line: { color: "FFFFFF", width: 0 },
|
|
2705
2807
|
rectRadius: 0,
|
|
2706
2808
|
});
|
|
2707
2809
|
}
|
|
2810
|
+
// Cyan rim frame (HTML border accent2).
|
|
2811
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
2812
|
+
x: 0.08,
|
|
2813
|
+
y: 0.08,
|
|
2814
|
+
w: ctx.width - 0.16,
|
|
2815
|
+
h: ctx.height - 0.16,
|
|
2816
|
+
fill: { color: ctx.colors.bg, transparency: 100 },
|
|
2817
|
+
line: { color: ctx.colors.accent2, width: 1.25 },
|
|
2818
|
+
rectRadius: 0,
|
|
2819
|
+
});
|
|
2820
|
+
// Floor inset cyan glow (HTML inset box-shadow) — always-on.
|
|
2821
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
2822
|
+
x: 0,
|
|
2823
|
+
y: ctx.height - 0.55,
|
|
2824
|
+
w: ctx.width,
|
|
2825
|
+
h: 0.55,
|
|
2826
|
+
fill: { color: ctx.colors.accent2, transparency: 88 },
|
|
2827
|
+
line: { color: ctx.colors.accent2, width: 0 },
|
|
2828
|
+
rectRadius: 0,
|
|
2829
|
+
});
|
|
2830
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
2831
|
+
x: 0,
|
|
2832
|
+
y: ctx.height - 0.1,
|
|
2833
|
+
w: ctx.width,
|
|
2834
|
+
h: 0.1,
|
|
2835
|
+
fill: { color: ctx.colors.accent2, transparency: isHero ? 28 : 42 },
|
|
2836
|
+
line: { color: ctx.colors.accent2, width: 0 },
|
|
2837
|
+
rectRadius: 0,
|
|
2838
|
+
});
|
|
2708
2839
|
}
|
|
2709
2840
|
if (theme === "vaporwave") {
|
|
2710
|
-
// Horizon grid
|
|
2841
|
+
// Horizon grid + pink sun + accent rim + horizon glow (vapor-horizon).
|
|
2711
2842
|
slide.addShape(ctx.shapeRoundRect, {
|
|
2712
2843
|
x: 0,
|
|
2713
2844
|
y: ctx.height * 0.55,
|
|
@@ -2738,9 +2869,68 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
2738
2869
|
rectRadius: 0,
|
|
2739
2870
|
});
|
|
2740
2871
|
}
|
|
2872
|
+
// Vertical grid stubs in the horizon band.
|
|
2873
|
+
for (let i = 1; i < 10; i++) {
|
|
2874
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
2875
|
+
x: (ctx.width / 10) * i,
|
|
2876
|
+
y: ctx.height * 0.55,
|
|
2877
|
+
w: 0.015,
|
|
2878
|
+
h: ctx.height * 0.45,
|
|
2879
|
+
fill: { color: ctx.colors.accent2, transparency: 62 },
|
|
2880
|
+
line: { color: ctx.colors.accent2, width: 0 },
|
|
2881
|
+
rectRadius: 0,
|
|
2882
|
+
});
|
|
2883
|
+
}
|
|
2884
|
+
// Horizon glow line (HTML ::after at ~48%).
|
|
2885
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
2886
|
+
x: ctx.width * 0.08,
|
|
2887
|
+
y: ctx.height * 0.48,
|
|
2888
|
+
w: ctx.width * 0.84,
|
|
2889
|
+
h: 0.04,
|
|
2890
|
+
fill: { color: ctx.colors.accent, transparency: 25 },
|
|
2891
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
2892
|
+
rectRadius: 0,
|
|
2893
|
+
});
|
|
2894
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
2895
|
+
x: ctx.width * 0.22,
|
|
2896
|
+
y: ctx.height * 0.485,
|
|
2897
|
+
w: ctx.width * 0.56,
|
|
2898
|
+
h: 0.025,
|
|
2899
|
+
fill: { color: ctx.colors.accent2, transparency: 20 },
|
|
2900
|
+
line: { color: ctx.colors.accent2, width: 0 },
|
|
2901
|
+
rectRadius: 0,
|
|
2902
|
+
});
|
|
2903
|
+
// Accent rim (HTML border).
|
|
2904
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
2905
|
+
x: 0.08,
|
|
2906
|
+
y: 0.08,
|
|
2907
|
+
w: ctx.width - 0.16,
|
|
2908
|
+
h: ctx.height - 0.16,
|
|
2909
|
+
fill: { color: ctx.colors.bg, transparency: 100 },
|
|
2910
|
+
line: { color: ctx.colors.accent, width: 1.1 },
|
|
2911
|
+
rectRadius: 0,
|
|
2912
|
+
});
|
|
2741
2913
|
}
|
|
2742
2914
|
if (theme === "y2k-aero") {
|
|
2743
|
-
//
|
|
2915
|
+
// Soft accent rim + soft shadow stub + glossy bubble ovals (aero-bubble).
|
|
2916
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
2917
|
+
x: 0.28,
|
|
2918
|
+
y: 0.28,
|
|
2919
|
+
w: ctx.width - 0.4,
|
|
2920
|
+
h: ctx.height - 0.4,
|
|
2921
|
+
fill: { color: ctx.colors.accent, transparency: 92 },
|
|
2922
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
2923
|
+
rectRadius: 0.12,
|
|
2924
|
+
});
|
|
2925
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
2926
|
+
x: 0.12,
|
|
2927
|
+
y: 0.12,
|
|
2928
|
+
w: ctx.width - 0.4,
|
|
2929
|
+
h: ctx.height - 0.4,
|
|
2930
|
+
fill: { color: ctx.colors.bg, transparency: 100 },
|
|
2931
|
+
line: { color: ctx.colors.accent, width: 1.1 },
|
|
2932
|
+
rectRadius: 0.12,
|
|
2933
|
+
});
|
|
2744
2934
|
slide.addShape(ctx.shapeOval, {
|
|
2745
2935
|
x: ctx.width * 0.65,
|
|
2746
2936
|
y: -ctx.height * 0.1,
|
|
@@ -3181,7 +3371,35 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
3181
3371
|
});
|
|
3182
3372
|
}
|
|
3183
3373
|
if (theme === "pastel-geometry") {
|
|
3184
|
-
//
|
|
3374
|
+
// Outer sky matte ring + soft shadow + vertical pastel edge pills
|
|
3375
|
+
// (pastel-geometry-pills box-shadow 0 0 0 22px var(--bg)).
|
|
3376
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
3377
|
+
x: 0,
|
|
3378
|
+
y: 0,
|
|
3379
|
+
w: ctx.width,
|
|
3380
|
+
h: ctx.height,
|
|
3381
|
+
fill: { color: ctx.colors.bg },
|
|
3382
|
+
line: { color: ctx.colors.bg, width: 0 },
|
|
3383
|
+
rectRadius: 0,
|
|
3384
|
+
});
|
|
3385
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
3386
|
+
x: 0.32,
|
|
3387
|
+
y: 0.32,
|
|
3388
|
+
w: ctx.width - 0.48,
|
|
3389
|
+
h: ctx.height - 0.48,
|
|
3390
|
+
fill: { color: ctx.colors.text, transparency: 94 },
|
|
3391
|
+
line: { color: ctx.colors.text, width: 0 },
|
|
3392
|
+
rectRadius: 0.24,
|
|
3393
|
+
});
|
|
3394
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
3395
|
+
x: 0.22,
|
|
3396
|
+
y: 0.22,
|
|
3397
|
+
w: ctx.width - 0.52,
|
|
3398
|
+
h: ctx.height - 0.52,
|
|
3399
|
+
fill: { color: ctx.colors.cardBg },
|
|
3400
|
+
line: { color: ctx.colors.border, width: 0.75 },
|
|
3401
|
+
rectRadius: 0.24,
|
|
3402
|
+
});
|
|
3185
3403
|
const pills = [
|
|
3186
3404
|
{ color: "F0B4D4" },
|
|
3187
3405
|
{ color: "A8D4C4" },
|
|
@@ -3203,16 +3421,6 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
3203
3421
|
rectRadius: 0.11,
|
|
3204
3422
|
});
|
|
3205
3423
|
}
|
|
3206
|
-
// Soft card-field wash so the sky matte reads behind content.
|
|
3207
|
-
slide.addShape(ctx.shapeRoundRect, {
|
|
3208
|
-
x: ctx.margin * 0.45,
|
|
3209
|
-
y: ctx.margin * 0.45,
|
|
3210
|
-
w: ctx.width - ctx.margin * 0.9,
|
|
3211
|
-
h: ctx.height - ctx.margin * 0.9,
|
|
3212
|
-
fill: { color: ctx.colors.cardBg, transparency: 35 },
|
|
3213
|
-
line: { color: ctx.colors.border, width: 0.75 },
|
|
3214
|
-
rectRadius: 0.28,
|
|
3215
|
-
});
|
|
3216
3424
|
}
|
|
3217
3425
|
if (theme === "8-bit-orbit") {
|
|
3218
3426
|
// Arcade scanlines + neon orbs + dual offset shadows (4px yellow + 8px pink)
|
|
@@ -3533,69 +3741,139 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
3533
3741
|
}
|
|
3534
3742
|
}
|
|
3535
3743
|
if (theme === "cobalt-grid") {
|
|
3536
|
-
// Blueprint-ish cobalt grid + corner hatch (cobalt-grid-paper).
|
|
3537
|
-
for (let i = 1; i <
|
|
3744
|
+
// Blueprint-ish cobalt grid + outer frame + diagonal corner hatch (cobalt-grid-paper).
|
|
3745
|
+
for (let i = 1; i < 18; i++) {
|
|
3538
3746
|
slide.addShape(ctx.shapeRoundRect, {
|
|
3539
|
-
x: (ctx.width /
|
|
3747
|
+
x: (ctx.width / 18) * i,
|
|
3540
3748
|
y: 0,
|
|
3541
|
-
w: 0.
|
|
3749
|
+
w: 0.012,
|
|
3542
3750
|
h: ctx.height,
|
|
3543
|
-
fill: { color: ctx.colors.accent, transparency:
|
|
3751
|
+
fill: { color: ctx.colors.accent, transparency: 78 },
|
|
3544
3752
|
line: { color: ctx.colors.accent, width: 0 },
|
|
3545
3753
|
rectRadius: 0,
|
|
3546
3754
|
});
|
|
3547
3755
|
}
|
|
3548
|
-
for (let i = 1; i <
|
|
3756
|
+
for (let i = 1; i < 11; i++) {
|
|
3549
3757
|
slide.addShape(ctx.shapeRoundRect, {
|
|
3550
3758
|
x: 0,
|
|
3551
|
-
y: (ctx.height /
|
|
3759
|
+
y: (ctx.height / 11) * i,
|
|
3552
3760
|
w: ctx.width,
|
|
3553
|
-
h: 0.
|
|
3554
|
-
fill: { color: ctx.colors.accent, transparency:
|
|
3761
|
+
h: 0.012,
|
|
3762
|
+
fill: { color: ctx.colors.accent, transparency: 78 },
|
|
3555
3763
|
line: { color: ctx.colors.accent, width: 0 },
|
|
3556
3764
|
rectRadius: 0,
|
|
3557
3765
|
});
|
|
3558
3766
|
}
|
|
3767
|
+
// Corner hatch wash + diagonal stubs (HTML ::before top-left gradients).
|
|
3559
3768
|
slide.addShape(ctx.shapeRoundRect, {
|
|
3560
|
-
x: ctx.width * 0.
|
|
3561
|
-
y: ctx.height * 0.
|
|
3562
|
-
w: ctx.width * 0.
|
|
3563
|
-
h: ctx.height * 0.
|
|
3564
|
-
fill: { color: ctx.colors.accent, transparency:
|
|
3769
|
+
x: ctx.width * 0.55,
|
|
3770
|
+
y: ctx.height * 0.52,
|
|
3771
|
+
w: ctx.width * 0.45,
|
|
3772
|
+
h: ctx.height * 0.48,
|
|
3773
|
+
fill: { color: ctx.colors.accent, transparency: 88 },
|
|
3565
3774
|
line: { color: ctx.colors.accent, width: 0 },
|
|
3566
3775
|
rectRadius: 0,
|
|
3567
3776
|
});
|
|
3777
|
+
for (let i = 0; i < 7; i++) {
|
|
3778
|
+
const t = i / 6;
|
|
3779
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
3780
|
+
x: ctx.width * (0.58 + t * 0.38),
|
|
3781
|
+
y: ctx.height * (0.95 - t * 0.42),
|
|
3782
|
+
w: 0.9,
|
|
3783
|
+
h: 0.018,
|
|
3784
|
+
fill: { color: ctx.colors.accent, transparency: 48 },
|
|
3785
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
3786
|
+
rectRadius: 0,
|
|
3787
|
+
});
|
|
3788
|
+
}
|
|
3789
|
+
// Quiet cobalt outer frame (HTML border accent@18%).
|
|
3790
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
3791
|
+
x: 0.08,
|
|
3792
|
+
y: 0.08,
|
|
3793
|
+
w: ctx.width - 0.16,
|
|
3794
|
+
h: ctx.height - 0.16,
|
|
3795
|
+
fill: { color: ctx.colors.bg, transparency: 100 },
|
|
3796
|
+
line: { color: ctx.colors.accent, width: 1.1 },
|
|
3797
|
+
rectRadius: 0,
|
|
3798
|
+
});
|
|
3568
3799
|
}
|
|
3569
3800
|
if (theme === "retro-arcade") {
|
|
3570
|
-
//
|
|
3571
|
-
for (let i = 0; i <
|
|
3801
|
+
// Dense scanlines + dual neon rail + rim + floor glow + neon orbs (scanline-neon).
|
|
3802
|
+
for (let i = 0; i < 14; i++) {
|
|
3572
3803
|
slide.addShape(ctx.shapeRoundRect, {
|
|
3573
3804
|
x: 0,
|
|
3574
|
-
y: 0.
|
|
3805
|
+
y: 0.18 + i * 0.52,
|
|
3575
3806
|
w: ctx.width,
|
|
3576
|
-
h: 0.
|
|
3577
|
-
fill: { color: "000000", transparency:
|
|
3807
|
+
h: 0.028,
|
|
3808
|
+
fill: { color: "000000", transparency: 74 },
|
|
3578
3809
|
line: { color: "000000", width: 0 },
|
|
3579
3810
|
rectRadius: 0,
|
|
3580
3811
|
});
|
|
3581
3812
|
}
|
|
3813
|
+
// Magenta → cyan top rail (HTML linear-gradient accent/accent2/accent).
|
|
3582
3814
|
slide.addShape(ctx.shapeRoundRect, {
|
|
3583
3815
|
x: 0,
|
|
3584
3816
|
y: 0,
|
|
3585
|
-
w: ctx.width,
|
|
3586
|
-
h: 0.
|
|
3817
|
+
w: ctx.width * 0.5,
|
|
3818
|
+
h: 0.07,
|
|
3587
3819
|
fill: { color: ctx.colors.accent },
|
|
3588
3820
|
line: { color: ctx.colors.accent, width: 0 },
|
|
3589
3821
|
rectRadius: 0,
|
|
3590
3822
|
});
|
|
3823
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
3824
|
+
x: ctx.width * 0.5,
|
|
3825
|
+
y: 0,
|
|
3826
|
+
w: ctx.width * 0.5,
|
|
3827
|
+
h: 0.07,
|
|
3828
|
+
fill: { color: ctx.colors.accent2 },
|
|
3829
|
+
line: { color: ctx.colors.accent2, width: 0 },
|
|
3830
|
+
rectRadius: 0,
|
|
3831
|
+
});
|
|
3591
3832
|
slide.addShape(ctx.shapeOval, {
|
|
3592
|
-
x: ctx.width - 2.
|
|
3593
|
-
y: -0.
|
|
3594
|
-
w: 2.
|
|
3595
|
-
h: 2.
|
|
3596
|
-
fill: { color: ctx.colors.accent2, transparency:
|
|
3833
|
+
x: ctx.width - 2.15,
|
|
3834
|
+
y: -0.45,
|
|
3835
|
+
w: 2.4,
|
|
3836
|
+
h: 2.4,
|
|
3837
|
+
fill: { color: ctx.colors.accent2, transparency: 66 },
|
|
3597
3838
|
line: { color: ctx.colors.accent2, width: 0 },
|
|
3598
3839
|
});
|
|
3840
|
+
slide.addShape(ctx.shapeOval, {
|
|
3841
|
+
x: -0.7,
|
|
3842
|
+
y: ctx.height - 1.9,
|
|
3843
|
+
w: 2.1,
|
|
3844
|
+
h: 2.1,
|
|
3845
|
+
fill: { color: ctx.colors.accent, transparency: 72 },
|
|
3846
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
3847
|
+
});
|
|
3848
|
+
// Cyan rim (HTML neon border feel).
|
|
3849
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
3850
|
+
x: 0.08,
|
|
3851
|
+
y: 0.08,
|
|
3852
|
+
w: ctx.width - 0.16,
|
|
3853
|
+
h: ctx.height - 0.16,
|
|
3854
|
+
fill: { color: ctx.colors.bg, transparency: 100 },
|
|
3855
|
+
line: { color: ctx.colors.accent2, width: 1.35 },
|
|
3856
|
+
rectRadius: 0,
|
|
3857
|
+
});
|
|
3858
|
+
// Floor neon inset glow.
|
|
3859
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
3860
|
+
x: 0,
|
|
3861
|
+
y: ctx.height - 0.42,
|
|
3862
|
+
w: ctx.width,
|
|
3863
|
+
h: 0.42,
|
|
3864
|
+
fill: { color: ctx.colors.accent, transparency: isHero ? 82 : 88 },
|
|
3865
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
3866
|
+
rectRadius: 0,
|
|
3867
|
+
});
|
|
3868
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
3869
|
+
x: 0,
|
|
3870
|
+
y: ctx.height - 0.08,
|
|
3871
|
+
w: ctx.width,
|
|
3872
|
+
h: 0.08,
|
|
3873
|
+
fill: { color: ctx.colors.accent2, transparency: isHero ? 35 : 48 },
|
|
3874
|
+
line: { color: ctx.colors.accent2, width: 0 },
|
|
3875
|
+
rectRadius: 0,
|
|
3876
|
+
});
|
|
3599
3877
|
}
|
|
3600
3878
|
if (theme === "brutalist-mono") {
|
|
3601
3879
|
// Dense mono grid + hard outer frame + 8px ink offset shadow (brutalist-grid).
|
|
@@ -3758,32 +4036,71 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
3758
4036
|
});
|
|
3759
4037
|
}
|
|
3760
4038
|
if (theme === "biennale-yellow") {
|
|
3761
|
-
//
|
|
4039
|
+
// Dense sun orbs + quiet indigo frame + top hairline + coral stub (biennale-yellow-sun).
|
|
3762
4040
|
slide.addShape(ctx.shapeOval, {
|
|
3763
|
-
x: ctx.width * 0.
|
|
3764
|
-
y: -ctx.height * 0.
|
|
3765
|
-
w: ctx.width * 0.
|
|
3766
|
-
h: ctx.height * 0.
|
|
3767
|
-
fill: { color: ctx.colors.accent, transparency:
|
|
4041
|
+
x: ctx.width * 0.55,
|
|
4042
|
+
y: -ctx.height * 0.22,
|
|
4043
|
+
w: ctx.width * 0.58,
|
|
4044
|
+
h: ctx.height * 0.62,
|
|
4045
|
+
fill: { color: ctx.colors.accent, transparency: 28 },
|
|
3768
4046
|
line: { color: ctx.colors.accent, width: 0 },
|
|
3769
4047
|
});
|
|
3770
4048
|
slide.addShape(ctx.shapeOval, {
|
|
3771
|
-
x: ctx.width * 0.
|
|
3772
|
-
y: ctx.height * 0.
|
|
3773
|
-
w: ctx.width * 0.
|
|
3774
|
-
h: ctx.height * 0.
|
|
3775
|
-
fill: { color: "F8F39B", transparency:
|
|
4049
|
+
x: ctx.width * 0.66,
|
|
4050
|
+
y: ctx.height * 0.04,
|
|
4051
|
+
w: ctx.width * 0.34,
|
|
4052
|
+
h: ctx.height * 0.38,
|
|
4053
|
+
fill: { color: "F8F39B", transparency: 40 },
|
|
3776
4054
|
line: { color: "F8F39B", width: 0 },
|
|
3777
4055
|
});
|
|
4056
|
+
slide.addShape(ctx.shapeOval, {
|
|
4057
|
+
x: ctx.width * 0.78,
|
|
4058
|
+
y: -0.2,
|
|
4059
|
+
w: ctx.width * 0.28,
|
|
4060
|
+
h: ctx.height * 0.28,
|
|
4061
|
+
fill: { color: ctx.colors.accent, transparency: 55 },
|
|
4062
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
4063
|
+
});
|
|
4064
|
+
// Quiet indigo outer frame (HTML border text@18%).
|
|
4065
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
4066
|
+
x: 0.1,
|
|
4067
|
+
y: 0.1,
|
|
4068
|
+
w: ctx.width - 0.2,
|
|
4069
|
+
h: ctx.height - 0.2,
|
|
4070
|
+
fill: { color: ctx.colors.bg, transparency: 100 },
|
|
4071
|
+
line: { color: ctx.colors.text, width: 1.1 },
|
|
4072
|
+
rectRadius: 0,
|
|
4073
|
+
});
|
|
3778
4074
|
slide.addShape(ctx.shapeRoundRect, {
|
|
3779
4075
|
x: ctx.margin,
|
|
3780
4076
|
y: 0.55,
|
|
3781
4077
|
w: ctx.width - ctx.margin * 2,
|
|
3782
|
-
h: 0.
|
|
4078
|
+
h: 0.018,
|
|
3783
4079
|
fill: { color: ctx.colors.text },
|
|
3784
4080
|
line: { color: ctx.colors.text, width: 0 },
|
|
3785
4081
|
rectRadius: 0,
|
|
3786
4082
|
});
|
|
4083
|
+
// Coral accent stub (accent2) — gallery counterweight to the sun.
|
|
4084
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
4085
|
+
x: ctx.width - ctx.margin - 1.15,
|
|
4086
|
+
y: ctx.height - 0.72,
|
|
4087
|
+
w: 1.15,
|
|
4088
|
+
h: 0.035,
|
|
4089
|
+
fill: { color: ctx.colors.accent2, transparency: 15 },
|
|
4090
|
+
line: { color: ctx.colors.accent2, width: 0 },
|
|
4091
|
+
rectRadius: 0,
|
|
4092
|
+
});
|
|
4093
|
+
if (isHero) {
|
|
4094
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
4095
|
+
x: ctx.margin,
|
|
4096
|
+
y: ctx.height - 0.72,
|
|
4097
|
+
w: 0.85,
|
|
4098
|
+
h: 0.035,
|
|
4099
|
+
fill: { color: ctx.colors.text, transparency: 35 },
|
|
4100
|
+
line: { color: ctx.colors.text, width: 0 },
|
|
4101
|
+
rectRadius: 0,
|
|
4102
|
+
});
|
|
4103
|
+
}
|
|
3787
4104
|
}
|
|
3788
4105
|
if (theme === "scatterbrain") {
|
|
3789
4106
|
// Cork wash + soft ink offset shadow + quiet frame + sticky notes + pins;
|
|
@@ -3978,7 +4295,21 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
3978
4295
|
}
|
|
3979
4296
|
}
|
|
3980
4297
|
if (theme === "peoples-platform") {
|
|
3981
|
-
// Cobalt top bar + amber footer stub + hard frame
|
|
4298
|
+
// Cobalt top bar + amber footer stub + hard frame + speckled wash
|
|
4299
|
+
// (peoples-platform-poster). Cards get 4px hard ink via cardStroke.
|
|
4300
|
+
// Quiet ink speckles (HTML radial-gradient tooth).
|
|
4301
|
+
for (let i = 0; i < 28; i++) {
|
|
4302
|
+
const col = i % 7;
|
|
4303
|
+
const row = Math.floor(i / 7);
|
|
4304
|
+
slide.addShape(ctx.shapeOval, {
|
|
4305
|
+
x: 0.45 + col * 1.75,
|
|
4306
|
+
y: 0.55 + row * 1.35,
|
|
4307
|
+
w: 0.06,
|
|
4308
|
+
h: 0.06,
|
|
4309
|
+
fill: { color: ctx.colors.text, transparency: 92 },
|
|
4310
|
+
line: { color: ctx.colors.text, width: 0 },
|
|
4311
|
+
});
|
|
4312
|
+
}
|
|
3982
4313
|
slide.addShape(ctx.shapeRoundRect, {
|
|
3983
4314
|
x: 0.08,
|
|
3984
4315
|
y: 0.08,
|
|
@@ -4337,48 +4668,62 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
4337
4668
|
});
|
|
4338
4669
|
}
|
|
4339
4670
|
if (theme === "broadside") {
|
|
4340
|
-
// Fire-orange left rail + corner
|
|
4671
|
+
// Fire-orange left rail + corner blast + hard ink frame + always-on top stub
|
|
4672
|
+
// (broadside-fire). Cards get hard ink strokes via cardStroke.
|
|
4341
4673
|
slide.addShape(ctx.shapeRoundRect, {
|
|
4342
4674
|
x: 0.1,
|
|
4343
4675
|
y: 0.1,
|
|
4344
4676
|
w: ctx.width - 0.2,
|
|
4345
4677
|
h: ctx.height - 0.2,
|
|
4346
4678
|
fill: { color: ctx.colors.bg, transparency: 100 },
|
|
4347
|
-
line: { color: ctx.colors.text, width: 1.
|
|
4679
|
+
line: { color: ctx.colors.text, width: 1.75 },
|
|
4348
4680
|
rectRadius: 0,
|
|
4349
4681
|
});
|
|
4682
|
+
// HTML ::before is 10px ≈ 0.14".
|
|
4350
4683
|
slide.addShape(ctx.shapeRoundRect, {
|
|
4351
4684
|
x: 0,
|
|
4352
4685
|
y: 0,
|
|
4353
|
-
w: 0.
|
|
4686
|
+
w: 0.14,
|
|
4354
4687
|
h: ctx.height,
|
|
4355
4688
|
fill: { color: ctx.colors.accent },
|
|
4356
4689
|
line: { color: ctx.colors.accent, width: 0 },
|
|
4357
4690
|
rectRadius: 0,
|
|
4358
4691
|
});
|
|
4359
4692
|
slide.addShape(ctx.shapeRoundRect, {
|
|
4360
|
-
x: ctx.width - 1.
|
|
4361
|
-
y: ctx.height - 1.
|
|
4362
|
-
w: 1.
|
|
4363
|
-
h: 1.
|
|
4693
|
+
x: ctx.width - 1.7,
|
|
4694
|
+
y: ctx.height - 1.7,
|
|
4695
|
+
w: 1.85,
|
|
4696
|
+
h: 1.85,
|
|
4697
|
+
fill: { color: ctx.colors.accent },
|
|
4698
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
4699
|
+
rectRadius: 0,
|
|
4700
|
+
});
|
|
4701
|
+
// Always-on top stub (poster energy on body slides too).
|
|
4702
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
4703
|
+
x: ctx.margin + 0.08,
|
|
4704
|
+
y: 0.42,
|
|
4705
|
+
w: isHero ? 1.35 : 0.95,
|
|
4706
|
+
h: 0.065,
|
|
4364
4707
|
fill: { color: ctx.colors.accent },
|
|
4365
4708
|
line: { color: ctx.colors.accent, width: 0 },
|
|
4366
4709
|
rectRadius: 0,
|
|
4367
4710
|
});
|
|
4368
4711
|
if (isHero) {
|
|
4712
|
+
// Second fire bar for manifesto covers.
|
|
4369
4713
|
slide.addShape(ctx.shapeRoundRect, {
|
|
4370
|
-
x: ctx.margin,
|
|
4371
|
-
y: 0.
|
|
4372
|
-
w:
|
|
4373
|
-
h: 0.
|
|
4374
|
-
fill: { color: ctx.colors.
|
|
4375
|
-
line: { color: ctx.colors.
|
|
4714
|
+
x: ctx.margin + 0.08,
|
|
4715
|
+
y: 0.55,
|
|
4716
|
+
w: 0.55,
|
|
4717
|
+
h: 0.04,
|
|
4718
|
+
fill: { color: ctx.colors.text },
|
|
4719
|
+
line: { color: ctx.colors.text, width: 0 },
|
|
4376
4720
|
rectRadius: 0,
|
|
4377
4721
|
});
|
|
4378
4722
|
}
|
|
4379
4723
|
}
|
|
4380
4724
|
if (theme === "pink-script") {
|
|
4381
|
-
// Dual inset frames + accent hairline;
|
|
4725
|
+
// Dual inset frames + always-on accent hairline; soft wash on heroes
|
|
4726
|
+
// (pink-script-afterhours — HTML ::after hairline is not hero-gated).
|
|
4382
4727
|
if (isHero) {
|
|
4383
4728
|
slide.addShape(ctx.shapeOval, {
|
|
4384
4729
|
x: ctx.width * 0.55,
|
|
@@ -4409,17 +4754,16 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
4409
4754
|
line: { color: "F5EDF1", width: 1 },
|
|
4410
4755
|
rectRadius: 0,
|
|
4411
4756
|
});
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
}
|
|
4757
|
+
// Always-on accent hairline (HTML ::after).
|
|
4758
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
4759
|
+
x: ctx.width - 2.0,
|
|
4760
|
+
y: ctx.height - 0.85,
|
|
4761
|
+
w: 1.35,
|
|
4762
|
+
h: 0.04,
|
|
4763
|
+
fill: { color: ctx.colors.accent },
|
|
4764
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
4765
|
+
rectRadius: 0,
|
|
4766
|
+
});
|
|
4423
4767
|
}
|
|
4424
4768
|
if (theme === "retro-windows") {
|
|
4425
4769
|
// Win95 beveled chrome: white top/left + black right/bottom outer bevel,
|
|
@@ -5197,31 +5541,66 @@ function paintSlideChrome(slide, ctx, data) {
|
|
|
5197
5541
|
});
|
|
5198
5542
|
}
|
|
5199
5543
|
if (theme === "pastel-dreamy") {
|
|
5200
|
-
// Soft cloud ovals +
|
|
5544
|
+
// Soft cloud ovals + plump inset frame + soft shadow stub (pastel-cloud).
|
|
5545
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
5546
|
+
x: 0.38,
|
|
5547
|
+
y: 0.36,
|
|
5548
|
+
w: ctx.width - 0.5,
|
|
5549
|
+
h: ctx.height - 0.5,
|
|
5550
|
+
fill: { color: ctx.colors.text, transparency: 94 },
|
|
5551
|
+
line: { color: ctx.colors.text, width: 0 },
|
|
5552
|
+
rectRadius: 0.24,
|
|
5553
|
+
});
|
|
5201
5554
|
slide.addShape(ctx.shapeOval, {
|
|
5202
|
-
x: -ctx.width * 0.
|
|
5203
|
-
y: -ctx.height * 0.
|
|
5204
|
-
w: ctx.width * 0.
|
|
5205
|
-
h: ctx.height * 0.
|
|
5206
|
-
fill: { color: ctx.colors.accent2, transparency:
|
|
5555
|
+
x: -ctx.width * 0.08,
|
|
5556
|
+
y: -ctx.height * 0.12,
|
|
5557
|
+
w: ctx.width * 0.5,
|
|
5558
|
+
h: ctx.height * 0.5,
|
|
5559
|
+
fill: { color: ctx.colors.accent2, transparency: 70 },
|
|
5207
5560
|
line: { color: ctx.colors.accent2, width: 0 },
|
|
5208
5561
|
});
|
|
5209
5562
|
slide.addShape(ctx.shapeOval, {
|
|
5210
|
-
x: ctx.width * 0.
|
|
5211
|
-
y: ctx.height * 0.
|
|
5212
|
-
w: ctx.width * 0.
|
|
5213
|
-
h: ctx.height * 0.
|
|
5214
|
-
fill: { color: ctx.colors.accent, transparency:
|
|
5563
|
+
x: ctx.width * 0.52,
|
|
5564
|
+
y: -ctx.height * 0.02,
|
|
5565
|
+
w: ctx.width * 0.48,
|
|
5566
|
+
h: ctx.height * 0.45,
|
|
5567
|
+
fill: { color: ctx.colors.accent, transparency: 74 },
|
|
5215
5568
|
line: { color: ctx.colors.accent, width: 0 },
|
|
5216
5569
|
});
|
|
5217
5570
|
slide.addShape(ctx.shapeOval, {
|
|
5218
|
-
x: ctx.width * 0.
|
|
5219
|
-
y: ctx.height * 0.
|
|
5220
|
-
w: ctx.width * 0.
|
|
5221
|
-
h: ctx.height * 0.
|
|
5222
|
-
fill: { color: ctx.colors.accent2, transparency:
|
|
5571
|
+
x: ctx.width * 0.3,
|
|
5572
|
+
y: ctx.height * 0.58,
|
|
5573
|
+
w: ctx.width * 0.48,
|
|
5574
|
+
h: ctx.height * 0.48,
|
|
5575
|
+
fill: { color: ctx.colors.accent2, transparency: 84 },
|
|
5223
5576
|
line: { color: ctx.colors.accent2, width: 0 },
|
|
5224
5577
|
});
|
|
5578
|
+
slide.addShape(ctx.shapeOval, {
|
|
5579
|
+
x: ctx.width * 0.72,
|
|
5580
|
+
y: ctx.height * 0.7,
|
|
5581
|
+
w: ctx.width * 0.32,
|
|
5582
|
+
h: ctx.height * 0.35,
|
|
5583
|
+
fill: { color: ctx.colors.accent, transparency: 86 },
|
|
5584
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
5585
|
+
});
|
|
5586
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
5587
|
+
x: 0.22,
|
|
5588
|
+
y: 0.22,
|
|
5589
|
+
w: ctx.width - 0.44,
|
|
5590
|
+
h: ctx.height - 0.44,
|
|
5591
|
+
fill: { color: ctx.colors.bg, transparency: 100 },
|
|
5592
|
+
line: { color: ctx.colors.border, width: 1 },
|
|
5593
|
+
rectRadius: 0.22,
|
|
5594
|
+
});
|
|
5595
|
+
slide.addShape(ctx.shapeRoundRect, {
|
|
5596
|
+
x: ctx.margin,
|
|
5597
|
+
y: ctx.height - 0.58,
|
|
5598
|
+
w: 0.9,
|
|
5599
|
+
h: 0.03,
|
|
5600
|
+
fill: { color: ctx.colors.accent, transparency: 25 },
|
|
5601
|
+
line: { color: ctx.colors.accent, width: 0 },
|
|
5602
|
+
rectRadius: 0.015,
|
|
5603
|
+
});
|
|
5225
5604
|
}
|
|
5226
5605
|
if (theme === "vellum") {
|
|
5227
5606
|
// Soft colorfield wash + teal accent orb (vellum-colorfield).
|