forked from kolplattformen/skolplattformen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
56 lines (56 loc) · 1.32 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
module.exports = {
mode: 'jit',
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: 'media', // or false or 'class'
theme: {
fontFamily: {
sans: ['Poppins', 'sans-serif'],
},
extend: {
animation: {
'bounce-slow': 'slow-bounce 2s ease-in-out infinite',
},
keyframes: {
'slow-bounce': {
'0%, 100%': {
transform: 'translateY(-5%)',
animationTimingFunction: 'cubic-bezier(0.8, 0, 1, 1)',
},
'50%': {
transform: 'translateY(0)',
animationTimingFunction: 'cubic-bezier(0, 0, 0.2, 1)',
},
},
},
typography: (theme) => ({
dark: {
css: {
color: theme('colors.gray.200'),
h1: {
color: theme('colors.white'),
},
h2: {
color: theme('colors.white'),
},
h3: {
color: theme('colors.white'),
},
a: {
color: theme('colors.indigo.500'),
}
},
},
}),
zIndex: {
'-1': '-1',
},
},
},
variants: {
extend: {
animation: ['motion-safe'],
typography: ['dark'],
},
},
plugins: [require('@tailwindcss/typography')],
}