mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-14 01:34:19 +01:00
fix(class): avoid duplicate definition of fill
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
const getStyles = (options) =>
|
const getStyles = (options) =>
|
||||||
`g.classGroup text {
|
`g.classGroup text {
|
||||||
fill: ${options.nodeBorder};
|
fill: ${options.nodeBorder || options.classText};
|
||||||
fill: ${options.classText};
|
|
||||||
stroke: none;
|
stroke: none;
|
||||||
font-family: ${options.fontFamily};
|
font-family: ${options.fontFamily};
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
|
|||||||
Reference in New Issue
Block a user