mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 16:59:48 +02:00
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:
@@ -13,6 +13,7 @@ const getStyles = (options) =>
|
|||||||
|
|
||||||
.legend {
|
.legend {
|
||||||
fill: ${options.textColor};
|
fill: ${options.textColor};
|
||||||
|
font-family: ${options.fontFamily};
|
||||||
}
|
}
|
||||||
|
|
||||||
.label text {
|
.label text {
|
||||||
|
Reference in New Issue
Block a user