Define the available values for interface settings
For some interface settings, users choose from a predefined list of values.
About this task
Procedure
- In Guidewire Studio, navigate to , and then open the file Client_Properties.json.
-
Locate one of the following structures that represents the particular interface
setting, and then place lines in the structure that define the values:
Interface setting Structure Allowable values Application font size font_sizesWhole numbers. The following is an example of setting the available values for the font size:"font_sizes": [ 10, 12, 14, 16 ],Global spacing modifier global_spacing_modifiersPositive numbers. The following is an example of setting the available values for the spacing modifier:"global_spacing_modifiers": [ 0.5, 1, 1.25, ],Theme theme_files_to_include_and_their_display_key_names"theme_file": "display_key",- theme_file
- The name of the theme file, without the .scss extension.
- display_key
- The name of the display key that contains the string to display as the name of the theme.
The following is an example of setting the available values for the spacing modifier:"theme_files_to_include_and_their_display_key_names": { "gw-theme--green-white-web": "Web.Theme.Default", "gw-theme--base": "Web.Theme.Base", "gw-theme--darcula": "Web.Theme.Dark" },Note: Make sure to include a comma at the end of each line except for the last line in the structure.
What to do next
See also
