-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtailwind.config.cjs
56 lines (44 loc) · 982 Bytes
/
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/**/*.{html,js,ts,jsx,tsx}',
'node_modules/daisyui/dist/**/*.js',
'node_modules/react-daisyui/dist/**/*.js',
],
// enable dark mode via class strategy
darkMode: 'class',
plugins: [require('daisyui'), require('@tailwindcss/typography')],
// daisyUI config (optional)
daisyui: {
// themes: true,
themes: [
{
light: {
...require('daisyui/src/theming/themes')['[data-theme=light]'],
primary: '#f43f5e',
neutral: '#eff0f0',
},
dark: {
primary: '#f43f5e',
secondary: '#abfcc1',
accent: '#0ea5e9',
neutral: '#353535',
'base-100': '#232323',
'base-200': '#212121',
'base-300': '#161616',
info: '#38a5dc',
success: '#229187',
warning: '#cf7507',
error: '#fc4a27',
},
},
],
styled: true,
base: true,
utils: true,
logs: true,
rtl: false,
prefix: '',
darkTheme: 'dark',
},
};