0.1.1 • Published 3 years ago

@20i/mui-theme v0.1.1

Weekly downloads
-
License
COPYRIGHT 20i
Repository
github
Last release
3 years ago

@20i/mui-theme

A default MUI theme and a function for creating a custom theme by overriding the defaults.

Peer dependency on MUI

"@material-ui/core": "^4.12.1"

Installation

npm login
npm i @20i/mui-theme

Usage

import { createTheme } from "@20i/mui-theme"

// Pass in any valid MUI theme fields and they'll be merged with the default theme
const theme = createTheme({
  typography: {
    fontFamily: ["Ariel", "san-serif"].join(","),
    fontSize: 14,
  }
})