45 lines
1.1 KiB
TypeScript
45 lines
1.1 KiB
TypeScript
import type { Config } from 'tailwindcss';
|
|
|
|
export default {
|
|
content: ['./index.html', './src/**/*.{ts,tsx}'],
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Inter', 'system-ui', 'sans-serif'],
|
|
},
|
|
colors: {
|
|
surface: {
|
|
DEFAULT: 'rgba(255, 255, 255, 0.05)',
|
|
hover: 'rgba(255, 255, 255, 0.08)',
|
|
active: 'rgba(255, 255, 255, 0.12)',
|
|
border: 'rgba(255, 255, 255, 0.08)',
|
|
},
|
|
},
|
|
backdropBlur: {
|
|
glass: '16px',
|
|
},
|
|
animation: {
|
|
'glow-pulse': 'glow-pulse 3s ease-in-out infinite',
|
|
'fade-in': 'fade-in 0.3s ease-out',
|
|
'slide-up': 'slide-up 0.4s ease-out',
|
|
},
|
|
keyframes: {
|
|
'glow-pulse': {
|
|
'0%, 100%': { opacity: '0.4' },
|
|
'50%': { opacity: '0.8' },
|
|
},
|
|
'fade-in': {
|
|
from: { opacity: '0' },
|
|
to: { opacity: '1' },
|
|
},
|
|
'slide-up': {
|
|
from: { opacity: '0', transform: 'translateY(12px)' },
|
|
to: { opacity: '1', transform: 'translateY(0)' },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
} satisfies Config;
|