-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
121 lines (120 loc) · 4.16 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 type { Config } from "tailwindcss"
const config: Config = {
darkMode: "class",
content: [
"./index.html",
"./src/pages/**/*.{ts,tsx,mdx}",
"./src/components/**/*.{ts,tsx,mdx}",
"./src/demo/**/*.{ts,tsx,mdx}",
"./src/workshop/**/*.{ts,tsx,mdx}",
"./src/app/**/*.{ts,tsx,mdx}",
],
theme: {
container: {
center: true,
padding: {
DEFAULT: "1rem",
sm: "2rem",
lg: "4rem",
xl: "5rem",
"2xl": "6rem",
},
screens: {
"2xl": "1400px",
},
},
data: {
checked: "checked",
selected: "selected",
disabled: "disabled",
highlighted: "highlighted",
},
extend: {
animationDuration: {
DEFAULT: "0.25s",
},
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" },
},
"slide-down": {
from: { transform: "translateY(-1rem)", opacity: "0" },
to: { transform: "translateY(0)", opacity: "1" },
},
"slide-up": {
from: { transform: "translateY(0)", opacity: "1" },
to: { transform: "translateY(-1rem)", opacity: "0" },
},
"indeterminate-progress": {
"0%": { transform: " translateX(0) scaleX(0)" },
"40%": { transform: "translateX(0) scaleX(0.4)" },
"100%": { transform: "translateX(100%) scaleX(0.5)" },
},
},
animation: {
"accordion-down": "accordion-down 0.15s linear",
"accordion-up": "accordion-up 0.15s linear",
"slide-down": "slide-down 0.15s ease-in-out",
"slide-up": "slide-up 0.15s ease-in-out",
"indeterminate-progress": "indeterminate-progress 1s infinite ease-out",
},
transformOrigin: {
"left-right": "0% 100%",
},
boxShadow: {
"md": "0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06)",
},
colors: {
brand: {
50: "#fff5ec",
100: "#ffe9d4",
200: "#ffcea8",
300: "#ffac70",
400: "#ff7d36",
500: "#ff5a0f",
600: "#f03e06",
700: "#c72c07",
800: "#a9260f",
900: "#7f200f",
950: "#450d05",
DEFAULT: "#ff5a0f",
},
gray: {
50: "#FAFAFA",
100: "#F5F5F5",
200: "#E5E5E5",
300: "#D4D4D4",
400: "#A3A3A3",
500: "#737373",
600: "#525252",
700: "#404040",
800: "#262626",
900: "#171717",
950: "#101010",
DEFAULT: "#737373",
},
green: {
50: "#e6f7ea",
100: "#cfead6",
200: "#7bd0a7",
300: "#68b695",
400: "#57a181",
500: "#258c60",
600: "#1a6444",
700: "#154f37",
800: "#103b29",
900: "#0a2318",
950: "#05130d",
DEFAULT: "#258c60",
},
},
},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms"), require("tailwind-scrollbar-hide"), require("tailwindcss-animate")],
}
export default config