vacuum-card
vacuum-card copied to clipboard
Background color is incorrect when using theme
Describe the bug
I'm using the theme ios-dark-mode-red-alternative, after #353 which fixed #337 the UI is considerably better however it still needs improvement, as shown below.
Steps to reproduce
- Install and activate theme
ios-dark-mode-red-alternative
(any ios theme is affected though, they are available here) - Add vacuum card
- Notice the background and borders are different than the rest of the widgets.
Expected behaviour
Vacuum card should have the same style as the rest of the widgets (check screenshot for reference)
Screenshot

Versions
Release: v2.6.0 Browser: chrome HomeAssistant version: 2022.03.03
I'll try to take a look at that. Help is appreciated.
Remove in vacuum-card.js
--vc-background:var(
--ha-card-background,
var(--card-background-color, white)
);
Still like this after removing that line in vacuum-card.js
With card-mod integration can be solved.
Install card-mod and add to yaml:
style: |
div.toolbar {background: unset;}
div.preview {background: unset;}
We are using --ha-card-background
. You can override it with --vc-background
variable.