Themes
5.24.0Glue42 Enterprise has two built-in themes - Day and Night.
You can control the themes programmatically by using the Themes API.
The themes can also be customized and new themes can be added through the themes.json configuration file.
The Themes API is accessible through the glue.themes object.
APIobject
Description
Themes API
Available since version Glue42 3.10Methods
getCurrentmethod
listmethod
onChangedmethod
selectmethod
Signature
(name: string) => Promise<void>
Description
Selects a new theme.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | The name of the theme to select. |
Themeobject
Description
Describes a theme.
Properties
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| displayName | string | Display name of the theme. |
||
| name | string | Name of the theme. |