mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
Update theme-base.js
This commit is contained in:
@@ -63,8 +63,8 @@ class Theme {
|
|||||||
this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor;
|
this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor;
|
||||||
this.defaultLinkColor = this.defaultLinkColor || this.lineColor;
|
this.defaultLinkColor = this.defaultLinkColor || this.lineColor;
|
||||||
this.titleColor = this.titleColor || this.tertiaryTextColor;
|
this.titleColor = this.titleColor || this.tertiaryTextColor;
|
||||||
this.edgeLabelBackground = this.edgeLabelBackground ||
|
this.edgeLabelBackground =
|
||||||
(this.darkMode ? darken(this.secondaryColor, 30) : this.secondaryColor);
|
this.edgeLabelBackground || (this.darkMode ? darken(this.secondaryColor, 30) : this.secondaryColor);
|
||||||
this.nodeTextColor = this.nodeTextColor || this.primaryTextColor;
|
this.nodeTextColor = this.nodeTextColor || this.primaryTextColor;
|
||||||
/* Sequence Diagram variables */
|
/* Sequence Diagram variables */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user