feat(ui): added border on hover on cards for good user interactivity in welcome page

Assigning to upstream maintainers for review.

Overview

Added an hover border effect on Welcome page cards to improve visual interactivity and user feedback. This provides a subtle animation on hover that helps users identify clickable cards using predefined color only.

Preview Output

  1. Before [In Dark Theme]:

    Screenshot 2025-10-29 at 3.46.29鈥疨M.png

    After [In Dark Theme]

    Screenshot 2025-10-29 at 3.43.40鈥疨M.pngScreenshot 2025-10-29 at 3.44.00鈥疨M.png

  2. Before [In Light Theme]

    Screenshot 2025-10-29 at 3.46.01鈥疨M.png

    After [In Light Theme]

    Screenshot 2025-10-29 at 3.44.39鈥疨M.pngScreenshot 2025-10-29 at 3.44.48鈥疨M.png

My Motive for update

  • Enhances the user experience with a subtle animated border that guides interaction and highlight.
  • Uses only the border property, keeping CSS lightweight and performant using predefined color only by Garuda Linux.
  • Aligns with Garuda鈥檚 modern, dynamic design philosophy.

Implementation Details

  • Updated home.component.css with 2 classes -

    .welcome-home-big-card {
        border: 2px solid transparent;
    }
    .welcome-home-big-card:hover{
        border: 2px solid var(--p-primary-hover-color);
    }
    
    .welcome-home-square-card{
        border: 2px solid transparent;
    }
    .welcome-home-square-card:hover {
        border: 2px solid var(--p-primary-color);
    }
  • used that css class in home.component.html for scoped into Welcome Home page only

  • Fully theme-compatible (var(--p-primary-hover-color/--p-primary-color) used).

  • No visual impact on non-hover states. Thats why transparent border used in actual class without hover

Test Result

Environment Result
macOS + pnpm run dev Works smoothly
Linux Works smoothly
Dark / Light themes Colors consistent

Signed-off-by: Debkanta Mondal (debkantaroni01@gmail.com)

Edited by Debkanta Mondal

Merge request reports

Loading
Loading