Firefox addon that fixes input boxes on dark themes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Ceda EI 5c92f356c2 Updated version number. 3 years ago
icons Added logo. 3 years ago
.gitignore Added lark.js, manifest.json and .gitignore. 3 years ago
LICENSE Initial commit 3 years ago
README.md Added rgba function. Updated README 3 years ago
lark.js Added more selectors. 3 years ago
manifest.json Updated version number. 3 years ago

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.