From 3dc0cfb10bf279c5d224251c3af13b6843b62aab Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Tue, 16 May 2023 10:13:57 +0000
Subject: [PATCH] move mermaid styles to own module

---
 assets/sass/_components.sass |   17 -----------------
 assets/sass/_mermaid.sass    |   16 ++++++++++++++++
 2 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/assets/sass/_components.sass b/assets/sass/_components.sass
index 8c59793..bdcb13e 100644
--- a/assets/sass/_components.sass
+++ b/assets/sass/_components.sass
@@ -321,20 +321,3 @@
     background-size: 12%
     background-position: 50% 50%
     background-repeat: no-repeat
-
-.mermaid
-  --theme: darkgoldenrod
-  background-color: transparent !important
-  margin-bottom: 2.5rem
-  svg
-    margin: 0 auto
-    display: block
-  .actor, .labelBox, .classGroup rect
-    fill: var(--theme) !important
-    stroke: var(--theme) !important
-  .messageText, tspan, text
-    fill: var(--text) !important
-    stroke: var(--text) !important
-  .messageLine0, .loopLine
-    stroke: var(--theme) !important
-    fill: var(--theme) !important
diff --git a/assets/sass/_mermaid.sass b/assets/sass/_mermaid.sass
new file mode 100644
index 0000000..62a7a9f
--- /dev/null
+++ b/assets/sass/_mermaid.sass
@@ -0,0 +1,16 @@
+.mermaid
+  --theme: darkgoldenrod
+  background-color: transparent !important
+  margin-bottom: 2.5rem
+  svg
+    margin: 0 auto
+    display: block
+  .actor, .labelBox, .classGroup rect
+    fill: var(--theme) !important
+    stroke: var(--theme) !important
+  .messageText, tspan, text
+    fill: var(--text) !important
+    stroke: var(--text) !important
+  .messageLine0, .loopLine
+    stroke: var(--theme) !important
+    fill: var(--theme) !important

--
Gitblit v1.10.0