-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.ts
70 lines (68 loc) · 1.73 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
import { withTV } from "tailwind-variants/transformer";
import type { Config } from "tailwindcss";
import tailwindcssAnimate from "tailwindcss-animate";
import { colors } from "./src/tokens/colors";
export default withTV({
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
darkMode: ["class", "[data-mode='dark']"],
theme: {
extend: {
height: {
"18": "4.5rem",
},
width: {
"102": "25.5rem",
},
maxWidth: {
"105": "26.25rem",
},
minHeight: {
"18": "4.5rem",
},
zIndex: {
"100": "100",
},
boxShadow: {
toast:
"0px 24px 94px 0px rgba(0, 0, 0, 0.17), 0px 7.235px 28.338px 0px rgba(0, 0, 0, 0.11), 0px 3.005px 11.77px 0px rgba(0, 0, 0, 0.09), 0px 1.087px 4.257px 0px rgba(0, 0, 0, 0.06)",
},
fontFamily: {
mono: ["DM Mono", "serif"],
sans: ["DM Sans", "sans-serif"],
},
borderRadius: {
"3.5": "14px",
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
colors: colors,
keyframes: {
"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",
},
aspectRatio: {
"3/1": "3 / 1",
},
},
},
plugins: [tailwindcssAnimate],
}) satisfies Config;