aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/style/theme.ts
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-10-27 02:14:00 +0800
committerGitHub <noreply@github.com>2018-10-27 02:14:00 +0800
commit4c5b26db183f8f9163e043f5dd4bb0ce60e3aa7f (patch)
treedbfc6614e901c44d32775b1fe69bb957706c9cf0 /packages/instant/src/style/theme.ts
parentd2bf23de71bc2bdfaca14bd7026daa59ca5ef386 (diff)
parent30809e646be02025d6f9e9ed0ff214d9ace681c8 (diff)
downloaddexon-0x-contracts-4c5b26db183f8f9163e043f5dd4bb0ce60e3aa7f.tar
dexon-0x-contracts-4c5b26db183f8f9163e043f5dd4bb0ce60e3aa7f.tar.gz
dexon-0x-contracts-4c5b26db183f8f9163e043f5dd4bb0ce60e3aa7f.tar.bz2
dexon-0x-contracts-4c5b26db183f8f9163e043f5dd4bb0ce60e3aa7f.tar.lz
dexon-0x-contracts-4c5b26db183f8f9163e043f5dd4bb0ce60e3aa7f.tar.xz
dexon-0x-contracts-4c5b26db183f8f9163e043f5dd4bb0ce60e3aa7f.tar.zst
dexon-0x-contracts-4c5b26db183f8f9163e043f5dd4bb0ce60e3aa7f.zip
Merge pull request #1175 from 0xProject/feature/instant/input-fees-rounding
[instant] Create a ScalingInput component and use it in the amount input and upgrade to styled-components v4
Diffstat (limited to 'packages/instant/src/style/theme.ts')
-rw-r--r--packages/instant/src/style/theme.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/instant/src/style/theme.ts b/packages/instant/src/style/theme.ts
index d26c816c1..6575ff9f4 100644
--- a/packages/instant/src/style/theme.ts
+++ b/packages/instant/src/style/theme.ts
@@ -1,6 +1,6 @@
import * as styledComponents from 'styled-components';
-const { default: styled, css, injectGlobal, keyframes, ThemeProvider } = styledComponents;
+const { default: styled, css, keyframes, ThemeProvider } = styledComponents;
export type Theme = { [key in ColorOption]: string };
@@ -28,4 +28,6 @@ export const theme: Theme = {
darkOrange: '#F2994C',
};
-export { styled, css, injectGlobal, keyframes, ThemeProvider };
+export const transparentWhite = 'rgba(255,255,255,0.3)';
+
+export { styled, css, keyframes, ThemeProvider };