DmitriK / darkContrast

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

Incorrect detection of 'use system colors' setting #15

Closed DmitriK closed 7 years ago

DmitriK commented 7 years ago

When checking for the 'use system colors' setting, the default background color of transparent for HTML element is making the check always think the setting is on. This is resulting in the extension processing all elements of a page when it should only be handling the inputs. Probably responsible for some references of slow performance (checking contrast on everything when it's always OK is not good) as well as other generally odd behavior.