-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
64 lines (63 loc) · 2.49 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
64
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
darkMode: 'class',
content: ["./index.html", "./src/**/*.{js,ts,tsx,jsx}"],
theme:
{
extend: {
fontFamily: {
'dance-cursive': ['Dancing Script', 'cursive'],
'lobster-cursive': ['Lobster', 'cursive'],
'Playball': ['Playball', 'cursive'],
'Roboto': ['Roboto', 'sans-serif'],
'Ubuntu': ['Ubuntu', 'sans-serif'],
},
keyframes: {
heart: {
'0%, 100%': { transform: 'translateY(0) scale(1)' },
'50%': { transform: 'translateY(-15px) scale(1.5)' }
},
star: {
'0%, 100%': { color: 'lightblue' },
'50%': { color: 'pink' }
}
},
animation: {
forHeart: 'heart 5s ease-out infinite',
forStar: 'star 2s ease-in infinite'
},
backgroundImage: {
conic: 'conic-gradient(var(--tw-gradient-stops))',
'conic-to-t': 'conic-gradient(at top, var(--tw-gradient-stops))',
'conic-to-b': 'conic-gradient(at bottom, var(--tw-gradient-stops))',
'conic-to-l': 'conic-gradient(at left, var(--tw-gradient-stops))',
'conic-to-r': 'conic-gradient(at right, var(--tw-gradient-stops))',
'conic-to-tl': 'conic-gradient(at top left, var(--tw-gradient-stops))',
'conic-to-tr': 'conic-gradient(at top right, var(--tw-gradient-stops))',
'conic-to-bl':
'conic-gradient(at bottom left, var(--tw-gradient-stops))',
'conic-to-br':
'conic-gradient(at bottom right, var(--tw-gradient-stops))',
radial: 'radial-gradient(ellipse at center, var(--tw-gradient-stops))',
'radial-at-t':
'radial-gradient(ellipse at top, var(--tw-gradient-stops))',
'radial-at-b':
'radial-gradient(ellipse at bottom, var(--tw-gradient-stops))',
'radial-at-l':
'radial-gradient(ellipse at left, var(--tw-gradient-stops))',
'radial-at-r':
'radial-gradient(ellipse at right, var(--tw-gradient-stops))',
'radial-at-tl':
'radial-gradient(ellipse at top left, var(--tw-gradient-stops))',
'radial-at-tr':
'radial-gradient(ellipse at top right, var(--tw-gradient-stops))',
'radial-at-bl':
'radial-gradient(ellipse at bottom left, var(--tw-gradient-stops))',
'radial-at-br':
'radial-gradient(ellipse at bottom right, var(--tw-gradient-stops))'
},
},
},
plugins: [],
}