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