Skip to content

Commit

Permalink
feat(routes/show): add transition to star input
Browse files Browse the repository at this point in the history
This patch adds a slight transition to the color changes when a user
hovers over the stars in the `<ScoreInput>` component.
  • Loading branch information
nicholaschiang committed Jul 23, 2023
1 parent 58c0c23 commit e0f82e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/shows.$showId/rate-and-review.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function StarSide({
return (
<RadioGroup.Item
className={cn(
'overflow-hidden peer text-gray-300 dark:text-gray-600',
'overflow-hidden peer text-gray-300 dark:text-gray-600 transition-colors',
'group-hover:aria-checked:text-gray-300 dark:group-hover:aria-checked:text-gray-600 group-hover:peer-aria-checked:text-gray-300 dark:group-hover:peer-aria-checked:text-gray-600',
'aria-checked:text-gray-900 dark:aria-checked:text-gray-100 peer-aria-checked:text-gray-900 dark:peer-aria-checked:text-gray-100',
'hover:!text-gray-900 dark:hover:!text-gray-100 peer-hover:!text-gray-900 dark:peer-hover:!text-gray-100',
Expand Down

1 comment on commit e0f82e9

@vercel
Copy link

@vercel vercel bot commented on e0f82e9 Jul 23, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.