Fomantic-UI
Fomantic-UI copied to clipboard
[checkbox] checkbox cant change color
<div class="ui right aligned toggle checkbox">
<input type="checkbox" checked="checked">
<label>Toggle</label>
</div>
always blue:

because you crazy?! :D plz remove important

That is currently in progress by #2010. I mentioned it here https://github.com/fomantic/Fomantic-UI/pull/2010#discussion_r684601281
In the meantime you can of course override the color by adding !important to your own class override. Yes, it's bad practice, but working.
And you can of course always customize FUI as you wish and rebuild it. 😉
no add !important dont work because how you know so big rule chain has more priority. only if add id="checkbox" and set color to it id
ps. i use taiwlind over fomantic
Fixed by #2686