2021-01-27 02:26:57 +01:00
|
|
|
const plugin = require('tailwindcss/plugin')
|
|
|
|
|
2021-01-17 21:01:44 +01:00
|
|
|
module.exports = {
|
2021-09-22 19:56:05 +02:00
|
|
|
mode: 'jit',
|
2021-01-27 02:26:57 +01:00
|
|
|
purge: [
|
2021-09-22 19:56:05 +02:00
|
|
|
'./**/*.html',
|
|
|
|
'./**/*.ts',
|
2021-01-27 02:26:57 +01:00
|
|
|
],
|
|
|
|
darkMode: false, // or 'media' or 'class'
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
maxHeight: {
|
|
|
|
'65vh': '65vh',
|
|
|
|
'20vh': '20vh',
|
|
|
|
}
|
|
|
|
},
|
2021-01-21 04:48:52 +01:00
|
|
|
},
|
2021-01-27 02:26:57 +01:00
|
|
|
variants: {
|
|
|
|
extend: {
|
|
|
|
ringColor: ['hover'],
|
|
|
|
}
|
|
|
|
},
|
|
|
|
plugins: [
|
2021-09-22 19:56:05 +02:00
|
|
|
plugin(function ({ addVariant, e }) {
|
|
|
|
addVariant('landscape', ({ modifySelectors, separator }) => {
|
|
|
|
modifySelectors(({ className }) => {
|
2021-01-27 02:26:57 +01:00
|
|
|
return `.${e(`landscape${separator}${className}`)}:landscape`
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
]
|
2021-01-17 21:01:44 +01:00
|
|
|
}
|