-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
44 lines (43 loc) · 1.2 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
import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';
const config: Config = {
content: ['./src/*/**/*.tsx'],
theme: {
extend: {
fontFamily: {
sans: ['var(--primary-font)', 'sans-serif'],
display: ['var(--display-font)', 'sans-serif'],
},
container: {
center: true,
padding: '1rem',
},
},
},
daisyui: {
themes: [
{
light: {
...require('daisyui/src/theming/themes')['light'],
'primary-content': colors.white,
error: colors.red['600'],
primary: colors.green['700'],
secondary: colors.orange['600'],
'base-content': colors.gray['900'],
},
dark: {
...require('daisyui/src/theming/themes')['dark'],
primary: colors.green['700'],
'primary-content': colors.white,
error: colors.red['600'],
secondary: colors.orange['600'],
'secondary-content': colors.white,
'base-content': colors.gray['200'],
},
},
],
logs: false,
},
plugins: [require('tailwind-scrollbar'), require('daisyui'), require('@tailwindcss/typography')],
};
export default config;