I’ve got all my styles created already that I use. How can I use those already created styles in my variables without having to got get the hex code of each and make it again. This would mean i need to update the variable whenever i update my style as well.
So yeah, any way of using my styles within my variables?
I’m also trying to figure this out. I’ve got +100 styles on my DS, with descriptions in each one of them. Recreating them now as variables would be a nightmare. Does anyone know how to use styles library to create variables?
If you want to take a look it’s here on Github - GitHub - figma/plugin-samples: 🔌 Sample Figma plugins. (in the folder “styles-to-variables”).
By now there are a few plugins on the market that convert color styles into variables, each with several thousand users.
One of them was even featured in a video tutorial Backing color styles with variables on the official Figma Youtube channel.
I found a few others by typing in “to variables” in the Figma plugin searchbar.
DISCLAIMER: I’m not affiliated with any of these plugins. I haven’t even tried out any of them.