CssBaseline is preventing me from setting a background color on the body of my nextjs project #822
Answered
by
dmcleish91
dmcleish91
asked this question in
Q&A
-
I want to set the background color of my body tag to using the color #fafafa however using the global css or tailwind for styling does not yield any results. removing CssBaseline from my _app.tsx and it works but there must be a better solution. I tried reading the docs here https://geist-ui.dev/en-us/guide/themes but I'm not sure if the answer is there. |
Beta Was this translation helpful? Give feedback.
Answered by
dmcleish91
Mar 23, 2023
Replies: 1 comment
-
I figured out a solution
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ofekashery
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured out a solution
body, html { background-color: #fafafa !important; }