forked from Blair2004/NexoPOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
executable file
·127 lines (124 loc) · 2.74 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
const colors = require( 'tailwindcss/colors' );
const heightDims = {
'6/7-screen': '85.71vh',
'5/7-screen': '71.42vh',
'4/7-screen': '57.14vh',
'3/7-screen': '42.85vh',
'2/7-screen': '28.57vh',
'1/7-screen': '14.28vh',
'5/6-screen': '83.33vh',
'4/6-screen': '66.66vh',
'3/6-screen': '50vh',
'2/6-screen': '33.33vh',
'1/6-screen': '16.66vh',
'4/5-screen': '80vh',
'3/5-screen': '60vh',
'2/5-screen': '40vh',
'1/5-screen': '20vh',
'3/4-screen': '75vh',
'2/4-screen': '50vh',
'1/4-screen': '25vh',
'2/3-screen': '66.66vh',
'1/3-screen': '33.33vh',
'half': '50vh',
'95vh': '95vh'
};
const widthDims = {
'6/7-screen': '85.71vw',
'5/7-screen': '71.42vw',
'4/7-screen': '57.14vw',
'3/7-screen': '42.85vw',
'2/7-screen': '28.57vw',
'1/7-screen': '14.28vw',
'5/6-screen': '83.33vw',
'4/6-screen': '66.66vw',
'3/6-screen': '50vw',
'2/6-screen': '33.33vw',
'1/6-screen': '16.66vw',
'4/5-screen': '80vw',
'3/5-screen': '60vw',
'2/5-screen': '40vw',
'1/5-screen': '20vw',
'3/4-screen': '75vw',
'2/4-screen': '50vw',
'1/4-screen': '25vw',
'2/3-screen': '66.66vw',
'1/3-screen': '33.33vw',
'half': '50vw',
'95vw': '95vw'
}
module.exports = {
purge: [
'./resources/**/*.html',
'./resources/**/*.vue',
'./resources/**/*.ts',
'./resources/**/*.php',
'./modules/**/*.php',
'./modules/**/*.vue',
'./modules/**/*.ts',
],
corePlugins: {
float: false
},
important: true,
theme: {
fontFamily: {
display: ['Gilroy', 'sans-serif'],
body: ['Graphik', 'sans-serif'],
},
extend: {
colors: {
teal: colors.teal,
orange: colors.orange,
cyan: colors.cyan
},
fontWeight: [ 'hover', 'focus' ],
height: heightDims,
minHeight: heightDims,
maxHeight: heightDims,
width: {
...widthDims
},
spacing: {
'72': '18rem',
'84': '21rem',
'96': '24rem',
'108': '27rem',
'120': '30rem',
},
screens: {
'print': { 'raw': 'print'},
},
inset: {
'-5': '-2.5em',
'-10': '-5em',
'-20': '-10em',
'-25': '-12.5em',
'-30': '-15em',
'-40': '-20em',
'-50': '-25em',
'-60': '-30em',
'-70': '-35em',
'0': '0em',
'5': '2.5em',
'10': '5em',
'20': '10em',
'25': '12.5em',
'30': '15em',
'40': '20em',
'50': '25em',
'60': '30em',
'70': '35em',
...widthDims
},
margin: {
'-5': '-2.5em',
'96': '24rem',
'128': '32rem',
},
}
},
variants: {
opacity: [ 'responsive', 'hover', 'active' ]
}
}