Skip to content

Commit

Permalink
Fix for #89: remove if/else block for state-color. Wasn't working any…
Browse files Browse the repository at this point in the history
…way.
  • Loading branch information
th3jesta committed Feb 13, 2024
1 parent a92a3dd commit 22df835
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions themes/lcars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -937,15 +937,6 @@
border-top-right-radius: var(--ha-card-border-radius) !important;
border-top-left-radius: var(--ha-card-border-radius) !important;
--mdc-theme-primary: var(--lcars-ui-secondary) !important;
{% if has_value(config.entity | string) %}
{% if is_state(config.entity | string, 'off') %}
--state-color: var(--lcars-dark-gray);
{% else %}
--state-color: var(--lcars-gray);
{% endif %}
{% else %}
--state-color: var(--lcars-dark-gray);
{% endif %}
}
ha-card > .name {
color: black;
Expand Down

0 comments on commit 22df835

Please sign in to comment.