Fomantic-UI icon indicating copy to clipboard operation
Fomantic-UI copied to clipboard

[checkbox] checkbox cant change color

Open devopg opened this issue 3 years ago • 2 comments

  <div class="ui right aligned toggle checkbox">
        <input type="checkbox" checked="checked">
        <label>Toggle</label>
      </div>

always blue: image

because you crazy?! :D plz remove important

image

devopg avatar Feb 04 '22 16:02 devopg

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. 😉

lubber-de avatar Feb 04 '22 18:02 lubber-de

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

devopg avatar Feb 05 '22 09:02 devopg

Fixed by #2686

lubber-de avatar Jan 31 '23 11:01 lubber-de