2019-05-10 22:04:38 +00:00
|
|
|
const { variants } = require('tailwindcss/defaultConfig')
|
|
|
|
const { spacing } = require('tailwindcss/defaultTheme')
|
2019-03-20 22:48:08 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
prefix: 'tw-',
|
|
|
|
important: true,
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
colors: {
|
|
|
|
black: '#000',
|
2019-03-20 23:19:08 +00:00
|
|
|
'green-600': '#0fa877',
|
|
|
|
'pink-600': '#ec16a8',
|
2019-05-21 20:52:55 +00:00
|
|
|
'purple-600': '#b33ee9'
|
|
|
|
}
|
|
|
|
}
|
2019-03-20 22:48:08 +00:00
|
|
|
},
|
2019-04-11 09:12:59 +00:00
|
|
|
variants: {
|
2019-04-25 20:10:08 +00:00
|
|
|
backgroundColor: [...variants.backgroundColor, 'hocus'],
|
2019-05-14 21:35:47 +00:00
|
|
|
borderColor: [...variants.textColor, 'hocus', 'group-hocus'],
|
2019-04-25 20:10:08 +00:00
|
|
|
fontStyle: [...variants.fontStyle, 'hocus'],
|
2019-05-10 22:04:38 +00:00
|
|
|
textColor: [...variants.textColor, 'hocus'],
|
2019-04-25 20:10:08 +00:00
|
|
|
textDecoration: [...variants.textColor, 'hocus', 'group-hocus']
|
2019-04-11 09:12:59 +00:00
|
|
|
},
|
2019-05-12 08:13:42 +00:00
|
|
|
corePlugins: {
|
|
|
|
preflight: false
|
|
|
|
},
|
2019-03-20 22:48:08 +00:00
|
|
|
plugins: [
|
|
|
|
require('tailwindcss-interaction-variants')(),
|
2019-05-02 20:19:49 +00:00
|
|
|
require('tailwindcss-list-reset')(),
|
2019-05-10 22:04:38 +00:00
|
|
|
require('tailwindcss-spaced-items')({ values: spacing }),
|
2019-04-25 20:09:44 +00:00
|
|
|
require('tailwindcss-transitions')(),
|
|
|
|
require('tailwindcss-visuallyhidden')()
|
2019-05-21 20:52:55 +00:00
|
|
|
]
|
2019-03-20 22:48:08 +00:00
|
|
|
}
|