The Spinner in Button with isProcessing
prop should be colored according the Button color
#1301
Closed
2 tasks done
Steps to reproduce
Current behavior
The internal Spinner has the default color.
Expected behavior
The internal Spinner has the darker shade of the button color.
Context
The Spinner looks off, as it appears unstyled.
The original flowbite does have only the default color button in loading mode, so this is undefined, but I believe it's best to style it.
Solution
I would use the
theme
prop, and supply a map of darker colors, e.g. instead of the default600
I would use800
:The text was updated successfully, but these errors were encountered: