feat: radius for inputs and buttons, shadow changes
This commit is contained in:
19
theme.ts
19
theme.ts
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user