forked from RedMadRobot/figma-export
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfigma-export.yaml
More file actions
34 lines (32 loc) · 1.21 KB
/
figma-export.yaml
File metadata and controls
34 lines (32 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
figma:
lightFileId: BEjfU0kCVnPqXdRLfoLvkf
darkFileId: QwF30YrucxVwQyBNT0C09i
# [optional] Common export parameters
common:
icons:
# Name of the Figma's frame where icons components are located
figmaFrameName: Icons
images:
# Name of the Figma's frame where image components are located
figmaFrameName: Illustrations
# [optional] Android export parameters
android:
# Relative or absolute path to the `main/res` folder including it. The colors/icons/imags will be exported to this folder
mainRes: ./app/src/main/res
# Parameters for exporting icons
icons:
# Where to place icons relative to `mainRes`? FigmaExport clears this directory every time your execute `figma-export icons` command
output: "figma-export-icons"
# Parameters for exporting images
images:
# Where to place images relative to `mainRes`? FigmaExport clears this directory every time your execute `figma-export images` command
output: "figma-export-images"
# Image file format: svg, png or webp
format: webp
# Format options for webp format only
webpOptions:
# Encoding type: lossy or lossless
encoding: lossy
# Encoding quality in percents. Only for lossy encoding.
quality: 85