mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-25 07:04:37 +01:00
#1542 Base theme for simple custom themeing
This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
const getStyles = () =>
|
||||
Base theme for cusom themeingconst getStyles = options =>
|
||||
`
|
||||
.entityBox {
|
||||
fill: ${options.mainBkg};
|
||||
stroke: ${options.nodeBorder};
|
||||
}
|
||||
|
||||
.relationshipLabelBox {
|
||||
fill: ${options.edgeLabelBackground};
|
||||
fillopactity: 0;
|
||||
background-color: ${options.edgeLabelBackground};
|
||||
rect {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export default getStyles;
|
||||
|
||||
Reference in New Issue
Block a user