theme: move pageTheme to root
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
committed by
Philipp Hugenroth
parent
f728b0f62e
commit
be7c4cdab9
@@ -22,6 +22,7 @@
|
||||
|
||||
export * from './v4';
|
||||
export * from './v5';
|
||||
export { colorVariants, genPageTheme, pageTheme, shapes } from './pageTheme';
|
||||
export type {
|
||||
BackstagePaletteAdditions,
|
||||
PageTheme,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { PageTheme } from '../types';
|
||||
import { PageTheme } from './types';
|
||||
|
||||
/**
|
||||
* The default predefined burst shapes.
|
||||
@@ -18,7 +18,7 @@ import { createTheme as createMuiTheme } from '@material-ui/core/styles';
|
||||
import { Theme, ThemeOptions } from '@material-ui/core';
|
||||
import { darken, lighten } from '@material-ui/core/styles/colorManipulator';
|
||||
import { Overrides } from '@material-ui/core/styles/overrides';
|
||||
import { pageTheme as defaultPageThemes } from './pageTheme';
|
||||
import { pageTheme as defaultPageThemes } from '../pageTheme';
|
||||
import { SimpleV4ThemeOptions } from './types';
|
||||
|
||||
const DEFAULT_HTML_FONT_SIZE = 16;
|
||||
|
||||
@@ -27,4 +27,3 @@ export type {
|
||||
BackstageThemeOptions,
|
||||
SimpleV4ThemeOptions,
|
||||
} from './types';
|
||||
export { colorVariants, genPageTheme, pageTheme, shapes } from './pageTheme';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
import { createV4Theme } from './baseTheme';
|
||||
import { pageTheme } from './pageTheme';
|
||||
import { pageTheme } from '../pageTheme';
|
||||
import { yellow } from '@material-ui/core/colors';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user