Bitmagnet-Next-Web/tailwind.config.js

55 lines
1.4 KiB
JavaScript
Raw Normal View History

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)' },
},
2024-06-12 03:54:33 +00:00
'pop': {
'0%': { transform: 'scale(1)' },
'50%': { transform: 'scale(1.05)' },
'100%': { transform: 'scale(1)' },
},
2024-06-10 09:01:43 +00:00
},
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-12 03:54:33 +00:00
'pop': 'pop 0.4s cubic-bezier(0.4, 0, 0.2, 1)',
2024-06-10 09:01:43 +00:00
},
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()],
}