diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-02 15:32:09 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-02 15:32:09 -0500 |
commit | 0b25ca8daba54293fdd24082e1b4fb684ac33421 (patch) | |
tree | 452c5556c94dfdaf5604fe6d6fc4f32f80b1800f | |
parent | 2dacd3ec232a669d99556b79c92fe00aa15b33c5 (diff) |
normalized
-rw-r--r-- | src/screens/onboarding/WelcomeScreen.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screens/onboarding/WelcomeScreen.tsx b/src/screens/onboarding/WelcomeScreen.tsx index a77316cd..e7c835bb 100644 --- a/src/screens/onboarding/WelcomeScreen.tsx +++ b/src/screens/onboarding/WelcomeScreen.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import {StyleSheet, View, Text, Image, TouchableOpacity} from 'react-native'; -import {SCREEN_WIDTH} from '../../utils'; +import {normalize, SCREEN_WIDTH} from '../../utils'; import {Background} from '../../components'; import {OnboardingStackParams} from '../../routes'; import {StackNavigationProp} from '@react-navigation/stack'; @@ -60,7 +60,7 @@ const styles = StyleSheet.create({ }, header: { color: '#fff', - fontSize: 32, + fontSize: normalize(32), fontWeight: '600', textAlign: 'center', marginBottom: '4%', @@ -68,7 +68,7 @@ const styles = StyleSheet.create({ }, subtext: { color: '#fff', - fontSize: 16, + fontSize: normalize(16), fontWeight: '600', textAlign: 'center', marginBottom: '10%', @@ -86,7 +86,7 @@ const styles = StyleSheet.create({ marginBottom: '15%', }, nextButtonLabel: { - fontSize: 30, + fontSize: normalize(30), fontWeight: '500', color: '#ddd', }, |