mirror of
https://github.com/interstellar750/hexo_s
synced 2024-10-18 08:13:51 +08:00
31 lines
766 B
TypeScript
31 lines
766 B
TypeScript
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}'],
|
|
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) }
|
|
} satisfies Config
|