This repository houses SVG icons you might need to build an application.
-
Install dependencies and link local packages together:
npm install
-
Run to fetch and save SVGs from particular page in Figma (optional):
npm run figma --page=PageName
-
Run:
npm run build
Note: To update the icons directly from Figma, please set the proper environment variables:
FIGMA_TOKEN - Personal access tokens allow you to access your own data via the Figma API.
FIGMA_FILE_ID - The file ID is the string of random alphanumeric characters found in the section of the URL after figma.com/file/.
pnpm install --save @heathmont/moon-icons-tw
import { ArrowsRight, ControlsPlus } from "@heathmont/moon-icons-tw";
Please, don't forget manually update the release version in package.json to the new one.
New version of npm package @heathmont/moon-icons-tw will be automatically published when changes will be merged to the master branch.