material-kit-react-package

1.3.10 • Public • Published

npm package wrapper around material-kit-react with primary color theming

install:

npm install material-kit-react-package --save

use:

import 'material-kit-react-package/dist/material-kit-react.css';
import CustomInput from 'material-kit-react-package/dist/components/CustomInput/CustomInput';

import { MuiThemeProvider, createMuiTheme } from "@material-ui/core/styles";
import { theme, getThemeColors } from "assets/jss/material-kit-react.jsx";
...
const muiTheme = createMuiTheme(theme);
...
  render() {
    ...
      <MuiThemeProvider theme={muiTheme}>
        ...
      </MuiThemeProvider>
    ...
  }

chamge primary color:

const theme1 = createMuiTheme({
  palette: {
    primary: getThemeColors('#3f51b5')
  }
});

/material-kit-react-package/

    Package Sidebar

    Install

    npm i material-kit-react-package

    Weekly Downloads

    9

    Version

    1.3.10

    License

    none

    Unpacked Size

    7.74 MB

    Total Files

    279

    Last publish

    Collaborators

    • romannep