dcbristol-2019-static/tailwind.config.js

26 lines
643 B
JavaScript

const defaultConfig = require('tailwindcss/defaultConfig')
const defaultTheme = 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: [...defaultConfig.variants.textColor, 'hocus'],
fontStyle: [...defaultConfig.variants.fontStyle, 'hocus']
},
plugins: [
require('tailwindcss-interaction-variants')(),
require('tailwindcss-spaced-items')({ values: defaultTheme.spacing }),
],
}