RequestPolicy/requestpolicy — Issue #130: Menu hard to read with Ubuntu 10.04 default theme
Author: jsamuel
Created: 2011-12-22 05:27:39+00:00
State: open
Labels: extension

The default theme in Ubuntu 10.04 uses dark gray menus. This makes the dark red and dark green of allowed/blocked destinations in the RP menu hard to read.

I'm not sure what the best solution here is. Assuming there's no happy perfect red/green colors that work on all backgrounds, maybe there needs to be a preference that changes the colors to those that work better with a dark background. It might be useful to code this so that the actual colors are themselves set in preferences in case someone wants very specific colors used (they would do this through about:config -- I wouldn't want to complicate the preferences with places for users to enter hex RGB values, for example).

I wonder if RP should try to auto-detect the OS and base the default menu colors on that? This seems like a bad idea because many users change their default theme, so the OS version doesn't really tell the real story. Maybe there's a way to query the current theme's menu color? That would still leave the job of deciding what colors RP should use. I'm not sure if there's some underlying color concepts that UI people already have in their toolbox for deciding algorithmically which colors are readable on top of others.