Forum Forum

Retour

Set Icon Color Option in Actions

Bascule
Set Icon Color Option in Actions
Réponse
17/01/23 19:12
Hello SB Team!  
Was wondering if there was any thought of adding the option to "Set icon color" in button actions?  I'm in a situation where i need the look of a button to change when another button is clicked.  I've worked with button states and that's not going to help me.  
Let me know! 
Thanks! 
Scott
0 (0 Voter)

RE: Set Icon Color Option in Actions
Réponse
17/01/23 19:18 en réponse à Scott Sheridan.
Hi Scott,
I can add it to our backlog. Can you send us a screenshot/explanation of your use case? The stronger the use case, the more likely something is to be implemented. If you don't want to share it here, you can just email it.

In the meantime, if the fill states won't work for you (the down state + toggle on + setSelected true), then I think the only thing you can do is create a copy of the button with the icon in the color that you want, and make both buttons do the same thing.
0 (0 Voter)

RE: Set Icon Color Option in Actions
Réponse
17/01/23 19:59 en réponse à Navdeep Dhillon.
This might be helpful for others. Here's an overview of what can and cannot be done with button states + toggle (can change color of bg, text, icon, cannot change text format): https://www.screencast.com/t/nFq4Mrvveq
0 (0 Voter)