Skip to content

Instantly share code, notes, and snippets.

@csorlandi csorlandi/global.js
Created Jun 20, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.