--- name: blueprinter description: Generate technical diagrams using HTML/CSS in Flat Engineering Blueprint style. Use when the user wants to create architecture diagrams, system diagrams, flowcharts, or technical specification sheets that look like engineering blueprints. Triggers on requests for flat diagrams, blueprint-style visualizations, or technical drawings. --- # Blueprinter Generate technical diagrams using HTML/CSS following the "Flat Engineering Blueprint" style guidelines. ## Core Philosophy Precise, Objective, High Data-Ink Ratio. The output should look like a technical specification sheet or an architectural diagram, NOT a marketing landing page. ## Visual Rules ### 1. No Decorations - NO drop shadows - NO gradients - NO glassmorphism/blur - NO rounded buttons ### 2. Flat & Outlined - Use 1px or 2px solid borders for structure - Use white backgrounds for content blocks ### 3. Monochrome Base | Element | Color | |---------|-------| | Background | Light Gray (#f8fafc) | | Canvas | White (#ffffff) with Slate Border (#cbd5e1) | | Text (Main) | High contrast Black (#0f172a) | | Text (Sub) | Slate Gray (#64748b) | | Accent | Use BLACK or ONE semantic color (e.g., Red for Error) sparingly | ### 4. Typography - Headings/Labels: Sans-serif (Inter/Helvetica) - Data/Paths/Code: Monospace (JetBrains Mono/Consolas) ### 5. Layout Structure - The diagram must be contained within a `diagram-canvas` (a bordered box with padding) - Header: Title + Uppercase Subtitle, separated by a solid bottom border - Grid/Flexbox alignment: Everything must be strictly aligned ### 6. Elements - **Connectors**: Thin, straight or orthogonal lines. Dashed lines for abstract relationships. - **Icons**: Simple stroke SVG icons (no fill or complex details) - **Badges**: Outlined or solid black/gray blocks. Small font size. ## CSS Variable Reference ```css :root { --c-bg: #f8fafc; /* Outer Background */ --c-canvas: #ffffff; /* Diagram Background */ --c-border: #cbd5e1; /* Slate-300 */ --c-text-main: #0f172a; /* Slate-900 */ --c-text-sub: #64748b; /* Slate-500 */ --font-ui: 'Inter', sans-serif; --font-mono: 'JetBrains Mono', monospace; } ``` ## HTML Structure Template ```html [Diagram Title]
[Diagram Title]
[Diagram Type / Version]
``` ## Usage Guidelines 1. **Always use the CSS variables** - never hardcode colors 2. **Keep it flat** - no shadows, no gradients, no blur effects 3. **Use monospace for data** - any technical values, paths, codes should use `--font-mono` 4. **Align strictly** - use CSS Grid or Flexbox with consistent gaps 5. **Connect with lines** - use SVG for connectors between components 6. **Minimal icons** - if icons are needed, use simple stroke-only SVGs ## Example: Simple System Diagram ```html
System Architecture
v1.0 / Overview
Client
Web App
API
REST Gateway
Database
PostgreSQL
```