aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/style/media.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/style/media.ts')
-rw-r--r--packages/website/ts/style/media.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/packages/website/ts/style/media.ts b/packages/website/ts/style/media.ts
deleted file mode 100644
index 870d9a277..000000000
--- a/packages/website/ts/style/media.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { css } from 'ts/style/theme';
-import { ScreenWidths } from 'ts/types';
-
-const generateMediaWrapper = (screenWidth: ScreenWidths) => (...args: any[]) => css`
- @media (max-width: ${screenWidth}em) {
- ${css.apply(css, args)};
- }
-`;
-
-export const media = {
- small: generateMediaWrapper(ScreenWidths.Sm),
- medium: generateMediaWrapper(ScreenWidths.Md),
- large: generateMediaWrapper(ScreenWidths.Lg),
-};