dcbristol-2019-static/tailwind.js

28 lines
616 B
JavaScript
Raw Normal View History

2019-01-24 20:43:18 +00:00
let defaultConfig = require('tailwindcss/defaultConfig')()
2019-02-04 23:54:33 +00:00
var colors = {
...defaultConfig.colors,
2019-01-25 07:59:34 +00:00
'black': '#000000',
2019-01-24 20:43:18 +00:00
}
module.exports = {
2019-02-04 23:54:33 +00:00
...defaultConfig,
2019-01-24 20:43:18 +00:00
colors: colors,
textColors: colors,
backgroundColors: colors,
2019-02-04 23:54:33 +00:00
borderColors: Object.assign({ default: colors['grey-light'] }, colors),
2019-02-28 10:30:14 +00:00
plugins: [
require('tailwindcss-interaction-variants')(),
require('tailwindcss-spaced-items')(),
],
modules: {
...defaultConfig.modules,
textStyle: ['responsive', 'hover', 'focus', 'hocus'],
},
2019-01-24 20:43:18 +00:00
options: {
2019-02-04 23:54:33 +00:00
...defaultConfig.options,
2019-01-24 20:43:18 +00:00
prefix: 'tw-',
important: true,
},
}