#1542 Setting theme options as the regular options

This commit is contained in:
Knut Sveidqvist
2020-07-16 23:39:38 +02:00
parent 8c0e022b44
commit fd4240b774
17 changed files with 477 additions and 1450 deletions

View File

@@ -1,23 +1,4 @@
const options = {
mainBkg: '#ECECFF',
secondBkg: '#ffffde',
lineColor: '#333333',
border1: '#CCCCFF',
border2: '#aaaa33',
arrowheadColor: '#333333',
/* Flowchart variables */
nodeBkg: 'mainBkg',
nodeBorder: '#9370DB',
clusterBkg: 'secondBkg',
clusterBorder: 'border2',
defaultLinkColor: 'lineColor',
titleColor: '#333',
edgeLabelBackground: '#e8e8e8'
};
const getStyles = () =>
const getStyles = options =>
`.label {
font-family: 'trebuchet ms', verdana, arial;
font-family: var(--mermaid-font-family);