Stylize Mermaid diagrams #66
Labels
effort: high
Large or difficult task.
priority: 3
Nice-to-have. Willing to ship without this.
type: style
Changes that do not affect the meaning of the code.
work: complicated
Sense-analyze-respond. The relationship between cause and effect requires analysis or expertise.
In #62, @maxdesalle attempted to stylize the Mermaid.js diagrams by adding an orange stroke. His attempt didn't pan out because the task involves catering for both the light and the dark theme of the website.
The docs for custom styling in Mermaid.js flowcharts can be found here:
https://mermaid.js.org/syntax/flowchart.html#styling-and-classes
In particular, we may be interested in the Css classes section - which seems to make it possible to apply a global style using the
.cssClass > rect
CSS selector.The text was updated successfully, but these errors were encountered: