Skip to content

Commit

Permalink
Merge pull request #4929 from Mister-Hope/patch-1
Browse files Browse the repository at this point in the history
fix(class): avoid duplicate definition of fill
  • Loading branch information
sidharthv96 authored Oct 11, 2023
2 parents 12a4707 + 444e81a commit 380aa94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/mermaid/src/diagrams/class/styles.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const getStyles = (options) =>
`g.classGroup text {
fill: ${options.nodeBorder};
fill: ${options.classText};
fill: ${options.nodeBorder || options.classText};
stroke: none;
font-family: ${options.fontFamily};
font-size: 10px;
Expand Down

0 comments on commit 380aa94

Please sign in to comment.