Update icon button styles to include hover translation effect for improved user interaction
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user