-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
59 lines (58 loc) · 1.67 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
fontFamily: {
body: ['Open Sans', 'sans-serif'],
},
animation: {
'gradient': 'gradient 1s ease-in-out infinite',
'fade-in': 'fadeIn 2s linear',
'fade-in-fast': 'fadeIn 0.5s linear',
'fade-out': 'fadeOut 2s linear',
'fade-out-fast': 'fadeOut 0.5s linear forwards',
'spin-slow': 'spin 3s linear infinite',
'spin-fast': 'spin 1s linear infinite',
'slide-right': 'slide_right 1s ease-in-out',
'slide-left': 'slide_left 1s ease-in-out',
'breath': 'breath 3s linear infinite',
},
keyframes: {
gradient: {
'0%, 100%': {
'background-position': '100% 0'
},
'50%': {
'background-position': '-100% 0'
},
},
fadeIn: {
'0%': { opacity: 0.2 },
'100%': { opacity: 1 },
},
fadeOut: {
'0%': { opacity: 1 },
'100%': { opacity: 0 },
},
slide_left: {
'0%': { transform: 'translateX(-100%)' },
'80%': { transform: 'translateX(5%)' },
'100%' : { transform: 'translateX(0%)' },
},
slide_right: {
'0%': { transform: 'translateX(100%)' },
'80%': { transform: 'translateX(-5%)' },
'100%' : { transform: 'translateX(0%)' },
},
breath :{
'0%': { opacity: 0.2 },
'30%': { opacity: 1 },
'70%': { opacity: 1 },
'100%': { opacity: 0.2 },
}
},
},
plugins: [],
}
}