Skip to content

Commit 0e164e2

Browse files
committed
fix(button): add styles
Signed-off-by: sudhanshu dasgupta <dasguptashivam23@gmail.com>
1 parent 739dfa2 commit 0e164e2

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,28 @@
11
import { Components, Theme } from '@mui/material';
2+
import { CARIBBEAN_GREEN, KEPPEL, WHITE, buttonDisabled } from '../colors';
23

34
export const MuiButton: Components<Theme>['MuiButton'] = {
45
styleOverrides: {
5-
root: {}
6+
root: {
7+
borderRadius: '3px',
8+
textTransform: 'none',
9+
'&.Mui-disabled': {
10+
backgroundColor: buttonDisabled.main,
11+
color: WHITE
12+
}
13+
},
14+
contained: {
15+
backgroundColor: KEPPEL,
16+
'&:hover': {
17+
backgroundColor: CARIBBEAN_GREEN,
18+
color: WHITE
19+
}
20+
},
21+
outlined: {
22+
'&:hover': {
23+
backgroundColor: CARIBBEAN_GREEN,
24+
color: WHITE
25+
}
26+
}
627
}
728
};

0 commit comments

Comments
 (0)