Finished styles and pagination of contacts page

This commit is contained in:
canove
2020-07-22 17:18:39 -03:00
parent f64157fc74
commit 5a6c3b6b14
6 changed files with 301 additions and 340 deletions

View File

@@ -2,8 +2,24 @@ import React from "react";
import Routes from "./routes";
import "dotenv/config";
import { createMuiTheme, ThemeProvider } from "@material-ui/core/styles";
import { ptBR } from "@material-ui/core/locale";
const theme = createMuiTheme(
{
palette: {
primary: { main: "#1976d2" },
},
},
ptBR
);
const App = () => {
return <Routes />;
return (
<ThemeProvider theme={theme}>
<Routes />
</ThemeProvider>
);
};
export default App;