Back to Lona

File Formats

docs/file-formats/README.md

latest944 B
Original Source

File Formats

This specification may deviate slightly from what Lona actually uses. This specification is currently the goal.

Lona primarily operates on .component files. These are component definition files. Lona Studio manipulates these files, and Lona Compiler generates code from them.

The component format is defined here: Component File Format

Lona additionally consumes a variety of other file formats for building design systems. Each of these is currently stored in a canonical location relative to the workspace.

TypeName
Colorscolors.json
Text StylestextStyles.json
Gradientsgradients.json
Shadowsshadows.json
Typestypes.json