Defined

Defined Style Module (defined)

All existing style modules, and any style module you add, must define the enabled property at a minimum. This allows theme developers and site maintainers to toggle individual style modules on and off. You can add other key-values pairs to control how the style module behaves, if you want. Those values will be available to the module when it’s processed as a template.

JSON Schema

Definition
{
  "$id": "https://platen.io/schemas/platen/site/theme/styles/defined/schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "foo\n\nhttps://platen.io/schemas/platen/site/theme/styles/defined/",
  "properties": {
    "enabled": {
      "description": "Choose whether the module should be loaded into the theme.\n\nhttps://platen.io/schemas/platen/site/theme/styles/defined/#enabled",
      "title": "Enable Module",
      "type": "boolean"
    }
  },
  "required": [
    "enabled"
  ],
  "title": "Defined Style Module",
  "type": "object"
}

Required Properties

Enable Module (enabled)

Choose whether the module should be loaded into the theme.

Edit this page