Firefox addon that fixes input boxes on dark themes.
Go to file
Ceda EI caf4c54d76 Added rgba function. Updated README 2018-03-09 10:31:55 +05:30
.gitignore Added lark.js, manifest.json and .gitignore. 2018-03-08 21:00:33 +05:30
LICENSE Initial commit 2018-03-08 20:46:31 +05:30
README.md Added rgba function. Updated README 2018-03-09 10:31:55 +05:30
lark.js Added rgba function. Updated README 2018-03-09 10:31:55 +05:30
manifest.json Added lark.js, manifest.json and .gitignore. 2018-03-08 21:00:33 +05:30

README.md

Lark

Firefox addon that fixes input boxes on dark themes.

Lark checks for the background and foreground of each input box and calculates the contrast between them. If the contrast is below a certain value, it changes the background to black or white whichever has more contrast with the foreground than the required threshold. If neither white nor black scores more than the threshold with the foreground color, then both the background and foreground are changed to black and white respectively.