antonreshetov/vue-unicons

Inherit parent color

andruu opened this issue · 2 comments

It would be useful if the icons could inherit the parent color or allow classes to modify the color of the icons.

I believe you can use <unicon name="car-wash" fill="currentColor"/>

There's another issue where we discuss default values and I suggest that currentColor could be default: #35 (comment)

@andruu just add your class to <Unicon class="some-class" name="share" /> and describe its css styles.