Creating a New Theme

Existing default themes are displayed on the left-hand side of the screen. To create a new theme, click the ‘Add’ icon at the top of the Themes configuration screen.

This will open a style sheet, where you can start building your new theme. For full details on how to do this please refer to the following section on Style for further details. 

From within the Themes screen you will also be able to copy an existing theme, which you can use as a starting point for creating your new theme and delete a theme. 

If you have changed one of the default themes, please see below for how these will be handled during a new installation of the dashboard.

Windows – a backup is taken of the themes folder before an upgrade. Users will be able to retrieve a modified piTheme from the backup folder if they made changes to it

Linux – when upgrading, only user created themes will be copied into the new dashboard

Docker – when upgrading, all piThemes will be overwritten.

Copying an existing theme

To copy an existing theme, select the theme on the left-hand side of the screen and then click the ‘Duplicate’ icon. 

A copy will be taken of the existing them and renamed as ‘THEME_copy’.

Copying an existing theme is a quick way to start building a new theme as you only need to change certain elements.