Constructors
Methods
addNewTheme
addNewTheme(id: string, name?: string, sourceThemeId?: string): void Parameters
- id: string
Optional
name: stringOptional
sourceThemeId: string
Returns void
canThemeBeModified
canThemeBeModified(id: string): boolean
deleteTheme
deleteTheme(id: string): void
getCurrentTheme
getCurrentTheme(): string Returns string
getThemeColors
getThemeColors(id: string): Record<string, RGBA> Returns Record<string, RGBA>
getThemeIdList
getThemeIdList(): string[] Returns string[]
getThemeName
getThemeName(id: string): string
setCurrentTheme
setCurrentTheme(id: string): void
setThemeName
setThemeName(id: string, name: string): void
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
Error