Skip to content

Commit eca5e6c

Browse files
fix mermaid in dark mode
1 parent 809234e commit eca5e6c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

site/styles.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ figcaption {
3030
text-align: center;
3131
}
3232

33-
body.quarto-dark .js-plotly-plot {
33+
body.quarto-dark .js-plotly-plot,
34+
body.quarto-dark .mermaid {
3435
filter: invert(100%) hue-rotate(180deg);
3536
}
3637

@@ -85,4 +86,4 @@ table {
8586
/* Add space between main headings and descriptions */
8687
#title-block-header.quarto-title-block.default .quarto-title .title {
8788
margin-bottom: 0.5em;
88-
}
89+
}

0 commit comments

Comments
 (0)