mermaid/src/themes/mermaid.scss

60 lines
955 B
SCSS
Raw Normal View History

2020-07-16 20:27:42 +02:00
// @import 'flowchart';
2018-03-12 20:10:33 +08:00
@import 'sequence';
@import 'gantt';
@import 'class';
@import 'git';
2019-09-11 21:20:28 +02:00
@import 'pie';
@import 'state';
2019-10-12 16:53:21 +02:00
// .composit {
// fill: white;
// border-bottom: 1px
// }
:root {
--mermaid-font-family: '"trebuchet ms", verdana, arial';
font-family: '"trebuchet ms", verdana, arial';
font-family: var(--mermaid-font-family);
font-size: 16px;
}
2019-10-12 16:53:21 +02:00
/* Classes common for multiple diagrams */
2020-06-19 10:52:20 +02:00
.error-icon {
fill: $errorBkgColor;
}
.error-text {
fill: $errorTextColor;
stroke: $errorTextColor;
}
.edge-thickness-normal {
// stroke: $lineColor;
stroke-width: 2px;
}
.edge-thickness-thick {
// stroke: $lineColor;
stroke-width: 3.5px
}
.edge-pattern-solid {
stroke-dasharray: 0;
}
.edge-pattern-dashed{
stroke-dasharray: 3;
}
.edge-pattern-dotted {
stroke-dasharray: 2;
}
.marker {
fill: $lineColor;
}
.marker.cross {
stroke: $lineColor;
}
svg {
font-family: var(--mermaid-font-family);
font-size: 24px;
}