-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
83 lines (81 loc) · 2.57 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
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
darkMode: 'selector',
// darkMode: ['variant', '&:not(.light *)'], // force darkmode until we have a proper selector
theme: {
extend: {
scale: {
'101': '1.01',
'102': '1.02',
},
colors: {
'dark-mode': '#050505',
'dark-mode-inside': '#1f2937',
'dark-mode-inside-hover': '#2a3748',
'dark-mode-dropdown': '#131e21',
'dark-mode-dropdown-hover': '#1b2b31',
'title-dark-mode-text': '#c7c7c7',
'dark-mode-text': '#909090',
},
plugins: [
require('@tailwindcss/forms'),
],
keyframes: {
blurIn: {
'0%': { filter: 'blur(28px)' },
'100%': { filter: 'blur(0px)' },
},
scaleIn: {
'0%': { transform: 'scale(0.1)' },
'100%': { transform: 'scale(1)' },
},
blurScaleIn: {
'0%': { filter: 'blur(100px)', transform: 'scale(0.1)' },
'50%': { transform: 'scale(1)' },
'100%': { filter: 'blur(0px)' },
},
blink: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0' },
},
fadeInDown: {
'0%': {opacity: '0', transform: 'translateY(-20px)'},
'100%': {opacity: '1', transform: 'translateY(0)'},
},
fadeInUp: {
'0%': {opacity: '0', transform: 'translateY(20px)'},
'100%': {opacity: '1', transform: 'translateY(0)'},
},
fadeInRight: {
'0%': {opacity: '0', transform: 'translateX(-20px)'},
'100%': {opacity: '1', transform: 'translateX(0)'},
},
fadeInLeft: {
'0%': {opacity: '0', transform: 'translateX(20px)'},
'100%': {opacity: '1', transform: 'translateX(0)'},
},
fadeInSlow: {
'0%': {opacity: '0'},
'100%': {opacity: '1'},
},
},
animation: {
blurIn: 'blurIn 1.5s ease-out forwards',
blurScaleIn: 'blurScaleIn 0.7s ease-out forwards',
scaleIn: 'scaleIn 0.5s ease-out forwards',
blink: 'blink 1s step-end infinite',
fadeInDown: 'fadeInDown 0.5s ease-out forwards',
fadeInUp: 'fadeInUp 0.5s ease-out forwards',
fadeInRight: 'fadeInRight 0.5s ease-out forwards',
fadeInLeft: 'fadeInLeft 0.5s ease-out forwards',
fadeInSlow: 'fadeInSlow 0.5s ease-out forwards',
fadeIn: 'fadeIn 0.5s ease-out forwards',
bounce: 'bounce 1.5s infinite',
}
},
},
variants: {
extend: {},
},
plugins: [],
}