Skip to content

Commit

Permalink
fix(react): field content background colors (#200)
Browse files Browse the repository at this point in the history
* fix(react): field content background colors

* chore(change): add change
  • Loading branch information
jonambas authored Dec 24, 2023
1 parent 5eb789b commit 96f1b0e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-lamps-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sweatpants/react': patch
---

Fix incorrect field background colors
2 changes: 1 addition & 1 deletion packages/react/src/select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const triggerStyles = cva({
neutral: {
borderColor: 'gray7',
boxShadow: 'sm',
bg: 'gray1',
bg: 'contentBg',
'&:hover:not(:focus)': {
borderColor: 'gray8'
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/text-field/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const inputStyles = cva({
borderStyle: 'solid',
borderColor: 'gray7',
borderRadius: 'sm',
bg: 'gray1',
bg: 'contentBg',
boxShadow: 'sm',
fontSize: '3',
paddingX: '3',
Expand Down

0 comments on commit 96f1b0e

Please sign in to comment.