-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
30 lines (29 loc) · 862 Bytes
/
tailwind.config.ts
File metadata and controls
30 lines (29 loc) · 862 Bytes
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
import { theme } from './src/lib/config/general'
// @ts-ignore Could not find a declaration file for module '@tailwindcss/typography'.
import typography from '@tailwindcss/typography'
// @ts-ignore Could not find a declaration file for module 'daisyui'.
import daisyui from 'daisyui'
export default {
content: ['./src/**/*.{html,md,js,svelte,ts}'],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
'ul:has(li):has(input[type="checkbox"])': {
padding: 0
},
'ul > li:has(input[type="checkbox"])': {
listStyle: 'none'
},
'ul > li:has(input[type="checkbox"]) ul li': {
paddingLeft: 30
}
}
}
}
}
},
plugins: [typography, daisyui],
daisyui: { themes: theme.map(({ name }) => name) }
}