Skip to content

Commit befd23e

Browse files
authored
revert change to dark theme (#275)
1 parent 342357d commit befd23e

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

interface/src/CustomTheme.tsx

+9-15
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,27 @@ import { FC } from 'react';
22

33
import { CssBaseline } from '@mui/material';
44
import { createTheme, responsiveFontSizes, ThemeProvider } from '@mui/material/styles';
5-
import { indigo, blueGrey, orange, red, grey, green } from '@mui/material/colors';
5+
import { indigo, blueGrey, orange, red, green } from '@mui/material/colors';
66

77
const theme = responsiveFontSizes(
88
createTheme({
99
palette: {
10-
mode: "dark",
11-
text: {
12-
primary: '#fff',
13-
secondary: grey[600],
14-
},
15-
primary: {
16-
main: grey[400]
17-
},
18-
secondary: {
19-
main: blueGrey[800]
10+
background: {
11+
default: "#fafafa"
2012
},
13+
primary: indigo,
14+
secondary: blueGrey,
2115
info: {
22-
main: indigo[900]
16+
main: indigo[500]
2317
},
2418
warning: {
25-
main: orange[900]
19+
main: orange[500]
2620
},
2721
error: {
28-
main: red[900]
22+
main: red[500]
2923
},
3024
success: {
31-
main: green[900]
25+
main: green[500]
3226
}
3327
}
3428
})

0 commit comments

Comments
 (0)