-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
53 lines (49 loc) · 1.13 KB
/
tailwind.config.js
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
const plugin = require("tailwindcss/plugin")
module.exports = {
purge: [],
theme: {
minWidth: {
'0': '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'full': '100%',
},
extend: {
padding: {
100: '100%'
},
maxWidth: {
500: '500px',
'1/3': '33.33%',
'2/5': '40%',
'1/2': '50%',
'2/3': '66.66%'
},
maxHeight: {
'2/3': '66.66%'
},
width: {
100: '100%',
},
height: {
100: '100%',
},
},
},
variants: {},
plugins: [
plugin(function({ addComponents }) {
const noselect = {
'.noselect': {
"-webkit-touch-callout": "none", /* iOS Safari */
"-webkit-user-select": "none", /* Safari */
"-khtml-user-select": "none", /* Konqueror HTML */
"-moz-user-select": "none", /* Old versions of Firefox */
"-ms-user-select": "none", /* Internet Explorer/Edge */
"user-select": "none" /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
}
addComponents(noselect)
})],
}