Skip to content

Redraw diagrams in the page's colours after a theme switch - #5

Merged
Gabriel-Darbord merged 1 commit into
mainfrom
diagram-theme-switch
Nov 23, 2026
Merged

Gabriel-Darbord merged 1 commit into
mainfrom
diagram-theme-switch

Conversation

@Gabriel-Darbord

Copy link
Copy Markdown
Member

Switching from dark to light left diagrams with dark labels: Mermaid keeps the variables an earlier initialize set.
Each redraw now sets every variable from the page's colours, in both themes.

🤖 Generated with Claude Code

Mermaid keeps the variables an earlier initialize set, so a diagram drawn dark and switched to light kept dark labels; each redraw now sets every variable, from the page's colours, in both themes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Gabriel-Darbord
Gabriel-Darbord merged commit 48259f0 into main Nov 23, 2026
2 checks passed
@Gabriel-Darbord
Gabriel-Darbord deleted the diagram-theme-switch branch November 23, 2026 17:18
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