Closed davidhoness closed 8 years ago
The same contrast issue is present on Firefox 47 (Mac):
vs. Chrome 51 (Mac):
I'm wondering if this is to do with the Edge-style SVG rendering fix that went into the last build.
Looking in to this. It's not related to the Edge-style SVG rendering per se but rather browsers not rendering the SVG's off-state correctly (there's transparency in the offstate that gets combined incorrectly). If we can test for lack of support for the rendering we use we could insert a darker fallback fill as the LED offstate for those machines.
That said, I'm very surprised that Firefox 47 for Mac is showing this behavior- will grab a mac and investigate.
This should be fixed! While I was in there I cleaned everything up, darkened the offstate for all browsers and fine-tuned the SVG.
Before (Chrome):
After (Chrome):
Special thanks to @grega for the Firefox screenshot. I wasn't able to replicate in FF, but I did figure out that that screenshot could be reproduced by ignoring the opacities of some elements so I rewrote it to not use opacity at all in the offstate. This may speed things up a tiny bit in Epiphany too.
Definitely an improvement, so thanks again for the suggestions! The colors really pop on the new darker background. Give it a look and let me know what you think.
Closing for now. If there are any other problems related to this after a refresh please comment here.
I've noticed on Epiphany, but it may also occur on other browsers, a lack of contrast between white LEDs and ones that are turned off. Screen shot from Epiphany below;
And here's one from Fire Fox on Ubuntu.