-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathtailwind.config.ts
57 lines (55 loc) · 1.46 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
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}",
],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-sans)"],
mono: ["var(--font-mono)"],
},
colors: {
red: {
50: "#F10C4A",
},
pink: {
50: "#FF659F",
},
green: {
50: "#57FFB1",
100: "#21D179",
},
purple: {
50: "#8A74fC",
100: "#5522E6",
},
gray: {
50: "#949494",
100: "#363644",
150: "#232329",
200: "#2B2B35",
250: "#0D0D0D",
300: "#1C1C1C",
},
},
borderWidth: ({ theme }) => ({
xl: theme("width.14"),
}),
backgroundImage: ({ theme }) => ({
"appbar-1": `linear-gradient(
to left,
${theme("colors.gray.100")},
${theme("colors.gray.100")} calc(${theme("width.1/2")} - ${theme("width.px")}),
${theme("colors.gray.250")} calc(${theme("width.1/2")} - ${theme("width.px")}),
${theme("colors.gray.250")} calc(${theme("width.1/2")} + ${theme("width.px")}),
${theme("colors.gray.100")} calc(${theme("width.1/2")} + ${theme("width.px")}),
${theme("colors.gray.100")}
)`,
}),
},
},
};
export default config;