mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
Set custom font family for legend in user diagrams.
This commit is contained in:
@@ -13,6 +13,8 @@ const getStyles = (options) =>
|
||||
|
||||
.legend {
|
||||
fill: ${options.textColor};
|
||||
font-family: ${options.fontFamily};
|
||||
font-size: ${options.textSize};
|
||||
}
|
||||
|
||||
.label text {
|
||||
|
Reference in New Issue
Block a user