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