Hello,
how could I change the --_input-bd to green globally?
like I want to config the const theme = createTheme({ primaryColor: 'green' });
but this only change the inputs border to green when it is active.
[data-mantine-color-scheme="light"] .m-6c018570[data-variant="default"] {
--_input-bd: var(--mantine-color-gray-4);
--_input-bg: var(--mantine-color-white);
--_input-bd-focus: var(--mantine-primary-color-filled);
}
What is the good way to do that?
I came up with this solution, but not like it because I have to use !important.
Is there a better way?
.mantine-Input-wrapper {
--_input-bd: var(--mantine-color-green-3) !important;
}