#How can I get the theme object in nextjs custom document?
2 messages · Page 1 of 1 (latest)
You cannot do that, you should put theme in _app instead
2 messages · Page 1 of 1 (latest)
How can I get the theme object in nextjs custom document. The custom document uses class component. And it is not possible to use the useMantineTheme hook in this case.
You cannot do that, you should put theme in _app instead