Skip to content

Commit 83a3d08

Browse files
authored
Fix mermaid diagrams in light/dark mode (#718)
* add mermaid sheets Signed-off-by: Pete Lumbis <[email protected]> * add styling to mermaid diagrams for dark/light mode. Resolves #592 Signed-off-by: Pete Lumbis <[email protected]> --------- Signed-off-by: Pete Lumbis <[email protected]>
1 parent c9b8afb commit 83a3d08

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.mermaid{
2+
fill: var(--body-font-color) !important;
3+
4+
.messageText, .loopText>tspan, .marker, .marker.cross{
5+
color: var(--body-font-color) !important;
6+
fill: var(--body-font-color) !important;
7+
}
8+
9+
.flowchart-link{
10+
stroke: var(--body-font-color) !important;
11+
}
12+
13+
14+
}

themes/geekboot/assets/scss/docs.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,5 @@
4949
@import "crds";
5050
/* purgecss end ignore */
5151
@import "skippy";
52-
@import "fonts";
52+
@import "fonts";
53+
@import "mermaid";

0 commit comments

Comments
 (0)