Skip to content

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.

/* 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.

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.

2 participants