TemplateProcessor: fix user-defined template generated colors from predefined colorschemes

This commit is contained in:
Ly-sec
2025-11-30 14:51:34 +01:00
parent 946c8883ca
commit 94132dce6d

View File

@@ -437,7 +437,7 @@ Singleton {
"colors": palette
}, null, 2) + "\n";
script += "EOF\n";
script += ` matugen json '${tempJsonPathEsc}' --config '${userConfigPath}' --mode ${mode}\n`;
script += ` matugen json '${tempJsonPathEsc}' --config '${userConfigPath}' --mode ${mode} --type ${Settings.data.colorSchemes.matugenSchemeType}\n`;
script += "fi";
return script;