pretty-checkbox icon indicating copy to clipboard operation
pretty-checkbox copied to clipboard

Set background color of checkbox when not ticked

Open andrekovac opened this issue 7 years ago • 3 comments

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;
}

andrekovac avatar Feb 21 '18 09:02 andrekovac

Hi @Andruschenko ,

Sure, I will add this in coming update! :)

lokesh-coder avatar Feb 21 '18 18:02 lokesh-coder

I found that when I have a dark background the checbox looks bad. I apply the @Andruschenko solution but with the #eee color

orioljd avatar Mar 05 '19 08:03 orioljd

Any idea if this will be ever added?

jevail avatar May 03 '20 14:05 jevail