right-tree/frontend/src/App.js

24 lines
435 B
JavaScript
Raw Normal View History

import MainPage from './pages/MainPage';
2021-10-07 15:39:12 +13:00
import { createTheme, ThemeProvider } from '@mui/material/styles';
function App() {
2021-10-07 15:39:12 +13:00
const darkTheme = createTheme({
palette: {
mode: 'dark',
},
typography: {
fontFamily: 'Poppins, sans-serif',
},
2021-10-07 15:39:12 +13:00
});
return (
<div className="App">
2021-10-07 15:39:12 +13:00
<ThemeProvider theme={darkTheme}>
<MainPage />
2021-10-07 15:39:12 +13:00
</ThemeProvider>
</div>
);
}
export default App;