-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
132 lines (131 loc) · 4.64 KB
/
tailwind.config.js
File metadata and controls
132 lines (131 loc) · 4.64 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/** @type {import('tailwindcss').Config} */
const config = {
content: [
"./src/app/**/*.{ts,tsx}",
"./src/components/**/*.{ts,tsx}",
"./src/lib/**/*.{ts,tsx}",
"./src/layout/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
darkMode: "class",
theme: {
container: {
center: true,
padding: "1rem",
},
screens: {
xs: "450px",
sm: "575px",
md: "768px",
lg: "992px",
xl: "1200px",
"2xl": "1400px",
},
extend: {
fontFamily: {
sans: ['Inter', 'ui-sans-serif', 'system-ui'],
heading: ['"Poppins"', 'sans-serif'],
},
spacing: {
'1.5': '0.375rem',
'4.5': '1.125rem',
'18': '4.5rem',
'22': '5.5rem',
},
fontSize: {
'xs-sm': '0.8125rem',
},
borderRadius: {
'xl': '1rem',
'2xl': '1.5rem',
},
colors: {
current: "currentColor",
transparent: "transparent",
white: "#FFFFFF",
black: "#121723",
dark: "#1D2430",
primary: "#4A6CF7",
yellow: "#FBB040",
"body-color": "#788293",
"body-color-dark": "#959CB1",
"gray-dark": "#1E232E",
"gray-light": "#F0F2F9",
stroke: "#E3E8EF",
"stroke-dark": "#353943",
"bg-color-dark": "#171C28",
"muted-foreground": "#6B7280", // for subtle text
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' },
},
pop: {
'0%': { transform: 'scale(0.95)' },
'100%': { transform: 'scale(1.05)' },
},
// fadeIn: {
// '0%': { opacity: 0 },
// '100%': { opacity: 1 },
// },
fadeIn: {
'0%': { opacity: 0, transform: 'scale(0.95)' },
'100%': { opacity: 1, transform: 'scale(1)' }
},
fadeOut: {
'0%': { opacity: 1, transform: 'scale(1)' },
'100%': { opacity: 0, transform: 'scale(0.95)' }
},
shake: {
"0%, 100%": { transform: "translateX(0)" },
"20%": { transform: "translateX(-5px)" },
"40%": { transform: "translateX(5px)" },
"60%": { transform: "translateX(-5px)" },
"80%": { transform: "translateX(5px)" },
},
flicker: {
"0%, 100%": { opacity: "1" },
"50%": { opacity: "0.5" },
},
},
animation: {
wiggle: 'wiggle 200ms ease-in-out',
pop: 'pop 150ms ease-in',
fadeIn: 'fadeIn 300ms ease-in-out',
shake: "shake 0.4s ease-in-out",
flicker: "flicker 1.5s infinite",
bounce: "bounce 1s infinite",
pulse: "pulse 2s infinite",
'in': 'fadeIn 150ms ease-out',
'out': 'fadeOut 150ms ease-in'
},
boxShadow: {
signUp: "0px 5px 10px rgba(4, 10, 34, 0.2)",
one: "0px 2px 3px rgba(7, 7, 77, 0.05)",
two: "0px 5px 10px rgba(6, 8, 15, 0.1)",
three: "0px 5px 15px rgba(6, 8, 15, 0.05)",
sticky: "inset 0 -1px 0 0 rgba(0, 0, 0, 0.1)",
"sticky-dark": "inset 0 -1px 0 0 rgba(255, 255, 255, 0.1)",
"feature-2": "0px 10px 40px rgba(48, 86, 211, 0.12)",
submit: "0px 5px 20px rgba(4, 10, 34, 0.1)",
"submit-dark": "0px 5px 20px rgba(4, 10, 34, 0.1)",
btn: "0px 1px 2px rgba(4, 10, 34, 0.15)",
"btn-hover": "0px 1px 2px rgba(0, 0, 0, 0.15)",
"btn-light": "0px 1px 2px rgba(0, 0, 0, 0.1)",
},
dropShadow: {
three: "0px 5px 15px rgba(6, 8, 15, 0.05)",
},
zIndex: {
60: '60',
70: '70',
80: '80',
90: '90',
100: '100',
},
},
},
plugins: [require('@tailwindcss/typography')],
};
export default config;