1.0.3 • Published 2 months ago

@grace-studio/graceful-figma v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@grace-studio/graceful-figma

npm version

Installation

For global access of the tool install it with npm i -g @grace-studio/graceful-figma or yarn global add @grace-studio/graceful-figma

It can also be installed locally in a project with npm i -D @grace-studio/graceful-figma or yarn add -D @grace-studio/graceful-figma

Usage

The React icons outputted by the command is dependent on @grace-studio/graceful-next to work properly.

With cli-parameters:

graceful-figma react-icons \
--key <project-key> \
--page <page-name> \
--section <section-name> or <section-name,other-section-name> \
--out <./output/dir>
--force

Using config file .gracefulrc.json

{
  "token": "optional place for your access token",
  "react-icons": {
    "key": "project-key",
    "page": "page-name",
    "section": "section-name", // or ["section-name", "other-section-name"] or "section-name,other-section-name"
    "out": "./output/dir",
    "force": true || false // optional, will show confirm dialog otherwise. Useful in pipelines.
  }
}
graceful-figma react-icons

Optional .env

The access token can be placed in the .env file

#.env
FIGMA_ACCESS_TOKEN=your-secret-access-token
1.0.3

2 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago

0.2.0

7 months ago

0.1.1

8 months ago

0.1.0

8 months ago