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

Fix inaccurate Solarized palette #1720

Merged
merged 1 commit into from
Jul 2, 2019
Merged

Fix inaccurate Solarized palette #1720

merged 1 commit into from
Jul 2, 2019

Conversation

antoineco
Copy link
Contributor

@antoineco antoineco commented Jun 29, 2019

Summary of the Pull Request

Some of the colors from the Solarized schemes that ship with Windows Terminal are not aligned with the reference Solarized palette.

References

Also requires #293 for correct rendering of background/foreground colors.

PR Checklist

Detailed Description of the Pull Request / Additional comments

Implements the changes discussed in #1509 (comment).

Validation Steps Performed

No behavioral changes.

Copy link
Member

@zadjii-msft zadjii-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me

Copy link
Contributor

@DHowett-MSFT DHowett-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me.

@DHowett-MSFT DHowett-MSFT merged commit 078e642 into microsoft:master Jul 2, 2019
@DHowett-MSFT
Copy link
Contributor

Thanks!

DHowett-MSFT pushed a commit that referenced this pull request Jul 2, 2019
DHowett-MSFT pushed a commit that referenced this pull request Jul 2, 2019
@antoineco antoineco deleted the fix-solarized-schemes branch July 3, 2019 05:56
@bigstevebennett
Copy link

bigstevebennett commented Feb 7, 2020

Hi, when I select Solarized dark for powershell core (7 RC2) I lose some command syntax highlights and command switches use a colour that is not distinguishable against the background. Is this a related issue or just a bad match of scheme - colour palette entries for the PS core highlighting scheme?

Thanks for your work on this BTW !

Edit: I alleviated the issue by modding the solarized dark definition slightly - (the brightblack and background has the same colour in my version and bright yellow is more of a grey-blue colour)
"brightBlack": "#5c6a6b",
"brightYellow": "#F9F1A5"

@antoineco
Copy link
Contributor Author

antoineco commented Feb 7, 2020

@bigstevebennett the original Solarized scheme may not work the best on Windows because ConPTY doesn't render "black background" and "white foreground" properly (#293 (comment)). @DHowett-MSFT mentioned this was fixable, but not enabled by default due to backward compatibility. Until a solution is provided, I believe you have to tune your syntax highlighting accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Solarized schemes shipped in Terminal Preview are incorrect
4 participants