Documentation
Chai Studio
Chai Studio config file

Chai Studio config file

The Chai Studio Config file is a JSON file that contains configuration settings for Chai Studio folder mode only. It is located in the root directory of your project folder.

The config file is automatically created when you first open files in Chai Studio folder mode.

Name of the config file: chai.config.json

Configuration Options

  1. assetsDir: The directory where your assets are located. All assets will be copied to this directory on upload. This is an optional setting. If not specified, assets will internally handled by Chai Studio.
  2. theme: Chai Builder theme configuration.

Example Config File

{
   "assetsDir": "public/assets",
   "theme": {
       "primaryColor": "#7A1CAC",
       "secondaryColor": "#AD49E1",
       "headingFont": "Inter",
       "bodyFont": "Inter",
       "roundedCorners": "5",
       "bodyBgLightColor": "#fff",
       "bodyBgDarkColor": "#000",
       "bodyTextDarkColor": "#fff",
       "bodyTextLightColor": "#000"
   }
}