Skip to content

Instantly share code, notes, and snippets.

@jonsherrard
Created October 4, 2016 14:46
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 jonsherrard/205f410f4a72f2ea2aa8a6e154af0b13 to your computer and use it in GitHub Desktop.
Save jonsherrard/205f410f4a72f2ea2aa8a6e154af0b13 to your computer and use it in GitHub Desktop.
Fewtch styling at Shortlist Studio
import { StyleSheet, css } from 'aphrodite/no-important'
export default StyleSheet.create({
base: {
fontFamily: 'Helvetica Neue',
fontSize: '1.1em',
fontWeight: 300,
'-webkit-font-smoothing': 'antialiased'
},
f1: {
fontSize: '3rem'
},
f2: {
fontSize: '2.25rem'
},
f3: {
fontSize: '1.5rem'
},
f4: {
fontSize: '1.25rem'
},
f5: {
fontSize: '1rem'
},
f6: {
fontSize: '0.875rem'
},
serif: {
fontFamily: 'Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;'
},
monospace: {
fontFamily: '"Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;'
},
italic: {
fontStyle: 'italic'
},
bold: {
fontWeight: 'bold'
},
lhCopy: {
lineHeight: 1.4
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment