-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
121 lines (119 loc) · 2.65 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
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
import plugin from "tailwindcss/plugin";
import type { Config } from "tailwindcss";
const config = {
darkMode: ["class"],
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
prefix: "",
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
keyframes: {
"top-to-bottom": {
"4%": { opacity: "0", transform: "translateY(-20px)" },
"12%": { opacity: "1", transform: "translateY(0)" },
"25.6875%": { opacity: "1", transform: "translateY(0)" },
"31.75%": { opacity: "0", transform: "translateY(30px)" },
},
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"top-to-bottom":
"top-to-bottom 12.5s cubic-bezier(0.645, 0.045, 0.355, 1) infinite",
"twitter-pulse": "pulse 2.25s infinite cubic-bezier(0.66, 0.33, 0, 1)",
},
colors: {
orange: {
100: "#FF7557",
200: "#E66A4F",
300: "#CE5F46",
400: "#B5533E",
500: "#9D4835",
600: "#843D2D",
700: "#6B3125",
800: "#53261C",
900: "#3A1B14",
1000: "#210F0B",
},
green: {
100: "#BFFF57",
200: "#ADE64F",
300: "#9ACE46",
400: "#88B53E",
500: "#759D35",
600: "#63842D",
700: "#506B25",
800: "#3E531C",
900: "#2B3A14",
1000: "#19210B",
},
gray: {
50: "#EBEDF0",
100: "#E1E3E6",
200: "#C4C8CC",
300: "#AAAEB3",
400: "#909499",
500: "#76787A",
600: "#5D5F61",
700: "#454647",
800: "#2C2D2E",
850: "#222225",
900: "#18181B",
950: "#131315",
1000: "#0A0A0A",
},
twitter: {
100: "#1DA1F2",
},
github: {
100: "#28A745",
},
farcaster: {
100: "#8E34D5",
},
},
},
},
plugins: [
require("tailwindcss-animate"),
plugin(({ matchUtilities, theme }) => {
matchUtilities(
{
"animation-delay": (value) => {
return {
"animation-delay": value,
};
},
},
{
values: theme("transitionDelay"),
},
);
}),
],
} satisfies Config;
export default config;