-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.ts
52 lines (50 loc) · 1.58 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
import type { Config } from "tailwindcss"
const config: Config = {
content: [
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./lib/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "selector",
plugins: [require("@tailwindcss/typography")],
theme: {
extend: {
colors: {
"custom-0": "#876A5C", // brown
"custom-0.5": "#BEABA5", // light brown
"custom-1": "#E2B352", // yellow
"custom-2": "#DB813E", // orange
"custom-3": "#9d6348", // red-orange
"custom-4": "#4D7E61", // green
"custom-5": "#c84b50", // red
},
animation: {
marquee: "marquee var(--duration) linear infinite",
"marquee-vertical": "marquee-vertical var(--duration) linear infinite",
accordionOpen: "accordionOpen 150ms cubic-bezier(0.87, 0, 0.13, 1)",
accordionClose: "accordionClose 150ms cubic-bezier(0.87, 0, 0.13, 1)",
},
keyframes: {
marquee: {
from: { transform: "translateX(0)" },
to: { transform: "translateX(calc(-100% - var(--gap)))" },
},
"marquee-vertical": {
from: { transform: "translateY(0)" },
to: { transform: "translateY(calc(-100% - var(--gap)))" },
},
accordionOpen: {
from: { height: "0px" },
to: { height: "var(--radix-accordion-content-height)" },
},
accordionClose: {
from: {
height: "var(--radix-accordion-content-height)",
},
to: { height: "0px" },
},
},
},
},
}
export default config