@gloojs/material-ui-theme
v1.3.0
Published
Base Material UI theme for all Gloo web applications.
Downloads
6
Maintainers
Keywords
Readme
material-ui-theme
Base Material UI theme for all Gloo web applications.
How to use
Setup
npm i --save @gloojs/material-ui-theme
# Install peerDependencies
npx install-peerdeps @gloojs/material-ui-theme --auth $NPM_TOKEN
Usage
This package exposes a single theme object today that must be used in conjunction with Material UI's createMuiTheme
.
import { createMuiTheme } from '@material-ui/core/styles';
import { theme } from '@gloojs/material-ui-theme';
const muiTheme = createMuiTheme(theme);
/* Most likely you are also using this with the `withMaterialUI` HOC in @gloojs/material-ui-components */