aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui/background.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/components/ui/background.tsx')
-rw-r--r--packages/website/ts/components/ui/background.tsx24
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/website/ts/components/ui/background.tsx b/packages/website/ts/components/ui/background.tsx
deleted file mode 100644
index 808792a41..000000000
--- a/packages/website/ts/components/ui/background.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import { colors } from '@0xproject/react-shared';
-import * as React from 'react';
-import { styled } from 'ts/style/theme';
-import { zIndex } from 'ts/style/z_index';
-
-export interface BackgroundProps {
- color?: string;
-}
-
-const PlainBackground: React.StatelessComponent<BackgroundProps> = props => <div {...props} />;
-
-export const Background = styled(PlainBackground)`
- background-color: ${props => props.color};
- height: 100vh;
- width: 100vw;
- position: fixed;
- z-index: ${zIndex.background};
-`;
-
-Background.defaultProps = {
- color: colors.lightestGrey,
-};
-
-Background.displayName = 'Background';