Open seaneagan opened 9 years ago
Currently when you try to nest styles it doesn't work because when a pen is done writing it resets all styles, not just its own. Here's one take on an API to do this:
https://github.com/sindresorhus/chalk#api
I know I'm late on responding to these. I like the idea of storing a stack of "complete state" such that:
Would see only having the blue background removed and green background restored at step-3
Currently when you try to nest styles it doesn't work because when a pen is done writing it resets all styles, not just its own. Here's one take on an API to do this:
https://github.com/sindresorhus/chalk#api