Open acdc-digital opened 7 months ago
I wonder if I can just move the Theme Provider to the DashboardLayout instead of the app Layout? I wouldn't mind if the Homepage didn't have a theme, as it's likely only supposed to look one way for new Users anyways, and then they can have more functionality within the app itself once signed-on, etc.
I tried changing the Theme-Toggle to the Dashboard layout, however, it appeared we lost all Dark functionality. So, I put it back in the Main app component layout. This way, all we have to do is add a tailwind class 'dark:bg-.....' to the components which aren't switching with the dark toggle. We can play around with this and change the settings for all components as appropriate. For now, I'm just going to leave it and go back and change it later.
One thing I noticed is that when I toggle Dark mode, it changes the buttons on the Canvas (header), but not the entire canvas areas itself. Maybe the layout isn't being properly set to change with the Theme settings.