aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-10 14:03:56 -0400
committerGitHub <noreply@github.com>2021-05-10 14:03:56 -0400
commit49136f4056cb40f43d282d534aacf27076f47d8b (patch)
tree16a0860705ab4b598b33149b73241e0dce3177c7
parent1c3f2c5712ca0c865f5933b3e6b1aff7604e9f35 (diff)
parent6eae7a3769aad1424a69d1ba676268f1acccad04 (diff)
Merge pull request #408 from IvanIFChen/tma838-fix-font-sizes
[TMA-838] Fixed/reverted font issues
-rw-r--r--src/components/profile/ProfileBody.tsx6
-rw-r--r--src/components/search/SearchBar.tsx2
-rw-r--r--src/components/suggestedPeople/MutualFriends.tsx3
-rw-r--r--src/routes/main/MainStackScreen.tsx8
-rw-r--r--src/screens/chat/ChatScreen.tsx2
-rw-r--r--src/screens/onboarding/ProfileInfoOnboarding.tsx1
-rw-r--r--src/screens/onboarding/legacy/OnboardingStepOne.tsx2
-rw-r--r--src/screens/onboarding/legacy/OnboardingStepTwo.tsx2
8 files changed, 11 insertions, 15 deletions
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<ChatScreenProps> = ({navigation}) => {
markdown: {
text: {
fontSize: 16,
- }
+ },
},
},
status: {
diff --git a/src/screens/onboarding/ProfileInfoOnboarding.tsx b/src/screens/onboarding/ProfileInfoOnboarding.tsx
index a481b0c0..cdfbea8f 100644
--- a/src/screens/onboarding/ProfileInfoOnboarding.tsx
+++ b/src/screens/onboarding/ProfileInfoOnboarding.tsx
@@ -16,7 +16,6 @@ import Animated from 'react-native-reanimated';
import {
Background,
BirthDatePicker,
- RegistrationWizard,
TaggDropDown,
TaggInput,
UniversitySelection,
diff --git a/src/screens/onboarding/legacy/OnboardingStepOne.tsx b/src/screens/onboarding/legacy/OnboardingStepOne.tsx
index b25d41fd..ac0b646d 100644
--- a/src/screens/onboarding/legacy/OnboardingStepOne.tsx
+++ b/src/screens/onboarding/legacy/OnboardingStepOne.tsx
@@ -270,4 +270,4 @@ const styles = StyleSheet.create({
},
});
-export default OnboardingStepOne; \ No newline at end of file
+export default OnboardingStepOne;
diff --git a/src/screens/onboarding/legacy/OnboardingStepTwo.tsx b/src/screens/onboarding/legacy/OnboardingStepTwo.tsx
index 40130263..645fddef 100644
--- a/src/screens/onboarding/legacy/OnboardingStepTwo.tsx
+++ b/src/screens/onboarding/legacy/OnboardingStepTwo.tsx
@@ -378,4 +378,4 @@ const styles = StyleSheet.create({
},
});
-export default OnboardingStepTwo; \ No newline at end of file
+export default OnboardingStepTwo;