-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
96 lines (93 loc) · 2.42 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
import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
prefix: "tw-",
screens: {
xs: "100px",
sm: "576px",
md: "768px",
lg: "992px",
xl: "1200px",
"2xl": "1400px",
},
variants: {
textColor: ["responsive", "hover", "focus", "group-hover"],
},
theme: {
colors: {
success: "#04AF43",
green: "#04AF43",
error: "#FF3333",
white: "#ffffff",
black: "#000000",
n1: "#101010",
g300: "#D4D4D8",
pc89: "#C8951A",
p1: "#C8951A",
pdisabled: "#EED089",
},
backgroundImage: {
"gradient-1": "linear-gradient(180deg, #6A4FF4 0%, #5638EE 100%)",
gd2: "linear-gradient(180deg, #8774E8 0%, #43329A 100%);",
},
gradientColorStops: (theme) => ({
purple1: "#6A4FF4",
purple2: "#43329A",
}),
fontFamily: {
Jakarta: ["Inter", "sans-serif"],
sans: ['var(--font-inter)'],
inter: ["Inter", "sans-serif"],
},
fontSize: {
8: ["8px", "20px"],
10: ["10px", "16px"],
12: ["12px", "20px"],
14: ["14px", "24px"],
16: ["16px", "24px"],
18: ["18px", "28px"],
20: ["20px", "28px"],
24: ["24px", "32px"],
28: ["28px", "32px"],
30: ["30px", "40px"],
32: ["32px", "40px"],
36: ["36px", "44px"],
40: ["40px", "56px"],
48: ["48px", "60px"],
60: ["60px", "84px"],
70: ["70px", "84px"],
},
fontWeight: {
light: "300",
normal: "400",
medium: "500",
semiBold: "600",
bold: "700",
},
extend: {
screens: {
sm: { max: "576px" },
md: { max: "780px" },
},
gridTemplateColumns: {
// Simple 16 column grid
autoFit_360: "repeat(auto-fill,minmax(360px,1fr))",
autoFitt_300: "repeat(auto-fit,minmax(300px,1fr))",
autoFitt_250: "repeat(auto-fit,minmax(300px,1fr))",
autoFit_300: "repeat(auto-fill,minmax(300px,1fr))",
autoFit_250: "repeat(auto-fill,minmax(250px,1fr))",
autoFit_180: "repeat(auto-fill,minmax(180px,1fr))",
autoFit_180_220: "repeat(auto-fill,minmax(180px,220px))",
autoFit_120: "repeat(auto-fill,minmax(120px,1fr))",
},
}
},
plugins: [
// require('@tailwindcss/line-clamp')
],
}
export default config