mirror of
https://github.com/hanzoui/ci-dashboard.git
synced 2026-10-30 19:47:45 +00:00
15 lines
410 B
TypeScript
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>
|
|
}
|