This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This script fetches all color styles from a Figma team/document. | |
* | |
* Dependencies: | |
* | |
* - node-fetch | |
* | |
* Due to a limitation in the Figma /styles endpoint, we need to use a | |
* document for actually using the colors in a color grid 🙄That's why | |
* we're both fetching from /styles and /files below. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Dusk browser | |
* Native content types | |
* | |
* Non Fungible Records are stored on the public chain as Magnetic Resource Text (MRT) | |
* which closely inherits from the Magnet URI scheme ("magnet links") | |
* See: https://en.wikipedia.org/wiki/Magnet_URI_scheme | |
* | |
* Data files are stored in directories specified in that node's configuration | |
* in the following formats. |