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

RTL and dark mode detection #89

Open
gedw99 opened this issue Jun 11, 2024 · 0 comments
Open

RTL and dark mode detection #89

gedw99 opened this issue Jun 11, 2024 · 0 comments

Comments

@gedw99
Copy link

gedw99 commented Jun 11, 2024

Hey

These components are really well done . Thank you so much for making them.

I am building a htmx project in Golang and loading up your components from the backend.

But I think I need a way to detect the users bidi settings to determine if I need to display the components as LTR or RTL.
Same as for if it’s dark mode or not.

also when I look at the html in this repo I can’t work out how it switches to the different bidi or themes . I guess I assumed the html would change for each permutation ?

If you could advise me about the bidi detection and theme detection that would be awesome ..

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

No branches or pull requests

1 participant