From 1fa84a30c933eae2bf02cb74d3bfa3a6c0802778 Mon Sep 17 00:00:00 2001 From: Valentin Valls Date: Sun, 2 Oct 2022 17:07:34 +0200 Subject: [PATCH] Fill inheritance arrow with background color --- packages/mermaid/src/diagrams/class/styles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mermaid/src/diagrams/class/styles.js b/packages/mermaid/src/diagrams/class/styles.js index 9e7665c58..9dcda70f5 100644 --- a/packages/mermaid/src/diagrams/class/styles.js +++ b/packages/mermaid/src/diagrams/class/styles.js @@ -105,13 +105,13 @@ g.classGroup line { } #extensionStart, .extension { - fill: ${options.lineColor} !important; + fill: ${options.mainBkg} !important; stroke: ${options.lineColor} !important; stroke-width: 1; } #extensionEnd, .extension { - fill: ${options.lineColor} !important; + fill: ${options.mainBkg} !important; stroke: ${options.lineColor} !important; stroke-width: 1; }