aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/style/theme.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-11-30 06:34:14 +0800
committerGitHub <noreply@github.com>2018-11-30 06:34:14 +0800
commitd4c439b27703b6855a6f7da60cf5a249d82b6b81 (patch)
tree874eef17e239e99d2585141ab86a5dcac02cb8c5 /packages/instant/src/style/theme.ts
parenta864328ecf20e1dcbe1c8699d08317e075abc5e2 (diff)
parent105dcd73e473bf347a3db0143f7730d46fa44d84 (diff)
downloaddexon-sol-tools-d4c439b27703b6855a6f7da60cf5a249d82b6b81.tar
dexon-sol-tools-d4c439b27703b6855a6f7da60cf5a249d82b6b81.tar.gz
dexon-sol-tools-d4c439b27703b6855a6f7da60cf5a249d82b6b81.tar.bz2
dexon-sol-tools-d4c439b27703b6855a6f7da60cf5a249d82b6b81.tar.lz
dexon-sol-tools-d4c439b27703b6855a6f7da60cf5a249d82b6b81.tar.xz
dexon-sol-tools-d4c439b27703b6855a6f7da60cf5a249d82b6b81.tar.zst
dexon-sol-tools-d4c439b27703b6855a6f7da60cf5a249d82b6b81.zip
Merge pull request #1345 from 0xProject/fix/instant/progress-bar-bg
[instant] Progress bar background
Diffstat (limited to 'packages/instant/src/style/theme.ts')
-rw-r--r--packages/instant/src/style/theme.ts12
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/instant/src/style/theme.ts b/packages/instant/src/style/theme.ts
index a0751286b..71e4b7052 100644
--- a/packages/instant/src/style/theme.ts
+++ b/packages/instant/src/style/theme.ts
@@ -1,6 +1,14 @@
import * as styledComponents from 'styled-components';
-const { default: styled, css, keyframes, withTheme, createGlobalStyle, ThemeProvider } = styledComponents;
+const {
+ default: styled,
+ css,
+ keyframes,
+ withTheme,
+ createGlobalStyle,
+ ThemeConsumer,
+ ThemeProvider,
+} = styledComponents;
export type Theme = { [key in ColorOption]: string };
@@ -45,4 +53,4 @@ export const generateOverlayBlack = (opacity = 0.6) => {
return `rgba(0, 0, 0, ${opacity})`;
};
-export { styled, css, keyframes, withTheme, createGlobalStyle, ThemeProvider };
+export { styled, css, keyframes, withTheme, createGlobalStyle, ThemeConsumer, ThemeProvider };