This repository has been archived on 2025-09-29. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupalcampbristol/tailwind.js
2019-02-28 10:30:14 +00:00

27 lines
616 B
JavaScript

let defaultConfig = require('tailwindcss/defaultConfig')()
var colors = {
...defaultConfig.colors,
'black': '#000000',
}
module.exports = {
...defaultConfig,
colors: colors,
textColors: colors,
backgroundColors: colors,
borderColors: Object.assign({ default: colors['grey-light'] }, colors),
plugins: [
require('tailwindcss-interaction-variants')(),
require('tailwindcss-spaced-items')(),
],
modules: {
...defaultConfig.modules,
textStyle: ['responsive', 'hover', 'focus', 'hocus'],
},
options: {
...defaultConfig.options,
prefix: 'tw-',
important: true,
},
}