1.0.8 • Published 3 months ago
@expo/styleguide-icons v1.0.8
@expo/styleguide-icons
Expo's icons for use on the web.
Get started
- Install dependencies with
yarn
. - Set up a .env file. To do this, you'll need to:
a. Duplicate the .env.example file, and name the copy: .env.
b. Inside it, define a
FIGMA_TOKEN
with a personal access token from Figma. Click on your avatar in Figma in the top right > Settings > Account tab. The personal access token settings are near the bottom. - Build everything with
yarn build
.
Icon generation
We generate all icon files based on our Figma icons. The process is:
- Make a call to Figma to get all the icons from a specific file.
- Once we get every component from the icons pages specified in figma.config.js, we optimize them all with SVGO.
- After that, we use SVGR to create React components of each icon. The outputter is defined in figma.config.js, and we use a custom template in svgr-icon-template.js. These components are stored in tmp.
- Finally, we use
rollup
to build our final package. These files are saved in dist.
1.0.8
3 months ago
1.0.7
4 months ago
1.0.6
4 months ago
1.0.5
4 months ago
1.0.4
5 months ago
1.0.2
8 months ago
1.0.1
10 months ago
1.0.3
8 months ago
1.0.0
12 months ago
1.0.0-alpha.5
1 year ago
1.0.0-alpha.4
1 year ago
1.0.0-alpha.3
1 year ago
1.0.0-alpha.2
1 year ago
1.0.0-alpha.1
1 year ago
1.0.0-alpha.0
1 year ago