Skip to main content

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

ConstructorModifiersDescription
(constructor)(themes)Constructs a new instance of the AppThemeSelector class

Methods

MethodModifiersDescription
activeThemeId$()
createWithStorage(themes)static
getActiveThemeId()
getInstalledThemes()
setActiveThemeId(themeId)