Constructors
Private
constructor
- new ThemeSettings(): ThemeSettings
-
Methods
addNewTheme
- addNewTheme(name): void
-
Returns void
deleteTheme
- deleteTheme(name): void
-
Returns void
getCurrentTheme
- getCurrentTheme(): string
-
Returns string
getThemeList
- getThemeList(): string[]
-
Returns string[]
resolveColorKey
- resolveColorKey(key): undefined | RGBA
-
Returns undefined | RGBA
setCurrentTheme
- setCurrentTheme(name): void
-
Returns void
updateThemeColor
- updateThemeColor(name, key, newColor): void
-
Parameters
-
name: string
-
-
newColor: RGBA
Returns void
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
Error