-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.cjs
65 lines (60 loc) · 1.25 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
55
56
57
58
59
60
61
62
63
64
65
const typography = require('@tailwindcss/typography');
const forms = require('@tailwindcss/forms');
const { secondary } = require('daisyui/src/colors');
const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
container: {
center: true,
padding: {
DEFAULT: '1rem',
sm: '2rem',
lg: '4rem',
xl: '5rem',
'2xl': '6rem'
}
},
extend: {
animation: {
'fade-in': 'fadeIn 1s ease-in-out',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
},
},
},
plugins: [require('@tailwindcss/aspect-ratio'), require("@tailwindcss/typography"), require('daisyui'), forms, typography],
daisyui: {
themes: [
{
luxury: {
...require('daisyui/src/colors/themes')['[data-theme=luxury]'],
accent: '#D1D5DB',
neutral: '#9ca3af',
'base-content': '#e5e7eb',
secondary: '#1F2937'
}
},
{
otg: {
'base-content': '#e5e7eb',
primary: '#1F2937',
secondary: '#1F2937',
accent: '#1F2937',
neutral: '#ffff',
'base-100': '#6b7280',
info: '#357CED',
success: '#487423',
warning: '#AF6204',
error: '#b91c1c',
yellow: '#06B6D4'
}
}
],
darkTheme: 'luxury'
}
};
module.exports = config;