pearson-mui-theme

0.1.9 • Public • Published

Pearson Material UI Theme

This is Material UI Theme created to match Pearson UX specs as closely as possible.

How to use

First, you have to include Open Sans font in your application. The best way would be add that in the head of the application's index.html. Mostly this can be found in the public directory:

<link
  href="https://fonts.googleapis.com/css?family=Open+Sans"
  rel="stylesheet">

Install the package in your project. In your app root folder do:

NPM Command

> npm install --save pearson-mui-theme

Yarn Command

> yarn add pearson-mui-theme

Once package is installed, it can be imported and used as your theme.

import pearsonTheme from 'pearson-mui-theme';
import { MuiThemeProvider, createMuiTheme} from '@material-ui/core/styles';
 

Wrap the theme provider on the root of your app:

<MuiThemeProvider theme={createMuiTheme(pearsonTheme)}>
  <YourApp />
</MuiThemeProvider>

License

This software is published by Pearson Education under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i pearson-mui-theme

Weekly Downloads

2

Version

0.1.9

License

MIT

Unpacked Size

297 kB

Total Files

7

Last publish

Collaborators

  • harinair