-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: ability to copy colors in v4 docs #1945
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dude said, "let there be tabs" #REJECTED lol
Nice looks great 👍🏻 |
Oof @
Screen.Recording.2025-01-22.at.11.35.58.PM.mov |
@philipp-spiess, thoughts on this quality of life change? Perhaps someone with more knowledge regarding Headless UI can fix the issues @tristonarmstrong mentioned. |
Hey there! Thanks for the contribution. I think it's a good idea to add a tooltip to our color swatches that shows the value and/or the CSS variable name and allows you to quickly copy this value but we'll probably wait to land this to this until we have polished the tooltip experience in general (there are some issues that we don't like on the homepage tooltip too). Let me take a look at this this next week 👍 As a side node: The conversion to hex values here is probably not a good idea. I understand that hex codes are more common but the reason we used |
/docs/colors
page.oklch
to hex as it's more recognizable from a DX perspective. This should be okay because the color palette doesn't utilize values.Gif: