feat: notifications, redux, tailwind
This commit is contained in:
38
src/theme.ts
Normal file
38
src/theme.ts
Normal file
@ -0,0 +1,38 @@
|
||||
import { createTheme, MantineColorsTuple } from "@mantine/core";
|
||||
|
||||
export const myColor: MantineColorsTuple = [
|
||||
"#e2faff",
|
||||
"#d4eff8",
|
||||
"#afdce9",
|
||||
"#87c8db",
|
||||
"#65b7cf",
|
||||
"#4aaac7",
|
||||
"#3fa7c6",
|
||||
"#2c92af",
|
||||
"#1b829e",
|
||||
"#00718c",
|
||||
];
|
||||
|
||||
const radius = "lg";
|
||||
const size = "lg";
|
||||
|
||||
export const theme = createTheme({
|
||||
colors: {
|
||||
myColor,
|
||||
},
|
||||
primaryColor: "myColor",
|
||||
components: {
|
||||
Button: {
|
||||
defaultProps: {
|
||||
radius,
|
||||
size,
|
||||
},
|
||||
},
|
||||
InputBase: {
|
||||
defaultProps: {
|
||||
radius,
|
||||
size,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user