#1542 Styling for all diagram types

This commit is contained in:
Knut Sveidqvist
2020-07-17 15:57:02 +02:00
parent f9667cd80f
commit 8d076efd71
21 changed files with 1103 additions and 39 deletions

View File

@@ -1,7 +1,6 @@
const getStyles = options =>
`.label {
font-family: 'trebuchet ms', verdana, arial;
font-family: var(--mermaid-font-family);
font-family: ${options.fontFamily};
color: #333;
}
@@ -63,8 +62,7 @@ const getStyles = options =>
text-align: center;
max-width: 200px;
padding: 2px;
font-family: 'trebuchet ms', verdana, arial;
font-family: var(--mermaid-font-family);
font-family: ${options.fontFamily};
font-size: 12px;
background: ${options.secondBkg};
border: 1px solid ${options.border2};