createBaseThemeOptions()
Home > @backstage/theme
> createBaseThemeOptions
A helper for creating theme options.
Signature:
function createBaseThemeOptions<PaletteOptions>(options: BaseThemeOptionsInput<PaletteOptions>): {
palette: PaletteOptions;
typography: BackstageTypography;
page: PageTheme;
getPageTheme: ({ themeId }: PageThemeSelector) => PageTheme;
};
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
BaseThemeOptionsInput<PaletteOptions> |
{ palette: PaletteOptions; typography: BackstageTypography; page: PageTheme; getPageTheme: ({ themeId }: PageThemeSelector) => PageTheme; }