-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
41 lines (39 loc) · 1.17 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
const { nextui } = require('@nextui-org/react');
/** @type {import('tailwindcss').Config} */
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/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
backgroundImage: {
tree: 'url(https://images.pexels.com/photos/33109/fall-autumn-red-season.jpg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2)',
'gradient-white-trans':
'linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100px rgba(255, 255, 255, 1) 100%)',
},
keyframes: {
pulse: {
'0%, 100%': { opacity: 1 },
'50%': { opacity: 0.5 },
},
lightning: {
'0%, 100%': { opacity: 1 },
'50%': { opacity: 0.5 },
},
},
animation: {
pulse: 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
transitionProperty: {
bg: 'background-color',
},
},
},
darkMode: 'class',
plugins: [nextui()],
};