Merge pull request #1743 from lishid/patch-1

Fixed bad tertiary operator
This commit is contained in:
Knut Sveidqvist
2020-10-31 11:05:50 +01:00
committed by GitHub

View File

@@ -64,9 +64,8 @@ class Theme {
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 this.edgeLabelBackground ||
? darken(this.secondaryColor, 30) (this.darkMode ? darken(this.secondaryColor, 30) : this.secondaryColor);
: this.secondaryColor;
this.nodeTextColor = this.nodeTextColor || this.primaryTextColor; this.nodeTextColor = this.nodeTextColor || this.primaryTextColor;
/* Sequence Diagram variables */ /* Sequence Diagram variables */