Hex colors are not currently supported as prefixColor value. However chalk package which is used internally has support for hex colors. It should be fixed by the following code?
let color;
if(command.prefixColor.startsWith("#")) {
color = chalk.hex(command.prefixColor)
} else {
color = _.get(chalk, command.prefixColor, chalk.gray.dim);
}
Happy to open a PR!
Hex colors are not currently supported as
prefixColorvalue. Howeverchalkpackage which is used internally has support for hex colors. It should be fixed by the following code?Happy to open a PR!