ENS icons styles fixes to fit thw whole dapp colours palette

This commit is contained in:
Victor Baranov 2019-02-06 16:12:39 +03:00
parent 3e0a5c045e
commit bcf24a2ceb
1 changed files with 8 additions and 3 deletions

View File

@ -117,7 +117,7 @@ EnsInput.prototype.lookupEnsName = function () {
toError: null,
}
if (isValidENSAddress(recipient) && reason.message === 'ENS name not defined.') {
setStateObj.hoverText = this.context.t('ensNameNotFound')
setStateObj.hoverText = 'ENS name not found'
setStateObj.toError = 'ensNameNotFound'
setStateObj.ensFailure = false
} else {
@ -173,13 +173,18 @@ EnsInput.prototype.ensIconContents = function (recipient) {
}
if (ensFailure) {
return h('i.fa.fa-warning.fa-lg.warning')
return h('i.fa.fa-warning.fa-lg.warning', {
style: {
color: '#df2265',
background: 'white',
}
})
}
if (ensResolution && (ensResolution !== ZERO_ADDRESS)) {
return h('i.fa.fa-check-circle.fa-lg.cursor-pointer', {
style: {
color: 'green',
color: '#60db97',
background: 'white',
},
onClick: (event) => {