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

48 lines
1.5 KiB
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({
...theme,
components: {
MuiButton: {
variants: [
{
props: {
variant: 'contained'
},
style: {
padding: '13px 20px',
borderRadius: '8px',
boxShadow: "none",
2024-03-26 00:06:54 +00:00
"&:active": {
backgroundColor: "#000000",
color: "#FFFFFF"
},
"&:disabled": {
color: "#9A9AAF",
border: "1px solid #9A9AAF",
},
2023-12-29 00:58:19 +00:00
},
},
{
props: {
variant: 'outlined'
},
style: {
padding: '10px 20px',
borderRadius: '8px',
"&:hover": {
backgroundColor: "#581CA7",
border: '1px solid #581CA7',
}
},
},
],
},
},
},
)
export default themePublic;