-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtailwind.config.js
44 lines (43 loc) · 1.28 KB
/
tailwind.config.js
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
const defaultTheme = require('tailwindcss/defaultTheme')
const animate = require('tailwindcss-animate')
const forms = require('@tailwindcss/forms')
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./index.html',
'./src/**/*.{vue,js,ts,jsx,tsx}',
'./pages/**/*.{ts,tsx,vue}',
'./components/**/*.{ts,tsx,vue}',
'./app/**/*.{ts,tsx,vue}',
],
theme: {
extend: {
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-6deg)' },
'50%': { transform: 'rotate(6deg)' },
},
'accordion-down': {
from: { height: 0 },
to: { height: 'var(--radix-accordion-content-height)' },
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: 0 },
},
},
animation: {
'spin-slow': 'spin 3s linear infinite',
'ping-slow': 'ping 2s cubic-bezier(0, 0, 0.2, 1) infinite',
'wiggle-once': 'wiggle 0.5s ease-in-out',
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
},
fontFamily: {
geist: ['Geist'],
mono: ['Geist', ...defaultTheme.fontFamily.mono],
},
},
},
plugins: [forms, animate],
}