You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Configurable diagram colours: [tool.erdify-studio.colors] (accent, header, header_text, background, all optional #rrggbb) colours the canvas (light mode),
the exported SVGs and Download SVG. Enum boxes derive from them, low contrast between text and background logs a warning, and changing colours makes committed SVGs
outdated until the next export or Save (#48). Every other diagram colour is
configurable too: text, text_muted, border, border_strong, background_muted;
the canvas's NEW chip text follows the accent (#67).
A Colours panel in studio previews diagram colours on the canvas without writing
anything and copies them as a [tool.erdify-studio.colors] table (Copy TOML). The
server resolves them (POST /api/colors); GET /api/diagrams gains colorConfig, the
keys set in pyproject.toml (#68).
Fixed
Docs site: the icon and wordmark on the Brand page load again. A docs hook
(scripts/mkdocs_raw_html_urls.py) resolves relative src/srcset in raw HTML for
the page URL, and a broken one fails the strict build. The wordmark follows the site's
light/dark toggle instead of the operating system's setting.
A refused HEAD or OPTIONS request with a body (answered 501) closes cleanly too, so
the client reads the response instead of a connection reset.
A connection that stays silent for 10 s (no request, or a body that never arrives
after its Content-Length) is closed instead of holding a server thread forever.