Uploading and managing themes
You can upload custom themes, including colors and backgrounds based on your company standards to style your apps. Tenant admins and analytics admins can manage themes.
With custom themes you can precisely style an app by:
-
Changing the colors.
-
Adding images and backgrounds.
-
Specifying the font sizes and font colors globally or at a granular level.
-
Define color palettes.
-
Customize margins, padding, and spacing.
For information about how to create your own themes for Qlik Sense apps, see Custom themes. For information about styling apps, see Styling an app.
Themes with external resources
Themes that contain links to external resources must have its origins allowlisted in the Content Security Policy (CSP). For more information, see Managing Content Security Policy (CSP).
Supported file formats and size
Supported file formats
Themes only support the following file formats:
-
HTML files
-
CSS files
-
JSON files
-
Images (PNG, JPEG, GIF, and SVG)
-
QEXT metadata files
-
Font files
ZIP file limits for themes
ZIP files containing themes have the following limits:
-
Maximum ZIP file size: 30 MB
-
Maximum file size of files in ZIP: 30 MB
-
Maximum number of files in ZIP: 500
-
Maximum uncompressed total file size of files in ZIP: 100 MB
Unsupported file formats
For security reasons, themes cannot contain files with disallowed MIME types. MIME types (Multipurpose Internet Mail Extensions) are a standard way to indicate the nature and format of a file. Uploading will fail if your theme contains, for example, an executable file or a ZIP file.
The following MIME types are not allowed:
- 'application/octet-stream'
- 'application/x-coredump'
- 'application/x-dosexec'
- 'application/x-executable'
- 'application/x-java-applet'
- 'application/x-object'
- 'application/x-sharedlib'
- 'application/zip'
- 'text/x-shellscript'
- 'text/x-awk'
- 'text/x-gawk'
- 'text/x-msdos-batch'
- 'text/x-nawk'
- 'text/x-php'
All files in a theme must have both a file name and a file extension. Files that do not comply will be ignored. Examples of ignored files include .gitignore and README.
Adding and managing themes
Themes are managed on the Themes page in the Administration activity center.
In the Themes table:
-
Name refers to the metadata name in the QEXT file.
-
QEXT version indicates the metadata version in the QEXT file.
-
QEXT filename is the unique identifier and the name of the theme definition file.
You can filter themes by tags.
Adding a new theme
Do the following:
- In the Administration activity center, go to Themes.
- Click Add.
-
Click Browse to select a theme file, or drop a file in the designated area.
-
Optionally, add tags.
-
Click Publish.
Editing a theme
Do the following:
- In the Administration activity center, go to Themes.
-
On the theme you want to edit, click and select Edit.
The editing panel is displayed with options for replacing the existing theme and adding or removing tags.
-
Save your changes.
Deleting a theme
Deletion of themes can impact all resources, affecting all users within the tenant.
Do the following:
- In the Administration activity center, go to Themes.
- Select the themes you want to delete.
- Click Delete.