-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtailwind.config.ts
134 lines (130 loc) · 4.43 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
122
123
124
125
126
127
128
129
130
131
132
133
134
import type { Config } from "tailwindcss";
import { fontFamily } from "tailwindcss/defaultTheme";
import typography from "@tailwindcss/typography";
import plugin from "tailwindcss/plugin";
const customColors = {
"lp-50": "var(--lp-50)",
"lp-100": "var(--lp-100)",
"lp-200": "var(--lp-200)",
"lp-300": "var(--lp-300)",
"lp-400": "var(--lp-400)",
"lp-500": "var(--lp-500)",
"lp-600": "var(--lp-600)",
"lp-700": "var(--lp-700)",
"lp-800": "var(--lp-800)",
"lp-900": "var(--lp-900)",
"background-50": "var(--background-50)",
"background-100": "var(--background-100)",
"background-200": "var(--background-200)",
"background-300": "var(--background-300)",
"background-400": "var(--background-400)",
"background-500": "var(--background-500)",
"background-600": "var(--background-600)",
"background-700": "var(--background-700)",
"background-800": "var(--background-800)",
"background-900": "var(--background-900)",
"background-950": "var(--background-950)",
};
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}",
],
theme: {
extend: {
colors: {
lightPurple: "#3A3543",
lightPurple2: "#CDC2E6",
lightPurple3: "#6A3AD9",
lightPurple4: "#5e566d",
...customColors,
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gray-gradient": "linear-gradient(90deg, #FFFFFF 0%, #999999 100%)",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
fontFamily: {
sans: ["var(--font-nunito-sans)", ...fontFamily.sans],
heading: ["var(--font-epilogue)", ...fontFamily.sans],
},
transitionProperty: {
height: "height",
},
textColor: {
"lp-50": "var(--lp-50)",
"lp-100": "var(--lp-100)",
"lp-200": "var(--lp-200)",
"lp-300": "var(--lp-300)",
"lp-400": "var(--lp-400)",
"lp-500": "var(--lp-500)",
"lp-600": "var(--lp-600)",
"lp-700": "var(--lp-700)",
"lp-800": "var(--lp-800)",
"lp-900": "var(--lp-900)",
},
backgroundColor: {
primary: "rgb(var(--color-background-primary))",
secondary: "rgb(var(--color-background-secondary))",
"lp-50": "var(--lp-50)",
"lp-100": "var(--lp-100)",
"lp-200": "var(--lp-200)",
"lp-300": "var(--lp-300)",
"lp-400": "var(--lp-400)",
"lp-500": "var(--lp-500)",
"lp-600": "var(--lp-600)",
"lp-700": "var(--lp-700)",
"lp-800": "var(--lp-800)",
"lp-900": "var(--lp-900)",
"background-50": "var(--background-50)",
"background-100": "var(--background-100)",
"background-200": "var(--background-200)",
"background-300": "var(--background-300)",
"background-400": "var(--background-400)",
"background-500": "var(--background-500)",
"background-600": "var(--background-600)",
"background-700": "var(--background-700)",
"background-800": "var(--background-800)",
"background-900": "var(--background-900)",
"background-950": "var(--background-950)",
},
borderColor: {
DEFAULT: "var(--background-900)",
primary: "rgb(var(--color-background-primary))",
"lp-50": "var(--lp-50)",
"lp-100": "var(--lp-100)",
"lp-200": "var(--lp-200)",
"lp-300": "var(--lp-300)",
"lp-400": "var(--lp-400)",
"lp-500": "var(--lp-500)",
"lp-600": "var(--lp-600)",
"lp-700": "var(--lp-700)",
"lp-800": "var(--lp-800)",
"lp-900": "var(--lp-900)",
"background-50": "var(--background-50)",
"background-100": "var(--background-100)",
"background-200": "var(--background-200)",
"background-300": "var(--background-300)",
"background-400": "var(--background-400)",
"background-500": "var(--background-500)",
"background-600": "var(--background-600)",
"background-700": "var(--background-700)",
"background-800": "var(--background-800)",
"background-900": "var(--background-900)",
},
},
},
plugins: [
typography,
plugin(({ addUtilities }) => {
addUtilities({
".field-sizing-content": {
"field-sizing": "content",
},
});
}),
],
};
export default config;