diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-19 07:35:59 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-19 07:35:59 +0800 |
commit | 7a8adf9db5a83c3f44d6fe9e84e00ff1ec1e88e0 (patch) | |
tree | 161ef0e66e906e6561a8dbbd901b3fd97ab413fa /packages/instant/src/components | |
parent | ad6dc8e891059f00f2ddda1884bbc78c1e47ea24 (diff) | |
download | dexon-sol-tools-7a8adf9db5a83c3f44d6fe9e84e00ff1ec1e88e0.tar dexon-sol-tools-7a8adf9db5a83c3f44d6fe9e84e00ff1ec1e88e0.tar.gz dexon-sol-tools-7a8adf9db5a83c3f44d6fe9e84e00ff1ec1e88e0.tar.bz2 dexon-sol-tools-7a8adf9db5a83c3f44d6fe9e84e00ff1ec1e88e0.tar.lz dexon-sol-tools-7a8adf9db5a83c3f44d6fe9e84e00ff1ec1e88e0.tar.xz dexon-sol-tools-7a8adf9db5a83c3f44d6fe9e84e00ff1ec1e88e0.tar.zst dexon-sol-tools-7a8adf9db5a83c3f44d6fe9e84e00ff1ec1e88e0.zip |
feat: use color from metaData instead of default primaryColor
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/src/components/zero_ex_instant.tsx b/packages/instant/src/components/zero_ex_instant.tsx index a67c0f412..c59c838a2 100644 --- a/packages/instant/src/components/zero_ex_instant.tsx +++ b/packages/instant/src/components/zero_ex_instant.tsx @@ -3,12 +3,12 @@ import { ObjectMap } from '@0x/types'; import * as React from 'react'; import { Provider } from 'react-redux'; +import { SelectedAssetThemeProvider } from '../containers/selected_asset_theme_provider'; import { assetMetaDataMap } from '../data/asset_meta_data_map'; import { asyncData } from '../redux/async_data'; import { State } from '../redux/reducer'; import { store, Store } from '../redux/store'; import { fonts } from '../style/fonts'; -import { theme, ThemeProvider } from '../style/theme'; import { AssetMetaData } from '../types'; import { assetUtils } from '../util/asset'; import { getProvider } from '../util/provider'; @@ -53,9 +53,9 @@ export class ZeroExInstant extends React.Component<ZeroExInstantProps> { public render(): React.ReactNode { return ( <Provider store={this.store}> - <ThemeProvider theme={theme}> + <SelectedAssetThemeProvider> <ZeroExInstantContainer /> - </ThemeProvider> + </SelectedAssetThemeProvider> </Provider> ); } |