forked from MrTimber/altcha-forms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
42 lines (41 loc) · 1014 Bytes
/
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
const shared = {
'--rounded-badge': '0.15rem',
'--rounded-btn': '0.25rem'
};
module.exports = {
content: ['./src/**/*.{svelte,js,ts}'],
plugins: [require('@tailwindcss/typography'), require('daisyui')],
daisyui: {
themes: [
{
dark: {
...require('daisyui/src/theming/themes')['dark'],
error: '#dd1a1d',
neutral: '#000000',
primary: '#6565f2',
secondary: '#1a1a77',
'base-200': '#2d3642',
'base-300': '#252d38',
'error-content': '#fff',
'neutral-content': '#fff',
'primary-content': '#fff',
'success-content': '#fff',
...shared
},
light: {
...require('daisyui/src/theming/themes')['light'],
error: '#dd1a1d',
neutral: '#000000',
primary: '#1d1dc9',
secondary: '#05057f',
'error-content': '#fff',
'neutral-content': '#fff',
'primary-content': '#fff',
'success-content': '#fff',
...shared
}
}
]
},
safelist: ['dd-over', 'bg-success/10', 'bg-primary/10', 'bg-warning/10']
};