#1542 Base theme for simple custom themeing

This commit is contained in:
Knut Sveidqvist
2020-07-20 14:13:05 +02:00
parent dba579b546
commit 1302addcdd
13 changed files with 195 additions and 37 deletions

View File

@@ -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;