rebuilding-platformsh/tailwind.config.js

34 lines
844 B
JavaScript
Raw Normal View History

2019-05-10 21:13:04 +00:00
const { variants } = require('tailwindcss/defaultConfig')
const { fontFamily, spacing } = require('tailwindcss/defaultTheme')
2019-04-23 23:19:28 +00:00
module.exports = {
theme: {
2019-06-15 19:35:41 +00:00
rotate: {
'-90': '-90deg'
},
2019-04-23 23:19:28 +00:00
extend: {
colors: {
2019-04-23 23:24:10 +00:00
charade: '#2a293c',
2019-04-24 00:03:34 +00:00
'gun-powder': '#414054',
2019-04-23 23:19:28 +00:00
inherit: 'inherit'
2019-04-28 17:38:09 +00:00
},
fontFamily: {
sans: [
'Open Sans',
2019-05-10 21:13:04 +00:00
...fontFamily.sans
2019-04-28 17:38:09 +00:00
]
2019-04-23 23:19:28 +00:00
}
}
},
variants: {
2019-05-10 21:13:04 +00:00
backgroundColor: [...variants.backgroundColor, 'hocus', 'group-hocus'],
textDecoration: [...variants.textDecoration, 'group-hover', 'hocus', 'group-hocus']
},
plugins: [
require('tailwindcss-interaction-variants')(),
2019-06-15 15:31:01 +00:00
require('tailwindcss-spaced-items')({ values: spacing }),
2019-05-03 06:48:38 +00:00
require('tailwindcss-transforms')(),
2019-06-15 15:31:01 +00:00
require('tailwindcss-visuallyhidden')()
]
2019-04-23 23:19:28 +00:00
}