Custom Colors - How does Mantine resolve custom color css variables? #6161
Unanswered
slugmandrew
asked this question in
Q&A
Replies: 1 comment 1 reply
-
These variables are defined in runtime and not included in css files. JetBrains IDEs are configured to scan for declared variables in css files only. To fix an error, you can create a css file that defines those variables or just turn off css validation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am currently setting up a project with custom colors on V7. I have added my custom colors to the theme and everything seems to work well, except... my IDE does not seem to recognise the css variables generated to reference the custom colors. I am using IntelliJ:
I know the variable is there, as the color is set correctly, so it seems to be an IDE issue. I was wondering if anyone had come across this problem or knew of any way to possibly fix it by making the IDE aware of the vars?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions