mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 09:59:41 +05:00
chore: migrate to new flowbite-react
This commit is contained in:
parent
8daab3b3c1
commit
329448c9fc
32 changed files with 650 additions and 344 deletions
|
@ -1,5 +1,9 @@
|
|||
const { addIconSelectors } = require("@iconify/tailwind");
|
||||
import flowbite from "flowbite-react/tailwind";
|
||||
const flowbiteReact = require("flowbite-react/plugin/tailwindcss");
|
||||
|
||||
flowbiteReact.config = {
|
||||
charts: true,
|
||||
}
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
|
@ -7,14 +11,12 @@ module.exports = {
|
|||
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
flowbite.content(),
|
||||
".flowbite-react\\class-list.json"
|
||||
],
|
||||
plugins: [
|
||||
addIconSelectors(["mdi", "material-symbols", "twemoji", "fa6-brands"]),
|
||||
require("tailwind-scrollbar"),
|
||||
flowbite.plugin()({
|
||||
charts: true,
|
||||
}),
|
||||
flowbiteReact
|
||||
],
|
||||
darkMode: "selector",
|
||||
theme: {
|
||||
|
@ -43,4 +45,4 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue