generated from MineKing9534/WebTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
57 lines (56 loc) · 1.14 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/react"
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}"
],
theme: {
extend: {
colors: {
primary: "#66B25B",
danger: "#ff0202"
},
keyframes: {
borderPulse: {
"0%": {
"outline": "2px solid rgba(102, 178, 91, 0.1)",
"box-shadow": "0 0 0 0 rgba(102, 178, 91, 0.6)"
},
"50%": {
"outline": "2px solid rgba(102, 178, 91, 0.6)",
"box-shadow": "0 0 0 20px rgba(102, 178, 91, 0)"
},
"100%": {
"outline": "2px solid rgba(102, 178, 91, 0)",
"box-shadow": "0 0 0 0 rgba(102, 178, 91, 0)"
}
}
},
animation: {
"border-pulse": "borderPulse 2s infinite"
},
screens: {
"h-md": { "raw": "(height >= 650px)" },
"h-lg": { "raw": "(height >= 800px)" }
},
fontFamily: {
"minecraft": "Minecraft, sans-serif"
}
}
},
darkMode: "class",
plugins: [
nextui({
addCommonColors: true,
themes: {
dark: {
colors: {
background: "#0c0c0c"
}
}
}
})
]
}