Make a theme available for use

Once a theme is defined, you can set whether it is available for users to select.

About this task

A theme not does not appear as an option in the PolicyCenter settings until you list it as available for use. Once it is listed, then it appears as an option for users to choose in the PolicyCenter Settings dialog.

Procedure

  1. In Guidewire Studio, navigate to configuration > config > Localizations > Resource Bundle 'display', and then open the display.properties file.
  2. Create a new display key that specifies the name of the theme that is visible to users.
    For example:
    Web.Theme.MyNewTheme = Blue Midnight
  3. Navigate to configuration > webresources, and then open the file Client_Properties.json.
  4. Under the section theme_files_to_include_and_their_display_key_names, create an entry for the theme on a new line in the following format:
    "theme_file_name": "display_key_name"
    theme_file_name
    The name of the theme file, without the .scss extension.
    display_key_name
    The name of the display key that specifies the name of the theme.
    For example:
    "my-theme--blue-midnight", "Web.Theme.MyNewTheme"

What to do next

See also