You can also define additional context variables within the theme.json file that are made available to your theme. For more info see the variables docs.

Excluded Files and Folders

When you upload a ZIP file of your theme some files and folders are excluded and won’t be available to the live version of your theme on Typed. Any file or folder that’s name begins with a dot . or underscore _ will be excluded. Bear this in mind when naming files and folders within your theme.

Development Source Files

As mentioned above, some files and folders will be excluded when you upload a ZIP file of your theme. You should use this to your advantage when working with source files that are to be compiled into your theme’s assets folder, for example SASS or JavaScript files. It is recommended you place your theme’s development source files in a folder that’s name begins with an underscore _, for example _src.

In the following example all files and folder within the _src folder will be excluded as well as the .editorconfig file.