2022-06-14 20:42:31 +00:00
|
|
|
import { createGlobalStyle, ThemeProvider } from 'styled-components'
|
|
|
|
|
|
|
|
const GlobalStyle = createGlobalStyle`
|
2022-06-15 12:20:28 +00:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2022-06-15 19:40:31 +00:00
|
|
|
font-family: 'Open Sans';
|
2022-06-15 12:20:28 +00:00
|
|
|
}
|
2022-06-14 20:42:31 +00:00
|
|
|
`
|
|
|
|
|
2022-06-14 22:01:23 +00:00
|
|
|
const theme = {
|
2022-06-15 12:20:28 +00:00
|
|
|
colors: {
|
|
|
|
primary: '#f2f0ed',
|
|
|
|
background: '#080a0b'
|
|
|
|
},
|
2022-06-14 20:42:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default function App({ Component, pageProps }) {
|
2022-06-15 12:20:28 +00:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<GlobalStyle />
|
|
|
|
<ThemeProvider theme={theme}>
|
|
|
|
<Component {...pageProps} />
|
|
|
|
</ThemeProvider>
|
|
|
|
</>
|
|
|
|
)
|
2022-06-14 20:42:31 +00:00
|
|
|
}
|