Fomantic-ui: Icon Color

Created on 28 Jan 2019  ·  2Comments  ·  Source: fomantic/Fomantic-UI

Bug Report

Steps to reproduce

  1. Create a icon tag
  2. Style some color to it ie.: <i class="red trash icon">

Expected result

Beautiful colored icon

Actual result

Icon color inherited from list item

Testcase

http://jsfiddle.net/9aruhkn8/2/

Version

2.7.1

lancss typbug

Most helpful comment

i'll increase the specificity of the icon colors

All 2 comments

Works when the .item is a div and not a a tag. Seems to be due to this overriding the icon color https://github.com/fomantic/Fomantic-UI/blob/master/src/definitions/elements/list.less#L192

i'll increase the specificity of the icon colors

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rmarchiori picture rmarchiori  ·  3Comments

hammy2899 picture hammy2899  ·  5Comments

davekc picture davekc  ·  4Comments

GammaGames picture GammaGames  ·  4Comments

lubber-de picture lubber-de  ·  4Comments