Skip to content

fix: stop emitting custom CSS classes to support dark theme renderings#50

Merged
floodfx merged 1 commit into
mainfrom
feat/issue-40-remove-custom-css
May 22, 2026
Merged

fix: stop emitting custom CSS classes to support dark theme renderings#50
floodfx merged 1 commit into
mainfrom
feat/issue-40-remove-custom-css

Conversation

@floodfx
Copy link
Copy Markdown
Owner

@floodfx floodfx commented May 22, 2026

This PR fixes Issue #40 by removing custom CSS classes and classDefs from the generated Mermaid diagram in ToMermaid. By removing the custom styling, we allow rendering themes (like light/dark themes in GitHub) to style the node elements automatically, fixing readability issues where dark text fell on pale backgrounds under dark mode.

@floodfx floodfx merged commit 33d897f into main May 22, 2026
2 checks passed
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