Opened 19 years ago
Closed 18 years ago
#2270 closed enhancement (worksforme)
Allow configuration of svn diff colors
Reported by: | Owned by: | Matthew Good | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control/changeset view | Version: | |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Colorblind individuals have the most difficult time discerning between red and green. The colors used in Trac's display of svn changesets are red and green. We just had a colorblind developer join our team and he is unable to read the diff's unless he switches to the unified text mode. If there were some way to pick the colors in use at client-side, he could choose the combination he is most able to differentiate.
Attachments (0)
Change History (3)
comment:1 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
follow-up: 3 comment:2 by , 19 years ago
I think in this case the best option would be to use a user stylesheet.
comment:3 by , 18 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Replying to cmlenz:
I think in this case the best option would be to use a user stylesheet.
I agree.
It may help to switch from "inline" to "side-by-side" for the diff viewing, since that should make it easier to tell what's changed.
You can also customize the CSS to change the colors used for your installation. It should also be possible to provide "alternate stylesheets" that the user's can choose from in their browser. I'll look into this later and try to post an example.