JSON File Updates
Work with an existing theme by downloading it, then updating a copy appropriately for your desired color scheme.| Theme Plan | Actions Required |
|---|---|
| You want to design a new color theme, using an existing enhanced-experience theme as a template. |
If you don’t remove these items, you may overwrite the system themes, and in turn, have your updates overwritten by subsequent software version updates. Self-Service Analytics automatically generates an ID for the theme and sets the value of the "system" property when the API request to create the theme is processed.
|
| You want to update a standard or custom classic color theme, using an existing classic theme as a template. |
|
id of your theme, then download that theme from your environment. Use it as a template as described in the table above to make appropriate changes to deploy your color selections.
To find your currently active theme id, use the /api/customization/themes/active API endpoint with a GET call.
You can only tailor theme colors. Other tailoring properties (such as fonts or font sizes) should not be changed.
Expand a Theme to Support the Enhanced Experience
If you’re upgrading from a previous environment to v26.2 or later, you can activate thed+a_light theme, or edit the d+a_light theme to suit your needs and use the enhanced experience UI.
Alternatively, you can take your existing classic theme and PATCH it by updating appropriate values for your existing theme using the sample below and adding it to your environment using a PATCH command to the themes API endpoint.
These updates are needed to support the new interface features that are a part of enabling the enhanced experience. See Themes and UI Updates.
Update your custom theme and enable the
enhanced-experience toggle before upgrading past version 26.2. The enhanced homepage and navigation will become the standard experience for all users in the near future. We recommend making these updates now to ensure a smooth transition.JSON Updates to Support Enhanced Experience UI
Update this sample with your appropriateid, name, and other updates, then PATCH to your staging environment to test before deployment to production. See Themes and UI Updates.
Update Specific Items in Your Theme
To change colors used for a specific visual type or a table, use the following substitutions.
You can specify color settings for more than one visual type or table type. You can also specify more than one color setting for each type.
You can specify color settings for more than one visual type or table type. You can also specify more than one color setting for each type. For more information on themes, see Manage User Interface Themes.
JSON File Example Updates (Earlier Releases)
To create your own theme, first find theid of your theme, then download that theme from your environment. Use it as a template to make appropriate changes to deploy your color selections.
To find your currently active theme id, use the /api/customization/themes/active API endpoint with a GET call.
You can only tailor theme colors. Other tailoring properties (such as fonts or font sizes) should not be changed.
"system": true and "id": "<string>" properties from the JSON file before you use it to create a theme. Self-Service Analytics automatically generates an ID for the theme and sets the value of the "system" property when the API request to create the theme is processed.
You can specify a master theme in the theme JSON using the masterThemeID property. Master themes are optional, but allow you to identify the Self-Service Analytics-supplied theme from which properties should be inherited by a custom theme, if the properties are not specified in the custom theme JSON. Master themes can only be Self-Service Analytics- supplied themes. See Supplied Themes.
Finally, if you are changing the colors used for a specific visual type or a table, use the following substitutions.
You can specify color settings for more than one visual type or table type. You can also specify more than one color setting for each type. For more information on themes, see Manage User Interface Themes.