Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherit parent color #23

Open
andruu opened this issue Dec 21, 2019 · 2 comments
Open

Inherit parent color #23

andruu opened this issue Dec 21, 2019 · 2 comments

Comments

@andruu
Copy link

andruu commented Dec 21, 2019

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

@hmaesta
Copy link

hmaesta commented Jun 2, 2020

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)

@antonreshetov
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants