Allow users to click on a color square to copy the hex value to clipboard
Closed this issue · 1 comments
Teddarific commented
Feature request
Overview
Clicking on a color square on https://www.radix-ui.com/colors/docs/palette-composition/scales should copy and paste the hex code to my clipboard.
Examples in other libraries or sites
For example, Tailwind colors: https://tailwindcss.com/docs/customizing-colors
Who does this impact? Who is this for?
For myself! I currently get around this by having this Apple notes with the big JSON object that I can c/p. It's not great because I can't actually see the color from here.

Additional context
Happy to open a PR and make this change myself, but wanted to open it for discussion before proceeding in case there's something I'm missing!
Teddarific commented
Looks like some form of this has made to the site, love it! Thanks guys :)