io.themes
() => Promise<Theme>
Returns the current theme.
() => Promise<Theme[]>
Returns list of available themes
(callback: (theme: Theme) => any) => UnsubscribeFunction
Notifies you when the theme is changed.
Callback to handle the event. Receives the theme object as an argument.
Unsubscribe function.
(name: string) => Promise<void>
Selects a new theme
The name of the theme