/moon-icons-react

Moon Design System react icons

Primary LanguageTypeScriptMIT LicenseMIT

Moon Design System icons

npm (scoped)

Introduction

This repository houses SVG icons you might need to build an application.

Installing

  1. Install dependencies and link local packages together:

    npm install
  2. Run to fetch and save SVGs from particular page in Figma (optional):

    npm run figma --page=PageName
  3. 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/.

Consuming

pnpm install --save @heathmont/moon-icons-tw
import { ArrowsRight, ControlsPlus } from "@heathmont/moon-icons-tw";

Release notes

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.