Customize the Theme
Geocortex Web's appearance is built around two concepts: theme and layout. The theme controls the color scheme of the app, while the layout controls the organization of content.
tip
The theme can be partially configured by using the Geocortex Web Designer.
Prerequisites
- Follow along by setting up the Geocortex Web SDK and editing the minimal layout and app config provided.
- Check out the deployment instructions to learn about how to deploy layout and app config to an application.
Create a Basic App
Let's create a basic application with layout and config that we can theme.
- Layout
- App Config
Add Configuration for the Branding Service
Next, we are going to add an app item to configure the Branding Service, which manages application theming.
Add a New Theme
The branding service can be configured with a list of themes. Each of these themes can be based on one of the two existing themes, light
or dark
. Let's configure our branding service with a new dark
theme with an accent color purple
.
- App Config
- UI
Customize the Theme
You can customize the theme by changing any of the built-in color keys used for themes.
- App Config
- UI