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.
#
FormatsFormats 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.
- Android
- (Coming soon)
- iOS
- (Coming soon)
- React Native
- native-ts - TypeScript variables.
- native-tsx - TypeScript for CSS-in-TS.
- native-js - JavaScript variables.
- native-jsx - JavaScript for CSS-in-JS.
- Web