Skip to content

Add DiagramForge Cyberpunk and Synthwave themes#142

Merged
jongalloway merged 1 commit intomainfrom
diagramforge-themes
Mar 23, 2026
Merged

Add DiagramForge Cyberpunk and Synthwave themes#142
jongalloway merged 1 commit intomainfrom
diagramforge-themes

Conversation

@jongalloway
Copy link
Copy Markdown
Owner

Summary

Adds two new dark themes shared with DiagramForge, plus a script fix to ensure themed smoke tests work out of the box.

Relates to #141.

New Themes

Cyberpunk (14-diagramforge-cyberpunk)

Neon-noir palette — near-black #0A0A1A background with hot-pink (#FF2D95), cyan (#00F0FF), and purple (#8B5CF6) accents.

Class variants: lead, neon, accent, compact

Synthwave (15-diagramforge-synthwave)

Retro-future palette — deep purple #1A0030 background with hot-pink (#FF6EC7), sunset-orange (#FFB347), and violet (#B24BF3) accents.

Class variants: lead, sunset, accent, compact

Script Fix

Invoke-PptxSmokeTest.ps1 now auto-detects companion CSS when -ThemeCss is not provided — matching the existing behavior in Invoke-AllPptxSmokeTests.ps1 and Generate-SamplePptxSet.ps1. Without this, running Invoke-PptxSmokeTest.ps1 -InputMarkdown samples/themes/14-diagramforge-cyberpunk.md would produce an unstyled black-on-white deck.

Files Changed

File Change
samples/themes/14-diagramforge-cyberpunk.css New — Cyberpunk theme CSS
samples/themes/14-diagramforge-cyberpunk.md New — 6-slide smoke deck
samples/themes/15-diagramforge-synthwave.css New — Synthwave theme CSS
samples/themes/15-diagramforge-synthwave.md New — 6-slide smoke deck
samples/README.md Updated — added entries 6–7 to Theme Decks section
scripts/Invoke-PptxSmokeTest.ps1 Fixed — companion CSS auto-detection

Validation

Both themes pass the full smoke pipeline:

  • PPTX generation
  • Open XML validation
  • Contrast audit (52 color pairs each)
  • PowerPoint open + round-trip resave

…n CSS in smoke test

New themes:
- 14-diagramforge-cyberpunk: neon-noir dark theme (near-black bg, hot-pink/cyan/purple accents)
- 15-diagramforge-synthwave: retro-future dark theme (deep-purple bg, sunset-orange/hot-pink accents)

Each includes a CSS file and companion smoke-test Markdown deck with lead, accent,
neon/sunset, and compact class variants.

Fix: Invoke-PptxSmokeTest.ps1 now auto-detects a companion .css file when -ThemeCss
is not explicitly provided, matching the behavior already present in
Invoke-AllPptxSmokeTests.ps1 and Generate-SamplePptxSet.ps1.
@jongalloway jongalloway merged commit 59751eb into main Mar 23, 2026
5 checks passed
@jongalloway jongalloway deleted the diagramforge-themes branch March 23, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant