Skip to content

Commit

Permalink
Fix prefix/suffix bg for light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmar committed Sep 21, 2023
1 parent ecad2d4 commit 01cb460
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ const PrefixSuffix = styled.div(({ theme }) => ({
alignSelf: 'stretch',
paddingLeft: theme.spacing.small,
paddingRight: theme.spacing.small,
backgroundColor: theme.colors['fill-two'],
backgroundColor:
theme.mode === 'light'
? theme.colors['fill-three']
: theme.colors['fill-two'],
}))

const startEndStyles = {
Expand Down

0 comments on commit 01cb460

Please sign in to comment.