Nightly: Rainbow-Flash verlängert auf 2s (Animation + Timeout angepasst)

This commit is contained in:
vibe-bot 2025-08-09 21:34:16 +02:00
parent 3d9e03da57
commit 9789a5e931
2 changed files with 2 additions and 2 deletions

View file

@ -601,7 +601,7 @@ export default function App() {
const el = (e.currentTarget as HTMLDivElement | undefined); const el = (e.currentTarget as HTMLDivElement | undefined);
if (el) { if (el) {
el.classList.add('rainbow-flash'); el.classList.add('rainbow-flash');
setTimeout(()=> el.classList.remove('rainbow-flash'), 1000); setTimeout(()=> el.classList.remove('rainbow-flash'), 2000);
} }
} }
} catch {} } catch {}

View file

@ -328,7 +328,7 @@ body {
[data-theme="rainbow"] .sound-btn.rainbow-flash { [data-theme="rainbow"] .sound-btn.rainbow-flash {
background: linear-gradient(45deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080) !important; background: linear-gradient(45deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080) !important;
background-size: 400% 400% !important; background-size: 400% 400% !important;
animation: chaos-rainbow-animation 1s ease-in-out 1; animation: chaos-rainbow-animation 2s ease-in-out 1;
color: #ffffff; color: #ffffff;
} }