Skip to content

Commit

Permalink
chore(clerk-js): Use theme values on arrow icon
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelscruz authored and desiprisg committed Nov 23, 2023
1 parent fc61fc8 commit a11948b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .changeset/hungry-news-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
10 changes: 5 additions & 5 deletions packages/clerk-js/src/ui.retheme/primitives/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>((props, ref) =>
{hasArrow && (
<Icon
icon={ArrowRightButtonIcon}
sx={{
width: '0.625rem',
height: '0.625rem',
opacity: 0.6,
}}
sx={t => ({
width: t.sizes.$2x5,
height: t.sizes.$2x5,
opacity: t.opacity.$inactive,
})}
/>
)}
</Flex>
Expand Down

0 comments on commit a11948b

Please sign in to comment.