Skip to main content

createTheme()

Home > @backstage/theme > createTheme

Warning: This API is now obsolete.

Use createUnifiedTheme() instead.

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.

Signature:

function createTheme(options: SimpleThemeOptions): Theme;

Parameters

Parameter

Type

Description

options

SimpleThemeOptions

**Returns:**

Theme