Skip to content

Commit

Permalink
Merge pull request #1010 from cmgustavo/bug/paragraph-color-02
Browse files Browse the repository at this point in the history
Fix: Paragraph color on Recovery Screen
  • Loading branch information
JohnathanWhite authored Dec 18, 2023
2 parents 3fe30aa + 888b7a2 commit bda66b2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/navigation/wallet/screens/RecoveryPhrase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
Caution25,
Caution60,
Grey,
LightBlack,
Slate,
SlateDark,
} from '../../../styles/colors';
Expand Down Expand Up @@ -117,6 +118,10 @@ const WarningMessageText = styled(BaseText)`
color: ${({theme: {dark}}) => (dark ? Caution60 : Caution)};
`;

const ParagraphRecovery = styled(Paragraph)`
color: ${({theme: {dark}}) => (dark ? SlateDark : LightBlack)};
`;

const RecoveryPhrase: React.FC<RecoveryPhraseScreenProps> = ({route}) => {
const {t} = useTranslation();
const navigation = useNavigation();
Expand Down Expand Up @@ -226,7 +231,9 @@ const RecoveryPhrase: React.FC<RecoveryPhraseScreenProps> = ({route}) => {
<WarningMessageTitle>{t('CONFIDENTIAL')}</WarningMessageTitle>
</WarningMessageTitleContainer>
<WarningMessageDescContainer>
<Paragraph>{t('Your 12-word recovery phrase')}</Paragraph>
<ParagraphRecovery>
{t('Your 12-word recovery phrase')}
</ParagraphRecovery>
</WarningMessageDescContainer>
<WarningMessageTextContainer>
<WarningMessageText>
Expand Down

0 comments on commit bda66b2

Please sign in to comment.