Managing themes
If you are a tenant admin or analytics admin, you can manage themes in the Administration activity center.
You can upload custom themes, such as colors and backgrounds based on your company standards, and use them to style apps. For more information about styling apps, see Styling an app
Themes overview
The following properties are present.
Property | Description |
---|---|
Name |
This is the metadata name contained in the QEXT file, which is different from the QEXT filename. |
Description |
Short description of the theme. |
Tags |
Tags for filtering. |
Author |
Creator of the theme. |
QEXT filename |
Identifier that must be unique. Filename of the theme definition file. Different from the name of the theme. |
QEXT version |
Metadata version contained in the QEXT file. |
Published |
Date of publishing. |
Updated | Date of last update. |
In the table, sort by using the arrows in the properties header. Filter by using the Tags drop-down menu, or by selecting the tags in the table.
Themes with external resources
Themes that contain links to external resources must have its origins allowlisted in the Content Security Policy.
See also: Managing Content Security Policy
Supported file formats and size
Themes only support HTML files, CSS, JSON, and images (PNG, JPEG, GIF, and SVG), along with QEXT metadata files and font files.
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
Theme uploads will fail if they contain files with the following disallowed MIME types:
- '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'
Creating a theme
With custom themes you can precisely style an app by changing the colors, adding images and backgrounds as well as specifying the font sizes and font colors on a global or granular basis throughout your app. You can also define color palettes to be used and customize the specifications for margins, padding, and spacing. For information about how to create your own themes for Qlik Sense apps, see Custom themes.
Adding a new theme
Do the following:
- In the Administration activity center, go to the Themes section and click Add in upper the right-hand corner.
-
In the pop-up, click Browse to select a theme file, or drop a file in the designated area.
Information noteYou cannot upload a theme with the same QEXT filename as an existing one. -
Optionally, add tags.
-
Click Publish.
-
If the theme you just uploaded contain external resources, you need to add the origins in the Content Security Policy to the allowlist. See Managing Content Security Policy.
Editing a theme
You can edit one theme at a time.
Do the following:
- In the Administration activity center, go to the Themes section and select the check box for the theme you want to edit.
-
In the upper right-hand corner, click Edit.
The editing panel is displayed with options for replacing the existing theme and adding or removing tags.
-
Make your edits and save.
Deleting a theme
Do the following:
- In the Administration activity center, go to the Themes section and select the check boxes for the themes you want to delete.
- In the upper the right-hand corner, click Delete.