mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
fix: define arrowheadColor
for theme-base
Define `arrowheadColor` as `invert(this.background)` in `theme-base.js`, as it's currently `undefined`, which causes CSS issues when using `theme-base`. I've picked `invert(this.background)` so that it matches the default value of `lineColor`.
This commit is contained in:
parent
7566b5620e
commit
54f827d850
@ -46,6 +46,7 @@ class Theme {
|
||||
this.secondaryTextColor = this.secondaryTextColor || invert(this.secondaryColor);
|
||||
this.tertiaryTextColor = this.tertiaryTextColor || invert(this.tertiaryColor);
|
||||
this.lineColor = this.lineColor || invert(this.background);
|
||||
this.arrowheadColor = this.arrowheadColor || invert(this.background);
|
||||
this.textColor = this.textColor || this.primaryTextColor;
|
||||
|
||||
/* Flowchart variables */
|
||||
|
Loading…
x
Reference in New Issue
Block a user