-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.cjs
48 lines (44 loc) · 1.2 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
/** @type {import('tailwindcss').Config} */
(
module.exports = {
darkMode: 'class',
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
animation: {
rotate: 'rotate 5s linear infinite alternate',
reveal: 'reveal .5s ease-in',
'fade-upwards': 'fade-upwards 1s ease-in'
},
colors: {
primary: '#18A08B',
'primary-darker': '#116f61',
secondary: '#42B5A4',
light: '#F8FCFB',
dark: '#030707'
},
fontFamily: {
montserrat: ['Montserrat', 'sans-serif']
},
gridTemplateColumns: {
quizzes: 'repeat(auto-fit, minmax(330px, 1fr))',
options: 'repeat(auto-fit, minmax(300px, 1fr))'
},
keyframes: {
rotate: {
'100%': { transform: 'rotateY(360deg)' }
},
reveal: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
},
'fade-upwards': {
'45%': { opacity: '0.5', width: '300px' },
'75%': { opacity: '0.5', width: '400px' },
'100%': { opacity: '0.1', width: '512px' }
}
}
}
},
}
);