AppThemeSelector
Home > @backstage/core-app-api
> AppThemeSelector
Exposes the themes installed in the app, and permits switching the currently active theme.
Signature:
class AppThemeSelector implements AppThemeApi
Implements: AppThemeApi
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(themes) | Constructs a new instance of the AppThemeSelector class |
Methods
Method | Modifiers | Description |
---|---|---|
activeThemeId$() | ||
createWithStorage(themes) | static | |
getActiveThemeId() | ||
getInstalledThemes() | ||
setActiveThemeId(themeId) |