getTheme()
Home > @gooddata/sdk-backend-spi > IOrganizationStylingService > getTheme
IOrganizationStylingService.getTheme() method
Asynchronously returns the active theme for the organization.
Signature:
getTheme(): Promise<ITheme>;
Returns:
Promise<ITheme>
promise of theme
Remarks
Resolves the active theme setting and fetches the corresponding theme content. Returns an empty theme when no active theme is configured or the fetch fails.