-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
54 lines (52 loc) · 1.3 KB
/
tailwind.config.ts
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
47
48
49
50
51
52
53
54
import forms from "@tailwindcss/forms";
import typography from "@tailwindcss/typography";
import { skeleton, contentPath } from "@skeletonlabs/skeleton/plugin";
import * as themes from "@skeletonlabs/skeleton/themes";
import tutors from "./src/lib/ui/themes/styles/tutors";
import classic from "./src/lib/ui/themes/styles/classic";
import dyslexia from "./src/lib/ui/themes/styles/dyslexia";
import type { Config } from "tailwindcss";
export default {
darkMode: "selector",
content: ["./src/**/*.{html,js,svelte,ts}", contentPath(import.meta.url, "svelte")],
safelist: [
{
pattern: /border|text|ml|preset-filled-/
}
],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
"code::before": { content: '""' },
"code::after": { content: '""' }
}
}
}
}
},
plugins: [
typography,
forms,
skeleton({
// NOTE: each theme included will be added to your CSS bundle
themes: [
themes.cerberus,
themes.rose,
themes.nosh,
themes.mona,
themes.nosh,
themes.fennec,
tutors,
classic,
dyslexia,
themes.concord,
themes.nouveau,
themes.vintage,
themes.seafoam,
themes.wintry
]
})
]
} satisfies Config;