Creates a new instance
Service for registering available themes
Service for tracking the currently selected theme
Service for theme discovery, activation and deactivation
Service for storing the currently selected theme in the browser storage
Angular service for managing the current route
Angular service for navigating between routes
Optional
storageKey: stringKey for storing the currently selected theme in browser storage
Optional
queryParam: stringQuery parameter name for specifying the theme in the route
Private
Readonly
#destroyedSubject for triggering cleanup on service destruction.
Private
Readonly
activatedAngular service for managing the current route
Readonly
currentObservable stream of all registered themes.
Private
Readonly
managerService for theme discovery, activation and deactivation
Private
Optional
Readonly
queryQuery parameter name for specifying the theme in the route
Private
Readonly
registryService for registering available themes
Private
Readonly
routerAngular service for navigating between routes
Private
Readonly
storageService for storing the currently selected theme in the browser storage
Private
Optional
Readonly
storageKey for storing the currently selected theme in browser storage
Readonly
themes$Observable stream that emits the currently active theme.
Private
Readonly
trackerService for tracking the currently selected theme
Private
#themePrivate
Gets the theme from the current route's query.
Private
#themePrivate
Gets the theme from the browser's storage.
Private
#updatePrivate
#update
Service for managing and switching between different themes in an application.