I need to get the current theme (dark/white) using css variables. I can see that mantine exports a few variables (https://mantine.dev/theming/mantine-provider/#css-variables) and I don't see anything indicating the theme in it. But is there any other way to get the current theme?
I have a custom scrollbar and I'm basically trying to change the color based on the theme.