mirror of
https://github.com/aljazceru/lightning-address.git
synced 2025-12-17 05:14:22 +01:00
27 lines
450 B
JavaScript
27 lines
450 B
JavaScript
import { createGlobalStyle, ThemeProvider } from 'styled-components'
|
|
|
|
const GlobalStyle = createGlobalStyle`
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
`
|
|
|
|
const theme = {
|
|
colors: {
|
|
primary: '#0070f3',
|
|
},
|
|
}
|
|
|
|
export default function App({ Component, pageProps }) {
|
|
return (
|
|
<>
|
|
<GlobalStyle />
|
|
<ThemeProvider theme={theme}>
|
|
<Component {...pageProps} />
|
|
</ThemeProvider>
|
|
</>
|
|
)
|
|
}
|