Configure Theme Functionality
manifest.json in the root directory.
All manifests must contain the following:
manifest: The version of the Weebly Platform API your application was built to work with. The only currently supported value is
version: The version of your theme. Provided as a string, following Semantic Versioning guidelines (Major.Minor.Patch: for example 1.5.13).
enableEditorJS: Set to
responsive: Set to
trueif your theme is responsive,
falseif not. The default is
glyph-icons: Always set to
trueto use the
Glyphiconssocial icons. (
Falseuses the deprecated
tmpSocialIconFontand should be avoided.)
is-dark: Set to
trueif your theme has a dark background. If your theme has a dark background, certain portions of a site may not display correctly unless you specifically style those areas to account for it. By setting this property to
true, this styling will be handled for you. For example, the Blog Comments area by default uses dark font on a light background. If your theme has a dark background, the font cannot be easily read. By setting this property to true, the font changes to a light color automatically.
color-presets: You can create color palettes that provide a default primary and accent color that the user can then override, allowing them to personalize and brand their site. See Create a Color Palette for more info on these manifest elements.
variations: You can create different color versions of your theme. For example, you might create a light version and a dark version. You configure the available versions in the manifest. See Add Color Variations for more info about configuring these elements.
custom-options: You can create configurable options to your theme using our Options framework. For example, you might want to allow the user to turn off social icons or search, or display a phone number. The user sets these options on the Theme Tab. You configure options in the manifest. See Add Options to Your Themes for details.
Here’s a sample manifest for a theme with a color palette, variations, and options