mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 21:39:40 +02:00
#1542 Adding khroma for color manipulations
This commit is contained in:
@@ -539,10 +539,9 @@ function initialize(options) {
|
||||
if (options && options.theme && themes[options.theme]) {
|
||||
// Todo merge with user options
|
||||
options.themeVariables = themes[options.theme];
|
||||
} else {
|
||||
if (options) options.themeVariables = themes.default;
|
||||
}
|
||||
// else {
|
||||
// if (options) options.themeVariables = themes.default;
|
||||
// }
|
||||
|
||||
const config = typeof options === 'object' ? setSiteConfig(options) : getSiteConfig();
|
||||
|
||||
|
Reference in New Issue
Block a user