purifier-card 2.7.0 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purifier-card",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "Air Purifier card for Home Assistant Lovelace UI",
5
5
  "main": "dist/purifier-card.js",
6
6
  "scripts": {
@@ -447,6 +447,7 @@ export class PurifierCard extends LitElement {
447
447
 
448
448
  return html`
449
449
  <ha-card>
450
+ <ha-ripple></ha-ripple>
450
451
  <div class="preview">
451
452
  <div class="header">
452
453
  <div class="tips">${this.renderPresetMode()}</div>
package/src/styles.css CHANGED
@@ -1,14 +1,14 @@
1
1
  :host {
2
2
  --pc-background: var(
3
3
  --ha-card-background,
4
- var(--card-background-color, white)
4
+ var(--card-background-color, transparent)
5
5
  );
6
6
  --pc-primary-text-color: var(--primary-text-color);
7
7
  --pc-secondary-text-color: var(--secondary-text-color);
8
8
  --pc-icon-color: var(--secondary-text-color);
9
9
  --pc-slider-path-color: var(--round-slider-path-color);
10
10
  --pc-slider-bar-color: var(--round-slider-bar-color);
11
- --pc-toolbar-background: var(--vc-background);
11
+ --pc-toolbar-background: transparent;
12
12
  --pc-toolbar-icon-color: var(--secondary-text-color);
13
13
  --pc-divider-color: var(--entities-divider-color, var(--divider-color));
14
14
  --pc-spacing: 10px;
@@ -19,6 +19,7 @@
19
19
  }
20
20
 
21
21
  ha-card {
22
+ background: var(--pc-background);
22
23
  flex-direction: column;
23
24
  flex: 1;
24
25
  position: relative;
@@ -31,7 +32,6 @@ ha-card {
31
32
  }
32
33
 
33
34
  .preview {
34
- background-color: var(--pc-background);
35
35
  position: relative;
36
36
  }
37
37