Themes
6.9.0io.Connect Desktop has two built-in themes - Day and Night. You can control the themes programmatically by using the Themes API.
The Themes API is accessible through the io.themes
object.
APIobject
Description
Themes API.
Methods
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. |