Firefox addon that fixes input boxes on dark themes.
Go to file
Ceda EI 5c92f356c2 Updated version number. 2018-03-09 20:30:24 +05:30
icons Added logo. 2018-03-09 15:51:20 +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 more selectors. 2018-03-09 20:27:13 +05:30
manifest.json Updated version number. 2018-03-09 20:30:24 +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.