Closed askusbloodfist closed 3 years ago
There is one 'f' to much for the color:
Try with #ffffff
Yeh just a typo by me, Im doing the following. but ABXY are always set colors no matter what i do ` activities:
`
Sins i could not se what might be right infront of me or if the card wont allow you to change the colors of the ABYX Buttons i changed code in the JS files in the js and gz
\www\community\harmony-card\harmony-card.js .. harmony-card.js.gz
The Rows i changed
${this.renderIconButton(buttonConfig['a'], currentDevice, "grid-column: 4; grid-row: 2; color: #ffffff;")}
${this.renderIconButton(buttonConfig['b'], currentDevice, "grid-column: 5; grid-row: 2; color: #ffffff;")}
${this.renderIconButton(buttonConfig['x'], currentDevice, "grid-column: 6; grid-row: 2; color: #ffffff;")}
${this.renderIconButton(buttonConfig['y'], currentDevice, "grid-column: 7; grid-row: 2; color: #ffffff;")} `
You can allso remove the color part to have it change acording to your interface colors. untill the creator makes the changes needed to make it change by configuring the card inside the ui.
Pull requests are always considered.
I didnt have any issues changing the color of the 'y' button with configuration:
buttons:
y:
color: #ffffff
I have the following code you Y And everythign does what i want exept the color. Is the coloring realy working on xayb=? I myself cant cange the colors. managed to do any other option.