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 support #39

Merged
merged 1 commit into from
Jun 29, 2023
Merged

feat: RTL support #39

merged 1 commit into from
Jun 29, 2023

Conversation

thenbe
Copy link
Contributor

@thenbe thenbe commented Jun 28, 2023

Fixes #28

Instead of asking users to specify a relative direction (right, left), we can take a page out of CSS logical properties and use start and end as opposed to left and right.

As an example, here is how tailwindcss handled this recently: tailwindlabs/tailwindcss#10166

@vercel
Copy link

vercel bot commented Jun 28, 2023

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

Name Status Preview Comments Updated (UTC)
svelte-french-toast ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2023 7:04pm

@thenbe thenbe changed the title feat: introduce logical direction feat: RTL support Jun 28, 2023
@thenbe thenbe mentioned this pull request Jun 29, 2023
@kbrgl
Copy link
Owner

kbrgl commented Jun 29, 2023

Thank you so much for the PR! I’ll review this as soon as I get time.

@kbrgl
Copy link
Owner

kbrgl commented Jun 29, 2023

Ha, this is actually pretty short and sweet. Merging now. Thanks again.

@kbrgl kbrgl merged commit 2f90ff4 into kbrgl:master Jun 29, 2023
1 check passed
@kbrgl
Copy link
Owner

kbrgl commented Jun 29, 2023

We’re probably going to want to document these new features (as well as all the older undocumented ones). I’m going to add an issue for that.

@thenbe
Copy link
Contributor Author

thenbe commented Jun 30, 2023

Ha, this is actually pretty short and sweet. Merging now. Thanks again.

Yeah CSS is admittedly doing all of the heavy lifting here.

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.

RTL support?
2 participants