packages/theme: use Overrides type from MUI

This commit is contained in:
Patrik Oldsberg
2020-04-16 01:21:15 +02:00
parent 615597ee87
commit e4f3495284
+1 -2
View File
@@ -16,6 +16,7 @@
import { createMuiTheme } from '@material-ui/core';
import { darken, lighten } from '@material-ui/core/styles/colorManipulator';
import { Overrides } from '@material-ui/core/styles/overrides';
import {
BackstageTheme,
@@ -23,8 +24,6 @@ import {
BackstagePaletteOptions,
} from './types';
type Overrides = Partial<BackstageTheme['overrides']>;
export function createThemeOptions(
palette: BackstagePaletteOptions,
): BackstageThemeOptions {