From c93ad077304452effdf0420cd15969ce216b5928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Santana=20Gon=C3=A7alves?= Date: Wed, 27 Mar 2024 10:24:06 -0300 Subject: [PATCH] remove unused input shared color --- src/components/input/index.tsx | 2 +- src/screens/settings/WalletBackup.tsx | 2 +- src/shared/constants/colors.ts | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/input/index.tsx b/src/components/input/index.tsx index bed315ef7..3f5b3a5a6 100644 --- a/src/components/input/index.tsx +++ b/src/components/input/index.tsx @@ -221,7 +221,7 @@ const styles = StyleSheet.create({ minHeight: 80, }), containerActive: castStyle.view({ - backgroundColor: sharedColors.input.active, + backgroundColor: sharedColors.background.accent, }), contentPadding: castStyle.view({ paddingBottom: 18, diff --git a/src/screens/settings/WalletBackup.tsx b/src/screens/settings/WalletBackup.tsx index e71c65757..d4c722d71 100644 --- a/src/screens/settings/WalletBackup.tsx +++ b/src/screens/settings/WalletBackup.tsx @@ -2,12 +2,12 @@ import { useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' import { ScrollView, StyleSheet, View } from 'react-native' -import { sharedColors, sharedStyles } from 'shared/constants' import { MnemonicComponent, Typography } from 'components/index' import { SettingsScreenProps, settingsStackRouteNames, } from 'navigation/settingsNavigator/types' +import { sharedStyles } from 'shared/constants' import { castStyle, usePreventScreenshot } from 'shared/utils' import { getKeys } from 'storage/SecureStorage' diff --git a/src/shared/constants/colors.ts b/src/shared/constants/colors.ts index 739cf4ddd..5d7589644 100644 --- a/src/shared/constants/colors.ts +++ b/src/shared/constants/colors.ts @@ -19,10 +19,6 @@ export const sharedColors = { highlight: '#575757', light: '#FBFBFB', }, - input: { - active: '#3A3A3A', - inactive: '#252525', - }, text: { primary: '#fff', secondary: '#000',