Skip to content

Commit 67a0611

Browse files
authored
Improve MermaidJS architecture diagram readability (#577)
Make it easier for docs users to read service labels in MermaidJS architecture diagrams when an arrow passes beneath them. Edit the global CSS stylesheet to: - Lighten edges in MermaidJS architecture diagrams - Increase Mermaid service and group label font weight
1 parent 1eea735 commit 67a0611

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/styles/global.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,18 @@ h6 {
106106
line-height: 1.66667;
107107
}
108108
}
109+
110+
/* MermaidJS diagrams*/
111+
svg g.architecture-service text tspan,
112+
svg g.architecture-groups text tspan {
113+
font-weight: 900;
114+
}
115+
116+
svg g.architecture-edges {
117+
path {
118+
stroke: var(--color-light-gray) !important;
119+
}
120+
polygon {
121+
fill: var(--color-light-gray) !important;
122+
}
123+
}

0 commit comments

Comments
 (0)