portfolio/pages/_app.tsx

28 lines
544 B
TypeScript
Raw Normal View History

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