Skip to content

Styling a Portal Studio app

You can change the look and feel of a app by setting, for example, colors, spacing, rounded corners, dropped shadows, icons. You can apply styles to:

  • The whole app
  • Individual components in the app (in Designer, these are the areas in dashed lines)
  • Elements within components (provided that the component is set to use the default style option Inherit from App)
  • Button groups
  • Any templates embedded in the app

By default, styles are set at the top level, that is at the app level, and can then be inherited by the components, elements and templates in the app. If you do not want this then you style the individual components and template.

To change the style of the app, go to the Designer page and click App Settings. You can set:

FieldDescription
ThemeYou can select a theme as the starting point for the app. In particular, this sets the default color of headers and buttons.
Default: IFS Theme
Scope: Everything that is set to Inherit from App
TypefaceYou can change the typeface but this will only apply to headers.
Default: Open Sans. This is an Open Source font and is used for headers, labels and buttons.
Display DensitySet the spacing around components, elements and labels.
Scope: App level only
RoundedWhether you want rounded corners on components, headers, fields and buttons. You can enter any value in the range 0 (square corners) through 15 (rounded corners).
Scope: App level only
Drop ShadowBy default, there is a narrow drop shadow around components. This is visible in both Designer and Preview.

To ensure consistency you can't change some styles:

  • The app always has a pale gray background
  • Components and elements always have a white background (unless you make it transparent)
  • The default font, Open Sans, is always used for labels and buttons