-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
63 lines (62 loc) · 1.32 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
primary: 'hsl(var(--primary))',
secondary: 'hsl(var(--secondary))',
muted: 'hsl(var(--muted))',
'muted-foreground': 'hsl(var(--muted-foreground))',
border: 'hsl(var(--border))',
accent: 'hsl(var(--accent))',
destructive: 'hsl(var(--destructive))'
},
scale: {
flip: '-1'
},
fontFamily: {
handlee: ['Handlee']
},
keyframes: {
wiggle: {
'0%': {
transform: 'scale(1) rotate(0deg)'
},
'25%': {
transform: 'scale(1.05) rotate(-5deg)'
},
'50%': {
transform: 'scale(1) rotate(5deg)'
},
'75%': {
transform: 'scale(1.05) rotate(-2.5deg)'
},
'100%': {
transform: 'scale(1) rotate(0deg)'
}
},
slide: {
from: {
transform: 'translateX(0%)'
},
to: {
transform: 'translateX(calc(-100% - 1rem))'
}
}
},
animation: {
wiggle: 'wiggle 1s ease-in-out infinite',
slide: 'slide 30s linear infinite'
}
},
screens: {
xs: '475px',
...defaultTheme.screens
}
},
plugins: []
};