-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
46 lines (46 loc) · 1.09 KB
/
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
43
44
45
46
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: 'jit',
content: ['./src/**/*.{html,ts}'],
theme: {
extend: {
typography: ({ theme }) => ({
custom: {
css: {
'--tw-prose-headings': theme('colors.typography.primary'),
'--tw-prose-links': theme('colors.sky.800'),
'--tw-prose-bold': theme('colors.typography.primary'),
},
},
}),
screens: {
xs: '375px',
},
borderWidth: {
1: '1px',
},
colors: {
divider: 'var(--divider)',
typography: {
primary: 'var(--typography-primary)',
},
},
},
},
daisyui: {
themes: [
{
light: {
...require('daisyui/src/theming/themes')['light'],
primary: '#f7f0cd',
'--divider': '#f3f3f3',
'neutral-content': '#f3f3f3',
'base-100': '#fff',
neutral: '#f5f5f5',
'--typography-primary': '#202125',
},
},
],
},
plugins: [require('@tailwindcss/typography'), require('daisyui')],
};