pretty-checkbox
pretty-checkbox copied to clipboard
Set background color of checkbox when not ticked
I saw that you're working on a new version right now. Therefore I won't file a PR which might collide with your work but add this so that others might benefit from it and you might add this in the new version:
In the current version of the package, the background color can't be changed via a variable.
Perhaps you want to expose the following so it can be modified! Here I change the background-color of the checkbox to lightgrey:
.pretty .state label:before {
background-color: lightgrey;
}
Hi @Andruschenko ,
Sure, I will add this in coming update! :)
I found that when I have a dark background the checbox looks bad. I apply the @Andruschenko solution but with the #eee color
Any idea if this will be ever added?