Skip to content

Commit 96e2119

Browse files
authored
Fixed text color for notes in diagrams in dark mode (#4518)
fixes #4517
1 parent 941d634 commit 96e2119

File tree

1 file changed

+5
-0
lines changed
  • src/assets/javascripts/components/content/code/mermaid

1 file changed

+5
-0
lines changed

src/assets/javascripts/components/content/code/mermaid/index.css

+5
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,11 @@ line {
346346
stroke: none;
347347
}
348348

349+
/* make statically colored note nodes use a statically color text */
350+
.noteText > tspan {
351+
fill: #000;
352+
}
353+
349354
/* Sequence arrow head */
350355
#arrowhead path {
351356
fill: var(--md-mermaid-edge-color);

0 commit comments

Comments
 (0)