| name | mermaid-diagrams |
| version | 1.0.0 |
| description | Create Mermaid diagrams following hyperfrontend standards. Use when adding diagrams to documentation, creating flowcharts, sequence diagrams, or architecture visualizations. Enforces theme configuration and bans hardcoded colors. |
Mermaid Diagrams
All diagrams MUST include theme config. No hardcoded colors. No ASCII art.
Required Config Block
---
config:
theme: base
themeVariables:
fontSize: 12px
---
flowchart TD
A[Component] --> B[Component]
Banned: style A fill:#hex or any inline color styling.
Exception: classDef for layout only (no colors):
classDef cleanWide fill:none,stroke:none,text-align:left
ASCII Art Ban
ESLint rule no-ascii-art-diagrams bans box-drawing: ┌┐└┘│─├┤┬┴┼
Use Mermaid instead of ASCII diagrams.