Themes JSON File
This applies to: Visual Data Discovery
JSON File Example Updates
To create your own theme, first find the id 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.
Note: You can only tailor theme colors. Other tailoring properties (such as fonts or font sizes) should not be changed.
Be sure to remove the "system": true and "id": "<string>" properties from the JSON file before you use it to create a theme. Symphony 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 Symphony-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 Symphony- supplied themes. See Manage User Interface Themes.
Finally, if you are changing the colors used for a specific visual type or a table, use the following substitutions.
| Substitution | Description |
|---|---|
|
Specify one of the following: |
|
Specify one of the following: |
|
Specify one of the base color parameters from the |
|
Specify one of the base color parameters from the |
|
Specify the new color setting for the |
|
Specify a name for your color palette, if you choose to add your own, personalized, palette to the environment. Palette names can be referenced in the |
|
Specify the hexadecimal representation of up to 9 colors (where |
|
Specify the name of a supplied color palette or a color palette defined in this JSON file. |
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.
Comments
0 comments
Please sign in to leave a comment.