30 lines
684 B
JavaScript
30 lines
684 B
JavaScript
const { variants } = require('tailwindcss/defaultConfig')
|
|
const { spacing } = require('tailwindcss/defaultTheme')
|
|
|
|
module.exports = {
|
|
prefix: 'tw-',
|
|
important: true,
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
black: '#000',
|
|
'green-600': '#0fa877',
|
|
'pink-600': '#ec16a8',
|
|
'purple-600': '#b33ee9',
|
|
},
|
|
},
|
|
},
|
|
variants: {
|
|
textColor: [...variants.textColor, 'hocus'],
|
|
fontStyle: [...variants.fontStyle, 'hocus']
|
|
},
|
|
corePlugins: {
|
|
preflight: false
|
|
},
|
|
plugins: [
|
|
require('tailwindcss-interaction-variants')(),
|
|
require('tailwindcss-list-reset')(),
|
|
require('tailwindcss-spaced-items')({ values: spacing }),
|
|
],
|
|
}
|