mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-03 14:19:38 +02:00
#5432 Theme based text color for labels
This commit is contained in:
@@ -92,7 +92,11 @@ const getStyles: DiagramStylesProvider = (options) =>
|
||||
.edge {
|
||||
fill: none;
|
||||
}
|
||||
.mindmap-node-label {
|
||||
.cluster-label, .label {
|
||||
color: ${options.textColor};
|
||||
fill: ${options.textColor};
|
||||
}
|
||||
.kanban-label {
|
||||
dy: 1em;
|
||||
alignment-baseline: middle;
|
||||
text-anchor: middle;
|
||||
|
Reference in New Issue
Block a user