-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
54 lines (54 loc) · 1.31 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
53
54
module.exports = {
content: [
'./src/**/*.{js,jsx,ts,tsx}',
'./node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}',
],
darkMode: 'class',
theme: {
extend: {
backgroundColor: {
primary: 'var(--color-bg-primary)',
secondary: 'var(--color-bg-secondary)',
},
textColor: {
primary: 'var(--color-text-primary)',
secondary: 'var(--color-text-secondary)',
subtle: 'var(--color-text-subtle)',
},
colors: {
accent: 'var(--color-accent)',
},
spacing: {
128: '32rem',
136: '34rem',
144: '36rem',
},
fontSize: {
'4xl': ['36px', '48px'],
},
dropShadow: {
'xl-dark': '0 20px 13px rgba(237, 237, 237, 0.25)',
},
animation: {
'blob-spin': 'blobbing 25s linear infinite',
'spike-bounce': 'bounce 1.2s infinite',
'map-spin': 'wiggle 300ms linear infinite',
},
keyframes: {
blobbing: {
from: {
transform: 'rotate(0deg)',
},
to: {
transform: 'rotate(360deg)',
},
},
wiggle: {
'0%, 100%': { transform: 'rotate(-6deg)' },
'50%': { transform: 'rotate(6deg)' },
},
},
},
},
plugins: [require('flowbite/plugin')],
};