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

Feature request: inherit style of element #10

Closed
jnolis opened this issue Jan 23, 2019 · 2 comments
Closed

Feature request: inherit style of element #10

jnolis opened this issue Jan 23, 2019 · 2 comments

Comments

@jnolis
Copy link

jnolis commented Jan 23, 2019

Right now if I leave the color blank fa("robot", fill=NULL) then the color ends up being #000000. I would really like it to be the color of whatever element it's contained in (like if it's in the middle of an h1 block then have it take the same color as that text). It doesn't seem like there is a way to do this--can that functionality be added?

@rich-iannone
Copy link
Member

Great suggestion, thanks for filing the issue! I’ll look into this soon, I’m sure it’s possible. I also agree that the default behavior should be to inherit the color of the parent element.

@rich-iannone
Copy link
Member

I'm really sorry it took so long to fix this, but, it's fixed in 458279e! Now, the default behavior is to inherit the "currentColor".

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

2 participants