-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
58 lines (57 loc) · 1.22 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
import { join } from 'path';
import type { Config } from 'tailwindcss';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
import { skeleton } from '@skeletonlabs/tw-plugin';
import { jcrTheme } from './skeleton.theme';
export default {
darkMode: 'class',
content: [
'./src/**/*.{html,js,svelte,ts}',
join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')
],
theme: {
extend: {
colors: {
magentah: '#990066',
primary: {
50: '#FFEBF8',
100: '#FFD6F1',
200: '#FFA8E2',
300: '#FF80D5',
400: '#FF57C7',
500: '#FF29B8',
600: '#FF00AA',
700: '#D6008F',
800: '#A80070',
900: '#800055',
950: '#42002C'
}
},
animation: {
'bounce-bottom': 'bounce-bottom 0.65s ease-in-out infinite'
},
keyframes: {
'bounce-bottom': {
'0%, 100%': {
transform: 'translateY(0)',
'animation-timing-function': 'cubic-bezier(0, 0, 0.2, 1)'
},
'50%': {
transform: 'translateY(-25%)',
'animation-timing-function': 'cubic-bezier(0.8, 0, 1, 1)'
}
}
}
}
},
plugins: [
forms,
typography,
skeleton({
themes: {
custom: [jcrTheme]
}
})
]
} satisfies Config;