Skip to content

fix: architecture diagram unreadable in dark mode#3752

Merged
bartlomieju merged 1 commit intomainfrom
fix/architecture-dark-mode
Apr 7, 2026
Merged

fix: architecture diagram unreadable in dark mode#3752
bartlomieju merged 1 commit intomainfrom
fix/architecture-dark-mode

Conversation

@bartlomieju
Copy link
Copy Markdown
Member

Summary

  • The inline HTML/CSS flow diagram in docs/concepts/architecture was broken — marked's smartypants text transforms corrupted the <style> block, stripping all styling
  • Replaced with a standalone SVG (www/static/docs/architecture-flow-v2.svg) using theme-neutral mid-gray colors that are readable on both light and dark backgrounds

Test plan

  • Open /docs/concepts/architecture in light mode — diagram should be clearly visible
  • Switch to dark mode — diagram should remain readable
  • Verify all flow steps and descriptions render correctly in the SVG

🤖 Generated with Claude Code

The inline HTML/CSS diagram in docs/concepts/architecture was unreadable
in dark mode because marked's smartypants corrupted the <style> block.
Replace with a standalone SVG that uses theme-neutral colors, readable
on both light and dark backgrounds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bartlomieju bartlomieju merged commit 895bcac into main Apr 7, 2026
15 of 16 checks passed
@bartlomieju bartlomieju deleted the fix/architecture-dark-mode branch April 7, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant