Methods
addNewTheme
- addNewTheme(id): void
-
Returns void
canThemeBeModified
- canThemeBeModified(id): boolean
-
Returns boolean
deleteTheme
- deleteTheme(id): void
-
Returns void
getCurrentTheme
- getCurrentTheme(): string
-
Returns string
getThemeList
- getThemeList(): string[]
-
Returns string[]
resolveColorKey
- resolveColorKey(key): RGBA
-
setCurrentTheme
- setCurrentTheme(id): void
-
Returns void
updateThemeColor
- updateThemeColor(id, key, newColor): void
-
Parameters
-
id: string
-
-
newColor: RGBA
Returns void
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
Error