portfolio/tailwind.config.ts

37 lines
902 B
TypeScript
Raw Normal View History

2024-05-28 21:11:13 +00:00
import type { Config } from 'tailwindcss'
const config = {
darkMode: ['class'],
2024-06-10 12:33:20 +00:00
content: ['./src/**/*.{ts,tsx}'],
2024-05-28 21:11:13 +00:00
prefix: '',
theme: {
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 12:33:20 +00:00
gradient: {
'0%, 100%': { backgroundPosition: '0% 50%' },
'25%': { backgroundPosition: '100% 0%' },
'50%': { backgroundPosition: '100% 100%' },
'75%': { backgroundPosition: '0% 100%' },
},
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-06-10 12:33:20 +00:00
gradient: 'gradient 10s ease infinite',
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