Skip to content

Commit

Permalink
fix: font colour for dark mode on input
Browse files Browse the repository at this point in the history
  • Loading branch information
leinelissen committed Jan 10, 2023
1 parent 6d8535e commit 6885ae6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ function Input({ icon = null, style, testID, ...rest }: InputProps) {
<Gap size={8} />
</>
)}
<TextInput {...rest} style={{ margin: 0, padding: 0 }} ref={inputRef} testID={`${testID}-textinput`} />
<TextInput
{...rest}
style={[defaultStyles.text, { margin: 0, padding: 0 }]}
ref={inputRef}
testID={`${testID}-textinput`}
/>
</Container>
);
}
Expand Down

0 comments on commit 6885ae6

Please sign in to comment.