Skip to content

Instantly share code, notes, and snippets.

@phusick
Last active October 17, 2018 08:50
Show Gist options
  • Save phusick/2040d55cf16e6c21cdedcbdc8d56546f to your computer and use it in GitHub Desktop.
Save phusick/2040d55cf16e6c21cdedcbdc8d56546f to your computer and use it in GitHub Desktop.
import { createMuiTheme } from '@material-ui/core/styles';
import primary from 'common/theme/colors/primary';
import secondary from 'common/theme/colors/secondary';
const theme = createMuiTheme({
palette: {
primary: {
main: primary.main,
contrastText: primary.contrastText,
},
secondary: {
main: secondary.main,
},
},
});
export default theme;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment