-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
36 lines (35 loc) · 989 Bytes
/
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
const flowbite = require('flowbite-react/tailwind');
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./data/**/*.{js,ts,jsx,tsx}',
'./utils/**/*.{js,ts,jsx,tsx}',
'./lib/**/*.{js,ts,jsx,tsx}',
flowbite.content(),
],
theme: {
extend: {
fontFamily: {
body: ['"Noto sans"', 'system-ui', 'sans-serif'],
heading: ['Lato', 'system-ui', 'sans-serif'],
},
keyframes: {
shake: {
'0%': { transform: 'translateX(0)' },
'25%': { transform: 'translateX(-10px)' },
'50%': { transform: 'translateX(10px)' },
'75%': { transform: 'translateX(-10px)' },
'100%': { transform: 'translateX(0)' },
},
},
animation: {
shake: 'shake 0.5s ease-in-out 3', // Shake 3 times
},
},
},
daisyui: {
themes: ['cupcake'],
},
plugins: [require('@tailwindcss/typography'), flowbite.plugin()],
};