-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
64 lines (63 loc) · 1.95 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
import type { Config } from "tailwindcss";
const config: Config = {
async headers() {
return [
{
source: "/api/:path*",
headers: [
{ key: "Access-Control-Allow-Credentials", value: "true" },
{
key: "Access-Control-Allow-Origin",
value: "*",
},
{
key: "Access-Control-Allow-Methods",
value: "GET,DELETE,PATCH,POST,PUT",
},
{
key: "Access-Control-Allow-Headers",
value: "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version",
},
],
},
];
},
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/sections/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/context/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
spacing: {
"100": "28rem",
"128": "32rem",
"132": "36rem",
"156": "46rem",
"4/5-screen": "80vh",
"2/3-screen": "66vh",
},
},
},
plugins: [require("daisyui")],
daisyui: {
themes: [
{
lightTheme: {
primary: "#ECE8FF",
secondary: "#8161d6",
accent: "#f5f5f5",
neutral: "#ab47bc",
"base-100": "#ffffff",
info: "#fcb96b",
success: "#23b893",
error: "#ea535a",
warning: "#f79926",
},
},
],
},
};
export default config;