372fb5dc53
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
20 lines
468 B
JavaScript
20 lines
468 B
JavaScript
import Head from 'next/head'
|
|
import { Global } from '@emotion/react'
|
|
import xw from 'xwind'
|
|
|
|
function App({ Component, pageProps }) {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Tailwindcss Emotion Example</title>
|
|
</Head>
|
|
<Global
|
|
//tailwind base styles + keyframes + ring and shadow classes variables ... to global styles
|
|
styles={xw`XWIND_BASE XWIND_GLOBAL`}
|
|
/>
|
|
<Component {...pageProps} />
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default App
|