From 3c7fd9561767ee6375e5b9cb7f727d71ad6da51c Mon Sep 17 00:00:00 2001 From: yari-dewalt Date: Mon, 4 Nov 2024 10:15:51 -0800 Subject: [PATCH] Remove black stroke from lollipops so it matches edge paths --- cypress/platform/yari.html | 4 ++++ .../mermaid/src/rendering-util/rendering-elements/markers.js | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cypress/platform/yari.html b/cypress/platform/yari.html index 501541c3b..ed3dac504 100644 --- a/cypress/platform/yari.html +++ b/cypress/platform/yari.html @@ -603,6 +603,10 @@
+          ---
+            config:
+              theme: dark
+          ---
           classDiagram
             test ()--() test2
         
diff --git a/packages/mermaid/src/rendering-util/rendering-elements/markers.js b/packages/mermaid/src/rendering-util/rendering-elements/markers.js index b2592e20e..d54356a6c 100644 --- a/packages/mermaid/src/rendering-util/rendering-elements/markers.js +++ b/packages/mermaid/src/rendering-util/rendering-elements/markers.js @@ -130,7 +130,6 @@ const lollipop = (elem, type, id) => { .attr('markerHeight', 240) .attr('orient', 'auto') .append('circle') - .attr('stroke', 'black') .attr('fill', 'transparent') .attr('cx', 7) .attr('cy', 7) @@ -147,7 +146,6 @@ const lollipop = (elem, type, id) => { .attr('markerHeight', 240) .attr('orient', 'auto') .append('circle') - .attr('stroke', 'black') .attr('fill', 'transparent') .attr('cx', 7) .attr('cy', 7)