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

Make IO.ANSI.Docs readable on white background #2882

Merged

Conversation

Frost
Copy link
Contributor

@Frost Frost commented Nov 7, 2014

The default_options for IO.ANSI.Docs uses bright yellow for
documentation headers and titles.

This is very nice and readable when using a terminal with a dark
background. However, when using a terminal with a bright (e.g. white)
background, those parts are unfortunately illegible.

This patch removes the :bright part from the default_options, to
make the defaults better suited to those of us who uses white terminals.

I have seen the issues and thread about adding an .iex file for having
local settings, and I think that's a great idea, but I still think that having
defaults that work for a wider group of developers is a good idea.

Below is a couple of screenshots on the before and after.

iex_diff_dark_terminal
iex_diff_white_background

The `default_options` for `IO.ANSI.Docs` uses bright yellow for
documentation headers and titles.

This is very nice and readable when using a terminal with a dark
background. However, when using a terminal with a bright (e.g. white)
background, those parts are unfortunately illegible.

This patch removes the `:bright` part from the `default_options`, to
make the defaults better suited to more people.
josevalim added a commit that referenced this pull request Nov 7, 2014
Make IO.ANSI.Docs readable on white background
@josevalim josevalim merged commit 7eff42e into elixir-lang:master Nov 7, 2014
josevalim added a commit that referenced this pull request Nov 13, 2014
Make IO.ANSI.Docs readable on white background

Signed-off-by: José Valim <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants