portfolio/tailwind.config.ts

42 lines
826 B
TypeScript
Raw Normal View History

2024-05-28 21:11:13 +00:00
import type { Config } from 'tailwindcss'
const config = {
darkMode: ['class'],
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
],
prefix: '',
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
extend: {
2024-06-10 07:23:38 +00:00
dropShadow: {
glow: [
'0 0px 20px rgba(255,255, 255, 0.35)',
'0 0px 65px rgba(255, 255,255, 0.2)',
],
},
2024-05-28 21:11:13 +00:00
keyframes: {
2024-06-10 07:23:38 +00:00
jump: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
2024-05-28 21:11:13 +00:00
},
},
animation: {
2024-06-10 07:23:38 +00:00
jump: 'jump 0.4s ease-in-out',
2024-05-28 21:11:13 +00:00
},
},
},
2024-06-10 07:23:38 +00:00
plugins: [],
2024-05-28 21:11:13 +00:00
} satisfies Config
export default config