-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtailwind.config.js
More file actions
56 lines (55 loc) · 1.32 KB
/
tailwind.config.js
File metadata and controls
56 lines (55 loc) · 1.32 KB
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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
`components/**/*.{vue,js}`,
`layouts/**/*.vue`,
`pages/**/*.vue`,
`plugins/**/*.{js,ts}`,
`nuxt.config.{js,ts}`,
],
jit: true,
media: false,
theme: {
extend: {
animation: {
fadeSlideDown: 'fadeSlideDown 1s ease',
fadeSlideDownFast: 'fadeSlideDown 0.5s ease',
fadeSlideDownSlow: 'fadeSlideDown 2s ease',
fadeSlideUp: 'fadeSlideUp 1s ease',
fadeSlideUpFast: 'fadeSlideUp 0.5s ease',
fadeSlideUpSlow: 'fadeSlideUp 2s ease',
},
colors: {
primary: '#5200FF',
secondary: '#FF7ECC',
tertiary: '#181818',
},
keyframes: {
fadeSlideDown: {
'0%': {
opacity: 0,
transform: 'translateY(-30px)',
},
'100%': { opacity: 1 },
},
fadeSlideUp: {
'0%': {
opacity: 0,
transform: 'translateY(30px)',
},
'100%': { opacity: 1 },
},
},
},
fontFamily: {
sans: ['Newline Text', ...defaultTheme.fontFamily.sans],
},
screens: {
'2xl': { max: '1535px' },
lg: { max: '1023px' },
md: { max: '767px' },
sm: { max: '639px' },
xl: { max: '1279px' },
},
},
}