#Do I need to import the .css file each time I use a button? What's the easiest way to customize

5 messages · Page 1 of 1 (latest)

untold valley
#

Hi there. Im new to mantine. I saw one of the ways to customize mantine (and the recommended way aswell) is to use css modules. But I have a question.

Lets say I want to customize the Button component. How can I do that without the need to import the css file each time I use the button? Is there any other way?

#

Do I need to import the .css file each time I use a button? What's the easiest way to customize

sharp kelp
untold valley
#

For example```
import buttonClasses from '@/styles/button/Button.module.css
import alertClasses from '@/styles/alert/Alert.module.css
import accordionClasses from '@/styles/accordion/Accordion.module.css