#Allow tailwind classes to override built-in mantine classes
4 messages · Page 1 of 1 (latest)
Use CSS layers
https://help.mantine.dev/q/styles-order
Got it working with this. I have tailwind preflight disabled here too.
@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/utilities.css" layer(utilities);
@import '@mantine/core/styles.layer.css';
@wicked dawn Have you looked at the tailwind-preset-mantine package yet? It updates the layers by default and helps improve the integration of Tailwind and Mantine.