forked from gitcoinco/gitcoin-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
77 lines (75 loc) · 2 KB
/
tailwind.config.ts
File metadata and controls
77 lines (75 loc) · 2 KB
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
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: {
colors,
extend: {
borderWidth: {
"1.5": "1.5px",
},
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: {
"ui-mono": ["DM Mono", "serif"],
"ui-sans": ["DM Sans", "sans-serif"],
},
fontSize: {
p: ["1rem", { lineHeight: "1.75rem", fontWeight: "400", letterSpacing: undefined }],
body: ["0.875rem", { lineHeight: "1.5rem", fontWeight: "400", letterSpacing: undefined }],
},
borderRadius: {
"3.5": "14px",
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
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;