Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
use bouzuya green
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Apr 8, 2021
1 parent 135799f commit caecb33
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions src/App.tsx
Expand Up @@ -16,6 +16,7 @@ import {
} from "@material-ui/icons";
import {
AppBar,
createMuiTheme,
createStyles,
fade,
Grid,
Expand All @@ -24,6 +25,7 @@ import {
InputBase,
makeStyles,
Theme,
ThemeProvider,
Toolbar,
Typography,
useMediaQuery,
Expand Down Expand Up @@ -147,14 +149,23 @@ function PostPage(): JSX.Element {
}

function App(): JSX.Element {
const theme = createMuiTheme({
palette: {
primary: {
main: "#4e6a41",
},
},
});
return (
<Router>
<Switch>
<Route path="*">
<PostPage />
</Route>
</Switch>
</Router>
<ThemeProvider theme={theme}>
<Router>
<Switch>
<Route path="*">
<PostPage />
</Route>
</Switch>
</Router>
</ThemeProvider>
);
}

Expand Down

0 comments on commit caecb33

Please sign in to comment.