This commit is contained in:
Sacha Weatherstone
2021-08-15 18:27:33 +10:00
parent 2940791b9e
commit 29fcc8051c
46 changed files with 1143 additions and 1531 deletions
-28
View File
@@ -1,28 +0,0 @@
import type { Theme } from '@material-ui/core';
import { createTheme } from '@material-ui/core/styles';
export const theme = (darkMode: boolean): Theme => {
return createTheme(
darkMode
? {
palette: {
mode: 'dark',
primary: {
main: '#67ea94',
},
background: {
default: '#0F172A',
paper: '#0F172A',
},
},
}
: {
palette: {
mode: 'light',
primary: {
main: '#67ea94',
},
},
},
);
};
+1 -1
View File
@@ -6,7 +6,7 @@ import { en } from '../translations/en';
import { jp } from '../translations/jp';
import { pt } from '../translations/pt';
i18n
void i18n
.use(detector)
.use(initReactI18next)
.init({