Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update Mermaid to 11.* #7475

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Update Mermaid to 11.* #7475

merged 1 commit into from
Aug 24, 2024

Conversation

manselmi
Copy link
Contributor

Bump the major version of Mermaid from 10 to 11.

Supported diagram types (flowcharts, sequence diagrams, state diagrams, class diagrams and entity-relationship diagrams) all seem to render the same as the ones here, in both dark and light modes.

@@ -68,7 +68,7 @@ marker {

/* Flowchart edge label */
.edgeLabel,
.edgeLabel rect {
.edgeLabel p {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made this change in order for the edge labels in this flowchart to have their background look the same as the diagram backgroud (in both dark and light modes). I know little about CSS and HTML - I'm not sure if this change breaks anything outside of my limited testing.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think we might need this change, or edge labels are not readable in dark mode. It looks like they changed the rect to p, so this change should be okay. We'll find out as we go whether we need more changes.

@squidfunk squidfunk merged commit d3b1792 into squidfunk:master Aug 24, 2024
@squidfunk
Copy link
Owner

Thanks for the PR! LGTM.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants