forked from zhouzi/indewiz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
58 lines (56 loc) · 1.35 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
import { Config } from "tailwindcss";
import { fontFamily } from "tailwindcss/defaultTheme";
const config: Config = {
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
],
theme: {
container: {
center: true,
padding: "1rem",
screens: {
sm: "100%",
md: "100%",
lg: "1024px",
xl: "1280px",
},
},
extend: {
fontFamily: {
sans: ["var(--font-sans)", ...fontFamily.sans],
},
colors: {
primary: {
DEFAULT: "var(--primary-500)",
50: "var(--primary-50)",
500: "var(--primary-500)",
700: "var(--primary-700)",
},
secondary: {
DEFAULT: "var(--secondary-50)",
50: "var(--secondary-50)",
300: "var(--secondary-300)",
},
text: {
DEFAULT: "var(--text-500)",
300: "var(--text-300)",
500: "var(--text-500)",
},
positive: {
DEFAULT: "var(--positive-500)",
50: "var(--positive-50)",
500: "var(--positive-500)",
},
negative: {
DEFAULT: "var(--negative-500)",
50: "var(--negative-50)",
500: "var(--negative-500)",
},
},
},
},
plugins: [require("tailwindcss-animate")],
};
export default config;