diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-07 07:59:16 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-07 07:59:16 +0800 |
commit | 10da1e24e13b728c2837e5360a48fcb2913855a5 (patch) | |
tree | 6e2421617a5ac499ea1224ba50b99120dc6b2ca0 /packages/instant/src/style | |
parent | 42c441fafa0a0c2de45904a2f67293152dd954b2 (diff) | |
download | dexon-0x-contracts-10da1e24e13b728c2837e5360a48fcb2913855a5.tar.gz dexon-0x-contracts-10da1e24e13b728c2837e5360a48fcb2913855a5.tar.zst dexon-0x-contracts-10da1e24e13b728c2837e5360a48fcb2913855a5.zip |
feat: make instant resistant to external styles
Diffstat (limited to 'packages/instant/src/style')
-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 }; |