fix placeholder styling

This commit is contained in:
mmv 2019-05-21 12:13:09 +04:00
parent 1467b0decb
commit e0be6094d3
2 changed files with 9 additions and 1 deletions

View File

@ -7,6 +7,7 @@ import ListItemIcon from '@material-ui/core/ListItemIcon'
import ListItemText from '@material-ui/core/ListItemText' import ListItemText from '@material-ui/core/ListItemText'
import Field from '~/components/forms/Field' import Field from '~/components/forms/Field'
import Img from '~/components/layout/Img' import Img from '~/components/layout/Img'
import Paragraph from '~/components/layout/Paragraph'
import SelectField from '~/components/forms/SelectField' import SelectField from '~/components/forms/SelectField'
import { setImageToPlaceholder } from '~/routes/safe/components/Balances/utils' import { setImageToPlaceholder } from '~/routes/safe/components/Balances/utils'
import { composeValidators, required } from '~/components/forms/validator' import { composeValidators, required } from '~/components/forms/validator'
@ -37,7 +38,9 @@ const SelectedToken = ({ token, classes }: SelectedTokenProps) => (
/> />
</> </>
) : ( ) : (
'Select an asset' <Paragraph color="disabled" size="lg" weight="light" style={{ opacity: 0.5 }}>
Select an asset*
</Paragraph>
)} )}
</MenuItem> </MenuItem>
) )

View File

@ -222,6 +222,11 @@ export default createMuiTheme({
backgroundColor: 'rgba(228, 232, 241, 0.75)', backgroundColor: 'rgba(228, 232, 241, 0.75)',
}, },
}, },
MuiMenuItem: {
root: {
fontFamily: 'Roboto Mono, monospace',
},
},
MuiListItemText: { MuiListItemText: {
primary: { primary: {
fontFamily: 'Roboto Mono, monospace', fontFamily: 'Roboto Mono, monospace',