Skip to content

Commit 8a04830

Browse files
committed
improve mermaid node text color
1 parent 3465a8e commit 8a04830

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/css/custom.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,13 @@ html[data-theme='dark'] {
340340
border-color: transparent transparent transparent var(--docs-color-text-100) !important;
341341
}
342342

343+
/* Mermaid fixes */
344+
345+
[id^="mermaid-svg-"] .nodeLabel {
346+
color: var(--docs-color-text) !important;
347+
}
348+
349+
343350
/* Search customization */
344351

345352
.DocSearch-Button-Key {
@@ -395,3 +402,5 @@ html[data-theme='dark'] {
395402
transform: rotate(360deg);
396403
}
397404
}
405+
406+

0 commit comments

Comments
 (0)