Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 627 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 627 Bytes

Getting started

Map grafana theme to material ui theme.

Install Material UI Dependencies

https://mui.com/material-ui/getting-started/installation/

Install this library with npm or yarn

    npm add https://github.com/L2D2Grafana/mui-grafana-theme

or

    yarn add https://github.com/L2D2Grafana/mui-grafana-theme

Usage

 import { muiGrafanaTheme } from '@L2D2Grafana/mui-grafana-theme';
 import { ThemeProvider } from '@emotion/react';

 render() {
     return (
         <ThemeProvider theme={muiGrafanaTheme}>
             <App />
         </ThemeProvider>
     );
 }