Merge pull request #6229 from mermaid-js/patch/font-family-legend-user-diagram

Set custom font family for legend in user diagrams.
This commit is contained in:
Ashish Jain
2025-01-28 10:30:20 +01:00
committed by GitHub

View File

@@ -13,6 +13,7 @@ const getStyles = (options) =>
.legend {
fill: ${options.textColor};
font-family: ${options.fontFamily};
}
.label text {