figmaFrameName for colors export
ink1804 opened this issue · comments
Hello, how can I use figma-export for single frame in file? It works for icons or images, but not for colors.
figma-export colors
exports colors from all frames i have in file.
Hello.
You don't need to specify a frame to export colors.
figma-export colors
command exports colors only from Color Styles. You can see all the Color Styles of your Figma File in the right sidebar (Inspect).
To be able to export the Color Styles using FigmaExport you must publish it.
In the example Figma file I added colors to a frame just for convenience, to visually show all the colors.
Is it possible to export single style or several styles?
I have "Base" colors and special colors for different apps("App1" and "App2") so i need to export only "Base" colors and dont export "App1" and "App2" colors.
Is it possible?
There are 3 possible solutions:
- Don‘t publish "special colors". FigmaExport exports only published Color Styles.
- In the description field of the "special color" Color Styles type "none". FigmaExport doesn’t export Color Styles which contains a word "none" or "android".
- I can add an argument for
figma-export colors
command to specify a list of exported Color Styles. For examplefigma-export colors -i figma-export.yaml "Base/*"
command will exports onlyBase
colors. This is not supported right now but I can add this in the next version of FigmaExport.
Wow, third variant would be so cool! I'll waiting for it, thank you very much ^^,
Done! Please update to the latest version (0.34.0) and try to export colors.
It works! You solved a lot of our problems!
Thank you very much! <3