feat: radius for inputs and buttons, shadow changes

This commit is contained in:
2025-07-18 10:38:36 +04:00
parent 39b4d36a82
commit e033938a03
10 changed files with 60 additions and 32 deletions

View File

@ -1,6 +1,6 @@
import { createTheme, MantineColorsTuple } from "@mantine/core";
const myColor: MantineColorsTuple = [
export const myColor: MantineColorsTuple = [
"#e2faff",
"#d4eff8",
"#afdce9",
@ -13,9 +13,26 @@ const myColor: MantineColorsTuple = [
"#00718c",
];
const radius = "lg";
const size = "md";
export const theme = createTheme({
colors: {
myColor,
},
primaryColor: "myColor",
components: {
Button: {
defaultProps: {
radius,
size,
},
},
InputBase: {
defaultProps: {
radius,
size,
},
},
},
});