diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-18 17:06:16 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-18 17:06:16 +0800 |
commit | 445ff1e28ee572236ec963a27bff227e859f685c (patch) | |
tree | 394f9ec709053d170e3c0438f1c2c127ad65896a /packages/website/ts/components/inputs | |
parent | df9d3e3e16e5a00ea84369691c46a6e4a6a53049 (diff) | |
download | dexon-sol-tools-445ff1e28ee572236ec963a27bff227e859f685c.tar dexon-sol-tools-445ff1e28ee572236ec963a27bff227e859f685c.tar.gz dexon-sol-tools-445ff1e28ee572236ec963a27bff227e859f685c.tar.bz2 dexon-sol-tools-445ff1e28ee572236ec963a27bff227e859f685c.tar.lz dexon-sol-tools-445ff1e28ee572236ec963a27bff227e859f685c.tar.xz dexon-sol-tools-445ff1e28ee572236ec963a27bff227e859f685c.tar.zst dexon-sol-tools-445ff1e28ee572236ec963a27bff227e859f685c.zip |
Standardize colors to always be in uppercase hex and consolidate material-ui greys
Diffstat (limited to 'packages/website/ts/components/inputs')
4 files changed, 5 insertions, 5 deletions
diff --git a/packages/website/ts/components/inputs/address_input.tsx b/packages/website/ts/components/inputs/address_input.tsx index f5ebb4112..d432a038e 100644 --- a/packages/website/ts/components/inputs/address_input.tsx +++ b/packages/website/ts/components/inputs/address_input.tsx @@ -50,7 +50,7 @@ export class AddressInput extends React.Component<AddressInputProps, AddressInpu fullWidth={true} hintText={hintText} floatingLabelFixed={true} - floatingLabelStyle={{color: colors.grey500, display: labelDisplay}} + floatingLabelStyle={{color: colors.grey, display: labelDisplay}} floatingLabelText={label} errorText={this.state.errMsg} value={this.state.address} diff --git a/packages/website/ts/components/inputs/balance_bounded_input.tsx b/packages/website/ts/components/inputs/balance_bounded_input.tsx index d02778392..0b92a5856 100644 --- a/packages/website/ts/components/inputs/balance_bounded_input.tsx +++ b/packages/website/ts/components/inputs/balance_bounded_input.tsx @@ -83,7 +83,7 @@ export class BalanceBoundedInput extends fullWidth={true} floatingLabelText={label} floatingLabelFixed={true} - floatingLabelStyle={{color: colors.grey500, width: 206}} + floatingLabelStyle={{color: colors.grey, width: 206}} errorText={errorText} value={this.state.amountString} hintText={<span style={{textTransform: 'capitalize'}}>amount</span>} @@ -133,7 +133,7 @@ export class BalanceBoundedInput extends const increaseBalanceText = 'Increase balance'; const linkStyle = { cursor: 'pointer', - color: colors.grey900, + color: colors.darkestGray, textDecoration: 'underline', display: 'inline', }; diff --git a/packages/website/ts/components/inputs/token_amount_input.tsx b/packages/website/ts/components/inputs/token_amount_input.tsx index 363904e4d..ddf0d3307 100644 --- a/packages/website/ts/components/inputs/token_amount_input.tsx +++ b/packages/website/ts/components/inputs/token_amount_input.tsx @@ -59,7 +59,7 @@ export class TokenAmountInput extends React.Component<TokenAmountInputProps, Tok Insufficient allowance.{' '} <Link to={`${WebsitePaths.Portal}/balances`} - style={{cursor: 'pointer', color: colors.grey900}} + style={{cursor: 'pointer', color: colors.darkestGray}} > Set allowance </Link> diff --git a/packages/website/ts/components/inputs/token_input.tsx b/packages/website/ts/components/inputs/token_input.tsx index e406ca27b..806c8b21f 100644 --- a/packages/website/ts/components/inputs/token_input.tsx +++ b/packages/website/ts/components/inputs/token_input.tsx @@ -62,7 +62,7 @@ export class TokenInput extends React.Component<TokenInputProps, TokenInputState > <TokenIcon token={token} diameter={TOKEN_ICON_DIMENSION} /> </div> - <div className="py1 center" style={{color: colors.grey500}}> + <div className="py1 center" style={{color: colors.grey}}> {token.name} </div> </Paper> |