Hey there,
We made a mistake building our grey scale color.
We have variables where grey/400 and a grey/500 are way too close and we realize it should be called grey/300.
How can I merge two variables into one with a new name ? What’s the best solution ? (as I can’t name two variables with the same name in the same collection)
Cheers,
Louis
Hey @Louis_Corba, thank you for reaching out!
It should be not possible at this moment to merge two color variables. I am double checking with the team if they have any workaround for this. Will get back to you once I get more information. Appreciate your patience in the meantime!
1 Like
Hey @Louis_Corba, apologies for the delayed message! I got the confirmation that there should not be a way to “merge” these into a single one. You’d replace one or the other.
Feel free to create a new feature request post with the category “Share an Idea”: Share an idea - Figma Community Forum. Community members can leave their feedback on this feature request and upvote this on interest.
Thank you,
Gayani
1 Like
Thank you Gayani ! No worries, we’ll replace
one way you can do is use plugin and convert all your color styles to variables.
now you have 2 color mode for forexample red, red color style and red color variable.
then you need to use red variable in red style code by using the library insteade of color code.
then if you delete styles your variables will aoutomatically replace in where you use style.