0.2.0 • Published 3 years ago
material-ui-chameleon v0.2.0
Warning: WIP This is not yet ready for production
Material-UI theme editor.
Installation
Material-UI Chameleon is available as an npm package.
// with npm
npm install material-ui-chameleon
// with yarn
yarn add material-ui-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 'material-ui-chameleon/ThemeProvider';
import SideBarEditor from 'material-ui-chameleon/SideBarEditor';
// import { ThemeProvider, SideBarEditor } from 'material-ui-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 Material-UI packages. This makes my job easier, faster and compatibility of this package better with Material-UI packages.
License
This project is licensed under the terms of the MIT license.
0.1.0
3 years ago
0.2.0
3 years ago
0.1.0-alpha.7
3 years ago
0.1.0-alpha.6
4 years ago
0.1.0-alpha.5
4 years ago
0.1.0-alpha.4
4 years ago
0.1.0-alpha.3
4 years ago
0.1.0-alpha.2
4 years ago
0.1.0-alpha.1
4 years ago