Change color used for standard output text.#23
Change color used for standard output text.#23boushley wants to merge 1 commit intoexpressjs:masterfrom boushley:master
Conversation
|
So what is color 92 supposed to look like? On Windows cmd.exe it shows up as a bright green. |
|
To me, it doesn't make sense to go from grey to bright green. Can we just make it like white instead? |
|
I agree, the bright green doesn't make sense for most fonts. I would lean towards just doing a 0 for reset, but if you want to do 37 for white, that makes sense too. |
|
Yea, let's just go with the explicit white for now I suppose :) So at the very least the colors will work for people's themes. |
Oh wow, that is terrible. |
|
OK. Really, in the end, i.m.o. it's the theme's job to make the colors not conflict, otherwise no matter what color you choose it'll conflict with some theme. |
|
I agree for the most part. The problem lies in being overly specific with what color you want text to be. The original problem was forcing a dark gray text, which conflicts with any dark background color. So the theme author has to either ignore what the terminal is asking for, or allow conflicts like this to occur. In general a color reset like 0 is going to always display a good contrasting color unless the theme is totally busted. I can just use my own modifications on morgan if you don't want to land this. Solarized has an issue around this, but I don't think it's going anywhere. |
No, I'll land it either as white or reset. I don't like how the current one is not even using a standard ANSI color code anyway. |
This alleviates an invisible text problem in some themes. This should resolve: #22
|
Alright, I've changed to the color reset. |
|
Your change has been released in version 1.2.0 |









This alleviates an invisible text problem in some themes.
Many themes have trouble with the Grey ANSI color 90 that is being used in dev output.
I'm seeing this in Solarized Dark, but it is a problem in other themes as well.
Changing from 1b[90m to 1b[92m fixed the problem for me.
Last year Bower made a similar change for the same reason.