-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
76 lines (74 loc) · 1.77 KB
/
tailwind.config.ts
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
64
65
66
67
68
69
70
71
72
73
74
75
76
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
import daisyui from 'daisyui';
import type { Config } from 'tailwindcss';
import defaultTheme from 'tailwindcss/defaultTheme';
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-var-requires
const animate = require('tailwindcss-animate');
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class', // default 'media'
theme: {
extend: {
fontFamily: {
sans: ['Josefin Sans', ...defaultTheme.fontFamily.sans],
},
lineClamp: {
7: '7',
8: '8',
9: '9',
10: '10',
},
keyframes: {
'swipe-right': {
'0%': {
'-webkit-transform': 'translateX(var(--kb-toast-swipe-end-x))',
transform: 'translateX(var(--kb-toast-swipe-end-x))',
},
'100%': {
'-webkit-transform': 'translateX(var(--kb-toast-swipe-end-x))',
transform: 'translateX(var(--kb-toast-swipe-end-x))',
},
},
},
animation: {
'swipe-right': 'swipe-right 0.5s ease-out both',
},
},
},
plugins: [typography, forms, daisyui, animate],
daisyui: {
logs: false,
themes: [
'light',
'dark',
'cupcake',
'bumblebee',
'emerald',
'corporate',
'synthwave',
'retro',
'cyberpunk',
'valentine',
'halloween',
'garden',
'forest',
'aqua',
'lofi',
'pastel',
'fantasy',
'wireframe',
'black',
'luxury',
'dracula',
'cmyk',
'autumn',
'business',
'acid',
'lemonade',
'night',
'coffee',
'winter',
],
},
} satisfies Config;