-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
70 lines (68 loc) · 2.04 KB
/
Copy pathtailwind.config.js
File metadata and controls
70 lines (68 loc) · 2.04 KB
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
/** @type {import('tailwindcss').Config} */
const { heroui } = require("@heroui/react");
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
backgroundImage: {
'crash': "url('/assets/images/bg/bg_main.png')",
},
colors: {
'primary': {
DEFAULT: '#8A0000',
'50': '#FFCDC3',
'100': '#FF907F',
'200': '#A3140D',
'300': '#A10F09',
'400': '#850000',
'500': '#710000',
'600': '#5E0000',
'700': '#4B0000',
'800': '#380000',
'900': '#250000',
'950': '#120000',
}
},
keyframes: {
rotateXForever: {
'0%': { transform: 'rotateY(0deg)' },
'100%': { transform: 'rotateY(360deg)' },
},
flipCoin: {
'0%': { transform: 'rotateY(0deg) scaleX(1)' },
'25%': { transform: 'rotateY(90deg) scaleX(0)' },
'50%': { transform: 'rotateY(180deg) scaleX(1)' },
'75%': { transform: 'rotateY(270deg) scaleX(0)' },
'100%': { transform: 'rotateY(360deg) scaleX(1)' },
},
floatCloud: {
'0%': { transform: 'translate(0, 0)' },
'25%': { transform: 'translate(-10px, -5px)' },
'50%': { transform: 'translate(10px, -10px)' },
'75%': { transform: 'translate(-10px, -15px)' },
'100%': { transform: 'translate(0, 0)' },
},
},
animation: {
'rotate-x-forever': 'rotateXForever 4s linear infinite',
'flip-coin': 'flipCoin 4s linear infinite',
'float-cloud': 'floatCloud 12s ease-in-out infinite',
},
},
},
darkMode: "class",
plugins: [
require("tailwindcss-animation-delay"),
heroui({
defaultTheme: "dark",
defaultExtendTheme: "dark"
})
],
}