-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
57 lines (56 loc) · 1.54 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
import { nextui } from "@nextui-org/theme";
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-sans)"],
mono: ["var(--font-mono)"],
},
animation: {
"slide-up": "slide-up 1s ease-out forwards",
},
keyframes: {
"slide-up": {
"0%": {
transform: "translate(-50%, 100%)",
opacity: 0,
},
"100%": {
transform: "translate(-50%, 0)",
opacity: 1,
},
},
},
colors: {
danger: {
DEFAULT: "#ff4d4f",
dark: "#ff4d4f",
light: "#ff4d4f",
},
success: {
DEFAULT: "#007d4e",
dark: "#007d4e",
light: "#007d4e",
},
},
},
},
darkMode: "class",
plugins: [
nextui({
layout: {
radius: {
small: "4px",
medium: "6px",
large: "8px",
},
},
}),
],
};