Fix Chips styles

This commit is contained in:
Krzysztof Bialoglowicz 2019-09-02 15:26:06 +02:00
parent 7c84fa66e7
commit 1bf481a72e
3 changed files with 9 additions and 7 deletions

View file

@ -28,7 +28,7 @@ const styles = (theme: Theme) =>
color: theme.palette.common.white color: theme.palette.common.white
}, },
root: { root: {
background: fade(theme.palette.secondary.main, 0.6), background: fade(theme.palette.secondary.main, 0.8),
borderRadius: 8, borderRadius: 8,
display: "inline-block", display: "inline-block",
marginRight: theme.spacing.unit * 2, marginRight: theme.spacing.unit * 2,

View file

@ -51,8 +51,8 @@ const styles = (theme: Theme) =>
color: theme.palette.primary.contrastText color: theme.palette.primary.contrastText
}, },
alignItems: "center", alignItems: "center",
background: fade(theme.palette.primary.main, 0.6), background: fade(theme.palette.primary.main, 0.8),
borderRadius: 24, borderRadius: 18,
color: theme.palette.primary.contrastText, color: theme.palette.primary.contrastText,
display: "flex", display: "flex",
justifyContent: "space-between", justifyContent: "space-between",
@ -61,7 +61,8 @@ const styles = (theme: Theme) =>
paddingRight: theme.spacing.unit paddingRight: theme.spacing.unit
}, },
chipLabel: { chipLabel: {
color: theme.palette.primary.contrastText color: theme.palette.common.white,
fontSize: "16px"
}, },
container: { container: {
flexGrow: 1, flexGrow: 1,

View file

@ -49,7 +49,7 @@ const useStyles = makeStyles(
}, },
filterButton: { filterButton: {
alignItems: "center", alignItems: "center",
backgroundColor: fade(theme.palette.primary.main, 0.6), backgroundColor: fade(theme.palette.primary.main, 0.8),
borderRadius: "19px", borderRadius: "19px",
display: "flex", display: "flex",
height: "38px", height: "38px",
@ -90,8 +90,9 @@ const useStyles = makeStyles(
}, },
filterText: { filterText: {
color: theme.palette.common.white, color: theme.palette.common.white,
fontSize: 12, fontSize: 14,
fontWeight: 400 as 400 fontWeight: 400 as 400,
lineHeight: "38px"
} }
}), }),
{ {