A very simple React component to demonstrate Daisy UI's color pallet.
The official documentation is great, but having a component in your project that shows you your chosen theme and any overrides you've applied.
npm i daisyui-palette-demo
// Add the library to your tailwind.config's content array
const config = {
content: [
"node_modules/daisyui-palette-demo/dist/index.js"
]
}
import React from "react";
import PaletteDemo from "daisyui-palette-demo";
export default function Page() {
return <PaletteDemo />;
}