Closed nburka closed 3 years ago
See API documentation https://www.figma.com/plugin-docs/api/ComponentNode/#description
Note: We should create a tag like dhis2:file_name
for every icon that represents a DHIS2 icon. Then we can change the actual filename to be consistent, use hyphens, and be meaningful
I've got a start of this working.
I'm using the https://www.npmjs.com/package/figma-js package, but this might be even better? I'm not that familiar with GraphQL though https://github.com/braposo/figma-graphql
We'd love to be able to:
Ideally it would run with
yarn update-figma-icons
or something like that.There are two options:
description
field and import that. Steven has already proposed a syntax for this second approach (seems like the easier approach)See Slack conversation