2024-06-08 07:44:12 +00:00
|
|
|
import {nextui} from '@nextui-org/theme'
|
|
|
|
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
|
|
module.exports = {
|
|
|
|
content: [
|
2024-06-10 09:01:43 +00:00
|
|
|
'./utils/**/*.{js,ts,jsx,tsx,mdx}',
|
2024-06-08 07:44:12 +00:00
|
|
|
'./components/**/*.{js,ts,jsx,tsx,mdx}',
|
|
|
|
'./app/**/*.{js,ts,jsx,tsx,mdx}',
|
|
|
|
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}'
|
|
|
|
],
|
2024-06-10 09:01:43 +00:00
|
|
|
safelist: [
|
|
|
|
{
|
|
|
|
pattern: /(bg|text)-(red|green|blue|gray)-\d+/,
|
|
|
|
},
|
|
|
|
],
|
2024-06-08 07:44:12 +00:00
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
fontFamily: {
|
|
|
|
sans: ["var(--font-sans)"],
|
|
|
|
mono: ["var(--font-geist-mono)"],
|
|
|
|
},
|
2024-06-10 09:01:43 +00:00
|
|
|
keyframes: {
|
|
|
|
'fade-in': {
|
|
|
|
'0%': { opacity: 0 },
|
|
|
|
'100%': { opacity: 1 },
|
|
|
|
},
|
|
|
|
'fade-out': {
|
|
|
|
'0%': { opacity: 1 },
|
|
|
|
'100%': { opacity: 0 },
|
|
|
|
},
|
|
|
|
'fade-in-up': {
|
|
|
|
'0%': { opacity: 0, transform: 'translateY(-10px)' },
|
|
|
|
'100%': { opacity: 1, transform: 'translateY(0)' },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
animation: {
|
|
|
|
'fade-in': 'fade-in 0.3s ease-in-out',
|
|
|
|
'fade-out': 'fade-out 0.3s ease-out forwards',
|
|
|
|
'fade-in-up': 'fade-in-up 0.3s ease-in-out',
|
|
|
|
},
|
2024-06-08 07:44:12 +00:00
|
|
|
},
|
|
|
|
},
|
2024-06-10 09:01:43 +00:00
|
|
|
future: {
|
|
|
|
hoverOnlyWhenSupported: true,
|
|
|
|
},
|
2024-06-08 07:44:12 +00:00
|
|
|
darkMode: "class",
|
|
|
|
plugins: [nextui()],
|
|
|
|
}
|