The marquee scroll effect wasn't working because 'animate-marquee' was defined as an inline CSS class, not a Tailwind utility. Tailwind's JIT compiler strips unknown classes, so group-hover:animate-marquee was being removed at build time. Fix: Added 'marquee-scroll' keyframes and 'marquee' animation to tailwind.config.js theme.extend. Now 'animate-marquee' is a proper Tailwind utility that works with group-hover and responsive variants. Also removed the inline <style> block from Player.tsx since the animation is now handled by Tailwind.
29 lines
630 B
JavaScript
29 lines
630 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
"./index.html",
|
|
"./src/**/*.{js,ts,jsx,tsx}",
|
|
],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
'lyria-dark': '#0a0a0f',
|
|
'lyria-panel': '#12121a',
|
|
'lyria-accent': '#ff6b35',
|
|
'lyria-text': '#e0e0e0',
|
|
'lyria-muted': '#6b6b7b',
|
|
},
|
|
keyframes: {
|
|
'marquee-scroll': {
|
|
'0%': { transform: 'translateX(0)' },
|
|
'100%': { transform: 'translateX(-50%)' },
|
|
},
|
|
},
|
|
animation: {
|
|
'marquee': 'marquee-scroll linear infinite',
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
}
|