How to use the metronome-wallet-ui-logic/src/theme.colors function in metronome-wallet-ui-logic

To help you get started, we’ve selected a few metronome-wallet-ui-logic examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github autonomoussoftware / metronome-wallet-desktop / src / components / dashboard / tx-list / TxRow.js View on Github external
)}

        {tx.txType === 'auction' &&
          !isPending && (
            
          )}

        {(tx.txType === 'unknown' || isPending) && (
          {confirmations}
        )}
        <div>
          
            {tx.txType === 'auction' ? (
              
                </div>
github autonomoussoftware / metronome-wallet-desktop / src / components / common / ConfirmationWizard.js View on Github external
<title>{this.props.successTitle}</title>
              
              {this.props.successText &amp;&amp; (
                {this.props.successText}
              )}
            
          
        
      )
    }
    if (status === 'failure') {
      return (
        
          
            
            
              <title>{this.props.failureTitle}</title>
            
            {error &amp;&amp; {error}}
            
              Try again
            
          
        
      )
    }
    return (
github autonomoussoftware / metronome-wallet-desktop / src / components / dashboard / tx-list / TxRow.js View on Github external
const { confirmations, parsed: tx, ...other } = this.props
    const isFailed =
      (tx.txType === 'auction' &amp;&amp;
        !tx.mtnBoughtInAuction &amp;&amp;
        confirmations &gt; 0) ||
      tx.contractCallFailed
    const isPending = !isFailed &amp;&amp; confirmations &lt; 6

    return (
      
        {(tx.txType === 'received' || tx.txType === 'sent') &amp;&amp;
          !isPending &amp;&amp; (
            
          )}

        {tx.txType === 'converted' &amp;&amp;
          !isPending &amp;&amp; (
            
          )}
github autonomoussoftware / metronome-wallet-desktop / src / components / dashboard / tx-list / row / Icon.js View on Github external
render() {
    const color = this.props.isFailed
      ? theme.colors.danger
      : theme.colors.primary

    if (this.props.txType === 'unknown' || this.props.isPending) {
      return {this.props.confirmations}
    }

    switch (this.props.txType) {
      case 'converted':
        return 
      case 'auction':
        return 
      case 'imported':
        return 
      case 'exported':
        return 
      default:
        return