-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.js
44 lines (41 loc) · 1.42 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./django_daisy/templates/**/*.html', // Scan HTML templates for Tailwind classes
'./django_daisy/static/**/*.js', // Include all JavaScript files in static directory
'./django_daisy/static/admin/css/styles.css', // Admin-specific CSS
'./django_daisy/**/*.py', // Include Python files for possible Jinja-style Tailwind classes
'./django_daisy/static/**/*.jsx', // Include JSX files
],
theme: {
extend: {
fontFamily: {
vazir: ['Vazir', 'sans-serif'], // Define the Vazir font
roboto: ['Cantarell', 'sans-serif'], // Define the Roboto font
},
animation: {
'bounce-once': 'bounce 1s ease-in-out 1',
'heartbeat': 'heartbeat 1.5s ease-in-out infinite',
},
keyframes: {
'heartbeat': {
'0%, 100%': {transform: 'scale(1)'},
'50%': {transform: 'scale(1.2)'},
},
},
},
},
daisyui: {
themes: [
"light",
"dark",
"dracula",
"dim",
"autumn",
"lemonade",
], // Include themes from DaisyUI
},
plugins: [
require('daisyui'), // DaisyUI for additional UI components
],
}