I'm using @chakra-ui/react with Tailwind CSS and NextJS. I have set my background color to black in my globals.css file:
body {
background-color: black;
}
But I don't see the black color being applied, I only see a white screen. This worked before I switched to chakra so I suppose this is something to do with it.
This is my app.js file:
import { ChakraProvider } from '@chakra-ui/react'
import 'tailwindcss/tailwind.css'
import '../styles/globals.css' // file which sets the body's background-color to black
function MyApp({ Component, pageProps }) {
return (
<ChakraProvider>
<Component {...pageProps} />
</ChakraProvider>
)
}
export default MyApp
I assume this is because of chakra's default theme? How would I disable it?