Flowchart: Not able to set style for dotted/Thick links through themes or themeCSS #935
Labels
Area: Development
Graph: Flow
Retained
Nonperishable
Type: Bug / Error
Something isn't working or is incorrect
Describe the bug
FlowChart: Not able to set style the styles for dotted/think links through themes or by specifying styles though
themeCSS
initialize optionMermaid version 8.2.3
Dotted link
Thick link
To Reproduce
Code:
Theme: default
or Go to the Mermaid Editor default theme
Now change the theme to
dark
Theme: dark
Mermaid editor dark theme
Observe the color of dotted link. It is not changing across themes. This is resulting in issue where back-ground is also dark ( dark theme)
Expected behavior
The style for dotted/thick links IMO we should have different style for these links in dark theme We should also have it exposed as a separate css class name to that it is customizable through
themeCSS
option.Desktop (please complete the following information):
Additional context
Looks like the styles are hard coded for dotted/thick links.
Snippet
/// https://github.com/knsv/mermaid/blob/master/src/diagrams/flowchart/flowRenderer.js (line: 193)
The text was updated successfully, but these errors were encountered: