Skip to content

Commit

Permalink
fix(react): align select styles with button styles (#156)
Browse files Browse the repository at this point in the history
* fix: align select styles with button

* chore(change): add change
  • Loading branch information
jonambas authored Sep 21, 2023
1 parent 907bbf1 commit a6fe882
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cold-onions-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sweatpants/react': patch
---

Align Select styles with Button styles
3 changes: 2 additions & 1 deletion packages/react/src/select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const triggerStyles = cva({
lineHeight: 'calc(2.5rem - 2px)'
},
md: { fontSize: '4', paddingX: '4', lineHeight: 'calc(2rem - 2px)' },
sm: { fontSize: '3', paddingX: '4', lineHeight: 'calc(1.75rem - 2px)' }
sm: { fontSize: '2', paddingX: '4', lineHeight: 'calc(1.75rem - 2px)' }
},
kind: {
neutral: {
Expand All @@ -79,6 +79,7 @@ const triggerStyles = cva({
bg: 'transparent',
borderColor: 'transparent',
position: 'relative',
color: 'gray10',
_before: {
content: '""',
position: 'absolute',
Expand Down

0 comments on commit a6fe882

Please sign in to comment.