Skip to content

Allow tailwind colors in Spinner widgets #1500

@AMythicDev

Description

@AMythicDev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions