Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colortool's 'solarized_dark' theme makes some characters unreadable #180

Closed
mikemaccana opened this issue May 16, 2018 · 8 comments
Closed
Labels
Product-Colortool This is a problem with the utility application ColorTool for manipulating the console color palette.

Comments

@mikemaccana
Copy link
Contributor

mikemaccana commented May 16, 2018

Your Windows build number: (Type ver at a Windows Command Prompt)

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
Win32NT             10.0.17666.0 Microsoft Windows NT 10.0.17666.0

I don't run command prompt because it's not Windows NT 4.

What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)

Using https://github.com/Microsoft/console/releases/download/1708.14008/colortool.zip

 ./colortool -b solarized_dark

image

The '..' in 'cd..' is close to invisible. If you look very closely above, you can see there's two dark blue dots on the dark green background, but you wouldn't see them otherwise.

What's wrong / what should be happening instead:

The blue should be a little lighter than the background.

@miniksa miniksa added the Product-Colortool This is a problem with the utility application ColorTool for manipulating the console color palette. label May 16, 2018
@miniksa
Copy link
Member

miniksa commented May 16, 2018

I don't run command prompt because it's not Windows NT 4.

Snark is not strictly required to post an issue here.

I'm pretty sure that the solarized theme color values were taken directly from other platforms and as such weren't adjusted for the way that Powershell's PSReadline utility decides to color things.

@zadjii-msft, do you remember where the color values were sourced here? If it does directly match another platform, it's perhaps best we keep this one "pure" to the reference in my mind.

I think maybe we should have a solarized-dark-ps variation as a second option that modifies them to make this better for the particular scenario above.

@mikemaccana, do you have a preferred color value (hex) that you would like assigned to that position? Your guess is as good as ours. You're also welcome to submit a pull to that effect as well and we'll review it and probably merge it.

@zadjii-msft
Copy link
Member

@miniksa is exactly right here. You'll notice that even the mbadolato/iTerm2-Color-Schemes repo has 5 different Solarized schemes in it, and IIRC we took it from one of their schemes.

image

The default solarized_dark looks like this:
image

I have a (local) patched version that looks like this:
image

Mainly I switched out the BRIGHT_BLACK with a different gray, and for all the bright colors that were just various shades of gray, I replaced them with the color they have for the dark version of the color. Solarized doesn't really give you that many color options to work with.

Also note at the bottom, cd .. much more visible then before (still not great, but hey, I'm sure that can be fixed with a psreadline configuration setting to not have it be BRIGHT_BLACK on DARK_BLACK)

I can make a PR to add that scheme if that seems good.

@mikemaccana
Copy link
Contributor Author

Hey @miniksa! Sorry, I didn't mean to be snarky about ver, just thought it was funny since I assume everyone in https://github.com/Microsoft/console (and most other Windows command line people besides) would be running Powershell 😀.

PR incoming 👍

@zadjii-msft
Copy link
Member

lol almost everyone on the console team uses cmd, not powershell

mikemaccana pushed a commit to mikemaccana/console that referenced this issue May 16, 2018
@mikemaccana
Copy link
Contributor Author

@zadjii-msft Mike I'm very disappointed. 😉 Thanks to you all for colortool it's rad.

@miniksa miniksa closed this as completed in 8d75ff1 Oct 2, 2018
miniksa added a commit that referenced this issue Oct 2, 2018
Adjust 'ANSI 8' color to be more visible against background. Fixes #180
@M-Pixel
Copy link

M-Pixel commented Mar 30, 2020

It appears that this issue has regressed, and should be re-opened. Version 0.10.781.0 from the Windows Store has invisible -Args in PS6 on Solarized Dark, invisible numbers in PS6 on Solarized Light.

@DHowett-MSFT
Copy link
Contributor

The bug you’re commenting on is about ColorTool, not Windows Terminal. It categorically cannot have regressed, because it was resolved almost a year before Terminal even existed. 😄

@M-Pixel
Copy link

M-Pixel commented Jun 20, 2020

@DHowett-MSFT your pedantic comment is unhelpful and appears to serve no end other than mocking my lack of understanding of the role of ColorTool within this application. If you would care to explain what ColorTool is/was and how it is/isn't related to the current Solarized Dark theme in this application, or indicated that other issues were a more appropriate forum, that would have been more helpful than mansplaining and laughing.

I'll move along over to #4047

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product-Colortool This is a problem with the utility application ColorTool for manipulating the console color palette.
Projects
None yet
Development

No branches or pull requests

5 participants