diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-11-09 03:19:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-09 03:19:51 +0800 |
commit | b388d5496272d535b5c192a7098f4227bb1fb3f2 (patch) | |
tree | 2b1deb57dcddf1c52bb7155836971be52d0b9fa3 /packages/instant/src/style/theme.ts | |
parent | adcfe51190c8ca5cd4d11e49eb7e100c80fbd16c (diff) | |
parent | c27194a35783d966b27deeb1654a077b8c1ba1c8 (diff) | |
download | dexon-sol-tools-b388d5496272d535b5c192a7098f4227bb1fb3f2.tar dexon-sol-tools-b388d5496272d535b5c192a7098f4227bb1fb3f2.tar.gz dexon-sol-tools-b388d5496272d535b5c192a7098f4227bb1fb3f2.tar.bz2 dexon-sol-tools-b388d5496272d535b5c192a7098f4227bb1fb3f2.tar.lz dexon-sol-tools-b388d5496272d535b5c192a7098f4227bb1fb3f2.tar.xz dexon-sol-tools-b388d5496272d535b5c192a7098f4227bb1fb3f2.tar.zst dexon-sol-tools-b388d5496272d535b5c192a7098f4227bb1fb3f2.zip |
Merge pull request #1220 from 0xProject/feature/instant/prevent-css-leakage
[instant] Prevent CSS leakage
Diffstat (limited to 'packages/instant/src/style/theme.ts')
-rw-r--r-- | packages/instant/src/style/theme.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/style/theme.ts b/packages/instant/src/style/theme.ts index d10c9b72c..8dada2d28 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, keyframes, withTheme, ThemeProvider } = styledComponents; +const { default: styled, css, keyframes, withTheme, createGlobalStyle, ThemeProvider } = styledComponents; export type Theme = { [key in ColorOption]: string }; @@ -33,4 +33,4 @@ export const theme: Theme = { export const transparentWhite = 'rgba(255,255,255,0.3)'; export const overlayBlack = 'rgba(0, 0, 0, 0.6)'; -export { styled, css, keyframes, withTheme, ThemeProvider }; +export { styled, css, keyframes, withTheme, createGlobalStyle, ThemeProvider }; |