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(rtl): add support #2059

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat(rtl): add support #2059

wants to merge 1 commit into from

Conversation

47vigen
Copy link

@47vigen 47vigen commented Dec 6, 2023

Hey there! 😊

Just rolled out a nifty update for our ‘shadcn/ui’ CLI tool – it now uses logical properties! Flip your components’ styles to RTL easily if that’s your jam. It’s totally optional and flexible.

Here’s the scoop:

  • Whipped up a transformRtl function to replace normal properties to be logical.
  • Tweaked our setup so you can tell us whether your team likes to support RTL or not.

Want to take it for a spin? 🌀

  • Add "rtl": true in Tailwind object at components.json file.
  • Create a new component with a CLI command.
  • Check out your spiffy RTL-ready component.

Can’t wait to hear what you think – your feedback’s a gift! 🎁 Thanks for letting me pitch in and jazz things up!

Copy link

vercel bot commented Dec 6, 2023

@47vigen is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@47vigen
Copy link
Author

47vigen commented Dec 6, 2023

this resolve
#530 and #1638

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.

1 participant