Skip to main content

Compile design tokens

Once your design system has been created and configured, you may compile the configuration into the tokens mentioned above by running the compile command. This command requires a name (a folder within .aesthetic), an output format, and a target folder to write files to.

aesthetic compile <name> ./styles/system --format web-css


Formats are the combination of a device platform and target language, and represent the compiled output of a design system configuration. Pass the --format option to choose one of the following.