Skip to content

Instantly share code, notes, and snippets.

@manakuro
Created April 8, 2020 01:53
Show Gist options
  • Save manakuro/c53ea4615a348160f898dea1264b2c8e to your computer and use it in GitHub Desktop.
Save manakuro/c53ea4615a348160f898dea1264b2c8e to your computer and use it in GitHub Desktop.
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