Skip to content

Conversation

@peppescg
Copy link
Collaborator

Screenshot 2025-11-17 at 14 49 15

@peppescg peppescg self-assigned this Nov 17, 2025
Copilot AI review requested due to automatic review settings November 17, 2025 13:49
@peppescg peppescg linked an issue Nov 17, 2025 that may be closed by this pull request
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds shadcn/ui configuration and implements a Button component with variant support. It sets up the necessary infrastructure for using shadcn/ui components including utility functions for className merging, CSS variables for theming with dark mode support, and the required dependencies.

  • Added shadcn/ui configuration with path aliases and styling preferences
  • Implemented a Button component with multiple variants (default, destructive, outline, secondary, ghost, link) and sizes
  • Updated CSS variables from hex colors to HSL format for better theming support
  • Added required dependencies: class-variance-authority, clsx, and tailwind-merge
  • Downgraded better-auth from 1.4.0-beta.21 to 1.4.0-beta.20

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/lib/utils.ts Adds cn utility function for merging Tailwind classes using clsx and tailwind-merge
src/components/ui/button.tsx Implements Button component with variants using class-variance-authority and React forwardRef
src/app/globals.css Converts color system from hex to HSL CSS variables, adds dark mode theme, and expands color palette for shadcn/ui
components.json Adds shadcn/ui configuration file with path aliases and style settings
package.json Adds shadcn/ui dependencies (class-variance-authority, clsx, tailwind-merge) and downgrades better-auth
pnpm-lock.yaml Updates lockfile to reflect dependency changes
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@peppescg peppescg merged commit f4c2d3e into main Nov 17, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add shadcn ui

3 participants