-
Notifications
You must be signed in to change notification settings - Fork 9
/
tailwind.config.ts
76 lines (71 loc) · 1.65 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import { join } from 'path';
import type { Config } from 'tailwindcss';
// 1. Import the Skeleton plugin
import { skeleton } from '@skeletonlabs/tw-plugin';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
import { legbone } from './src/legbone-theme';
const config = {
darkMode: 'class',
content: [
'./src/**/*.{html,js,svelte,ts}',
join(
require.resolve('@skeletonlabs/skeleton'),
'../**/*.{html,js,svelte,ts}',
),
],
safelist: [
'variant-filled-success',
'variant-filled-error',
'variant-filled-warning',
'variant-filled-primary',
'variant-filled-secondary',
'variant-filled-tertiary',
'variant-ghost-success',
'variant-ghost-error',
'variant-ghost-warning',
'variant-ghost-primary',
'variant-ghost-secondary',
'variant-ghost-tertiary',
'variant-soft-success',
'variant-soft-error',
'variant-soft-warning',
'variant-soft-primary',
'variant-soft-secondary',
'variant-soft-tertiary',
'variant-glass-success',
'variant-glass-error',
'variant-glass-warning',
'variant-glass-primary',
'variant-glass-secondary',
'variant-glass-tertiary',
'variant-ringed-success',
'variant-ringed-error',
'variant-ringed-warning',
'variant-ringed-primary',
'variant-ringed-secondary',
'variant-ringed-tertiary',
],
theme: {
extend: {
typography: ({ theme }) => ({
DEFAULT: {
css: {
'--tw-prose-bullets': theme('colors.slate[800]'),
'--tw-prose-invert-bullets': theme('colors.slate[200]'),
},
},
}),
},
},
plugins: [
forms,
typography,
skeleton({
themes: {
custom: [legbone],
},
}),
],
} satisfies Config;
export default config;