mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
Adding styling
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const getStyles = () =>
|
||||
const getStyles = options =>
|
||||
`
|
||||
.commit-id,
|
||||
.commit-msg,
|
||||
@@ -8,6 +8,17 @@ const getStyles = () =>
|
||||
font-family: 'trebuchet ms', verdana, arial;
|
||||
font-family: var(--mermaid-font-family);
|
||||
}
|
||||
.branch {
|
||||
stroke-width: 10;
|
||||
}
|
||||
.branch0 { stroke: ${options.fillType0}; }
|
||||
.branch1 { stroke: ${options.fillType1}; }
|
||||
.branch2 { stroke: ${options.fillType2}; }
|
||||
.branch3 { stroke: ${options.fillType3}; }
|
||||
.branch4 { stroke: ${options.fillType4}; }
|
||||
.branch5 { stroke: ${options.fillType5}; }
|
||||
.branch6 { stroke: ${options.fillType6}; }
|
||||
.branch7 { stroke: ${options.fillType7}; }
|
||||
`;
|
||||
|
||||
export default getStyles;
|
||||
|
Reference in New Issue
Block a user