#How to get foreground and background colors based on dark and light mode?
2 messages · Page 1 of 1 (latest)
2 messages · Page 1 of 1 (latest)
Basically, I need to provide some colors to an SVG's stroke and fill parameters based on what is the current background and foreground color so that the SVG is properly visible in both dark and light modes.
I have tried useMantineTheme();, but I only found color names there.
Am I missing something?