@backstage/theme
material-ui theme for use with Backstage
Functions
Function |
Description |
---|---|
A helper for creating theme options. | |
The old method to create a Backstage Material UI v4 theme using a palette. The theme is created with the common Backstage options and component styles. | |
An old helper for creating Material UI v4 theme options. | |
* An old helper for creating Material UI v4 theme overrides. | |
Creates a new UnifiedTheme using the provided options. | |
Creates a new UnifiedTheme using Material UI v4 theme options. Note that this uses | |
Utility to not have to write colors and shapes twice. | |
Transform Material UI v5 component themes into a v4 theme props and overrides. | |
Provides themes for all Material UI versions supported by the provided unified theme. |
Interfaces
Interface |
Description |
---|---|
A Backstage theme. | |
Backstage theme options. | |
Options for createBaseThemeOptions(). | |
Merge interface declarations into this type to register overrides for your components. | |
A container of one theme for multiple different Material UI versions. Currently known keys are 'v4' and 'v5'. | |
Options for creating a new UnifiedTheme. | |
Props for UnifiedThemeProvider(). |
Variables
Variable |
Description |
---|---|
The color range variants that are used in e.g. colorful bursts. | |
The old Material UI v4 Backstage dark theme. | |
A helper for creating theme overrides. | |
Default Typography settings. | |
The old Material UI v4 Backstage light theme. | |
All of the builtin page themes. | |
Built-in Backstage color palettes. | |
The default predefined burst shapes. | |
Built-in Backstage Material UI themes. |
Type Aliases
Type Alias |
Description |
---|---|
The full Backstage palette. | |
Backstage specific additions to the material-ui palette. | |
The full Backstage palette options. | |
Backstage specific additions to the material-ui theme. | |
Custom Typography | |
The theme definitions for a given layout page. | |
Selector for what page theme to use. | |
A simpler configuration for creating a new theme that just tweaks some parts of the backstage one. | |
Supported Material UI Theme Types for | |
Supported Material UI Versions Currently: 'v4' and 'v5'. |