acdc-digital / solomon-Desktop

Solomon Desktop is a developing full-service workstation for proactively managing projects with artificial intelligence. Project content is vectorized and can be utilized by the in-app assistant for contextual data-analysis within an intuitive Dashboard.
GNU General Public License v3.0
1 stars 0 forks source link

Dark mode not toggling for Canvas areas. #6

Open acdc-digital opened 7 months ago

acdc-digital commented 7 months ago

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.

acdc-digital commented 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.

acdc-digital commented 7 months ago

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.