Can't we use styles API when creating variants?
for example, I want to create shadowInput and I want to customize the input element that is in stylesApi .
<TextInput
styles={(theme) => ({
input: {
boxShadow: "inset 0px 0px 6px 2px rgba(0, 0, 0, 0.2)",
},
})}
/>
//Mantine theme variant
TextInput: {
variants: {
shadowIn: (theme) => ({
input: {
boxShadow: "inset 0px 0px 6px 2px rgba(0, 0, 0, 0.2)",
},
}),
},
},