Skip to content

Commit 72247a2

Browse files
Update theme palette (#83)
1 parent 7606d65 commit 72247a2

File tree

2 files changed

+24
-11
lines changed

2 files changed

+24
-11
lines changed

src/components/settings/SettingsNotifications.js

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,19 @@ const SettingsNotifications = (props) => (
4444
</Typography>
4545
<FormControlLabel
4646
control={(
47-
<Checkbox defaultChecked />
47+
<Checkbox
48+
color="primary"
49+
defaultChecked
50+
/>
4851
)}
4952
label="Email"
5053
/>
5154
<FormControlLabel
5255
control={(
53-
<Checkbox defaultChecked />
56+
<Checkbox
57+
color="primary"
58+
defaultChecked
59+
/>
5460
)}
5561
label="Push Notifications"
5662
/>
@@ -60,7 +66,10 @@ const SettingsNotifications = (props) => (
6066
/>
6167
<FormControlLabel
6268
control={(
63-
<Checkbox defaultChecked />
69+
<Checkbox
70+
color="primary"
71+
defaultChecked
72+
/>
6473
)}
6574
label="Phone calls"
6675
/>
@@ -84,7 +93,10 @@ const SettingsNotifications = (props) => (
8493
</Typography>
8594
<FormControlLabel
8695
control={(
87-
<Checkbox defaultChecked />
96+
<Checkbox
97+
color="primary"
98+
defaultChecked
99+
/>
88100
)}
89101
label="Email"
90102
/>
@@ -94,7 +106,10 @@ const SettingsNotifications = (props) => (
94106
/>
95107
<FormControlLabel
96108
control={(
97-
<Checkbox defaultChecked />
109+
<Checkbox
110+
color="primary"
111+
defaultChecked
112+
/>
98113
)}
99114
label="Phone calls"
100115
/>

src/theme/index.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ const theme = createMuiTheme({
99
paper: colors.common.white
1010
},
1111
primary: {
12-
main: colors.indigo[500]
13-
},
14-
secondary: {
15-
main: colors.indigo[500]
12+
contrastText: '#ffffff',
13+
main: '#5664d2'
1614
},
1715
text: {
18-
primary: colors.blueGrey[900],
19-
secondary: colors.blueGrey[600]
16+
primary: '#172b4d',
17+
secondary: '#6b778c'
2018
}
2119
},
2220
shadows,

0 commit comments

Comments
 (0)