Skip to content

Instantly share code, notes, and snippets.

@selbekk
Created August 12, 2017 10:21
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 selbekk/2525878fb3bb154fbaef6c3803cda225 to your computer and use it in GitHub Desktop.
Save selbekk/2525878fb3bb154fbaef6c3803cda225 to your computer and use it in GitHub Desktop.
Global styles
import normalize from 'styled-normalize';
export default () => `
${normalize}
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
html {
box-sizing: border-box;
}
*, *::before, *::after {
box-sizing: inherit;
}
html, body {
font-display: swap;
font-family: 'Open Sans', sans-serif;
margin: 0;
min-height: 100vh;
padding: 0;
}
`;
a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment