Changing Active Icon Color #358
-
Looking for guidance on how to change the active-icon-color when using a button. I can control this on a slider card, but on a button card I can't figure it out.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Using the Custom styles / Templates menu of the card, I managed to make the icon rotate when it's on. .is-on .bubble-icon{ I don't know anything about CSS. But i found information in the style.ts file. |
Beta Was this translation helpful? Give feedback.
-
use: .icon-container {
color: ${state === 'on' ? 'darkgrey' :
'pink'} !important;
} |
Beta Was this translation helpful? Give feedback.
use: