Skip to content

Commit 45f61d1

Browse files
RedbackThomsonnegz
authored andcommitted
Fix box and edge colours of mermaid diagrams
Signed-off-by: Nic Cope <[email protected]>
1 parent db98c82 commit 45f61d1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

themes/geekboot/assets/scss/_mermaid.scss

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,14 @@
1010
stroke: var(--body-font-color) !important;
1111
}
1212

13-
14-
}
13+
.cluster {
14+
&>rect {
15+
fill: color-mix(in srgb,
16+
color-mix(in srgb, var(--hint-note-background) 50%, #ffffff 50%) 80%,
17+
transparent 100%) !important;
18+
}
19+
span {
20+
color: var(--body-font-color) !important;
21+
}
22+
}
23+
}

0 commit comments

Comments
 (0)