aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/style
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-07 07:59:16 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-07 07:59:16 +0800
commit10da1e24e13b728c2837e5360a48fcb2913855a5 (patch)
tree6e2421617a5ac499ea1224ba50b99120dc6b2ca0 /packages/instant/src/style
parent42c441fafa0a0c2de45904a2f67293152dd954b2 (diff)
downloaddexon-sol-tools-10da1e24e13b728c2837e5360a48fcb2913855a5.tar
dexon-sol-tools-10da1e24e13b728c2837e5360a48fcb2913855a5.tar.gz
dexon-sol-tools-10da1e24e13b728c2837e5360a48fcb2913855a5.tar.bz2
dexon-sol-tools-10da1e24e13b728c2837e5360a48fcb2913855a5.tar.lz
dexon-sol-tools-10da1e24e13b728c2837e5360a48fcb2913855a5.tar.xz
dexon-sol-tools-10da1e24e13b728c2837e5360a48fcb2913855a5.tar.zst
dexon-sol-tools-10da1e24e13b728c2837e5360a48fcb2913855a5.zip
feat: make instant resistant to external styles
Diffstat (limited to 'packages/instant/src/style')
-rw-r--r--packages/instant/src/style/theme.ts4
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 };