Open squeak9 opened 4 years ago
The issue I face is that the yellowish color wouldn't be suitable on a white background. The fix will have to be contributed by someone who knows better about color blindness, I need to be given the proper colors for when it's to color text on a white background.
Now that I look around GitHub I realize what I really want isn't colored fonts but colored text backgrounds! Look at that big green "Open" indicator just above this report, or all the issue labels in the issue list. So readable and easy to tell apart. But that's just me, other people might hate it. It would be way more readable though, that's for sure.
Speaking of font colors, letting the users enter their own hex values would be a decent workaround since people have different colorblindness.
The real ideal UI here would one that still is readable even if you're viewing it in greyscale. If you wanna try to look through the eyes of all color deficient users then enable the grayscale color filter in the windows 10 settings. That might be hard for static rules but maybe not dynamic rules?
You can assign your own styles through the advanced setting uiStyles
, for example you can use --df-block-ink:blue;--df-allow-ink:orange;
to modify the block/allow colors in the My rules pane. Note that this works only in the latest dev build because:
Here is a very quick mockup based on the current yellow and blue colors:
and here it is in grayscale as a test:
Own styles sound great! I will check it out. I hope you can enter hexcodes as colors.
You can enter any value that the browser will accept, uBO just passes the entered string as is.
Oh this is great! Thanks for adding this.
This is a fantastic workaround to this issue for sure, people can do what they want. I would never have figured out that you could do this without your example though.
The default colorblind settings stuff is still a problem though but I think colored text backgrounds instead of fonts might be a decent fix. The dark theme really makes current colored fonts way more visible though, at least for me.
EDIT: Just changing the default colorblind theme fonts to to blue and orange might also be the quickest fix but backgrounds would also be real cool.
@squeak9 Would you please share the settings that worked for you? TIA
@Grossdm I just did uiStyles --df-block-ink:blue;--df-allow-ink:orange
like it was suggested above. It works for me.
Blue might make the text a bit hard to read in dark theme but I know what it means at this point. A lighter blue could be better but i don't know how to word that.
Prerequisites
Description
The color-blind friendly setting makes the per site switches blue and yellow which is great but at some point the My Rules pane in the dashboard got colors added to them and they are still red, green and grey with that setting enabled.
PS: Maybe the static rule colors should change also now that I think about it, that might be another issue though. Or let users enter whatever font color they wish?
A specific URL where the issue occurs
No url.
Steps to Reproduce
Color-blind friendly
setting.I am an advanced user
setting.My Rules
and enter someblock
andallow
rulesExpected behavior:
The rules should use the colors that the color blind settings use for the pop-up menu. (blue and yellow-ish)
Actual behavior:
The
block
andallow
part of the rules are red and green.Your environment