colored-console / colored-console

:rainbow: Add some color to your console >_
MIT License
75 stars 13 forks source link

Theme support #23

Open davetimmins opened 9 years ago

davetimmins commented 9 years ago

Idea here is to pair foreground and background colors into a theme that can be applied to the text output.

For example we could have a contrasting colors theme that makes the text stand out against the background. Another usage could be for users to have their own color preferences that they want to use repeatedly, or imagine wanting to provide syntax highlighting in the scriptcs REPL :smile: and having a syntax theme.

Need to think about how it would make sense to call from the users' perspective. Something like being able to set a default theme and or supply a theme along with the identifier for selecting the theme color tokens to use.

davetimmins commented 9 years ago

Just saw this repo mentioned on gitter https://github.com/edokan/Edokan.KaiZen.Colors which has the same concept.