#import '@mantine/core/styles.css'; is ruining my main css
11 messages · Page 1 of 1 (latest)
You need to follow getting started guide to setup all other parts for your framework. In case you do not want global styles, you can import only styles for components that you need –https://mantine.dev/styles/css-files-list/
@gentle phoenix thanks ! It helped a bit but some didnt make it, like the arrow on the right part of the faq question
import '@mantine/core/styles/Accordion.css';
import '@mantine/core/styles/Container.css';
import '@mantine/core/styles/ScrollArea.css';
import '@mantine/core/styles/UnstyledButton.css';
import '@mantine/core/styles/VisuallyHidden.css';
import '@mantine/core/styles/Paper.css';
import '@mantine/core/styles/Popover.css';
import '@mantine/core/styles/CloseButton.css';
import '@mantine/core/styles/Group.css';
import '@mantine/core/styles/Loader.css';
import '@mantine/core/styles/Overlay.css';
import '@mantine/core/styles/ModalBase.css';
import '@mantine/core/styles/Input.css';
import '@mantine/core/styles/Flex.css';
It should look like this
If somebody have a solution I would love to know it, I have been trying to solve this issue for hours
did you try importing the "layer" styles instead? https://mantine.dev/styles/mantine-styles/#css-layers
For all components ?
import '@mantine/core/styles.layer.css';
Okay I did this it worked