Terminal: colortool's 'solarized_dark' theme makes some characters unreadable

Created on 16 May 2018  路  8Comments  路  Source: microsoft/terminal

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.

Product-Colortool

Most helpful comment

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.

All 8 comments

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.

@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.

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 馃憤

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

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

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.

The bug you鈥檙e commenting on is about ColorTool, not Windows Terminal. It categorically cannot have regressed, because it was resolved almost a year before Terminal even existed. :smile:

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dev-logan picture dev-logan  路  3Comments

ghost picture ghost  路  3Comments

carlos-zamora picture carlos-zamora  路  3Comments

mrmlnc picture mrmlnc  路  3Comments

waf picture waf  路  3Comments