| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /** @type {import('tailwindcss').Config} */
- export default {
- content: [
- "./index.html",
- "./src/**/*.{js,ts,jsx,tsx}",
- ],
- theme: {
- extend: {
- colors: {
- // 科技感主题颜色
- 'tech-primary': '#0f172a',
- 'tech-surface': '#1e293b',
- 'tech-card': 'rgba(30, 41, 59, 0.8)',
- 'tech-accent': '#8b5cf6',
- 'tech-cyan': '#06b6d4',
- 'tech-green': '#10b981',
- 'tech-orange': '#f59e0b',
- 'tech-red': '#ef4444',
- 'tech-purple': '#a855f7',
- 'tech-blue': '#3b82f6',
- },
- backgroundImage: {
- 'tech-gradient': 'linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%)',
- 'card-glow': 'linear-gradient(145deg, rgba(30, 27, 75, 0.8), rgba(15, 23, 42, 0.6))',
- 'grid-pattern': "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(139 92 246 / 0.1)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e\")",
- },
- boxShadow: {
- 'tech-glow': '0 0 20px rgba(139, 92, 246, 0.3)',
- 'card-shadow': '0 8px 32px rgba(0, 0, 0, 0.3)',
- 'neon-purple': '0 0 10px rgba(139, 92, 246, 0.5)',
- 'neon-cyan': '0 0 10px rgba(6, 182, 212, 0.5)',
- },
- animation: {
- 'pulse-glow': 'pulse-glow 2s ease-in-out infinite alternate',
- 'float': 'float 6s ease-in-out infinite',
- 'spin-slow': 'spin 3s linear infinite',
- 'glow': 'glow 2s ease-in-out infinite',
- },
- backdropBlur: {
- xs: '2px',
- },
- keyframes: {
- 'pulse-glow': {
- 'from': { boxShadow: '0 0 20px rgba(139, 92, 246, 0.3)' },
- 'to': { boxShadow: '0 0 40px rgba(139, 92, 246, 0.6)' }
- },
- 'float': {
- '0%, 100%': { transform: 'translateY(0px)' },
- '50%': { transform: 'translateY(-20px)' }
- },
- 'glow': {
- '0%, 100%': { opacity: '0.8' },
- '50%': { opacity: '1' }
- }
- }
- },
- },
- plugins: [],
- }
|