diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-03 18:21:55 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-03 18:21:55 -0800 |
commit | 7ca59b6a8067c987da081a0e4dcce1a40cd05d04 (patch) | |
tree | 13517a3ddf1bad1a7041370ada50afd3734c3d49 | |
parent | 59a1dec11cd60e4adb8df310f0bc4f32265cdc5b (diff) |
individual moment heading style
-rw-r--r-- | src/components/moments/IndividualMomentTitleBar.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/moments/IndividualMomentTitleBar.tsx b/src/components/moments/IndividualMomentTitleBar.tsx index bd5b307f..6cdfe0e8 100644 --- a/src/components/moments/IndividualMomentTitleBar.tsx +++ b/src/components/moments/IndividualMomentTitleBar.tsx @@ -1,6 +1,7 @@ import React from 'react'; import {TouchableOpacity} from 'react-native'; import {Text, View, StyleSheet, ViewProps} from 'react-native'; +import {normalize} from '../../utils'; import CloseIcon from '../../assets/ionicons/close-outline.svg'; interface IndividualMomentTitleBarProps extends ViewProps { @@ -30,9 +31,11 @@ const styles = StyleSheet.create({ height: '5%', }, header: { - fontSize: 20, - fontWeight: 'bold', color: 'white', + fontSize: normalize(18), + fontWeight: '700', + lineHeight: normalize(21.48), + letterSpacing: normalize(1.3), }, closeButton: { position: 'absolute', |