-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
46 lines (43 loc) · 1.33 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
import type { Config } from "tailwindcss";
import tailwindcssAnimate from "tailwindcss-animate";
const config: Config = {
darkMode: ["class"],
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
primary: "#00E599",
},
boxShadow: {
derek: `0px 0px 0px 1px rgb(0 0 0 / 0.06),
0px 1px 1px -0.5px rgb(0 0 0 / 0.06),
0px 3px 3px -1.5px rgb(0 0 0 / 0.06),
0px 6px 6px -3px rgb(0 0 0 / 0.06),
0px 12px 12px -6px rgb(0 0 0 / 0.06),
0px 24px 24px -12px rgb(0 0 0 / 0.06)`,
input: `0px 2px 3px -1px rgba(0,0,0,0.1), 0px 1px 0px 0px rgba(25,28,33,0.02), 0px 0px 0px 1px rgba(25,28,33,0.08)`,
},
animation: {
"fade-in": "fadeIn 0.5s ease-out forwards",
flicker: "flicker 1.5s infinite",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0", transform: "translateY(10px)" },
"100%": { opacity: "1", transform: "translateY(0px)" },
},
flicker: {
"0%": { opacity: "0.5" },
"50%": { opacity: "1" },
"100%": { opacity: "0.5" },
},
},
},
},
plugins: [tailwindcssAnimate, require("@tailwindcss/typography")],
};
export default config;