You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using types in my tailwind file and seems like theme root is forgotten, even though it works. :)
importdaisyui,{typeConfigasDConfig}from'daisyui';/** @type {import('tailwindcss').Config} */exportdefault{content: [//'./src/**/*.{tsx,ts,html}',],plugins: [//daisyui,],// https://daisyui.com/docs/config/// daisyUI config (optional - here are the default values)daisyui: {themes: ['light','dark'],// false: only light + dark | true: all themes | array: specific themes like this ["light", "dark", "cupcake"]darkTheme: 'dark',// name of one of the included themes for dark modebase: false,// applies background color and foreground color for root element by defaultstyled: true,// include daisyUI colors and design decisions for all componentsutils: true,// adds responsive and modifier utility classesprefix: '',// prefix for daisyUI classnames (components, modifiers and responsive class names. Not colors)logs: false,// Shows info about daisyUI version and used config in the console when building your CSSthemeRoot: '#container',// The element that receives theme color CSS variables}satisfiesDConfig,};
The text was updated successfully, but these errors were encountered:
Thank you @flexchar
for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I
find a solution.
In the meantime providing more details and reproduction links would be
helpful.
What version of daisyUI are you using?
4.12.2
Which browsers are you seeing the problem on?
No response
Reproduction URL
Describe your issue
I am using types in my tailwind file and seems like theme root is forgotten, even though it works. :)
The text was updated successfully, but these errors were encountered: