On this page
article
Daisyui
text-primary-content
Using themed background image for Daisyui
In tailwind.config.mjs
export default {
theme: {
backgroundImage: {
pattern: "var(--image)"
}
}
daisyui: {
themes: [
{
light: {
"--image": "url('example.com')"
}
dark: {
"--image": "url('dark.example.com')"
}
}
]
}
}