Overview of a state object
In Hackbox, a state must contain the following properties:
| Property Name | Type | Required | Description |
|---|---|---|---|
version | integer | Yes | This is the version of the state object. |
theme | object | Yes | This JSON object contains theme information for the state, such as the style of the header & background as well as which Google fonts to use. |
presets | object | Yes | This JSON object contains style information for the various components used in the state. |
ui | object | Yes | This JSON object contains the data for various components - and the header - used in the state. |