Skip to content

Theemo / @theemo/sync / ReaderTool

Interface: ReaderTool

This is for tools used during the sync command to read tokens from most of a the time a design tool.

Example

ts
Figma may be your tool for reading tokens. This will call the API evalute
the response and returns a token collection

Methods

read()

ts
read(): Promise<TokenCollection<Token<"unknown">>>

Reads a collection of tokens off the tool

Returns

Promise<TokenCollection<Token<"unknown">>>

Defined in

tool.ts:16