#5432 Theme based text color for labels

This commit is contained in:
Knut Sveidqvist
2024-10-28 11:51:44 +01:00
parent e07e9b9daf
commit d790e353b0
2 changed files with 21 additions and 8 deletions

View File

@@ -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;