mui-chameleon
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

MUI Chameleon

MUI Chameleon

Warning: [WIP] This is not yet ready for production

MUI theme editor.

npm package npm downloads BundlePhobia Average time to resolve an issue

Github Action build Github Action test codecov

Buy me a coffee

Installation

MUI Chameleon is available as an npm package.

// with npm
npm install mui-chameleon

// with yarn
yarn add mui-chameleon

Usage

Here is a quick example to get you started, it's all you need:

import React from 'react';
import ReactDOM from 'react-dom';

import ThemeProvider from 'mui-chameleon/ThemeProvider';
import SideBarEditor from 'mui-chameleon/SideBarEditor';

// import { ThemeProvider, SideBarEditor } from 'mui-chameleon';

function App() {
    const showEditor = true; // of course

    return (
        <ThemeProvider theme={yourInitialTheme}>
            <CssBaseline />

            {/* rest of the app */}

            {showEditor && <SideBarEditor />}
        </ThemeProvider>
    );
}

ReactDOM.render(<App />, document.querySelector('#app'));

Acknowledgments

  • Logo Design by Zara Magumyan. See her Dribbble for more awesome designs.
  • Some bundling Tools and scripts are used from MUI packages. This makes my job easier, faster and compatibility of this package better with MUI packages.

License

This project is licensed under the terms of the MIT license.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i mui-chameleon

    Weekly Downloads

    0

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    218 kB

    Total Files

    132

    Last publish

    Collaborators

    • davit.yavryan