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: {
|
||||
color: theme.typography.body2.color,
|
||||
fontSize: 12,
|
||||
fontWeight: 600,
|
||||
textTransform: "uppercase"
|
||||
}
|
||||
});
|
||||
|
@ -93,7 +95,7 @@ export const ImageUpload = withStyles(styles, { name: "ImageUpload" })(
|
|||
>
|
||||
<input {...getInputProps()} className={classes.fileField} />
|
||||
<ImageIcon className={classes.photosIcon} />
|
||||
<Typography className={classes.uploadText} variant="body1">
|
||||
<Typography className={classes.uploadText}>
|
||||
<FormattedMessage
|
||||
defaultMessage="Drop here to upload"
|
||||
description="image upload"
|
||||
|
|
|
@ -523,8 +523,7 @@ export default (colors: IThemeColors): Theme =>
|
|||
fontFamily
|
||||
},
|
||||
body1: {
|
||||
fontSize: "0.75rem",
|
||||
fontWeight: 600 as 600
|
||||
fontSize: 14
|
||||
},
|
||||
body2: {
|
||||
fontSize: "1rem"
|
||||
|
|
Loading…
Reference in a new issue