-
|
I want to globally customize the styles for Mantine components using createTheme. For instance, the Button component has filled, light, and outline variants, and my designer provided custom designs for these variants. I need to override the default styles for each variant accordingly. This is similar to what defaultProps provides but applied to specific variants. What do I have now What do I want to get The question can be expanded further: How should components be customized? Not just variants, but also states like hover, focus, active, etc.? What is the recommended approach in Mantine for handling such customizations at a global theme level? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
|
One small doubt, the docs specify using this syntax:
and the module.css file has:
how does mantine understand the styling that needs to be applied to the input component. If its from the |
Beta Was this translation helpful? Give feedback.
https://mantine.dev/styles/variants-sizes/