1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-29 02:18:06 +00:00

generate lighter color for token icons

This commit is contained in:
slowbackspace 2019-01-10 17:28:39 +01:00
parent f0855a413c
commit 298bcdf546

View File

@ -58,8 +58,8 @@ class AddedToken extends PureComponent {
} }
render() { render() {
const bgColor = new ColorHash({ lightness: 0.16 }); const bgColor = new ColorHash({ lightness: 0.9 });
const textColor = new ColorHash(); const textColor = new ColorHash({ lightness: 0.3, saturation: 1 });
return ( return (
<TokenWrapper key={this.props.token.symbol}> <TokenWrapper key={this.props.token.symbol}>