forked from pietervdvn/MapComplete
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
33 lines (31 loc) · 747 Bytes
/
tailwind.config.js
File metadata and controls
33 lines (31 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
const plugin = require('tailwindcss/plugin')
module.exports = {
mode: 'jit',
purge: [
'./**/*.html',
'./**/*.ts',
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
maxHeight: {
'65vh': '65vh',
'20vh': '20vh',
}
},
},
variants: {
extend: {
ringColor: ['hover'],
}
},
plugins: [
plugin(function ({addVariant, e}) {
addVariant('landscape', ({modifySelectors, separator}) => {
modifySelectors(({className}) => {
return `.${e(`landscape${separator}${className}`)}:landscape`
})
})
})
]
}