button press color

This commit is contained in:
2025-09-24 14:03:57 -04:00
parent ca3b92dffc
commit a9255ef430
+1 -1
View File
@@ -18,7 +18,7 @@ export default function Soundboard() {
const [playTallBand] = useSound("/tallband.m4a", {soundEnabled: true}); const [playTallBand] = useSound("/tallband.m4a", {soundEnabled: true});
const getButton = (title: string, play: () => void) => { const getButton = (title: string, play: () => void) => {
return <button className="border-2 rounded-lg p-4 text-center text-xl font-medium cursor-pointer hover:bg-gray-200" onClick={() => play()}>{title}</button> return <button className="border-2 rounded-lg p-4 text-center text-xl font-medium cursor-pointer hover:bg-gray-200 active:bg-blue-200" onClick={() => play()}>{title}</button>
} }
return ( return (