Backstage
Docs
Github
Preparing search index...
@backstage/theme
createBaseThemeOptions
Function createBaseThemeOptions
createBaseThemeOptions
<
PaletteOptions
>
(
options
:
BaseThemeOptionsInput
<
PaletteOptions
>
,
)
:
{
getPageTheme
:
(
__namedParameters
:
PageThemeSelector
)
=>
PageTheme
;
page
:
PageTheme
;
palette
:
PaletteOptions
;
typography
:
BackstageTypography
;
}
A helper for creating theme options.
Type Parameters
PaletteOptions
Parameters
options
:
BaseThemeOptionsInput
<
PaletteOptions
>
Returns
{
getPageTheme
:
(
__namedParameters
:
PageThemeSelector
)
=>
PageTheme
;
page
:
PageTheme
;
palette
:
PaletteOptions
;
typography
:
BackstageTypography
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
Github
Backstage
Loading...
A helper for creating theme options.