-
Notifications
You must be signed in to change notification settings - Fork 10
/
tailwind.config.cjs
52 lines (51 loc) · 1.51 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.tsx"],
theme: {
extend: {
fontFamily: {
monogram: ["monogram"]
},
colors: {
'bg': '#EDEBE9',
'primary': '#373948',
'b-secondary': '#B9AAAA',
'secondary': '#AFAEA9',
'shadow': '#D4D2C9',
'modal': 'rgba(212, 210, 201, 0.59)'
},
boxShadow: {
'card-border': '0 0 0 6px #e8d568',
'modal-border': '0 0 0 4px #393847',
},
animation: {
getCard: 'getCard 0.5s ease-in-out',
getAlert: 'getAlert 1s ease-in-out forwards',
getAlertWinner: 'getAlertWinner 0.6s ease-in-out forwards',
actionLoader: 'actionLoader 6s cubic-bezier(0.3, 0.27, 0.51, 0.54) forwards'
},
keyframes: {
getCard: {
'50%, 0%': { transform: 'translateY(-100px)', opacity: '0', },
'100%': {
transform: 'translateY(0px) rotate(-2deg)'
}
},
getAlert: {
'100%': { transform: 'translateY(0)', opacity: '0', },
'50%': { transform: 'translateY(-60px)', opacity: '1', },
'0%': { transform: 'translateY(0px)', opacity: '0', }
},
getAlertWinner: {
'100%': { transform: 'translateY(-60px)', opacity: '1', },
'0%': { transform: 'translateY(0px)', opacity: '0', }
},
actionLoader: {
'0%': {width: '100%'},
'100%': { width: '0'}
}
}
},
},
plugins: [],
}