From 7a8adf9db5a83c3f44d6fe9e84e00ff1ec1e88e0 Mon Sep 17 00:00:00 2001
From: fragosti <francesco.agosti93@gmail.com>
Date: Thu, 18 Oct 2018 16:35:59 -0700
Subject: feat: use color from metaData instead of default primaryColor

---
 packages/instant/src/components/zero_ex_instant.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'packages/instant/src/components/zero_ex_instant.tsx')

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>
         );
     }
-- 
cgit v1.2.3

