-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
60 lines (59 loc) · 1.73 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
module.exports = {
content: [
"./app/views/**/**/*.phtml",
"./app/controllers/*.php",
"./web/js/*.js"
],
theme: {
extend: {
animation: {
'bounce': 'bounce 1s ease 0s 1 normal forwards',
'smooth': 'smooth .3s ease-in-out',
'smooth-out': 'smooth-out .3s ease-in-out',
'fade': 'fade .3s ease-in-out',
'fade-out': 'fade-out .3s ease-in-out',
},
keyframes: {
'smooth': {
'0%': { opacity: 0, transform: 'scale(.95)' },
'100%': { opacity: 1, transform: 'scale(1)' },
},
'smooth-out': {
'0%': { opacity: 1, transform: 'scale(1)' },
'100%': { opacity: 0, transform: 'scale(.95)' },
},
'fade': {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
'fade-out': {
'0%': { opacity: 1 },
'100%': { opacity: 0 },
}
}
},
fontFamily: {
'catamaran': ['"Catamaran"', 'sans-serif']
},
screens: {
'vsm': {'min': '320px'},
'sm': {'min': '640px'},
'md': {'min': '768px'},
'lg': {'min': '1024px'},
'xl': {'min': '1280px'},
'2xl': {'min': '1536px'},
'4xl': {'min': '2047px'},
'vsm-max': {'max': '389px'},
'sm-max': {'max': '656px'},
'md-max': {'max': '768px'},
'lg-max': {'max': '1024px'},
'xl-max': {'max': '1280px'},
'2xl-max': {'max': '1536px'},
}
},
plugins: [require('@tailwindcss/forms')],
}
// * Usage for production
// curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-windows-x64.exe
// mv tailwindcss-windows-x64.exe tailwindcss.exe
// tailwindcss -i .\tailwind-input.css -o ./web/css/tailwind.css --minify