-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
62 lines (61 loc) · 1.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
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./calculator/**/*.{js,ts,jsx,tsx,mdx}",
"./auth/**/*.{js,ts,jsx,tsx,mdx}",
"./common/**/*.{js,ts,jsx,tsx,mdx}",
"./calendar/**/*.{js,ts,jsx,tsx,mdx}",
"./slide-calendar/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
["primary-red"]: "#ef3832",
["accent-red"]: "#bf0c1d",
["primary-blue"]: "#092d74",
["accent-blue"]: "#dfcce4",
["white"]: "#ffffff",
["light-gray"]: "#e7e7e4",
},
fontFamily: {
sans: ["var(--font-1, sans-serif)"],
accent: ["var(--font-2, sans-serif)"],
},
},
},
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"col-gap": (value) => {
return {
columnGap: value,
};
},
},
{
values: theme("spacing"),
}
);
}),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"row-gap": (value) => {
return {
rowGap: value,
};
},
},
{
values: theme("spacing"),
}
);
}),
],
};
export default config;