You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to customize components for my figma design project that our designer on the team developed.
const theme = createTheme({
/** Put your mantine theme override here */
components: {
Button: {
defaultProps: {
variant: 'gradient',
gradient: {
{ variant: '#0098F1',
to: '#2DEDD7',
deg: 135,
},
radius: 'xl',
classNames: 'tailwindcss...'
},
},
},
});
MantineUI base classes override tailwind classes, and also adding padding kills the button completely. Can you please tell me how I can reset some of the styles from Mantine? I noticed that to add padding to the button I need to set height: auto, which is not very convenient and intuitive.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to customize components for my figma design project that our designer on the team developed.
const theme = createTheme({
/** Put your mantine theme override here */
components: {
Button: {
defaultProps: {
variant: 'gradient',
gradient: {
{ variant: '#0098F1',
to: '#2DEDD7',
deg: 135,
},
radius: 'xl',
classNames: 'tailwindcss...'
},
},
},
});
MantineUI base classes override tailwind classes, and also adding padding kills the button completely. Can you please tell me how I can reset some of the styles from Mantine? I noticed that to add padding to the button I need to set height: auto, which is not very convenient and intuitive.
Beta Was this translation helpful? Give feedback.
All reactions