@gloojs/material-ui-theme

Base Material UI theme for all Gloo web applications.

Usage no npm install needed!

<script type="module">
  import gloojsMaterialUiTheme from 'https://cdn.skypack.dev/@gloojs/material-ui-theme';
</script>

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 */