-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
84 lines (83 loc) · 2.08 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
container: {
padding: {
DEFAULT: '1.5rem',
md: '2rem',
lg: '4rem',
},
center: true,
},
extend: {
colors: {
primay: '#0264ff',
slate: '#1C1A1A',
},
fontFamily: {
'syne': ['Syne Mono', 'monospace'],
'space': ['Space Mono', 'monospace'],
'space': ['Red Hat Display', 'sans-serif'],
},
boxShadow: {
'glow': '0 0.01rem 1rem 0 #fff',
// 'glow-blue': '0 0.4rem 1.4rem 0 rgba(8, 114, 224, 0.6)',
'glow-orange': '0 0.4rem 1.4rem 0 rgba(255, 0, 0, 0.5)',
},
animation: {
none: 'none',
bounce: 'bounce 1s infinite',
ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite',
pulse: 'pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite',
slide: 'slide 1s ease-in-out infinite alternate, slide-out 1s ease-in-out 1s infinite alternate',
spin: 'spin 5s linear infinite',
wiggle: 'wiggle 4s ease-in-out infinite',
},
keyframes: {
bounce: {
'0%, 100%': {
transform: 'translateY(-25%)',
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
},
'50%': {
transform: 'none',
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
},
},
ping: {
'75%, 100%': {
transform: 'scale(2)',
opacity: '0',
},
},
pulse: {
'50%': {
opacity: '.3',
},
},
slide: {
'0%': {
transform: 'translateX(-100%)',
},
'100%': {
transform: 'translateX(0)',
},
},
spin: {
to: {
transform: 'rotate(360deg)',
},
},
wiggle: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' },
},
},
},
},
plugins: [],
}