Update theme-base.js

This commit is contained in:
Lishid
2020-10-22 22:17:43 -04:00
committed by GitHub
parent 521bfc66f0
commit 69113a988f

View File

@@ -64,7 +64,8 @@ class Theme {
this.defaultLinkColor = this.defaultLinkColor || this.lineColor;
this.titleColor = this.titleColor || this.tertiaryTextColor;
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;
/* Sequence Diagram variables */