-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
42 lines (41 loc) · 1.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
import { Config } from 'tailwindcss'
import defaultTheme from 'tailwindcss/defaultTheme'
import twColors from 'tailwindcss/colors'
import twFormsPlugin from '@tailwindcss/forms'
export default {
content: [
'./src/**/*.{vue,js,ts,jsx,tsx}',
'./stories/**/*.{js,jsx,ts,tsx}',
'./.storybook/preview.ts'
],
theme: {
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
primary: twColors.cyan
},
keyframes: {
indeterminateProgressBar: {
'0%': { transform: 'translateX(0) scaleX(0)' },
'40%': { transform: 'translateX(0) scaleX(0.4)' },
'100%': { transform: 'translateX(100%) scaleX(0.5)' }
}
},
animation: {
'spin-fast': 'spin 0.5s linear infinite',
'indeterminate-progress-bar': 'indeterminateProgressBar 1s infinite linear'
},
fontFamily: {
sans: ['Poppins', ...defaultTheme.fontFamily.sans]
}
}
},
variants: {
extend: {
textColor: ['group-hover']
}
},
plugins: [twFormsPlugin],
darkMode: 'class'
} satisfies Config