day8 / re-com

A ClojureScript library of reusable components for Reagent
https://re-com.day8.com.au
MIT License
796 stars 147 forks source link

Check-box styling is overridden by browser instead of bootstrap #306

Closed hipitihop closed 2 years ago

hipitihop commented 2 years ago

Check-box styling is overridden by browser instead of bootstrap:

Chrome: image

FireFox: image

Notice it not only affects the primary color, but also the disabled look. Although we now support :parts this should probably use bootstrap defaults?

MawiraIke commented 2 years ago

After some checking, it seems like Bootstrap v3(which re-com uses) and Bootstrap v4 have no default colour for checkboxes. The default colour seems to have been added in Bootstrap v5. Adding support for this would mean hardcoding the styling. I would prefer this to wait for component restyling to be completed first since it will override the styling.

hipitihop commented 2 years ago

@MawiraIke I agree. closing