Skip to content

Instantly share code, notes, and snippets.

@csorlandi
Created June 20, 2019 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save csorlandi/a5d826e7d3661bbb8963addf5647cd86 to your computer and use it in GitHub Desktop.
Save csorlandi/a5d826e7d3661bbb8963addf5647cd86 to your computer and use it in GitHub Desktop.
import { createGlobalStyle } from 'styled-components';
const GlobalStyle = createGlobalStyle`
* {
margin: 0;
padding: 0;
box-sizing: border-box;
outline: 0;
}
*:focus {
outline: 0;
}
html, body, #root {
min-height: 100%;
}
body {
text-rendering: optimizeLegibility !important;
-webkit-font-smoothing: antialiased !important;
font-family: 'Source Sans Pro', sans-serif;
}
a {
color: inherit;
text-decoration: none;
}
ul {
list-style: none;
}
button {
cursor: pointer;
}
`;
export default GlobalStyle;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment