Skip to content

Commit

Permalink
feat(rating): small style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
acd02 committed Oct 24, 2023
1 parent b2ce996 commit 505713f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/components/rating/src/RatingStar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,15 @@ export const RatingStar = forwardRef<
)}
style={{ width: value * 100 + '%' }}
>
<Icon size="md">
<Icon
className="text-main-variant group-[[data-part=star][data-hovered]]:text-main-variant-hovered"
size="md"
>
<StarFill />
</Icon>
</div>

<Icon size="md">
<Icon className="text-on-surface/dim-3" size="md">
<StarOutline />
</Icon>
</div>
Expand Down

0 comments on commit 505713f

Please sign in to comment.