From c1b69bcbc0e79b4f722e6ffaa0a9c08d37b206b3 Mon Sep 17 00:00:00 2001 From: Andris Borbas <andris.borbas@gmail.com> Date: Thu, 10 Sep 2020 13:54:17 +0200 Subject: [PATCH] Remove old theme --- src/utils/theme.ts | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 src/utils/theme.ts diff --git a/src/utils/theme.ts b/src/utils/theme.ts deleted file mode 100644 index 142b433..0000000 --- a/src/utils/theme.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Heading, Link } from 'rebass'; - -const theme = { - breakpoints: [545, 1024, 1440, 1920], - colors: { - red: '#f8485e', - darkgray: '#3d3d3d', - }, - space: [0, 4, 8, 16, 32, 64, 128, 256, 512].map(value => `${value / 16}rem`), - fonts: { - sans: 'Montserrat, system-ui, sans-serif', - mono: '"Roboto Mono", monospace', - }, - fontWeights: { - bold: 600, - }, - Heading: { - fontWeight: 500, - textTransform: 'lowercase', - }, - Link: { - padding: '0.125em 0', - textDecoration: 'none', - 'p &:hover': { - background: '#f8485e', - color: 'white', - }, - }, -}; - -Heading.defaultProps = { - ...Heading.defaultProps, - as: 'h1', - fontSize: '2rem', - fontFamily: 'mono', -}; - -Link.defaultProps = { - ...Link.defaultProps, - color: 'red', -}; - -export default theme; -- GitLab