aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-28 22:17:51 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-28 22:19:00 +0800
commitd642082058c17859170b933370bce9ea6b5da869 (patch)
treed2fc364471aa3fc7d2550d4bcb285fb247a397b6 /packages/website
parentd3aebd0b799607ba24f0a3a298afe85ced69c264 (diff)
downloaddexon-sol-tools-d642082058c17859170b933370bce9ea6b5da869.tar
dexon-sol-tools-d642082058c17859170b933370bce9ea6b5da869.tar.gz
dexon-sol-tools-d642082058c17859170b933370bce9ea6b5da869.tar.bz2
dexon-sol-tools-d642082058c17859170b933370bce9ea6b5da869.tar.lz
dexon-sol-tools-d642082058c17859170b933370bce9ea6b5da869.tar.xz
dexon-sol-tools-d642082058c17859170b933370bce9ea6b5da869.tar.zst
dexon-sol-tools-d642082058c17859170b933370bce9ea6b5da869.zip
Add styled-component types
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/package.json1
-rw-r--r--packages/website/ts/style/theme.ts4
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/website/package.json b/packages/website/package.json
index 6511ffb1a..75e147168 100644
--- a/packages/website/package.json
+++ b/packages/website/package.json
@@ -30,6 +30,7 @@
"@0x/typescript-typings": "^3.0.4",
"@0x/utils": "^2.0.6",
"@0x/web3-wrapper": "^3.1.5",
+ "@types/styled-components": "^4.1.1",
"accounting": "^0.4.1",
"basscss": "^8.0.3",
"blockies": "^0.0.2",
diff --git a/packages/website/ts/style/theme.ts b/packages/website/ts/style/theme.ts
index ce7d6975d..94bd0169a 100644
--- a/packages/website/ts/style/theme.ts
+++ b/packages/website/ts/style/theme.ts
@@ -4,7 +4,7 @@ import * as styledComponents from 'styled-components';
const {
default: styled,
css,
- injectGlobal,
+ createGlobalStyle,
keyframes,
ThemeProvider,
} = styledComponents as styledComponents.ThemedStyledComponentsModule<IThemeInterface>;
@@ -14,4 +14,4 @@ export interface IThemeInterface {}
export const theme = {};
-export { styled, css, injectGlobal, keyframes, ThemeProvider };
+export { styled, css, createGlobalStyle, keyframes, ThemeProvider };