Integrate profile listings into design system

This commit is contained in:
Paul Frazee 2022-12-30 13:20:55 -06:00
parent 10f613475a
commit 9084e0e4a8
4 changed files with 30 additions and 25 deletions

View file

@ -74,13 +74,13 @@ export const ViewHeader = observer(function ViewHeader({
)}
</TouchableOpacity>
<View style={styles.titleContainer} pointerEvents="none">
<Text type="h3" style={pal.text}>
<Text type="h4" style={pal.text}>
{title}
</Text>
{subtitle ? (
<Text
type="h4"
style={[styles.subtitle, pal.textLight]}
type="h5"
style={[styles.subtitle, pal.textLight, {fontWeight: 'normal'}]}
numberOfLines={1}>
{subtitle}
</Text>
@ -147,7 +147,7 @@ const styles = StyleSheet.create({
marginRight: 'auto',
},
subtitle: {
marginLeft: 6,
marginLeft: 4,
maxWidth: 200,
},