Files
2024-04-12 10:32:16 -07:00

15 lines
410 B
TypeScript

import type { CustomFlowbiteTheme } from 'flowbite-react'
import { Flowbite } from 'flowbite-react'
const customTheme: CustomFlowbiteTheme = {
button: {
color: {
primary: 'bg-primary-regular hover:bg-primary-dark text-white',
},
},
}
export default function FlowBiteThemeProvider({ children }) {
return <Flowbite theme={{ theme: customTheme }}>{children}</Flowbite>
}