Skip to content

Commit

Permalink
Add custom colors to MUI theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Oct 14, 2020
1 parent 4e070b3 commit 5187732
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/theme.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createMuiTheme } from '@material-ui/core/styles'
import { createMuiTheme } from '@material-ui/core/styles';

/**
* Returns custom MUI Theme.
Expand All @@ -13,7 +13,10 @@ export default function theme(darkMode=false){
createMuiTheme({
"palette": {
"type": darkMode ? "dark" : "light",
}
"edit": {
main: "#ffe56433",
}
},
})
);
}

0 comments on commit 5187732

Please sign in to comment.