Created
April 8, 2020 01:53
-
-
Save manakuro/c53ea4615a348160f898dea1264b2c8e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { css, createGlobalStyle } from 'styled-components' | |
import ress from 'src/styles/ress' | |
import { Theme } from 'src/styles/theme' | |
const global = css<Theme>` | |
html { | |
scroll-behavior: smooth; | |
} | |
body { | |
font-family: ${(props) => props.theme.fonts.body}; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
ul { | |
list-style-type: none; | |
} | |
` | |
const GlobalStyle = createGlobalStyle<Theme>` | |
${ress} | |
${global} | |
` | |
export default GlobalStyle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment