diff --git a/src/svg/helper.ts b/src/svg/helper.ts index de2a9ab0..de5b25b2 100644 --- a/src/svg/helper.ts +++ b/src/svg/helper.ts @@ -17,7 +17,7 @@ const mathRound = Math.round; export function normalizeColor(color: string): { color: string; opacity: number; } { if (process.env.NODE_ENV !== 'production') { if (!color || color === 'none' || color === 'transparent') { - console.warn(`'${color}' is an illegal value for transparency in SVG, please use 'rgba(r,g,b,0)' instead.`); + console.warn(`'${color}' is not recommended value for transparency in SVG, please use 'rgba(r,g,b,0)' instead.`); } } @@ -197,4 +197,4 @@ export const encodeBase64 = (function () { } return null; }; -})(); \ No newline at end of file +})();