feat: flowbite-themable for theming components with no color prop(not only)

This commit is contained in:
Alexandr
2022-07-07 18:07:16 +03:00
parent d968092162
commit 4fb027fcb4
15 changed files with 379 additions and 9 deletions

View File

@@ -3,7 +3,6 @@ import { computed, useSlots } from 'vue'
import classNames from 'classnames'
import type { ButtonDuotoneGradient, ButtonGradient, ButtonMonochromeGradient, ButtonSize, ButtonVariant } from '../types'
export type ButtonClassMap<T extends string> = { hover: Record<T, string>, default: Record<T, string> }
const buttonColorClasses: ButtonClassMap<ButtonVariant> = {