2 Commits

Author SHA1 Message Date
b9c4626a30 1.0.5 2017-01-21 20:30:57 +01:00
aeac61774f improve colors 2017-01-21 20:30:53 +01:00
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -9,7 +9,7 @@ let colorTranslator = (colorArg) => {
case 'black': case 'black':
return { r: 0, g: 0, b: 0 }; return { r: 0, g: 0, b: 0 };
case 'blue': case 'blue':
return { r: 0, g: 1, b: 5 }; return { r: 0, g: 2, b: 5 };
case 'brown': case 'brown':
return { r: 1, g: 0, b: 0 }; return { r: 1, g: 0, b: 0 };
case 'cyan': case 'cyan':

View File

@ -1,6 +1,6 @@
{ {
"name": "beautycolor", "name": "beautycolor",
"version": "1.0.4", "version": "1.0.5",
"description": "colors for beautylog", "description": "colors for beautylog",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",

View File

@ -29,7 +29,7 @@ let colorTranslator = (colorArg: TColorName): IRGB => {
case 'black': case 'black':
return {r: 0, g: 0, b: 0} return {r: 0, g: 0, b: 0}
case 'blue': case 'blue':
return {r: 0, g: 1, b: 5} return {r: 0, g: 2, b: 5}
case 'brown': case 'brown':
return {r: 1, g: 0 , b: 0} return {r: 1, g: 0 , b: 0}
case 'cyan': case 'cyan':