From e060228f206d3f392ed29de4ac509805935c39fe Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sun, 5 Jan 2020 01:35:24 +0300 Subject: Simplify theme and use better colors --- src/components/Header/Header.js | 5 +---- src/components/Scoreboard/Solution.js | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src/components') diff --git a/src/components/Header/Header.js b/src/components/Header/Header.js index 021f2b4..9c286f7 100644 --- a/src/components/Header/Header.js +++ b/src/components/Header/Header.js @@ -8,11 +8,8 @@ import { import { makeStyles } from '@material-ui/core/styles'; const useStyles = makeStyles(theme => ({ - header: { - backgroundColor: theme.palette.primary.dark, - }, logo: { - color: theme.palette.orange.main, + color: theme.palette.secondary.main, margin: theme.spacing(2, 3, 2, 2) }, })); diff --git a/src/components/Scoreboard/Solution.js b/src/components/Scoreboard/Solution.js index 6f87723..1d54b04 100644 --- a/src/components/Scoreboard/Solution.js +++ b/src/components/Scoreboard/Solution.js @@ -17,7 +17,6 @@ import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; const useStyles = makeStyles(theme => ({ item: { - backgroundColor: theme.palette.secondary.dark, margin: theme.spacing(3), width: theme.spacing(60), @@ -28,7 +27,7 @@ const useStyles = makeStyles(theme => ({ }, '& .MuiTypography-h2': { - color: theme.palette.orange.main, + color: theme.palette.secondary.main, margin: theme.spacing(2), }, }, -- cgit v1.2.3