frontAnswerer/lib/utils/themes/Publication/genericPublication.ts

46 lines
989 B
TypeScript
Raw Normal View History

2023-12-29 00:58:19 +00:00
import { createTheme } from "@mui/material";
import theme from "../generic";
const themePublic = createTheme({
2024-05-31 16:41:18 +00:00
...theme,
components: {
MuiButton: {
variants: [
{
props: {
variant: "contained",
},
style: {
padding: "13px 20px",
borderRadius: "8px",
boxShadow: "none",
"&:active": {
backgroundColor: "#000000",
color: "#FFFFFF",
},
"&:disabled": {
color: "#9A9AAF",
border: "1px solid #9A9AAF",
},
},
},
{
props: {
variant: "outlined",
},
style: {
padding: "10px 20px",
borderRadius: "8px",
"&:hover": {
backgroundColor: "#581CA7",
border: "1px solid #581CA7",
2023-12-29 00:58:19 +00:00
},
2024-05-31 16:41:18 +00:00
},
2023-12-29 00:58:19 +00:00
},
2024-05-31 16:41:18 +00:00
],
2023-12-29 00:58:19 +00:00
},
2024-05-31 16:41:18 +00:00
},
});
2023-12-29 00:58:19 +00:00
2024-05-31 16:41:18 +00:00
export default themePublic;