Diagrams
Visual reference diagrams for Baseleg. All diagrams are rendered as inline HTML — no SVG files or external assets required.
How to update diagrams
All diagrams are inline HTML written directly in Markdown files under docs/ux/diagrams/. To update a diagram:
- Edit the HTML in the relevant
.mdfile. - Use the CSS variables from the docs theme (
--docs-primary,--docs-secondary,--docs-border,--docs-surface-2) so diagrams stay on-theme automatically. - Verify the build renders correctly:
pnpm --filter @baseleg/docs build.
Adding a new diagram type (e.g. a DSL like Mermaid) requires an ADR — rendering must stay stable for GitHub Pages builds.