jackmerrill.com/tailwind.config.js

33 lines
732 B
JavaScript
Raw Normal View History

2021-03-30 22:27:36 -07:00
module.exports = {
2021-03-30 23:16:28 -07:00
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
2021-03-30 22:27:36 -07:00
darkMode: 'media', // or 'media' or 'class'
theme: {
2021-04-13 19:39:58 -07:00
extend: {
backdropFilter: { // defaults to {}
'none': 'none',
'blur-full': 'blur(1)',
},
backgroundImage: theme => ({
'stryx': 'url(/img/Stryx.png)'
}),
colors: {
'tailwind': '#38B2AC',
'github': '#181717',
'twitter': '#1DA1F2',
2021-04-14 08:49:43 -07:00
},
transitionProperty: {
2021-10-04 15:13:53 -07:00
'fadeDown': 'height opacity',
'border': 'border-width border-color'
2021-04-13 19:39:58 -07:00
}
},
2021-03-30 22:27:36 -07:00
},
variants: {
2021-10-04 15:13:53 -07:00
extend: {
borderWidth: ['hover']
}
2021-03-30 22:27:36 -07:00
},
2021-04-13 19:39:58 -07:00
plugins: [
require('tailwindcss-filters'),
],
2021-03-30 22:27:36 -07:00
}