Skip to content

Instantly share code, notes, and snippets.

@matheusnascgomes
Created June 26, 2018 00:38
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 matheusnascgomes/89eb7762322fdad7c594dc4d39099acd to your computer and use it in GitHub Desktop.
Save matheusnascgomes/89eb7762322fdad7c594dc4d39099acd to your computer and use it in GitHub Desktop.
Configuração padrão global da lib styled-components para ambientes ReactJS e React Native
import { injectGlobal } from 'styled-components';
injectGlobal`
*{
margin: 0;
padding: 0;
box-sizing: border-box;
outline: 0;
}
html, body, #root{
height: 100%;
}
body{
text-rendering: optimizeLegibility !important;
-webkit-font-smoothing: antialiased !important;
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment