-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
49 lines (48 loc) · 1.26 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
import colors from "./src/styles/theme";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
primary: colors.primary,
background: colors.background,
text: colors.text,
mutedText: colors.mutedText,
border: colors.border,
darkGray: colors.darkGray,
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
shimmer: {
"0%": { transform: "translateX(-100%)" },
"100%": { transform: "translateX(100%)" },
},
fadeInfromBottom: {
"0%": {
opacity: "0",
transform: "translate(0, 50%) translateY(40px)",
},
"100%": {
opacity: "1",
transform: "translate(0, 0%) translateY(0px)",
},
},
},
animation: {
fadeIn: "fadeIn 1s ease-in-out",
shimmer: "shimmer 1.5s infinite linear",
fadeInfromBottom: "fadeInfromBottom 0.7s ease-in-out",
},
},
},
plugins: [],
};
export default config;