1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-28 18:08:08 +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() {
const bgColor = new ColorHash({ lightness: 0.16 });
const textColor = new ColorHash();
const bgColor = new ColorHash({ lightness: 0.9 });
const textColor = new ColorHash({ lightness: 0.3, saturation: 1 });
return (
<TokenWrapper key={this.props.token.symbol}>