-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathtailwind.config.ts
38 lines (36 loc) · 1.02 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
import forms from "@tailwindcss/forms";
import typography from "@tailwindcss/typography";
import { skeleton, contentPath } from "@skeletonlabs/skeleton/plugin";
import { nouveau, rose, cerberus } from "@skeletonlabs/skeleton/themes";
import tutors from "./src/lib/services/themes/styles/tutors";
import classic from "./src/lib/services/themes/styles/classic";
import dyslexia from "./src/lib/services/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({
themes: [tutors, classic, dyslexia, nouveau, rose, cerberus]
})
]
} satisfies Config;