mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
#1865 Additional styling fixes
This commit is contained in:
parent
7cb46ffa18
commit
9ec76f7ecb
@ -3,9 +3,16 @@ const getStyles = options =>
|
||||
font-family: ${options.fontFamily};
|
||||
color: ${options.nodeTextColor || options.textColor};
|
||||
}
|
||||
.cluster-label text {
|
||||
fill: ${options.titleColor};
|
||||
}
|
||||
.cluster-label span {
|
||||
color: ${options.titleColor};
|
||||
}
|
||||
|
||||
.label text {
|
||||
.label text,span {
|
||||
fill: ${options.nodeTextColor || options.textColor};
|
||||
color: ${options.nodeTextColor || options.textColor};
|
||||
}
|
||||
|
||||
.node rect,
|
||||
@ -55,11 +62,6 @@ const getStyles = options =>
|
||||
stroke-width: 1px;
|
||||
}
|
||||
|
||||
.cluster text,span {
|
||||
fill: ${options.titleColor};
|
||||
color: ${options.titleColor};
|
||||
}
|
||||
|
||||
div.mermaidTooltip {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
|
Loading…
x
Reference in New Issue
Block a user