forked from drunkg00se/Pixiv-Downloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
39 lines (37 loc) · 849 Bytes
/
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
import { join } from 'path';
import { createRequire } from 'node:module';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
import { skeleton } from '@skeletonlabs/tw-plugin';
import scrollbar from 'tailwind-scrollbar';
const require = createRequire(import.meta.url);
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: [
'src/**/*.{js,ts,html,svelte}',
join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')
],
theme: {
extend: {
transitionProperty: {
height: 'height'
}
}
},
plugins: [
forms,
typography,
skeleton({
themes: {
preset: [
{
name: 'skeleton',
enhancements: true
}
]
}
}),
scrollbar()
]
};