×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

Manual

Theme properties

Thomas Walker

Thomas Walker Last update: Oct 17, 2017

Themes have properties that constitute metadata or influence the way they are rendered. The theme developer can set some of these in a properties file named theme.properties at the root level of their theme. The file must be encoded in UTF-8.

The following table documents the available properties, their default value, and their effect.

Property KeyDescriptionDefault Value
theme.plugin.keyThe key of the plug-in when the theme is downloaded as a JAR file.A slugified version of the theme name.
theme.plugin.nameThe name of the plug-in when the theme is downloaded as a JAR file.<theme-name> - Scroll Viewport Theme
theme.plugin.versionThe version of the plug-in when the theme is downloaded as a JAR file.1.0
theme.plugin.module.keyThe module key of the theme in the plug-in when the theme is downloaded as a JAR file.Same as the plug-in key.
theme.descriptionA textual description of the theme. 
theme.enableViewportControlControls whether the Viewport Control is enabled in the theme.true

Example

theme.properties

theme.plugin.key=com.example.my-theme-plugin
theme.plugin.name=My Viewport Theme Plugin
theme.plugin.version=1.0
theme.plugin.module.key=my-theme
theme.description=This is my first Viewport Theme.
theme.enableViewportControl=true

2x2.12
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.
Ok