Skip to content

Commit

Permalink
🐛 Fixed tts text color when artwork is present #270
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih committed Apr 5, 2020
1 parent bec1d80 commit fdef4f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/tts.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class MiniMediaPlayerTts extends LitElement {
paper-input {
opacity: .75;
--paper-input-container-color: var(--mmp-text-color);
--paper-input-container-input-color: var(--mmp-text-color);
--paper-input-container-focus-color: var(--mmp-text-color);
--paper-input-container: {
padding: 0;
Expand All @@ -104,12 +105,10 @@ class MiniMediaPlayerTts extends LitElement {
opacity: 1;
}
ha-card[artwork*='cover'][has-artwork] paper-input {
--paper-input-container-focus-color: #FFFFFF;
}
ha-card[artwork*='cover'][has-artwork] paper-input {
--paper-input-container-color: #FFFFFF;
--paper-input-container-input-color: #FFFFFF;
--paper-input-container-focus-color: #FFFFFF;
}
`;
}
Expand Down

0 comments on commit fdef4f5

Please sign in to comment.