Themes
This release introduces themes for the UI. Three themes are provided with the product, composer, modern (light) and dark, but you can define and use your own themes.
At this time, you can only tailor theme colors. Other tailoring properties (such as fonts or font sizes) should not be changed.
Themes are defined, controlled, and managed using a new api/customization/themes
API endpoint and a themes JSON file.
To manage themes, your Composer user must be assigned to a group with the Can Manage Themes (ROLE_ADMINISTER_THEMES) privilege enabled.
You can specify a master theme. Master themes are optional, but allow you to identify the Composer-supplied theme from which properties should be inherited by a custom theme, if the properties are not specified in the custom theme JSON.
Custom color palettes can be defined for the Composer environment in the themes JSON file.
A default color palette can be assigned to all visuals in the themes JSON file. Palettes can also be assigned to individual visual styles in the themes JSON to override the default. Color palettes specified can be custom palettes defined in the themes JSON file or one of the supplied palettes provided with Composer.
Color settings can still be set for individual visuals in the UI and a new Inherit from theme option is available on the Color sidebar of a visual. Select this option to use the theme colors for the visual, regardless of which palette might already be selected on the Color sidebar. See Changing Color Schemes.
See Manage UI Themes, Sample Themes JSON File, and REST API Changes.
Comments
0 comments
Please sign in to leave a comment.