dwainscheeren / dwains-lovelace-dashboard

An fully auto generating Home Assistant UI dashboard for desktop, tablet and mobile by Dwains for desktop, tablet, mobile
Other
1.77k stars 188 forks source link

Issue with dwains dark theme #318

Closed fwmarcel closed 3 years ago

fwmarcel commented 3 years ago

first a thank you for the great work.

But now to the actual problem:

when i open dwains-dashboard directly, be it in the app or in the browser, the background of the dark theme is bright. See image...

image

if i do a reload and am on another "normal" Home Assistant Lovelace page and from there switch to dwains-dashboard the background is dark as desired. see picture...

image

for this reason i hope to find a solution to the problem here

HairyHook commented 3 years ago

Hello,

I have encountered this problem recently, and the way I fixed it was to set Dwains Dashboard as default dashboard in my user profile. From the picture, I see that you have the "Overview" on top, so most likely that one is your default. Click on User (lower left corner) - Dashboard - Dwains Dashboard as default.

Hope it helps with your issue.

dwainscheeren commented 3 years ago

You can fix this by installing this theme https://github.com/dwainscheeren/dwains-dashboard-addons/tree/master/lovelace_theme

fwmarcel commented 3 years ago

@HairyHook thanks for your help. On my Mobile Devices I have set Dwains Dashboard as default. But the Problem stays.

fwmarcel commented 3 years ago

@dwainscheeren I have already reinstalled this theme. In last week. Is there a update?

TheGroundZero commented 2 years ago

Fresh install of Dwains Dashboard and Dwains Dark Theme, Dwains Dashboard set to default dashboard and user's theme set to Dwains Dark Theme. Yet I still get the light background in the dashboard.

Marcel's fix of reloading and first opening a different page doesn't work image

jasonajack commented 2 years ago

@TheGroundZero Have you found a fix for this yet? I'm seeing the same issue.

TheGroundZero commented 2 years ago

@TheGroundZero Have you found a fix for this yet? I'm seeing the same issue.

I never really figured it out. Sometimes it worked, sometimes it didn't. Sometimes hard browser refresh fixed it, sometimes it didn't.

Moved away from DD and back to customising my own Lovelace dashboards, so can't test with 2022.2 anymore.

dwainscheeren commented 2 years ago

This is fixed weeks ago. You must set an theme in the dd integrations settings and set your own lovelace theme to default or backend selected. Then it works.

jasonajack commented 2 years ago

This is fixed weeks ago. You must set an theme in the dd integrations settings and set your own lovelace theme to default or backend selected. Then it works.

I think this is what I was missing. I had set the dark theme theme in my own profile and did not see the option to configure from the Integrations settings. After I set to dark theme I had to restart the service and Ctrl-F5 to see the new theme show.

Thank you for your help!