Skip to content

Commit

Permalink
fix screen color styles (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoncalves authored Sep 11, 2023
1 parent 7d30df2 commit e9ed8e0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/navigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const screenOptionsWithHeader = (
),
headerStyle: {
height: 64 + topInset,
backgroundColor: color ?? sharedColors.black,
backgroundColor: color ?? sharedColors.secondary,
},
headerShadowVisible: false,
}
Expand Down
7 changes: 5 additions & 2 deletions src/screens/contacts/ContactDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ export const ContactDetails = ({
/>
</AppTouchable>
),
headerStyle: {
backgroundColor: sharedColors.inputActive,
},
headerRightContainerStyle: {
paddingTop: 0,
},
Expand Down Expand Up @@ -188,7 +191,7 @@ export const ContactDetails = ({
</Typography>
</View>
</View>
<BarButtonGroupContainer backgroundColor={sharedColors.secondary}>
<BarButtonGroupContainer backgroundColor={sharedColors.inputActive}>
<BarButtonGroupIcon
onPress={onSendToContact}
iconName={'north-east'}
Expand Down Expand Up @@ -267,7 +270,7 @@ const styles = StyleSheet.create({
paddingBottom: 144,
}),
contactDetailsView: castStyle.view({
backgroundColor: sharedColors.inputInactive,
backgroundColor: sharedColors.inputActive,
justifyContent: 'center',
alignItems: 'center',
height: 167,
Expand Down
3 changes: 3 additions & 0 deletions src/screens/contacts/ContactFormScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ export const ContactFormScreen = ({
? t('contact_form_title_edit')
: t('contact_form_title_create'),
headerTintColor: sharedColors.white,
headerStyle: {
backgroundColor: sharedColors.secondary,
},
headerRightContainerStyle: {
paddingTop: 0,
},
Expand Down
4 changes: 2 additions & 2 deletions src/screens/send/TransactionForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const TransactionForm = ({
style={styles.marginTop10}
firstValue={firstBalance}
secondValue={secondBalance}
color={sharedColors.black}
color={sharedColors.secondary}
error={hasEnoughBalance ? t('transaction_form_error_balance') : ''}
onSwap={onSwapBalance}
editable
Expand Down Expand Up @@ -434,7 +434,7 @@ const styles = StyleSheet.create({
}),
buttonCancel: castStyle.view({
marginTop: 10,
backgroundColor: sharedColors.black,
backgroundColor: sharedColors.secondary,
}),
assetToggleRow: castStyle.view({
flexDirection: 'row',
Expand Down

0 comments on commit e9ed8e0

Please sign in to comment.