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

Copy random color palette from website as code snippet #45

Closed
zeke opened this issue Mar 22, 2022 · 2 comments
Closed

Copy random color palette from website as code snippet #45

zeke opened this issue Mar 22, 2022 · 2 comments

Comments

@zeke
Copy link

zeke commented Mar 22, 2022

Is your feature request related to a problem? Please describe.

I'm on https://boringavatars.com and I found a random palette that I'd like to use in my code.

Describe the solution you'd like

I'd like to be able to click a button that lets me copy the random palette as a React code snippet, and potentially a source.boringavatars.com URL too.

Describe alternatives you've considered

I think the alternative would be to use the web inspector in my browser to copy the HEX values out of the DOM and reconstruct that into a color string in my React code.

Additional context

This project is really delightful, and exactly what I was looking for. Hat tip to @hangtwenty for letting me know about it. 🙏🏼

@josepmartins
Copy link
Member

Hey @zeke, thanks for your time, we're glad you like the library ❤️.

The project is meant to create random avatars that fit the brand colors of your personal projects, but not to generate color palettes. If you like them, we use the Nice color palette JSON files in the playground, in particular, the file with 1000 variants.

@zeke
Copy link
Author

zeke commented Mar 24, 2022

Nice! Thanks for the tip.

Feel free to close this if it's not a feature you want to support.

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