diff --git a/docs/guide/spinner/examples/SpinnerColorExample.vue b/docs/guide/spinner/examples/SpinnerColorExample.vue
new file mode 100644
index 0000000..4e99bfc
--- /dev/null
+++ b/docs/guide/spinner/examples/SpinnerColorExample.vue
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/guide/spinner/spinner.md b/docs/guide/spinner/spinner.md
index 4008ede..d3ffd77 100644
--- a/docs/guide/spinner/spinner.md
+++ b/docs/guide/spinner/spinner.md
@@ -1,6 +1,7 @@
# Spinner
@@ -16,18 +17,18 @@ reference: [https://flowbite.com/docs/components/spinner/](https://flowbite.com/
import { Spinner } from 'flowbite-vue'
-
-
-
+
```
## Prop - size
```typescript
+type SpinnerSize = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12'
+
defineProps({
size: {
- type: String, // any string for w-${size} and h-${size} tailwind classes
+ type: String as PropType, // any string for w-${size} and h-${size} tailwind classes
default: '4',
},
})
@@ -38,17 +39,47 @@ defineProps({
```vue
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+```
+
+
+## Prop - color
+
+```typescript
+type SpinnerColor = 'blue' | 'gray' | 'green' | 'red' | 'yellow' | 'pink' | 'purple' | 'white'
+
+defineProps({
+ color: {
+ type: String as PropType,
+ default: 'blue',
+ },
+})
+```
+
+
+
+
+```vue
+
+
+
+
+
+
+
+
+
+
```
diff --git a/src/components/Spinner/Spinner.vue b/src/components/Spinner/Spinner.vue
index ef734a6..c6d4c34 100644
--- a/src/components/Spinner/Spinner.vue
+++ b/src/components/Spinner/Spinner.vue
@@ -17,7 +17,7 @@ const props = defineProps({
default: '4',
},
color: {
- type: String as PropType, // any string for w-${size} and h-${size} tailwind classes, TODO: add all classes
+ type: String as PropType,
default: 'blue',
},
})
diff --git a/src/composables/useColor.ts b/src/composables/useColor.ts
deleted file mode 100644
index f1ff770..0000000
--- a/src/composables/useColor.ts
+++ /dev/null
@@ -1 +0,0 @@
-export function useColor() {}