From 65d47dea24bcc6e074c84b7d3c2febe0ccbe1b36 Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Mon, 23 Sep 2024 14:57:18 +0200 Subject: [PATCH] Fix for issues with comment shapes in neo-dark --- packages/mermaid/src/themes/theme-neo-dark.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/mermaid/src/themes/theme-neo-dark.js b/packages/mermaid/src/themes/theme-neo-dark.js index 0cb6f37c0..c9a5ef420 100644 --- a/packages/mermaid/src/themes/theme-neo-dark.js +++ b/packages/mermaid/src/themes/theme-neo-dark.js @@ -46,8 +46,8 @@ class Theme { this.fontSize = '10px'; // Neo-specific - this.nodeBorder = 'none'; - this.stateBorder = 'none'; + // this.nodeBorder = 'none'; + // this.stateBorder = 'none'; this.useGradient = true; this.gradientStart = '#0042eb'; @@ -90,7 +90,7 @@ class Theme { /* Flowchart variables */ this.nodeBkg = this.nodeBkg || this.primaryColor; this.mainBkg = this.mainBkg || this.primaryColor; - this.nodeBorder = this.nodeBorder || this.primaryBorderColor; + this.nodeBorder = this.nodeBorder || this.border1; this.clusterBkg = this.clusterBkg || this.tertiaryColor; this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor; this.defaultLinkColor = this.defaultLinkColor || this.lineColor;