vue-unicons icon indicating copy to clipboard operation
vue-unicons copied to clipboard

Inherit parent color

Open andruu opened this issue 5 years ago • 2 comments

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

andruu avatar Dec 21 '19 12:12 andruu

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: https://github.com/antonreshetov/vue-unicons/issues/35#issuecomment-637472318

hmaesta avatar Jun 02 '20 11:06 hmaesta

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

antonreshetov avatar Mar 25 '21 14:03 antonreshetov