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

FEAT: Adding "Colors" page/route with list of all Tailwind Colors for copying to clipboard #1228

Closed
wants to merge 2 commits into from

Conversation

engageintellect
Copy link
Contributor

Firstly, thank you for this project. I use it all the time.

Problem:
I constantly find myself plugging in custom colors to my themes. This forces me to open a tab, and go leads me to here, to the shadcn-ui page, or the Tailwind's site. It would be a nice DX enhancement to add this functionality here.

Solution:
This PR will allow users to copy Tailwind colors directly to their clipboard in HSL, Hex, RGB, or Tailwind class format. The component and it's data are self-contained in /sites/docs/src/lib/components/colors, and the route is at /colors. I also updated the nav, and mobile nav to link to this page.

Screenshot 2024-08-05 at 10 17 42 PM

Copy link

changeset-bot bot commented Aug 6, 2024

⚠️ No Changeset found

Latest commit: ec4bb13

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@huntabyte
Copy link
Owner

Incredible, thank you @engageintellect! Will give this a proper review soon.

Copy link
Contributor

github-actions bot commented Aug 6, 2024

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
shadcn-svelte ✅ Ready (View Log) Visit Preview ec4bb13

@engageintellect
Copy link
Contributor Author

Incredible, thank you @engageintellect! Will give this a proper review soon.

Right on! Let me know if there is anything I can do to help on my end.

I appreciate your time. 🤙

@huntabyte huntabyte mentioned this pull request Aug 7, 2024
@huntabyte
Copy link
Owner

Closing in favor of #1230 (since you opened the PR with your main branch, it wouldn't allow me to push changes to fix the linting/check issues). I merged all your commits over there though!

@huntabyte huntabyte closed this Aug 7, 2024
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