-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
42 lines (40 loc) · 1.17 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
import tailwindCssTypographyPlugin from "@tailwindcss/typography";
import type { Config } from "tailwindcss";
import tailwindCssAnimate from "tailwindcss-animate";
import { slate as gray } from "tailwindcss/colors";
import defaultTheme from "tailwindcss/defaultTheme";
const tailwindCssConfig: Config = {
content: ["./src/**/*.{js,jsx,mdx,ts,tsx}"],
future: {
hoverOnlyWhenSupported: true,
},
plugins: [tailwindCssAnimate, tailwindCssTypographyPlugin],
theme: {
extend: {
animation: {
"collapsible-down": "collapsible-down 0.3s ease-out",
"collapsible-up": "collapsible-up 0.3s ease-out",
},
colors: {
gray,
},
fontFamily: {
sans: ["var(--font-jost)", ...defaultTheme.fontFamily.sans],
},
keyframes: {
"collapsible-down": {
from: { height: "0" },
to: { height: "var(--radix-collapsible-content-height)" },
},
"collapsible-up": {
from: { height: "var(--radix-collapsible-content-height)" },
to: { height: "0" },
},
},
transitionDuration: {
DEFAULT: "300ms",
},
},
},
};
export default tailwindCssConfig;