Fix theme
This commit is contained in:
parent
8e692c95b0
commit
3c82164340
2 changed files with 4 additions and 3 deletions
|
@ -54,6 +54,8 @@ const styles = (theme: Theme) =>
|
||||||
},
|
},
|
||||||
uploadText: {
|
uploadText: {
|
||||||
color: theme.typography.body2.color,
|
color: theme.typography.body2.color,
|
||||||
|
fontSize: 12,
|
||||||
|
fontWeight: 600,
|
||||||
textTransform: "uppercase"
|
textTransform: "uppercase"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -93,7 +95,7 @@ export const ImageUpload = withStyles(styles, { name: "ImageUpload" })(
|
||||||
>
|
>
|
||||||
<input {...getInputProps()} className={classes.fileField} />
|
<input {...getInputProps()} className={classes.fileField} />
|
||||||
<ImageIcon className={classes.photosIcon} />
|
<ImageIcon className={classes.photosIcon} />
|
||||||
<Typography className={classes.uploadText} variant="body1">
|
<Typography className={classes.uploadText}>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
defaultMessage="Drop here to upload"
|
defaultMessage="Drop here to upload"
|
||||||
description="image upload"
|
description="image upload"
|
||||||
|
|
|
@ -523,8 +523,7 @@ export default (colors: IThemeColors): Theme =>
|
||||||
fontFamily
|
fontFamily
|
||||||
},
|
},
|
||||||
body1: {
|
body1: {
|
||||||
fontSize: "0.75rem",
|
fontSize: 14
|
||||||
fontWeight: 600 as 600
|
|
||||||
},
|
},
|
||||||
body2: {
|
body2: {
|
||||||
fontSize: "1rem"
|
fontSize: "1rem"
|
||||||
|
|
Loading…
Reference in a new issue