Set theme

The Set theme action node changes the theme used by an app, instantly altering the color palette and typography. To set a theme, it must be first created under Themes.

Usage

Common use cases for this action node include switching between light mode and dark mode, or enabling a customer theme that features their brand colours. It is possible to store a theme as an object class property, for example as part of a customer object or in an object attached to a user, and enable that theme using Set theme.

For a step-by-step guide to adding a theme switcher to an app, see Change the active theme.

Example

A Set theme example is available in our Showroom. You can view the demo, as well as access the setup in Appfarm Create. Don't have access? Register.

Properties

PropertyDescription

Theme

Select a theme from the list of themes added to the solution.

Theme from data

Select a theme dynamically using a data binding.

Last updated