How to set the default <body> background colour #2207
-
Hi all, Our project will not be implementing a dark/light color mode switcher for now, but I'd like the set the background color of the I'd also like the set other properties on the Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I've accomplished it with
Is this the best approach? |
Beta Was this translation helpful? Give feedback.
-
Hi @Indy-Dev, you can use |
Beta Was this translation helpful? Give feedback.
Hi @Indy-Dev, you can use
theme.styles.global
for that! You can find documentation on that here: https://next.chakra-ui.com/docs/features/global-styles