Skip to content

Instantly share code, notes, and snippets.

@gsans
Created June 11, 2022 10:25
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 gsans/13b7def1262f34b1bced63bce9b50b0b to your computer and use it in GitHub Desktop.
Save gsans/13b7def1262f34b1bced63bce9b50b0b to your computer and use it in GitHub Desktop.
codez053: set media query breakpoints
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
purge: { content: ['./public/**/*.html', './src/**/*.vue'] },
darkMode: false, // or 'media' or 'class'
theme: {
container: {
center: true
},
maxHeight: {
'full': '85%',
},
extend: {
fontFamily: {
sans: [...defaultTheme.fontFamily.sans]
},
colors: {
'blue': '#1DA1F2',
'darkblue': '#2795D9',
'lightblue': '#EFF9FF',
'dark': '#657786',
'light': '#AAB8C2',
'lighter': '#E1E8ED',
'lightest': '#F5F8FA',
}
},
screens: {
'sm': '360px',
// => @media (min-width: 360px) { ... }
'md': '768px',
// => @media (min-width: 768px) { ... }
'lg': '1024px',
// => @media (min-width: 1024px) { ... }
'xl': '1280px',
// => @media (min-width: 1280px) { ... }
'2xl': '1536px',
// => @media (min-width: 1536px) { ... }
},
},
variants: {
extend: {},
},
plugins: [],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment