Skip to content

Commit

Permalink
Merge pull request #6229 from mermaid-js/patch/font-family-legend-use…
Browse files Browse the repository at this point in the history
…r-diagram

Set custom font family for legend in user diagrams.
  • Loading branch information
ashishjain0512 authored Jan 28, 2025
2 parents e2de552 + 5e9c887 commit 8dd0e7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mermaid/src/diagrams/user-journey/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const getStyles = (options) =>
.legend {
fill: ${options.textColor};
font-family: ${options.fontFamily};
}
.label text {
Expand Down

0 comments on commit 8dd0e7a

Please sign in to comment.