AI Agent Skill to generate and render beautiful Mermaid diagrams as SVG or terminal ASCII — 15 themes, 6 diagram types, batch CLI, no browser.
JavaScript agent-skillsai-agentsascii-artclaude-codecodexcursordiagram-generatordocumentationflowchartmermaidmermaid-diagramskillssvg
Pretty Mermaid Theme Gallery
Use this gallery to compare every built-in theme against the same flowchart. Light themes work well for print and white documentation surfaces; dark themes work well for developer tools, dark READMEs, and presentations. The shared Mermaid source is available in assets/theme_gallery/source.mmd.
Regenerate all previews after a theme or renderer change:
npm run gallery
Light themes
zinc-light |
tokyo-night-light |
|---|---|
catppuccin-latte |
nord-light |
|---|---|
github-light |
solarized-light |
|---|---|
Dark themes
zinc-dark |
tokyo-night |
|---|---|
tokyo-night-storm |
catppuccin-mocha |
|---|---|
nord |
dracula |
|---|---|
github-dark |
solarized-dark |
|---|---|
one-dark |
|
|---|---|
Custom colors
Use a built-in theme as a starting point or supply explicit colors:
node scripts/render.mjs \
--input diagram.mmd \
--output custom.svg \
--bg '#0f172a' \
--fg '#e2e8f0' \
--accent '#38bdf8' \
--line '#818cf8'
See the theme reference for every color role and selection guidance.