Skip to content

Instantly share code, notes, and snippets.

@mdtaju
Created July 11, 2021 13:23
Show Gist options
  • Save mdtaju/45f6f392379448664b3b37dd7001e466 to your computer and use it in GitHub Desktop.
Save mdtaju/45f6f392379448664b3b37dd7001e466 to your computer and use it in GitHub Desktop.
import React from 'react';
import Demo from './demo';
import { createTheme, ThemeProvider } from '@material-ui/core/styles';
const Theme = createTheme({
palette: {
primary: {
main: '#d2691e',
},
},
});
export default function App() {
return (
<div>
<ThemeProvider theme={Theme}>
<Demo />
</ThemeProvider>
</div>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment