Skip to content

Instantly share code, notes, and snippets.

@johncarter-
Created July 14, 2020 13:11
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 johncarter-/ff8cbcfa7337aeb780a5daf5b6310b61 to your computer and use it in GitHub Desktop.
Save johncarter-/ff8cbcfa7337aeb780a5daf5b6310b61 to your computer and use it in GitHub Desktop.
John Carter Tailwind Config
module.exports = {
theme: {
extend: {
colors: {
brand: {
'blue-900': '#01295f',
},
},
fontFamily: {
'sans': [
// 'Montserrat'
]
},
lineHeight: {
'tighter': '1.125',
},
padding: {
'square': '100%',
'16by9': '56.25%',
'4by3': '75%',
'21by9': '42.86%',
'3by1': '33.33%',
'4by5': '133.333%'
},
fontSize: {
'6xl': '4rem', // 64px
'7xl': '4.5rem', // 72px
'8xl': '6rem', // 96px
},
spacing: {
'72': '18rem',
'84': '21rem',
'96': '24rem',
},
},
// Overrides
screens: {
'xs': '480px',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
},
},
variants: {
},
plugins: [
// require('@tailwindcss/typography'),
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment