Skip to content

Commit 69e3602

Browse files
committed
Fix table font and colors
1 parent 26e3981 commit 69e3602

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

src/components/Wrappers/Wrappers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ const ButtonExtended = ({ theme, children, ...props }) => {
119119
button: {
120120
backgroundColor: getColor(props.color, theme),
121121
boxShadow: theme.customShadows.widget,
122+
color: 'white',
122123
'&:hover': {
123124
backgroundColor: getColor(props.color, theme, 'light'),
124125
boxShadow: theme.customShadows.widgetWide,

src/pages/dashboard/components/Table/Table.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import {
55
TableHead,
66
TableBody,
77
TableCell,
8-
Button
98
} from "@material-ui/core";
9+
import { Button } from '../../../../components/Wrappers';
1010

1111
const states = {
12-
sent: "primary",
13-
pending: "default",
12+
sent: "success",
13+
pending: "warning",
1414
declined: "secondary"
1515
};
1616

src/themes/default.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,20 @@ export default {
9292
backgroundColor: "white"
9393
}
9494
},
95+
MuiTableRow: {
96+
root: {
97+
height: 56,
98+
}
99+
},
95100
MuiTableCell: {
96101
root: {
97102
borderBottom: '1px solid rgba(224, 224, 224, .5)',
103+
},
104+
head: {
105+
fontSize: '0.95rem',
106+
},
107+
body: {
108+
fontSize: '0.95rem',
98109
}
99110
}
100111
}

0 commit comments

Comments
 (0)