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

Add a feature to copy class names to the clipboard #1933

Closed

Conversation

IZUMIRU
Copy link

@IZUMIRU IZUMIRU commented Jan 4, 2025

I’ve added a feature that allows copying class names. It's basically the same code as the Customizing Colors page.

I personally find this a very helpful addition, and I would greatly appreciate it if you would consider merging it.
Thank you for your time and consideration!

Jan-04-2025.20-42-59.mp4

Copy link

vercel bot commented Jan 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 4, 2025 11:59am

@philipp-spiess
Copy link
Member

Hey! With the change to the v4 website and these class names now being more generic (i.e you'll have to replace <number> with your desired number, I don't think that's something that makes sense anymore. Sorry for the unfortunate timing here as we've rewritten the website right while you were working on your contribution.

@IZUMIRU IZUMIRU deleted the feature/add-copy-to-clipboard branch February 6, 2025 01:40
@IZUMIRU
Copy link
Author

IZUMIRU commented Feb 6, 2025

Understood. I appreciate your great contribution!

@IZUMIRU
Copy link
Author

IZUMIRU commented Feb 20, 2025

@philipp-spiess
I’d like to have the copy feature in v4 as well. Would it be okay if I contribute?

@philipp-spiess
Copy link
Member

@IZUMIRU I do think it'd be confusing with class names like ml-<number> which aren't going to be useful if copied into your clipboard so currently thinking that we probably won't accept a copy feature here I'm afraid

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

Successfully merging this pull request may close these issues.

2 participants