Comments (3)
cool, it works the array
colors.setTheme({
link: ['underline', 'blue']
});
And that is cool that the order in the array is irrelevant. This works also
colors.setTheme({
link: ['blue', 'underline']
});
Perhaps you chose the array version exactly because of that!
from colors.js.
You can do this with this module, too:
console.log('Listening on ' + colors.underline(colors.blue('http://0.0.0.0:' + port)) );
but I think @danielb2 is asking for it in themes, which I would also like:
colors.setTheme({
link: 'underline.blue'
});
console.log('Listening on ' + colors.link('http://0.0.0.0:' + port) );
or maybe:
colors.setTheme({
link: ['underline', 'blue']
});
from colors.js.
I ended up implementing the array example, above.
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.