-
Hi all, I'm trying to use virtualColor() in my theme definition in my next.js app but I get the following error:
I'm using NextJS 14.2.18 (app router), and mantine 7.14.3. To reproduce:
Add the following to const theme = createTheme({
colors: {
primary: virtualColor({
name: 'primary',
dark: 'pink',
light: 'cyan',
}),
},
}); Any idea what could be wrong? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
rtivital
Nov 30, 2024
Replies: 1 comment 1 reply
-
Add |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jafargas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add
'use client';
to the top of the file