-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
83 lines (81 loc) · 2 KB
/
tailwind.config.js
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
// tailwind.config.js
import { nextui } from "@nextui-org/react";
/** @type {import('tailwindcss').Config} */
const config = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
// ...
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
keyframes: {
slideIn: {
"0%": { transform: "translateX(-100%)", opacity: 0 },
"100%": { transform: "translateX(0)", opacity: 1 },
},
fadeOut: {
"0%": { opacity: 1 },
"100%": { opacity: 0, visibility: "hidden" },
},
},
animation: {
slideIn: "slideIn 0.5s ease-out",
fadeOut: "fadeOut 2.5s 2s forwards",
},
},
},
darkMode: "class",
plugins: [
require("@tailwindcss/typography"),
require('autoprefixer'),
nextui({
themes: {
light: {
colors: {
default: {
DEFAULT: "#687EFF",
foreground: "#333",
},
primary: {
DEFAULT: "#164863",
foreground: "#fff",
},
secondary: {
DEFAULT: "#427D9D",
foreground: "#E4EBF3",
},
success: {
DEFAULT: "#539165",
foreground: "#E4EBF3",
},
content1: {
DEFAULT: "#ebebed",
foreground: "#040E32",
},
content2: {
DEFAULT: "#9BBEC8",
foreground: "#333",
},
content3: {
DEFAULT: "#646464",
foreground: "#fff",
},
content4: {
DEFAULT: "#d9d7d7",
foreground: "#000",
},
background: {
DEFAULT: "#E4EBF3",
foreground: "#333",
},
foreground: "#333",
},
},
},
}),
],
};
export default config;