Nice summary! ๐ Iโm experiencing with very similar stack!
Maybe itโs a silly question, but do you know exactly how to inject Global styles in Chakra Ui? I didnโt find the best documentation for this. For example you wanna do html, body { 100%;}
Nice summary! ๐ Iโm experiencing with very similar stack!
Maybe itโs a silly question, but do you know exactly how to inject Global styles in Chakra Ui? I didnโt find the best documentation for this. For example you wanna do
html, body { 100%;}
Thanks Richard. You can pass these global styles into your theme object. Something like this.
Then pass your theme to your provider that wraps your app.
Thank you Kieran! Yes I found this in the docs but I don't know how to pass it and where.... I tried to pass in
_app.js
like so:But it seems it's not working ๐คจ
Checked my code this is what I've got. Try the extendTheme function and passing resetCSS as a prop to the provider.
aaaaah!! Thank you very much!!!! โจ