5 Commits

Author SHA1 Message Date
801fd17c77 1.0.7 2017-02-05 21:15:55 +01:00
a5db5eb181 1.0.6 2017-02-05 21:00:38 +01:00
c59061a840 update README 2017-02-05 21:00:25 +01:00
b9c4626a30 1.0.5 2017-01-21 20:30:57 +01:00
aeac61774f improve colors 2017-01-21 20:30:53 +01:00
4 changed files with 8 additions and 8 deletions

View File

@ -2,10 +2,10 @@
colors for beautylog
## Availabililty
[![npm](https://push.rocks/assets/repo-button-npm.svg)](https://www.npmjs.com/package/beautycolor)
[![git](https://push.rocks/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/beautycolor)
[![git](https://push.rocks/assets/repo-button-mirror.svg)](https://github.com/pushrocks/beautycolor)
[![docs](https://push.rocks/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/beautycolor/)
[![npm](https://pushrocks.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/beautycolor)
[![git](https://pushrocks.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/beautycolor)
[![git](https://pushrocks.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/pushrocks/beautycolor)
[![docs](https://pushrocks.gitlab.io/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/beautycolor/)
## Status for master
[![build status](https://GitLab.com/pushrocks/beautycolor/badges/master/build.svg)](https://GitLab.com/pushrocks/beautycolor/commits/master)
@ -33,4 +33,4 @@ let myColoredString = beautycolor.coloredString(
console.log(myColoredString)
```
[![npm](https://push.rocks/assets/repo-header.svg)](https://push.rocks)
[![npm](https://pushrocks.gitlab.io/assets/repo-header.svg)](https://push.rocks)

2
dist/index.js vendored
View File

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

View File

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

View File

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