Update icon button styles to include hover translation effect for improved user interaction

This commit is contained in:
IluaAir
2025-10-28 23:45:03 +03:00
parent bfd8c04a90
commit 69b2571dd4

View File

@@ -43,10 +43,10 @@ export const buttonStyles = {
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 px-4 py-2 rounded-lg font-medium transition-all duration-200 shadow-sm hover:shadow-md", destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 px-4 py-2 rounded-lg font-medium transition-all duration-200 shadow-sm hover:shadow-md",
// Icon button // Icon button
icon: "p-2 rounded-lg hover:bg-accent transition-all duration-200", icon: "p-2 rounded-lg hover:bg-accent transition-all duration-200 hover:-translate-y-0.5",
// Icon button with neon effect // Icon button with neon effect
iconNeon: "p-2 rounded-lg hover:bg-accent transition-all duration-200 hover:shadow-[0_0_15px_rgba(104,147,200,0.4)]", iconNeon: "p-2 rounded-lg hover:bg-accent transition-all duration-200 hover:shadow-[0_0_15px_rgba(104,147,200,0.4)] hover:-translate-y-0.5",
}; };
// Layout Styles // Layout Styles