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

Make the identicon adjust to color of parent element #6

Open
Nautman opened this issue Mar 11, 2021 · 1 comment
Open

Make the identicon adjust to color of parent element #6

Nautman opened this issue Mar 11, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Nautman
Copy link
Member

Nautman commented Mar 11, 2021

It would be neat if it was possible to change the color of the bot-identicon by changing the css of the parent.

<div style={{color: "red"}}>
    <BotIdenticon />
</div>
@Nautman Nautman added the enhancement New feature or request label Mar 11, 2021
@Nautman
Copy link
Member Author

Nautman commented Mar 11, 2021

I'm not entirely sure of the above syntax would work. Perhaps this link can help: https://stackoverflow.com/questions/22252472/how-to-change-the-color-of-an-svg-element

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

No branches or pull requests

1 participant