-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathtailwind.config.ts
46 lines (44 loc) · 1.35 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
import type { Config } from 'tailwindcss';
import daisyTheme from 'daisyui/src/theming/themes';
const config: Config = {
darkMode: ['selector', '[data-theme="dark"]'],
content: [
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/*.{js,ts,jsx,tsx,mdx}',
'./src/server/payload/components/*.{js,ts,jsx,tsx,mdx}',
],
safelist: ['chat-end', 'chat-start'],
plugins: [require('daisyui')],
daisyui: {
themes: [
{
dark: {
...daisyTheme.dark,
error: '#aa0b56',
primary: '#8A13A4',
'accent-content': '#FFFFFF',
'base-content': '#eeeeee',
'primary-content': '#eeeeee',
'.home': {
background:
'radial-gradient( circle at 50% 26%, rgba(65, 37, 76, 1) 0%, rgba(0, 0, 0, 0.7) 35%)',
},
},
light: {
...require('daisyui/src/theming/themes')['light'],
primary: '#8A13A4',
error: '#aa0b56',
'accent-content': '#000000',
'neutral-content': daisyTheme.light['base-content'],
'primary-content': daisyTheme.light['base-200'],
'.home': {
background:
'radial-gradient( circle at -10% 5%, rgba(119, 15, 142, 0.4) 0%, rgba(255, 255, 255, 0.7) 55%)',
},
},
},
],
darkTheme: 'dark',
},
};
export default config;