Skip to content

Commit

Permalink
Designate 0.3.5
Browse files Browse the repository at this point in the history
Fixed active state color in newer HA versions
  • Loading branch information
berrywhite96 committed May 19, 2023
1 parent bd6c702 commit 8e9391f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@berrywhite/lovelace-shutter-row",
"private": true,
"version": "0.3.4",
"version": "0.3.5",
"description": "Home Assistant Lovelace Shutter Row Card",
"main": "shutter-row.js",
"module": "shutter-row.js",
Expand Down
8 changes: 4 additions & 4 deletions shutter-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ var mdiStop = "M18,18H6V6H18V18Z";
const HASSIO_CARD_ID = "shutter-row";
const HASSIO_CARD_EDITOR_ID = HASSIO_CARD_ID + "-editor";
const HASSIO_CARD_NAME = "Shutter Row";
const VERSION = "0.3.4";
const VERSION = "0.3.5";

// SVG PATHS
const PATH_SHUTTER_100 =
Expand Down Expand Up @@ -695,9 +695,9 @@ ha-card {
padding: 16px;
}
ha-icon.active-icon,
ha-icon-button.active-icon {
color: #fdd835 !important;
color: var(--paper-item-icon-active-color, #fdd835) !important;
ha-svg-icon.active-icon {
color: var(--state-active-color) !important;
color: var(--state-cover-open-color, var(--state-cover-active-color, var(--state-active-color))) !important;
}
div.content {
cursor: pointer;
Expand Down
2 changes: 1 addition & 1 deletion src/const.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export const HASSIO_CARD_ID = "shutter-row";
export const HASSIO_CARD_EDITOR_ID = HASSIO_CARD_ID + "-editor";
export const HASSIO_CARD_NAME = "Shutter Row";
export const VERSION = "0.3.4";
export const VERSION = "0.3.5";

// SVG PATHS
export const PATH_SHUTTER_100 =
Expand Down
4 changes: 2 additions & 2 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ha-card {
padding: 16px;
}
ha-icon.active-icon,
ha-icon-button.active-icon {
color: var(--paper-item-icon-active-color, #fdd835) !important;
ha-svg-icon.active-icon {
color: var(--state-cover-open-color, var(--state-cover-active-color, var(--state-active-color))) !important;
}
div.content {
cursor: pointer;
Expand Down

0 comments on commit 8e9391f

Please sign in to comment.