Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

fix: editorial_bleed fades hold behind their own text slots; visual_review --pages takes comma lists

hugohe3012a54f56d24
diff --git a/skills/ppt-master/scripts/visual_review.py b/skills/ppt-master/scripts/visual_review.py
index d6f9b051..ba64fa4b 100644
--- a/skills/ppt-master/scripts/visual_review.py
+++ b/skills/ppt-master/scripts/visual_review.py
@@ -245,7 +245,8 @@ def discover_pages(project_path: Path, requested: list[str] | None) -> list[str]
if not requested:
return all_svgs
selected: list[str] = []
- for token in requested:
+ tokens = [part for item in requested for part in item.split(',') if part]
+ for token in tokens:
match = next((n for n in all_svgs if n.startswith(token) or n == token), None)
if match is None:
raise ValueError(f'no SVG matches token {token!r} in {svg_dir}')
@@ -310,7 +311,8 @@ def main() -> int:
parser.add_argument(
'--pages', nargs='+', default=None,
help='Page tokens to render (default: all SVGs in svg_output/). '
- "Accepts '02', '02_three_steps', or '02_three_steps.svg'.",
+ "Accepts '02', '02_three_steps', or '02_three_steps.svg'; several "
+ "pages are space- or comma-separated (--pages 02 04 or --pages 02,04).",
)
parser.add_argument(
'--server-url', default=None,
diff --git a/skills/ppt-master/templates/layouts/editorial_bleed/templates/01_hero_full.svg b/skills/ppt-master/templates/layouts/editorial_bleed/templates/01_hero_full.svg
index 99738ed8..9749c983 100644
--- a/skills/ppt-master/templates/layouts/editorial_bleed/templates/01_hero_full.svg
+++ b/skills/ppt-master/templates/layouts/editorial_bleed/templates/01_hero_full.svg
@@ -5,8 +5,8 @@
<defs>
<linearGradient id="hero-full-scrim-paint" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#000000" stop-opacity="0"/>
- <stop offset="0.55" stop-color="#000000" stop-opacity="0.30"/>
- <stop offset="1" stop-color="#000000" stop-opacity="0.78"/>
+ <stop offset="0.43" stop-color="#000000" stop-opacity="0.60"/>
+ <stop offset="1" stop-color="#000000" stop-opacity="0.80"/>
</linearGradient>
</defs>
<rect id="master-background" x="0" y="0" width="1280" height="720" fill="#0F172A"
diff --git a/skills/ppt-master/templates/layouts/editorial_bleed/templates/02_hero_side_scrim.svg b/skills/ppt-master/templates/layouts/editorial_bleed/templates/02_hero_side_scrim.svg
index 54b46d02..bd8fa731 100644
--- a/skills/ppt-master/templates/layouts/editorial_bleed/templates/02_hero_side_scrim.svg
+++ b/skills/ppt-master/templates/layouts/editorial_bleed/templates/02_hero_side_scrim.svg
@@ -5,7 +5,7 @@
<defs>
<linearGradient id="hero-side-scrim-paint" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#000000" stop-opacity="0.88"/>
- <stop offset="0.55" stop-color="#000000" stop-opacity="0.30"/>
+ <stop offset="0.82" stop-color="#000000" stop-opacity="0.62"/>
<stop offset="1" stop-color="#000000" stop-opacity="0"/>
</linearGradient>
</defs>
diff --git a/skills/ppt-master/templates/layouts/editorial_bleed/templates/07_triptych.svg b/skills/ppt-master/templates/layouts/editorial_bleed/templates/07_triptych.svg
index 976b9cfe..21ae4122 100644
--- a/skills/ppt-master/templates/layouts/editorial_bleed/templates/07_triptych.svg
+++ b/skills/ppt-master/templates/layouts/editorial_bleed/templates/07_triptych.svg
@@ -5,10 +5,12 @@
<defs>
<linearGradient id="triptych-top-paint" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#000000" stop-opacity="0.78"/>
+ <stop offset="0.68" stop-color="#000000" stop-opacity="0.62"/>
<stop offset="1" stop-color="#000000" stop-opacity="0"/>
</linearGradient>
<linearGradient id="triptych-bottom-paint" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#000000" stop-opacity="0"/>
+ <stop offset="0.43" stop-color="#000000" stop-opacity="0.62"/>
<stop offset="1" stop-color="#000000" stop-opacity="0.80"/>
</linearGradient>
</defs>
diff --git a/skills/ppt-master/templates/layouts/editorial_bleed/templates/08_image_grid_four.svg b/skills/ppt-master/templates/layouts/editorial_bleed/templates/08_image_grid_four.svg
index 34b82f0b..56f8b57f 100644
--- a/skills/ppt-master/templates/layouts/editorial_bleed/templates/08_image_grid_four.svg
+++ b/skills/ppt-master/templates/layouts/editorial_bleed/templates/08_image_grid_four.svg
@@ -5,6 +5,7 @@
<defs>
<linearGradient id="grid-scrim-paint" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#000000" stop-opacity="0"/>
+ <stop offset="0.23" stop-color="#000000" stop-opacity="0.60"/>
<stop offset="1" stop-color="#000000" stop-opacity="0.80"/>
</linearGradient>
</defs>
diff --git a/skills/ppt-master/templates/layouts/editorial_bleed/templates/10_closing_full.svg b/skills/ppt-master/templates/layouts/editorial_bleed/templates/10_closing_full.svg
index 250ea0bb..841187fe 100644
--- a/skills/ppt-master/templates/layouts/editorial_bleed/templates/10_closing_full.svg
+++ b/skills/ppt-master/templates/layouts/editorial_bleed/templates/10_closing_full.svg
@@ -5,6 +5,7 @@
<defs>
<linearGradient id="closing-full-scrim-paint" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#000000" stop-opacity="0"/>
+ <stop offset="0.40" stop-color="#000000" stop-opacity="0.60"/>
<stop offset="1" stop-color="#000000" stop-opacity="0.82"/>
</linearGradient>
</defs>
diff --git a/skills/ppt-master/templates/layouts/editorial_bleed/templates/design_spec.md b/skills/ppt-master/templates/layouts/editorial_bleed/templates/design_spec.md
index eceaa543..4ef33719 100644
--- a/skills/ppt-master/templates/layouts/editorial_bleed/templates/design_spec.md
+++ b/skills/ppt-master/templates/layouts/editorial_bleed/templates/design_spec.md
@@ -49,7 +49,7 @@ remain downstream decisions.
|---|---|
| No safe frame for pictures | Every `picture` slot reaches at least one canvas edge: full canvas on `hero_full`, `hero_side_scrim`, `chapter_full`, `quote_over_image`, and `closing_full`; an exact half on the two `split_bleed` variants; equal vertical bands on `triptych`; four `640×360` quadrants on `image_grid_four`. Text keeps an 80 px margin, pictures keep none. Insetting a picture inside a margin turns this system into an ordinary content layout. |
| Scrims are Slide-local, by PowerPoint's rule | PowerPoint paints Layout shapes beneath Slide content, and the picture is Slide content, so an overlay cannot be a Layout atom. Every scrim is therefore a Slide-local `data-pptx-role="decoration"` rect placed after its picture slot in document order. It travels as a prototype pattern, not as Layout-inherited chrome, and a page authored from this system must carry its own scrim. |
-| Four overlay techniques | `hero_full` and `closing_full` use a bottom vertical fade (black `0 → 0.78 / 0.82`). `hero_side_scrim` uses a horizontal directional scrim (`0.88 → 0.30 → 0`) so the picture stays readable on the open side. `chapter_full` uses a full-canvas graded wash (`0.44 → 0.68`) that darkens toward its text. `quote_over_image` uses a raised-floor radial vignette (`0.42 → 0.72`) so a centered quote holds contrast while the frame edges fall away. |
+| Four overlay techniques | `hero_full` and `closing_full` use a bottom vertical fade (black `0 → 0.60 → 0.80 / 0.82`, the middle stop sitting where the title slot begins). `hero_side_scrim` uses a horizontal directional scrim (`0.88 → 0.62 → 0`, holding through the text slots' right edge) so the picture stays readable on the open side. Every fade keeps at least `0.60` behind its own text slot and falls away only past it. `chapter_full` uses a full-canvas graded wash (`0.44 → 0.68`) that darkens toward its text. `quote_over_image` uses a raised-floor radial vignette (`0.42 → 0.72`) so a centered quote holds contrast while the frame edges fall away. |
| Overlays are gradients, never solid rects | A full-canvas solid `<rect>` is reserved for background ownership in a structured package and is compiled into the background plane, which sits below every picture. Every overlay here therefore carries a gradient paint even where the intent reads as a flat wash. Replacing one with a solid fill plus `fill-opacity` inverts its stacking and fails template validation. |
| Dark base plane | The single Master carries a dark background. The reusable structural fact is that the base plane is dark because text sits on imagery and reverses out of it; the prototype hex is replaceable preview paint, not an identity value. It is visible only where no picture covers it: the text half of the split pages, and all of `full_statement`. |
| A page without a picture | `full_statement` carries no picture slot. A system built entirely on imagery needs one page that stops, or every page competes for the same attention. |