Consolidate all custom colors and material-ui colors into a colors module

This commit is contained in:
Fabio Berger
2017-12-18 09:15:12 +01:00
parent 98c01c2f80
commit df9d3e3e16
48 changed files with 169 additions and 226 deletions

View File

@@ -2,7 +2,7 @@ import {ZeroEx} from '0x.js';
import BigNumber from 'bignumber.js';
import * as _ from 'lodash';
import Divider from 'material-ui/Divider';
import {colors} from 'material-ui/styles';
import {colors} from 'ts/utils/colors';
import {
Table,
TableBody,
@@ -29,7 +29,6 @@ import {constants} from 'ts/utils/constants';
const PRECISION = 5;
const DATE_FORMAT = 'D/M/YY';
const LIGHT_GRAY = '#A5A5A5';
const ICON_DIMENSION = 40;
const ETHER_ICON_PATH = '/images/ether.png';
const OUTDATED_WETH_ICON_PATH = '/images/wrapped_eth_gray.png';
@@ -93,7 +92,7 @@ export class EthWrappers extends React.Component<EthWrappersProps, EthWrappersSt
<a
target="_blank"
href="https://weth.io/"
style={{color: LIGHT_GRAY}}
style={{color: colors.gray}}
>
<div className="flex">
<div>About Wrapped ETH</div>