Skip to content

Commit

Permalink
[IOAPPX-411] Increase contrast of CodeInput and OTPInput (#341)
Browse files Browse the repository at this point in the history
## Short description
This PR increases contrast of `CodeInput` and `OTPInput`.

## Preview
### `OTPInput`
<img
src="https://github.com/user-attachments/assets/cae086a0-0baa-4b98-9a30-720a4ba58ca7"
width="320" />

### `CodeInput`
<img
src="https://github.com/user-attachments/assets/d91433a7-103c-48ac-aecb-e84e609fbed8"
width="320" />

## How to test
Launch the example app and check the two mentioned components

Co-authored-by: Cristiano Tofani <[email protected]>
  • Loading branch information
dmnplb and CrisTofani authored Nov 8, 2024
1 parent 3847de0 commit 00198c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/codeInput/CodeInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const styles = StyleSheet.create({
borderWidth: 2
},
dotEmpty: {
borderColor: IOColors["grey-200"]
borderColor: IOColors["grey-650"]
},
wrapper: {
justifyContent: "center"
Expand Down
2 changes: 1 addition & 1 deletion src/components/otpInput/BoxedInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const styles = StyleSheet.create({
},
defaultBox: {
borderWidth: 1,
borderColor: IOColors["grey-200"]
borderColor: IOColors["grey-650"]
},
focusedBox: {
borderWidth: 2,
Expand Down

0 comments on commit 00198c4

Please sign in to comment.