gitivity/tailwind.config.js
2026-02-09 05:57:47 +05:30

47 lines
1.3 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
screens: {
'xs': '475px', // Add extra small screen breakpoint for better responsiveness
},
animation: {
'fadeIn': 'fadeIn 0.3s ease-in-out',
'pulse': 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'spin-slow': 'spin 3s linear infinite',
'bounce-slow': 'bounce 3s infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
pulse: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.5' },
},
bounce: {
'0%, 100%': {
transform: 'translateY(-5%)',
animationTimingFunction: 'cubic-bezier(0.8, 0, 1, 1)',
},
'50%': {
transform: 'translateY(0)',
animationTimingFunction: 'cubic-bezier(0, 0, 0.2, 1)',
},
},
},
boxShadow: {
'inner-lg': 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',
'colored': '0 4px 14px 0 rgba(59, 130, 246, 0.2)',
},
transitionProperty: {
'height': 'height',
'spacing': 'margin, padding',
},
},
},
plugins: [],
};