removed # from color validation

This commit is contained in:
jash
2018-10-08 19:40:44 +02:00
committed by kexkey
parent 8c8f15022f
commit ba2d2a66f7

View File

@@ -112,7 +112,7 @@ module.exports = class extends Generator {
}
_colorValidator(color) {
if( !validator.isHexColor(color) ) {
if( !validator.isHexadecimal(color) ) {
throw new Error('Not a hex color.');
}
return true;