Comments (7)
Try this?
colors.setTheme({ info: 'green', warning: 'magenta', prompt: 'cyan', error: 'red' });
console.log(colors.warning("hello"))
from colors.js.
still not working. Moreover, i pass the theme dynamically and it used to work perfectly in the 0.6.2
colors.setTheme({ info: 'green', warning: 'magenta', prompt: 'cyan', error: 'red' });
console.log(colors[type](this.options[type][message]));
from colors.js.
@ahmadassaf - We do have unit tests passing for this functionality and I can confirm its working on a couple of machines.
Are you certain the value you are passing in is correct?
Can you paste an actual reproducible code snippet?
from colors.js.
I think I found it...
from colors.js.
I think I got it. Can you install v1.0.1
and try again?
from colors.js.
perfect :) working again
Thanks for the prompt support
from colors.js.
Thank you for spotting the bug!
Your contribution is much appreciated.
On Wed, Oct 1, 2014 at 6:11 PM, AHMAD ASSAF [email protected]
wrote:
β
Reply to this email directly or view it on GitHub
#82 (comment).
from colors.js.
Related Issues (20)
- nice
- Move version to 1.4.74 for liberty HOT 1
- You are damaging the open source culture HOT 22
- ε°±θΏοΌ HOT 2
- Faker.js problem HOT 2
- bla HOT 2
- burn babylon HOT 1
- Use TRUE Open Source ANSI Styling Lib - ANSIS HOT 1
- JUST GIVE THEM SOME MONEY! HOT 3
- Do you know this? HOT 5
- Bendiciones lapepo HOT 1
- Elvis has left the building HOT 3
- Final Status Update: colors has moved to @colors/colors HOT 8
- String extension not working in NodeJs VM
- Wrong Spelling HOT 4
- [Bug] Infinite loop in colors.js package to be removed. HOT 1
- Vulnerable dependencies (indirect security issues)
- rides
- Doesn't export `/safe` in package.json
- FORCE_COLOR doesn't seem to work/apply to String.prototype injection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colors.js.