Task

abstract class Task

A task is simply a function with returns a list of TaskFile that Figmagen will generate.

There are default implementations for multiple styles or components like colors or typographies.

Constructors

Link copied to clipboard
fun Task()

Functions

Link copied to clipboard
abstract suspend fun run(): List<TaskFile>

Properties

Link copied to clipboard
lateinit var figmaToken: String

Inheritors

Link copied to clipboard