-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.ts
46 lines (45 loc) · 1 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
import { skeleton } from '@skeletonlabs/tw-plugin';
import fluidType from 'tailwindcss-fluid-type';
import type { Config } from 'tailwindcss';
import { sirensTheme } from './src/theme';
import forms from '@tailwindcss/forms';
import { join } from 'path';
export default {
darkMode: 'class',
content: [
'./src/**/*.{html,js,svelte,ts}',
join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')
],
theme: {
extend: {
keyframes: {
float: {
'0%, 100%': { transform: 'translatey(20px)' },
'50%': { transform: 'translatey(-20px)' }
}
},
animation: {
float: 'float 8s ease-in-out infinite'
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))'
},
borderWidth: {
1: '1px'
},
fontFamily: {
sans: ['Red Hat Text', 'sans-serif'],
heading: ['Cinzel Decorative', 'sans-serif']
}
}
},
plugins: [
forms,
fluidType,
skeleton({
themes: {
custom: [sirensTheme]
}
})
]
} satisfies Config;