#1542 Adding khroma for color manipulations

This commit is contained in:
Knut Sveidqvist
2020-07-18 15:15:50 +02:00
parent e8af778962
commit 08064c4243
12 changed files with 58 additions and 287 deletions

View File

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