DmitriK / darkContrast

Firefox addon that fixes low contrast text when using dark desktop theme
MIT License
63 stars 3 forks source link

Handle alternate state colors #5

Open DmitriK opened 8 years ago

DmitriK commented 8 years ago

If CSS sets bad colors in :active and :focus pseudo-classes, the colors do not get fixed. Need to possibly find a way of fixing this.

nikorentola commented 7 years ago

As a workaround, you can make all focus colors white on dark green by setting browser.display.use_focus_colors to true in about:config.

It's not pretty, but does the job until bug gets fixed.

melmelissa commented 6 years ago

in about:config we can also play on variables

browser.display.focus_background_color : # 000

browser.display.focus_text_color : #fff

which allows to have basic colors.

for the Debian site, I found the variable changed but I can not make the .css file :/ red box on the screenshot https://www.pixenli.com/image/5ipqPJeF