Skip to content

Low contrast for colours in diff/Changes  #2586

Closed

Description

@NiklasBr

Description

The red/green diff colours have a very low-visibility contrast, making them hard to spot. As a related bug-fix/feature request I would like for the app to honour the Accessibility settings for increased contrast which should make borders more pronounced.

See the attached image below where the Desktop app (on macOS) has the least contrast of the tree compared services.

screen shot 2017-08-30 at 15 58 09

Version

GitHub Desktop version: 0.8.0

OS version: macOS 10.12.6 (16G29)

Steps to Reproduce

  1. View the Changes of a file.

Expected behavior: Good, readable, contrasty colours.

Actual behavior: User squints all the time to see the colours. :)

Reproduces how often: Every time

Logs

n/a

Additional Information

n/a

Activity

  1. added
    design-input-needed
    on Aug 30, 2017
  2. tierninho commented on Aug 30, 2017

    @tierninho
    Contributor

    @donokuda Thoughts?

  3. donokuda commented on Aug 30, 2017

    @donokuda
    Contributor

    I agree. We should sync up our diff colors with what we use on the site given that they've chosen the colors with accessibility in mind.

    As a related bug-fix/feature request I would like for the app to honour the Accessibility settings for increased contrast which should make borders more pronounced.

    I'd be interested to see if this is possible with Electron. If so, then we could override the border color with a darker value.

  4. shiftkey commented on Aug 30, 2017

    @shiftkey
    Member

    @donokuda I can't see anything accessibility related in Electron's System Preferences API. There was a similar request in #1585 but like that one I suspect this needs a PR once we figure out which settings need to be read.

  5. NiklasBr commented on Sep 19, 2017

    @NiklasBr
    ContributorAuthor

    Thanks for considering this!

    I tried to do some research, and found that some Windows support were added in Electron, which in turn may or may not be an issue inherited from Chromium. Don't know if it helps.

  6. adamreisnz commented on Oct 9, 2017

    @adamreisnz

    I'd like to add a comment from duplicate #2974 to ensure it's captured, as the problem is not just with the background colors themselves.

    The font in the new app is also lighter and smaller, further adding to the difficulties in reading it.

    Compare old and new apps:

    image

    It's a much thicker, darker, more legible font in the old app (apart from the line numbers).

  7. adamreisnz commented on Oct 11, 2017

    @adamreisnz

    @niik Thanks for the work on this item and for increasing the contrast. 🎉
    Are you able to also have a quick look at the font thickness/color and see if you could bump that a bit darker as well (see above screenshots)?

  8. locked as resolved and limited conversation to collaborators on Jul 19, 2018
  9. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design-input-needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions