From 5187732841ba88610ab53a0558b6eb674fe95b09 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Tue, 13 Oct 2020 22:33:56 -0400 Subject: [PATCH] Add custom colors to MUI theme --- src/theme.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/theme.js b/src/theme.js index 37236ff..0ee0b51 100644 --- a/src/theme.js +++ b/src/theme.js @@ -1,4 +1,4 @@ -import { createMuiTheme } from '@material-ui/core/styles' +import { createMuiTheme } from '@material-ui/core/styles'; /** * Returns custom MUI Theme. @@ -13,7 +13,10 @@ export default function theme(darkMode=false){ createMuiTheme({ "palette": { "type": darkMode ? "dark" : "light", - } + "edit": { + main: "#ffe56433", + } + }, }) ); } \ No newline at end of file