From 6eae7a3769aad1424a69d1ba676268f1acccad04 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 10 May 2021 13:25:57 -0400 Subject: fixed various font issues --- src/components/profile/ProfileBody.tsx | 6 +++--- src/components/search/SearchBar.tsx | 2 +- src/components/suggestedPeople/MutualFriends.tsx | 3 ++- src/routes/main/MainStackScreen.tsx | 8 ++------ src/screens/chat/ChatScreen.tsx | 2 +- 5 files changed, 9 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/components/profile/ProfileBody.tsx b/src/components/profile/ProfileBody.tsx index 400a31e7..3d654724 100644 --- a/src/components/profile/ProfileBody.tsx +++ b/src/components/profile/ProfileBody.tsx @@ -185,15 +185,15 @@ const styles = StyleSheet.create({ }, username: { fontWeight: '600', - fontSize: normalize(12), + fontSize: normalize(13.5), marginBottom: '1%', }, biography: { - fontSize: normalize(12), + fontSize: normalize(13.5), marginBottom: '1.5%', }, website: { - fontSize: normalize(12), + fontSize: normalize(13.5), color: TAGG_DARK_BLUE, marginBottom: '1%', }, diff --git a/src/components/search/SearchBar.tsx b/src/components/search/SearchBar.tsx index 8a53178b..25ea3b59 100644 --- a/src/components/search/SearchBar.tsx +++ b/src/components/search/SearchBar.tsx @@ -165,7 +165,7 @@ const styles = StyleSheet.create({ }, input: { flex: 1, - fontSize: normalize(19), + fontSize: normalize(15), color: '#000', letterSpacing: 0.5, }, diff --git a/src/components/suggestedPeople/MutualFriends.tsx b/src/components/suggestedPeople/MutualFriends.tsx index 3e2dc851..f72104d4 100644 --- a/src/components/suggestedPeople/MutualFriends.tsx +++ b/src/components/suggestedPeople/MutualFriends.tsx @@ -1,9 +1,10 @@ import React, {useState} from 'react'; import {SafeAreaView, StyleSheet, Text, View} from 'react-native'; +import {normalize} from 'react-native-elements'; import {ScrollView, TouchableOpacity} from 'react-native-gesture-handler'; import {BottomDrawer, TabsGradient} from '../../components'; import {ProfilePreviewType, ScreenType} from '../../types'; -import {isIPhoneX, normalize, SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils'; +import {isIPhoneX, SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils'; import {ProfilePreview} from '../profile'; interface MutualFriendsProps { diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index 1105b6f9..f5100e58 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -2,6 +2,7 @@ import {RouteProp} from '@react-navigation/native'; import {StackNavigationOptions} from '@react-navigation/stack'; import React from 'react'; import {StyleSheet, Text} from 'react-native'; +import {normalize} from 'react-native-elements'; import BackIcon from '../../assets/icons/back-arrow.svg'; import { AccountType, @@ -33,12 +34,7 @@ import { } from '../../screens'; import MutualBadgeHolders from '../../screens/suggestedPeople/MutualBadgeHolders'; import {ScreenType} from '../../types'; -import { - AvatarHeaderHeight, - ChatHeaderHeight, - normalize, - SCREEN_WIDTH, -} from '../../utils'; +import {AvatarHeaderHeight, ChatHeaderHeight, SCREEN_WIDTH} from '../../utils'; import {MainStack, MainStackParams} from './MainStackNavigator'; /** diff --git a/src/screens/chat/ChatScreen.tsx b/src/screens/chat/ChatScreen.tsx index ee0686d1..17618867 100644 --- a/src/screens/chat/ChatScreen.tsx +++ b/src/screens/chat/ChatScreen.tsx @@ -109,7 +109,7 @@ const ChatScreen: React.FC = ({navigation}) => { markdown: { text: { fontSize: 16, - } + }, }, }, status: { -- cgit v1.2.3-70-g09d2