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

Allow tailwind colors in Spinner widgets #1500

Open
AMythicDev opened this issue Dec 9, 2024 · 1 comment
Open

Allow tailwind colors in Spinner widgets #1500

AMythicDev opened this issue Dec 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@AMythicDev
Copy link

AMythicDev commented Dec 9, 2024

Summary

I am using flowbite-svelte's Spinner to show a loading state. To match the overall theme of my whole UI, I also want the spinner to have the same colorscheme. Although it is possible to set colors via hex, it seems its not possible with tailwindcss classes.

We can always copy the actual color from tailwindcss docs and use it here but I find it counter-intuitive by doing so.

Can we just expose a class argument for the border and the actual spinner to set fill classes using tailwindcss only.

This is just a suggestion and it its completely fine if this request may be rejected due to unexpected technicalities that I may not have considered.

@AMythicDev AMythicDev added the enhancement New feature or request label Dec 9, 2024
@shinokada
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants