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 #4183 Make PrettyPrint styles background-agnostic #4203

Merged
merged 1 commit into from
Aug 4, 2018

Conversation

mpilgrem
Copy link
Member

@mpilgrem mpilgrem commented Aug 4, 2018

In order to ensure sufficient contrast on both black (dull black) and white (vivid white) terminals, also changes foreground text bold . white to dullcyan (affecting styleFile and styleUrl) and yellow to dullyellow (affecting styleWarning and styleCurrent).

dullcyan is used in preference to black (vivid black) because the latter is problematic with the popular 'solarized dark' theme.

See also issue #4047 and (reverted) #4814.

Note: Documentation fixes for https://docs.haskellstack.org/en/stable/ should target the "stable" branch, not master.

Please include the following checklist in your PR:

  • Any changes that could be relevant to users have been recorded in the ChangeLog.md Not ChangeLog worthy
  • The documentation has been updated, if necessary. N/A

Please also shortly describe how you tested your change. Bonus points for added tests!

See #4183 for screen shots of stack operating after this pull request is implemented.

In order to ensure sufficient contrast on both black (dull black) and white (vivid white) terminals, also changes foreground text `bold . white` to `dullcyan` (affecting `styleFile` and `styleUrl`) and `yellow` to `dullyellow` (affecting `styleWarning` and `styleCurrent`).

`dullcyan` is used in preference to `black` (vivid black) because the latter is problematic with the solarised dark theme.

See also issue commercialhaskell#4047 and (reverted) commercialhaskell#4814.
@mihaimaruseac mihaimaruseac merged commit 66afada into commercialhaskell:master Aug 4, 2018
@mpilgrem mpilgrem deleted the fixStyles branch September 9, 2018 18:18
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.

2 participants