-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
63 lines (62 loc) · 1.54 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
// eslint-disable-next-line @typescript-eslint/no-var-requires
const plugin = require('tailwindcss/plugin');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
colors: {
primary: '#004e5f',
highlight: '#def7f7',
lightgrey: '#e6ebf4',
lightblue: '#bdc0cf'
},
fontFamily: {
sans: ['sans-serif']
},
fontSize: {
// Should maybe use 0.875rem and 2.5rem instead
button: ['14px', '40px']
},
letterSpacing: {
button: '0.4px'
},
minWidth: {
20: '4rem'
},
width: {
90: '22rem'
},
animation: {
success: 'success 0.4s ease',
ellipsis_1: 'ellipsis_1 0.6s infinite',
ellipsis_2: 'ellipsis_2 0.6s infinite',
ellipsis_3: 'ellipsis_3 0.6s infinite'
},
animationDelay: {},
keyframes: {
success: {
'0%': { transform: 'scale(0)' },
'30%': { transform: 'scale(0)' },
'100%': { transform: 'scale(1.1)' }
},
ellipsis_1: {
'0%': { transform: 'scale(0)' },
'100%': { transform: 'scale(1)' }
},
ellipsis_2: {
'0%': { transform: 'translate(0, 0)' },
'100%': { transform: 'translate(24px, 0)' }
},
ellipsis_3: {
'0%': { transform: 'scale(1)' },
'100%': { transform: 'scale(0)' }
}
}
}
},
plugins: [
plugin(function ({ addVariant }) {
addVariant('enabled', '&:enabled');
})
]
};