<MantineProvider
emotionCache={rtlCache}
theme={{ dir: "rtl", colorScheme }}
>
<ApplicationContainer>
<ToastProvider>
<Component {...pageProps} />
</ToastProvider>
</ApplicationContainer>
</MantineProvider>
for my ssr'd page i had to do the implementation with rtl dir defined and emotionCache. Perhaps this is the issue but i'm unable to reference theme vars like such :
<Navbar
mb={sm}
width={{ base: 250 }}
height={"fit-content"}
p="xs"
>
<Navbar.Section grow mt="xs">
<MainLinks />
</Navbar.Section>
<Navbar.Section>
<User />
</Navbar.Section>
</Navbar>
throws an error on the mb={sm}