-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
richard1000@SF
The span.fc and span.bc colours chosen cannot be differentiated by users who are red/green blind (approx 6% of the population). The colours chosen are too similar in shade to be distingushable.
Changing span.nc to #ffaaaa makes enough of a shade difference for me to be able to distinguish between them.
Ideally I would like (via attributes in the Ant report task) to be able to select my own colours to override the defaults when generating an HTML report.
marchof
Thanks for this valuable hint!
What about adding an option to provide your custom stylesheet? Then you can control all visual aspects. Alternatively you could easily replace the stylesheet after report generation.
Changed 4 weeks ago by richard1000
An option to provide a custom stylesheet would be fine, but I suspect that most people would only want to tweak the colours and so a convenience attribute to override the default colours would be good.
Replacing the stylesheet after report generation is a workaround (that I am doing), but it is better to use a correct one in the first place.
marchof
Ok, so I will adjust span.nc to #ffaaaa as a first step.
Some more questions: What about the colors of the
- red/green bars in the tables
- the branch diamonds at the left side in source annotations
- the yellow lines and diamonds for partial coverage?
do they also need adjustment?