I’m trying to make a button component with hover state variation, the regular state fill is a color style. now on hover state I want to make it 10% brighter but Figma not allowing me to add more fill layers when you have color style.
Applying different color style is not an option as I want to keep the connection between the original color style.
Please help me solve this puzzle 🙂
Thanks in advance,
Or
Best answer by Gleb
You have several options, but I’m afraid none of them solves this issue well. You can vote for this proposal: Use styles in other styles. Options:
Create a new style. I think this is the best solution for now, you just need to keep in mind to update both styles.
Don’t use styles, use regular fills. Drawbacks are obvious and big.
Create a background overlay rectangle. Not compatible with auto layout so not great for a button unless you are resizing it manually anyway.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.