[Bug 4418] New: Improved color scheme

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Oct 20 14:38:38 CDT 2014


http://bz.selenic.com/show_bug.cgi?id=4418

          Priority: normal
            Bug ID: 4418
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Improved color scheme
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: cowwoc at bbs.darktech.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.1.2
         Component: hgweb
           Product: Mercurial

I'd like to propose the following color scheme for hgweb side-by-side diffs:

.delete {
  background-color: rgba(128, 0, 0, 0.4);
}

.insert {
  background-color: rgba(0, 128, 0, 0.4);
}

.replace {
  background-color: rgba(0, 84, 128, 0.4);
}

Changing "insert" from yellow to green brings it in line with the color scheme
used by text diffs (and this color is used pretty universally by other DIFF
programs).

Changing "replace" from gray to blue improves the contrast of the text, making
it more readable (IDEs typically use gray for lines containing comments to make
them easier to skip).

Please run this new scheme by color-blind users and let me know what they
think.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list