Changing color in different severity and states #2232
-
Hello We are using PrimeOne-2.1.1 components in Figma and we are wondering how to change colors in different severity and states. For example, we are using one button which has different colors depending on the state. We would like to change default color in the Hover state (the Idle state is working when we want to change it...). We tried to change it by choosing state -> Hover And select a different color: After selecting the color, we changed the state to idle, but the color in the hover state didn't change when we presented our prototype. We also tried to set the colors in the library, where we have all the components, and the result was the same. Do you have any advice? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
Hello, for a color change, the ideal way in your case is to make the changes in the library's main file and then publish the library again for the changes to take effect in consumer files.
While making the changes, make sure you edit the main component and not the instance by using 'Go to main component.'
Additionally, after selecting the button component, you can see which variants are Hover by choosing Hover from the State section in the Properties panel on the right.
If you encounter any issues while trying this, please let us know so we can assist you.