Is this a regression?
I don't know
Description
I'm not sure what is needed to get dark mode to work. I followed the instructions on this page. It doesn't say what exactly to do. I don't know where to put the providerFlowbiteThemeConfig but that sounds like it is only if you want to change the behavior. I injected Theme into my component but when I try and change the theme with a button it doesn't work and the log still reports the theme as 'light':
this.theme.setTheme('dark');
console.log('currentTheme:', this.theme.currentTheme());
I tried adding the attribute data-theme="dark" to my html element in index.html but it still shows as 'light'.
Please provide the exception or error you saw
No exception, the theme just doesn't change
OS
Windows
Browser
Chrome
Node version
v24.13.1
Flowbite-angular version
21.0.0
Anything else?
No response
Is this a regression?
I don't know
Description
I'm not sure what is needed to get dark mode to work. I followed the instructions on this page. It doesn't say what exactly to do. I don't know where to put the
providerFlowbiteThemeConfigbut that sounds like it is only if you want to change the behavior. I injectedThemeinto my component but when I try and change the theme with a button it doesn't work and the log still reports the theme as 'light':I tried adding the attribute
data-theme="dark"to my html element in index.html but it still shows as 'light'.Please provide the exception or error you saw
OS
Windows
Browser
Chrome
Node version
v24.13.1
Flowbite-angular version
21.0.0
Anything else?
No response